Skip to content

Statistics Formulas Cheat Sheet

Here are the most-used statistics formulas on one page, in simple words. Each one has a short meaning and a quick example. Save it, print it, or keep it open while you solve problems with the mean, median and mode calculator.

Averages: mean, median and mode

MeasureFormulaWhat it means
Meanx̄ = Σx ÷ nAdd all values, divide by how many there are.
Median (odd n)value at position (n + 1) ÷ 2The middle value of the sorted list.
Median (even n)(value at n ÷ 2 + value at n ÷ 2 + 1) ÷ 2The mean of the two middle values.
Modemost frequent valueCan be one, many, or none.
Weighted meanΣ(w × x) ÷ ΣwMean where some values count more (w = weight).

Example with 3, 5, 5, 7, 10: mean = 30 ÷ 5 = 6, median = 5, mode = 5. Learn more: mean formula, median formula, mode formula, weighted mean.

Spread: range, quartiles and outliers

MeasureFormulaWhat it means
Rangemax − minHow far apart the smallest and biggest values are.
Midrange(max + min) ÷ 2The value halfway between the smallest and biggest.
Interquartile rangeIQR = Q3 − Q1The spread of the middle half of the data.
Outlier fencesQ1 − 1.5 × IQR and Q3 + 1.5 × IQRValues outside these fences are possible outliers.

Different books and tools find quartiles in slightly different ways, so Q1 and Q3 can differ a little. Use the method your teacher or course asks for. See the five-number summary guide and the range calculator.

Variance and standard deviation

MeasureFormulaUse it for
Population varianceσ² = Σ(x − μ)² ÷ NWhen you have the whole group.
Sample variances² = Σ(x − x̄)² ÷ (n − 1)When your data is a sample of a bigger group.
Standard deviationσ = √σ² or s = √s²The typical distance of values from the mean.

Grouped data (class intervals)

MeasureFormulaSymbols
Class midpointx = (lower + upper) ÷ 2The middle of each class.
MeanΣ(f × x) ÷ Σff = frequency, x = midpoint.
MedianL + [(N ÷ 2 − cf) ÷ f] × hL = lower limit of median class, cf = cumulative frequency before it, f = its frequency, h = class width.
ModeL + [(f1 − f0) ÷ (2f1 − f0 − f2)] × hf1 = modal class frequency, f0 = class before, f2 = class after.

Practice it with the grouped data calculator and the mean median mode worksheet.

Which average should I use?

SituationBest choice
Values are fairly even, no extreme numbersMean
A few very big or very small values (outliers)Median
You want the most common value, or the data is a categoryMode

For lopsided data, a rough estimate is Mode ≈ 3 × Median − 2 × Mean. It is only an estimate, not an exact answer. More in mean vs median vs mode.

Frequently asked questions

What is the formula for the mean?

Mean = sum of all values ÷ number of values. For 2, 4, 6 the mean is 12 ÷ 3 = 4.

How do I find the median of an even number of values?

Sort the list, take the two middle values, add them and divide by 2. For 2, 4, 6, 8 the median is (4 + 6) ÷ 2 = 5.

What is the difference between sample and population standard deviation?

Population standard deviation divides by N and is used when you have every value. Sample standard deviation divides by n − 1 and is used when your data is only a sample.

Can I print this statistics formulas cheat sheet?

Yes. Use the print button at the top of the page. It is free to print and share for study or teaching.

Why do quartile answers differ between calculators?

There is more than one accepted method for finding quartiles, so results can differ slightly. Follow the method used in your course.

Last updated:

How are these results calculated?

The calculator uses the median-of-halves method for quartiles. For an odd number of values, the middle value is included in both halves. Percentiles use linear interpolation with position (p ÷ 100) × (n − 1). Other tools may use different rules.

Method and references

For an independent explanation of statistical methods, see the NIST/SEMATECH e-Handbook of Statistical Methods. This is a reference for general methods, not a claim of endorsement or external review. Check the calculator’s displayed steps for the exact operation used.

Scroll to Top