Skip to content
Kordu Tools

Statistics Cheat Sheet: Mean, Median, Mode, Std Dev

Statistics cheat sheet with formulas, worked examples, and when to use mean vs median. 90% of data analysis uses these core measures (ASA, 2024).

I
iyda
12 min read
statistics statistics cheat sheet mean median mode standard deviation formula mean vs median

Statistics doesn’t have to feel like decoding hieroglyphics. The same handful of formulas powers everything from school homework to Fortune 500 dashboards. According to the American Statistical Association, roughly 90% of routine data analysis relies on measures of central tendency and spread. This cheat sheet gives you each formula, a worked example with real numbers, and a plain-English explanation of when to pick one measure over another.

No fluff, no proofs. Just the math you’ll actually use.

math tools

Key Takeaways

  • Mean, median, and mode each answer 'what's typical?' differently. Pick based on your data's shape and outliers.
  • Standard deviation measures average distance from the mean. About 68% of data falls within one SD in a normal distribution.
  • The 68-95-99.7 rule lets you estimate probabilities without a calculator for normally distributed data.
  • Correlation does not imply causation. A strong r-value only measures linear association, never cause and effect.

Calculate Statistics Instantly

Paste or type your dataset below. The calculator returns mean, median, mode, standard deviation, and more in one click.

Try it Statistics Calculator
0 values parsed

Enter at least two valid numbers to see statistics.

Enter at least two numbers above to see descriptive statistics and a histogram.

What Are Mean, Median, and Mode?

These three measures of central tendency each describe the “center” of a dataset in a different way. A 2023 report from the Royal Statistical Society found that misapplying the mean to skewed data is the most common statistical error in published research. Choosing the right measure depends entirely on your data’s distribution.

percentage calculator

Mean (Average)

The mean is the sum of all values divided by the count.

Formula: Mean = (x₁ + x₂ + … + xₙ) / n

Worked example: Five students scored 72, 85, 90, 68, and 95 on a test.

  • Sum: 72 + 85 + 90 + 68 + 95 = 410
  • Count: 5
  • Mean: 410 / 5 = 82

The mean uses every data point, which makes it sensitive to extreme values. One billionaire walks into a bar and the “average” patron is a millionaire. That’s the mean’s weakness.

Median (Middle Value)

The median is the middle value when data is sorted from smallest to largest. For an even count, average the two middle values.

Worked example: Using the same scores sorted: 68, 72, 85, 90, 95.

  • Count is 5 (odd), so the median is the 3rd value.
  • Median: 85

Now add a sixth score of 200 (a wild outlier): 68, 72, 85, 90, 95, 200.

  • Count is 6 (even), so average positions 3 and 4: (85 + 90) / 2 = 87.5

Notice the median barely moved despite the outlier. The mean would jump to 101.7. That’s why the median is preferred for skewed data like household income or home prices.

Mode (Most Frequent Value)

The mode is the value that appears most often. A dataset can have zero modes, one mode, or multiple modes.

Worked example: Shoe sizes sold today: 8, 9, 9, 10, 9, 11, 10.

  • 9 appears 3 times, 10 appears 2 times, everything else once.
  • Mode: 9

The mode is the only measure of central tendency that works for categorical data. What’s the most popular color? You can’t average “blue” and “red,” but you can count which appears most.

When Should You Use Mean vs Median?

The choice between mean and median comes down to data shape. According to the U.S. Census Bureau, the 2023 median household income was $80,610 while the mean was $114,844, a 42% gap caused by high earners pulling the mean upward. That gap tells you everything about when each measure is appropriate.

Measure Best For Sensitive to Outliers? Data Type
Mean Symmetric data, calculating totals Yes, heavily Numeric only
Median Skewed data, income, home prices No Numeric (ordinal OK)
Mode Categorical data, finding most common No Any data type

Use the mean when your data is roughly symmetric and you need a measure that uses every value. Test scores, temperatures, and manufacturing measurements often fit.

Use the median when you suspect outliers or skew. Income, home prices, response times, and any data where a few extreme values could mislead.

Use the mode when your data is categorical or you want to know the most common category. Favorite products, survey responses, shoe sizes.

Citation Capsule: The U.S. Census Bureau reported a 2023 median household income of $80,610 versus a mean of $114,844, demonstrating a 42% gap caused by income distribution skew. This makes median the standard measure for income reporting (U.S. Census Bureau, 2024). In our experience teaching statistics workshops, the single most effective way to explain mean vs median is the “billionaire walks into a bar” example. It clicks instantly because people intuitively understand that one extreme value shouldn’t define “typical.”

What Are Range, Variance, and Standard Deviation?

Measures of spread tell you how “spread out” your data is. A Nature Methods primer on statistics notes that reporting a central tendency without a spread measure is “fundamentally incomplete,” yet roughly 30% of published figures omit error bars entirely. Here’s each measure, from simplest to most useful.

Range

The range is the difference between the largest and smallest values. Simple, but crude.

Formula: Range = Maximum - Minimum

Worked example: Test scores: 68, 72, 85, 90, 95.

  • Range: 95 - 68 = 27

The range tells you nothing about how the middle values are distributed. Two datasets can have the same range but wildly different spreads.

Variance

Variance measures the average squared distance from the mean. Squaring ensures negatives don’t cancel out positives.

Population variance formula: σ² = Σ(xᵢ - μ)² / N

Sample variance formula: s² = Σ(xᵢ - x̄)² / (n - 1)

Why divide by (n - 1) for samples? It’s called Bessel’s correction. Samples systematically underestimate population variance, and dividing by (n - 1) instead of n corrects that bias.

Worked example: Scores: 68, 72, 85, 90, 95. Mean = 82.

ScoreScore - Mean(Score - Mean)²
68-14196
72-10100
8539
90864
9513169
Sum538
  • Population variance: 538 / 5 = 107.6
  • Sample variance: 538 / 4 = 134.5

How Do You Calculate Standard Deviation?

Standard deviation is the square root of variance. According to a 2024 analysis by Towards Data Science, standard deviation is referenced in over 85% of peer-reviewed scientific papers that use descriptive statistics. It’s the single most important spread measure because it shares the same units as your data.

Formula: σ = √(σ²) for population, s = √(s²) for sample

Worked example (continuing from above):

  • Population SD: √107.6 = 10.37
  • Sample SD: √134.5 = 11.60

What does 10.37 mean here? On average, each score is about 10.37 points away from the mean of 82. That’s a concrete, interpretable number, unlike variance (which is in “squared points”).

Quick rule of thumb

For roughly normal data, about 68% of values fall within one standard deviation of the mean. If the mean is 82 and SD is 10.37, expect most scores between roughly 72 and 92.

Interquartile Range (IQR)

The IQR measures the spread of the middle 50% of data. It’s the range between the 25th percentile (Q1) and the 75th percentile (Q3).

Formula: IQR = Q3 - Q1

Worked example: Dataset: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20.

  • Q1 (25th percentile): 6
  • Q3 (75th percentile): 16
  • IQR: 16 - 6 = 10

The IQR is the backbone of box plots and outlier detection. Any value below Q1 - 1.5(IQR) or above Q3 + 1.5(IQR) is flagged as an outlier.

Citation Capsule: Standard deviation appears in over 85% of peer-reviewed scientific papers using descriptive statistics, making it the most commonly reported spread measure (Towards Data Science, 2024). It shares units with the original data, unlike variance.

Measure Formula Units Outlier Resistant?
Range Max - Min Same as data No, extremely sensitive
Variance Σ(xᵢ - x̄)² / (n-1) Squared units No
Standard Deviation √Variance Same as data No
IQR Q3 - Q1 Same as data Yes

How Does the Normal Distribution Work?

The normal distribution (bell curve) is the foundation of inferential statistics. According to the National Institute of Standards and Technology (NIST), the normal distribution “is the most important probability distribution in statistics” because of the Central Limit Theorem: sample means tend toward normality regardless of the underlying distribution.

The 68-95-99.7 Rule

This rule, also called the empirical rule, gives you instant probability estimates for normal data.

  • 68% of data falls within 1 standard deviation of the mean
  • 95% falls within 2 standard deviations
  • 99.7% falls within 3 standard deviations

Worked example: Adult male height in the U.S. has a mean of 69.1 inches with a standard deviation of 2.9 inches (CDC NHANES, 2024).

  • 68% of men are between 66.2” and 72.0” (mean ± 1 SD)
  • 95% are between 63.3” and 74.9” (mean ± 2 SD)
  • 99.7% are between 60.4” and 77.8” (mean ± 3 SD)

A man who is 6’5” (77 inches) is about 2.7 standard deviations above the mean. Without looking up a table, you know he’s taller than roughly 99.5% of the population.

Here’s a practical way to think about the 68-95-99.7 rule: “one SD is common, two SDs is unusual, three SDs is rare.” If a quality control measurement is more than 3 SDs from the target, something is almost certainly wrong with the process, not the measurement.

What Are Percentiles and Z-Scores?

Percentiles tell you what percentage of data falls below a given value. Z-scores tell you how many standard deviations a value sits from the mean. According to the College Board, SAT scores are reported as both raw scores and percentiles, with the 50th percentile at approximately 1050 out of 1600 in 2024.

Z-Score Formula

Formula: z = (x - μ) / σ

Worked example: A student scores 1280 on the SAT. The mean is 1050 and the standard deviation is 217.

  • z = (1280 - 1050) / 217
  • z = 230 / 217
  • z = 1.06

A z-score of 1.06 means this score is 1.06 standard deviations above the mean. Looking up 1.06 in a z-table (or using a calculator), this corresponds to roughly the 85th percentile. The student scored higher than about 85% of test takers.

Converting Between Z-Scores and Percentiles

You don’t need to memorize the full z-table. These benchmarks cover most practical situations:

Z-Score Percentile Interpretation
-2.0 2.3% Very low, bottom 2.3%
-1.0 15.9% Below average
0.0 50.0% Exactly average
+1.0 84.1% Above average
+2.0 97.7% Very high, top 2.3%
+3.0 99.9% Exceptionally high

Citation Capsule: The College Board reports the 50th percentile SAT score at approximately 1050 out of 1600 (College Board, 2024). A z-score converts any raw score into standard deviations from the mean, making scores comparable across different tests.

Why Doesn’t Correlation Mean Causation?

Correlation measures the strength of a linear relationship between two variables. According to a 2015 study in PLOS Biology, misinterpreting correlation as causation is among the most prevalent statistical errors in biomedical research, appearing in roughly 50% of published papers that discuss associations.

Pearson Correlation Coefficient (r)

The value of r ranges from -1 to +1.

  • r = +1: Perfect positive linear relationship
  • r = 0: No linear relationship
  • r = -1: Perfect negative linear relationship

Worked example: Ice cream sales and drowning deaths both increase in summer. The correlation might be r = 0.85. Does ice cream cause drowning? Obviously not. Temperature is the lurking variable driving both.

What Makes a Correlation “Strong”?

r Value Strength Example
0.00 to 0.19 Very weak Shoe size and IQ
0.20 to 0.39 Weak Daily coffee and productivity
0.40 to 0.59 Moderate Study hours and exam scores
0.60 to 0.79 Strong Height and weight
0.80 to 1.00 Very strong Arm span and height

Even a very strong correlation (r = 0.95) tells you nothing about cause and effect. Establishing causation requires controlled experiments, not just observation. We’ve found that the most effective way to internalize the correlation-causation distinction is to browse Tyler Vigen’s Spurious Correlations website. Seeing that “per capita cheese consumption correlates with deaths by bedsheet entanglement (r = 0.95)” makes the point visceral and unforgettable.

What Are the Most Common Statistical Mistakes?

Misusing statistics leads to bad decisions. A 2016 statement by the American Statistical Association warned against over-reliance on p-values, noting that “no single index should substitute for scientific reasoning.” Here are the mistakes that trip people up most often.

1. Using the Mean for Skewed Data

If your dataset has a long tail (income, home prices, response times), the mean will overstate the “typical” value. Use the median instead.

2. Ignoring Sample Size

A sample of 5 tells you almost nothing. The margin of error for a proportion is roughly 1/√n. For n = 100, that’s ±10%. For n = 10,000, it’s ±1%. Small samples produce noisy, unreliable statistics.

3. Confusing Correlation with Causation

Covered above, but worth repeating: two variables can move together because of a third, hidden variable. Always ask “what else could explain this?“

4. Cherry-Picking Time Frames

You can make almost any trend look positive or negative by choosing the right start and end date. Always show the full available data range, or explain why you chose a specific window.

5. Misinterpreting Standard Deviation

A “large” standard deviation is relative. An SD of 10 means something very different for a dataset with a mean of 20 (huge spread) versus a mean of 10,000 (trivially tight). The coefficient of variation (SD / mean) solves this.

The p-value trap

A p-value of 0.04 does not mean there’s a 96% chance your hypothesis is true. It means there’s a 4% chance of seeing data this extreme if the null hypothesis were true. The American Statistical Association has publicly warned against equating “statistically significant” with “practically important.”

Citation Capsule: The American Statistical Association published a formal 2016 statement warning that “no single index should substitute for scientific reasoning,” specifically cautioning against over-reliance on p-values as a binary pass/fail threshold (ASA, 2016).

Quick Reference: All Formulas

Here’s every formula from this guide in one place. Bookmark this section.

Measure Formula When to Use
Mean Σxᵢ / n Symmetric data, no extreme outliers
Median Middle value (sorted) Skewed data, outlier-resistant center
Mode Most frequent value Categorical data, finding most common
Range Max - Min Quick spread estimate
Variance (sample) Σ(xᵢ - x̄)² / (n-1) Intermediate step for SD
Standard Deviation √Variance Interpretable spread in original units
IQR Q3 - Q1 Outlier-resistant spread, box plots
Z-Score (x - μ) / σ Compare values across different scales
Correlation (r) Σ(xᵢ-x̄)(yᵢ-ȳ) / [(n-1)·sₓ·sᵧ] Linear association between two variables

statistics calculator

Frequently Asked Questions

What is the difference between mean and median?

The mean is the arithmetic average of all values: add them up and divide by the count. The median is the middle value when data is sorted. According to the U.S. Census Bureau, the 2023 median household income was $80,610 versus a mean of $114,844. The median is preferred when data is skewed because outliers don’t pull it.

When should you use standard deviation vs variance?

Standard deviation is almost always the better choice for reporting because it’s in the same units as your data. Variance (the square of SD) is useful in mathematical derivations and intermediate calculations. Over 85% of peer-reviewed papers report SD rather than variance (Towards Data Science, 2024). Use variance when you need to add variabilities from independent sources.

What does a z-score of 2 mean?

A z-score of 2 means the value is exactly 2 standard deviations above the mean. In a normal distribution, only about 2.3% of values exceed this point. For SAT scores with a mean of 1050 and SD of 217, a z-score of 2 corresponds to a score of 1484, placing you in the 97.7th percentile (College Board, 2024).

What is the 68-95-99.7 rule?

The 68-95-99.7 rule (empirical rule) states that for normally distributed data, 68% of values fall within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3. The NIST Engineering Statistics Handbook calls the normal distribution “the most important probability distribution in statistics.” This rule only applies to bell-shaped distributions.

Can the mean, median, and mode be the same number?

Yes, in a perfectly symmetric distribution (like the normal distribution), the mean, median, and mode are identical. In practice this is rare. When data is right-skewed (like income), the mean is pulled higher than the median. When data is left-skewed, the mean falls below the median. The relationship between these three values tells you the shape of your distribution.

related math tools