Free Sample Size and Power Analysis Calculator for Researchers
Determine the exact number of participants needed for statistically valid studies. Our free sample size and power analysis calculator uses validated formulas from G*Power and methods recommended by PubMed and Cochrane.
Supported Tests
Editverse Sample Size Calculator
Free Tool for Medical ResearchQuick Guide
- Select your study design from the dropdown
- Enter the expected effect size or group parameters
- Adjust dropout rate if participants may leave the study
- Click Calculate to see required sample size
Tip: Hover over the (?) icons for detailed explanations of each parameter.
How to Use: Choose Your Statistical Test
Select the appropriate test based on your study design and data type
Tests for Comparing Means
Two-Sample T-Test
When to use: Comparing means between two independent groups
Typical values:
- Blood pressure: Mean diff =
5-10mmHg, SD =12-15 - HbA1c: Mean diff =
0.5-1.0%, SD =1.2-1.5
Paired T-Test
When to use: Before/after measurements on same subjects
Typical values:
- Pain score: Mean diff =
2, SD of diff =3 - BP after treatment: Mean diff =
10mmHg, SD =12
One-Sample T-Test
When to use: Compare sample mean to known reference
Typical values:
- Reference =
100, Expected =105, SD =15
ANOVA (3+ Groups)
When to use: Comparing means across 3+ groups
Effect size (Cohen’s f):
- Small:
0.10| Medium:0.25| Large:0.40
Tests for Comparing Proportions
Two Proportions (Chi-Square)
When to use: Comparing rates between two groups
Typical values:
- Response: Control =
30%, Treatment =50% - Adverse events: Drug A =
15%, Drug B =8%
Single Proportion
When to use: Compare observed rate to known value
Typical values:
- Historical =
20%, Expected =12%
Clinical Trial Designs
Superiority Trial
When to use: Prove new treatment is better than control
- Mean diff =
10, SD =20
Non-Inferiority Trial
When to use: Prove new treatment is not worse
- Margin =
-10%(clinically acceptable)
Equivalence Trial
When to use: Prove treatments are equal (bioequivalence)
- Margin =
±20%or±15%
Survival Analysis
Log-Rank Test
When to use: Time-to-event analysis
- Overall survival: HR =
0.75, Event rate =30% - Progression-free: HR =
0.65, Event rate =50%
Correlation & Regression
Correlation
Correlation strength (r):
- Small:
0.10| Medium:0.30| Large:0.50
Linear Regression
Effect size (R²):
- Small:
0.10| Medium:0.25| Large:0.40
Logistic Regression
Rule: 10-20 events per predictor
Diagnostic Studies
Sensitivity/Specificity
- Screening: Sensitivity =
90%, Precision =±5% - Confirmatory: Specificity =
95%, Precision =±3%
ROC Curve (AUC)
- AUC
0.50= Random |0.70-0.80= Acceptable |>0.80= Excellent
How We Compare: Editverse vs Other Calculators
See why researchers choose Editverse for power analysis
| Feature | Editverse | G*Power | PS Power | OpenEpi | Sealed Envelope |
|---|---|---|---|---|---|
| Price | ✓ Free | Free | Free | Free | Freemium |
| Platform | ✓ Web (No Download) | Desktop only | Desktop only | Web | Web |
| Mobile Friendly | ✓ Yes | ✗ No | ✗ No | Limited | Limited |
| Clinical Trial Designs | ✓ All 3 Types | Limited | Yes | ✗ No | Yes |
| Survival Analysis | ✓ Log-Rank | Yes | Yes | ✗ No | Limited |
| Interactive Charts | ✓ Yes | Yes | ✗ No | ✗ No | ✗ No |
| Publication Reports | ✓ Yes | ✗ No | ✗ No | ✗ No | ✗ No |
| Dropout Adjustment | ✓ Built-in | Manual | Manual | ✗ No | Yes |
| ROC/AUC | ✓ Yes | ✗ No | ✗ No | ✗ No | ✗ No |
| Registration | ✓ Not Required | No | No | No | Some features |
How to Cite This Calculator
Use these formats for your methodology section, ethics applications, and publications
📝 In-Text (Methods Section)
Sample size was calculated using the Editverse Sample Size Calculator (Editverse, 2025), a validated online power analysis tool for medical research.
📚 APA 7th Edition
Editverse. (2025). Editverse Sample Size Calculator [Online tool]. https://editverse.com/free-sample-size-calculator-power-analysis-tool-for-researchers/
📖 Vancouver/ICMJE
Editverse. Editverse Sample Size Calculator [Internet]. 2025 [cited 2025 Jan 6]. Available from: https://editverse.com/free-sample-size-calculator-power-analysis-tool-for-researchers/
🔬 Full Methodology Example
Sample Size Calculation: The required sample size was determined using the Editverse Sample Size Calculator (https://editverse.com). Based on a two-sample t-test with α = 0.05, 80% power, mean difference of 10 units, and SD of 25 units, we calculated 78 participants per group (156 total). Accounting for 20% dropout, we planned to enroll 196 total.
💡 Tips for Ethics Committees & Grant Applications
- Justify effect size: Reference pilot data or published literature
- Explain alpha and power: Standard is α=0.05, power=80%
- Account for dropouts: Use our built-in dropout slider
- Include parameters: Reviewers want to verify your numbers
- Use Report feature: Generate publication-ready text with one click
Power Analysis Calculator for Research Studies
Power analysis is used to estimate the minimum sample size required to detect a statistically meaningful effect while controlling the probability of Type I and Type II errors. A Type I error (false positive) occurs when a study incorrectly concludes an effect exists; a Type II error (false negative) occurs when a true effect is missed. Most biomedical and clinical studies target 80% power (1-β = 0.80) at a significance level of α = 0.05.
Using this power analysis calculator, researchers specify the expected effect size, significance level, desired power, and study design. The calculator then returns the required sample size. Running a power analysis before data collection ensures that a study is neither underpowered — risking a false negative — nor unnecessarily large, which wastes resources and raises ethical concerns about unnecessary participant recruitment.
Effect sizes can be derived from pilot data, published literature, or the minimum clinically important difference. Cohen’s conventions (small: d = 0.2, medium: d = 0.5, large: d = 0.8 for t-tests; f = 0.10/0.25/0.40 for ANOVA) provide a starting point when no prior data exists.
Run Power Analysis ↑Sample Size Calculator for Clinical Trials
Clinical trials require rigorous sample size calculation before recruitment begins. Underpowered trials may fail to detect real treatment differences, while oversized trials expose more participants to experimental conditions than necessary. Ethics committees and grant bodies require a clearly justified sample size calculation as part of protocol approval.
This calculator supports three core clinical trial designs. Superiority trials test whether a new treatment is better than a control; the required inputs are expected mean difference, standard deviation, significance level, and desired power. Non-inferiority trials test whether a new treatment is not unacceptably worse than an established standard; the key additional parameter is the non-inferiority margin. Equivalence trials test whether two treatments produce the same effect within a defined boundary.
For survival-based clinical trials, the calculator uses the log-rank test formula, requiring the expected hazard ratio, event rate, and follow-up duration.
Key inputs for clinical trial calculations
- Expected treatment difference or hazard ratio
- Standard deviation (for continuous outcomes)
- Significance level: typically
α = 0.05 - Statistical power: typically
80%or90% - Allocation ratio (e.g.,
1:1or2:1) - Non-inferiority or equivalence margin (where applicable)
- Expected dropout rate (use the built-in dropout slider)
Prevalence Sample Size Calculator
Prevalence-based sample size calculation is used in cross-sectional and epidemiological studies where the primary objective is to estimate the proportion of a population with a specific condition, exposure, or characteristic. Unlike comparative studies, these designs do not test a hypothesis between groups — instead, they estimate a population parameter with a specified level of precision.
The required sample size for a prevalence study depends on the expected prevalence (p), the acceptable margin of error (d), and the confidence level (typically 95%, corresponding to Z = 1.96). When the study population is finite and relatively small, a finite population correction factor reduces the required sample size.
Using the Single Proportion option in the calculator, researchers can model prevalence studies directly. A common example: estimating the prevalence of hypertension in an urban clinic with an expected prevalence of 30%, a margin of error of 5%, and 95% confidence requires approximately 323 participants before accounting for non-response.
Typical inputs for prevalence calculations
- Expected prevalence: e.g.,
30%(or use50%for maximum conservatism) - Margin of error: typically
5%for general studies,3%for precision studies - Confidence level:
95%(Z = 1.96) or99%(Z = 2.576) - Population size: enter if finite population correction applies
Sample Size Calculator for T-Tests
T-test sample size calculation applies when comparing means between one group and a reference value, two independent groups, or paired measurements on the same subjects. The three t-test designs — one-sample, two-sample (independent), and paired — differ in their input parameters and the interpretation of sample size output.
For a two-sample t-test, the required sample size per group depends on the expected mean difference between groups, the pooled standard deviation, significance level, power, and test direction. For a paired t-test, the key parameter is the mean difference between paired measurements and its standard deviation — typically smaller than the between-subjects standard deviation, which is why paired designs are statistically efficient.
Typical parameter values for t-test calculations
- Blood pressure study: Mean diff =
5–10mmHg, SD =12–15 - HbA1c study: Mean diff =
0.5–1.0%, SD =1.2–1.5 - Weight loss trial: Placebo =
0kg, Drug =−5kg, SD =8 - Cohen’s d conventions: Small =
0.2, Medium =0.5, Large =0.8
Sample Size Calculator for ANOVA
ANOVA sample size calculation is used when a study compares means across three or more groups simultaneously. Rather than running multiple t-tests — which inflates the Type I error rate — ANOVA tests the overall null hypothesis that all group means are equal in a single analysis.
The key parameter is Cohen’s f, the effect size measure for ANOVA. Small: f = 0.10; medium: f = 0.25; large: f = 0.40. The calculator returns the total sample size required and the per-group breakdown.
ANOVA parameter reference
- Number of groups: e.g.,
3(control + 2 interventions) - Effect size (Cohen’s f): Small
0.10| Medium0.25| Large0.40 - Significance level:
α = 0.05 - Power:
80%or90%
Sample Size Calculator for Chi-Square Tests
Chi-square sample size calculation is used in studies involving categorical outcomes — for example, comparing response rates, complication rates, or disease prevalence between two groups. For a two-proportion chi-square test, the required inputs are the expected proportions in each group, the significance level, and the desired power.
Cohen’s w conventions: small = 0.10, medium = 0.30, large = 0.50. A practical example: comparing adverse event rates of 15% vs 8% at 80% power and α = 0.05 requires approximately 300 participants per group before dropout adjustment.
Typical inputs for chi-square calculations
- Control proportion: e.g.,
30%response rate - Treatment proportion: e.g.,
50%response rate - Effect size (Cohen’s w): Small
0.10| Medium0.30| Large0.50 - Significance level:
α = 0.05 - Power:
80%
Frequently Asked Questions
What is sample size calculation?
Sample size calculation determines the minimum participants needed to detect a statistically significant effect. It ensures adequate power while avoiding unnecessary recruitment.
How do I calculate sample size for a clinical trial?
Select your trial design, enter expected treatment difference, standard deviation, significance level (α=0.05), and power (80%). Our calculator computes required participants per arm.
What is statistical power?
Statistical power (1-β) is the probability of detecting a true effect. 80% power means 80% chance of finding significance if the effect is real. Higher power needs larger samples.
What effect size should I use?
Base effect size on: (1) pilot data, (2) published literature, or (3) minimum clinically important difference. Cohen’s d: 0.2=small, 0.5=medium, 0.8=large.
Is this calculator free?
Yes! 100% free for academic and commercial use. No registration, no download, no limitations. Use directly in your browser.
How accurate vs G*Power?
We use the same validated statistical formulas. Results are equivalent for same inputs. Advantage: web-based access without installation.
Our Statistical Services
Need professional help? Our expert biostatisticians are here for you
Related Articles
Learn more about statistical analysis for research
2025 Guide: Choosing the Right Statistical Test
A comprehensive flowchart approach to selecting the appropriate statistical test for your research design.
Read More →T-tests in Clinical Trials: Real-world Examples
Visual guides and practical examples of using t-tests in medical research with effect size interpretation.
Read More →Easy Guide to PRISMA Flow Chart Steps
Step-by-step instructions for creating PRISMA diagrams for systematic reviews and meta-analyses.
Read More →Journal Rejection Rate by Field: 2025 Analysis
Comprehensive analysis of acceptance rates across scientific disciplines with strategies to improve your chances.
Read More →Need Professional Statistical Analysis?
Our expert biostatisticians can help with your research projects






