Initializing CalcuStats…

Sample Size Calculator + Descriptive Statistics

Calculate sample sizes &
analyze your data
with confidence

A complete suite of validated statistical formulas to determine the optimal sample size for your study, plus powerful descriptive statistics for data analysis — with instant export to Excel, Word, and publication-ready flowcharts.

Proportional Allocation

Distribute your sample proportionally across population strata, with full non-response rate adjustment.

Taro Yamane

Classic finite population formula for survey sampling. Fast, reliable, and universally recognized.

%

Cochran's Formula

Precision calculation for population proportions. Supports finite population correction and flexible input formats.

Other Formulas

Proportion, mean estimation, case-control, cohort, correlation, and prevalence studies — all in one place.

χ

Descriptive Statistics

Mean, median, mode, variance, standard deviation, range, quartiles, and summary statistics for your data.

0
Formula Types
0
Strata Support
0
Ads / Tracking
0
Free Forever

Proportional Allocation

Allocate sample sizes proportionally across population strata. Ensures each group is represented in proportion to its size in the total population.

Parameters
Formula
n_i = (N_i / N) × n
n_i = stratum sample size  ·  N_i = stratum population  ·  N = total population  ·  n = total sample
Strata
Results

Ready to calculate

Fill in the parameters and click Calculate to see the allocation breakdown.

Taro Yamane Formula

Compute the required sample size for finite populations. Simple, widely cited, and assumes a 95% confidence level.

Parameters
Formula
n = N / (1 + N × e²)
N = population size  ·  e = margin of error  ·  Assumes 95% confidence (Z = 1.96)
Decimal e.g. 0.05 = 5%
Allocate across strata?
Strata
Results

Ready to calculate

Enter population size and margin of error, then hit Calculate.

%

Cochran's Formula

Calculates the required sample size based on an estimated population proportion. Supports flexible input formats and finite population correction.

Parameters
Formula
n₀ = Z² × p × (1−p) / e²
Finite correction: n = n₀ / (1 + (n₀−1)/N)  ·  p = proportion  ·  e = margin of error
Accepts: 0.50 (decimal), 50 (percent), or 50%
90%=1.645 · 95%=1.96 · 99%=2.576
For finite population correction
Allocate across strata?
Strata
Results
%

Ready to calculate

Enter proportion, Z-score, and margin of error, then hit Calculate.

Other Statistical Formulas

Additional sample size methods for proportion, mean estimation, case-control, cohort, correlation, and prevalence studies.

Parameters
Formula
Allocate across strata?
Strata
Results

Ready to calculate

Select a formula, enter parameters, then hit Calculate.

Descriptive Statistics Analyzer

Paste your data (with headers), select variables, and get comprehensive statistics — just like SPSS! Supports both numerical and categorical data.

Data Input
📋 Copy from Excel, Google Sheets, or any spreadsheet. First row must be column headers. Supports any number of columns (10+ columns work great!).
✨ Features: Automatically detects numeric vs categorical variables • Choose which statistics to display • High-quality graphs • Export results to Word/Excel • Download graphs as PNG

Publication-Ready Flowchart Generator

Edit Diagram Nodes
NamePop (N)Sample (n)
Layout & Orientation
60px
Node Label Content
Show % allocation bar
Show non-response note
Show formula in header
Show legend
Colors
Alternating stratum colors
Typography
14px
12px
Node Dimensions
150px
54px
8px
1px
Title & Caption
Full Reset

Resets all colors, layout, typography, dimensions, node labels, and connector settings back to default values from the original calculation.

Live preview — customize with the controls on the left