Home › Calculators › Mean Median Mode Calculator

Mean Median Mode Calculator

Paste or type a list of numbers to find the mean, median, mode and range, plus the minimum, maximum, count, sum, standard deviation and a sorted list. Every result shows how it was worked out.

Last updated:

Separate with commas, spaces or new lines. You can paste a column from a spreadsheet.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Mean Median Mode Calculator

  1. Paste or type your numbers, separated by commas, spaces or line breaks.
  2. Choose how many decimal places to show.
  3. Press Calculate (results also update as you type).
  4. Read the mean, median, mode and range with step-by-step working, the sorted list and the frequency table.
  5. Copy the results or download the frequency table as CSV.

Formulas for mean, median, mode and range

MeasureHow to calculate itExample: 11, 9, 15, 11, 14, 20
MeanΣx ÷ n80 ÷ 6 = 13.33
MedianMiddle value of the sorted list (average the two middle values if n is even)9, 11, 11, 14, 15, 20 → (11 + 14) ÷ 2 = 12.5
ModeMost frequent value11 (appears twice)
RangeMaximum − minimum20 − 9 = 11
Population varianceΣ(x − mean)² ÷ n77.33 ÷ 6 = 12.89
Sample varianceΣ(x − mean)² ÷ (n − 1)77.33 ÷ 5 = 15.47

Which average should you use?

AverageBest forWeakness
MeanSymmetric data without extreme values: test scores, heights, daily temperaturesPulled strongly by outliers
MedianSkewed data: incomes, house prices, response timesIgnores how far the other values are from the middle
ModeCategories or repeated values: shoe sizes, most common ratingMay not exist or may not be unique

Quartiles here use the common "median of halves" method (the median itself is left out of both halves when the count is odd). Spreadsheet functions such as QUARTILE.INC interpolate and can give slightly different values.

Frequently asked questions

How do you find the mean?

Add all the numbers and divide by how many there are. For 2, 4, 9: (2 + 4 + 9) ÷ 3 = 5. The mean is what most people call the average.

How do you find the median?

Sort the numbers from smallest to largest and take the middle one. If there is an even count, average the two middle values: the median of 3, 7, 8, 12 is (7 + 8) ÷ 2 = 7.5.

How do you find the mode?

The mode is the value that appears most often. A list can have one mode, several modes (bimodal or multimodal) or no mode at all when every value appears the same number of times.

How do you find the range?

Subtract the smallest value from the largest. For 4, 9, 15, 22 the range is 22 − 4 = 18. It is a quick measure of how spread out the data is.

When should I use the median instead of the mean?

Use the median when the data has outliers or is skewed, such as incomes or house prices. One very large value pulls the mean up a lot but barely moves the median.

What is the difference between sample and population standard deviation?

Population standard deviation divides the squared deviations by n and is used when you have every value. Sample standard deviation divides by n − 1 and is used when your numbers are a sample from a larger group.

Can I paste numbers from Excel or Google Sheets?

Yes. Copy a column or row and paste it into the box. Numbers separated by tabs, spaces, commas or new lines are all recognized; text such as headers is ignored and listed in the steps.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Average CalculatorMean, weighted average, median, sum, min and max of any list.Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.Weighted Average CalculatorCalculate a weighted mean from values and weights, step by step.Grade Percentage CalculatorTurn points earned out of total into a percentage and letter grade, with a points-off grid.Cpk CalculatorCp, Cpk, Pp, Ppk and ppm out of spec from your data or mean and standard deviation.Dot Plot MakerMake a dot plot or line plot from data or a frequency table; download PNG or SVG.Extract Numbers from TextPull every number out of text: decimals, negatives and percentages, with sum, average and CSV.Outlier CalculatorFind outliers with 1.5×/3× IQR fences, z-scores or modified z-scores; get the cleaned data.A/B Test Significance CalculatorCheck if your A/B test result is statistically significant.Z-Score CalculatorZ-score from a value, mean and SD, plus percentile and p-value; or the value from z.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Confidence Interval CalculatorConfidence interval and margin of error for a mean or a proportion, with steps.Sample Size CalculatorHow many survey responses you need for a given confidence level and margin of error.Percentile CalculatorValue at any percentile, percentile rank of a score, quartiles, IQR and outliers.Correlation Coefficient CalculatorPearson r and Spearman rank correlation with significance and interpretation.Average Order Value CalculatorAverage order value from revenue and orders, plus the revenue impact of raising AOV.Binomial Distribution CalculatorBinomial probabilities P(X = k), at most, at least or between, with mean, variance and chart.Normal Distribution CalculatorNormal probabilities P(X < x), between two values and inverse percentiles, on a shaded bell curve.Poisson Distribution CalculatorPoisson probabilities for a rate λ: exactly k, at most, at least or between, with a chart.T-Test CalculatorOne-sample, two-sample (Welch/pooled) and paired t-tests with p-value and CI.Chi-Square CalculatorChi-square goodness-of-fit and independence tests with p-value and expected counts.P-Value CalculatorOne- or two-tailed p-values from z, t, chi-square or F statistics, with critical values.Variance CalculatorSample and population variance and standard deviation with a step-by-step deviations table.Five Number Summary CalculatorMin, Q1, median, Q3, max, IQR and fences of a data set, with a box plot.Geometric Mean CalculatorGeometric, harmonic, arithmetic and quadratic means compared, or average growth from % changes.Expected Value CalculatorExpected value, variance and standard deviation from outcomes and their probabilities.One-Way ANOVA CalculatorOne-way ANOVA for 2-10 groups: SS, df, MS, F statistic, p-value, effect size and full table.Bayes Theorem CalculatorPosterior P(A|B) from P(A), P(B|A) and P(B|not A), with a probability tree and table.Box Plot MakerPaste data to draw box-and-whisker plots with quartiles, IQR and outliers. Download PNG or SVG.Coefficient of Variation CalculatorCV % from a dataset (sample or population) with mean, SD and a two-dataset comparison.Critical Value CalculatorCritical values of z, t, chi-square and F for any alpha, tails and degrees of freedom.Dice Probability CalculatorOdds of rolling a sum (exactly, at least, at most) with any dice, plus the full distribution.Effect Size Calculator (Cohen's d)Cohen's d, Hedges' g and Glass's delta from two means, SDs and sample sizes, with CI.Frequency Table GeneratorMake a frequency, relative and cumulative frequency table from numbers or categories.Histogram MakerPaste numbers, choose bins and get a histogram, frequency table and PNG download.Margin of Error CalculatorSurvey margin of error from sample size, confidence and proportion, with population correction.Moving Average CalculatorSimple, exponential and weighted moving averages of a data series, with table and line chart.Standard Error CalculatorStandard error of the mean from data or SD and n, plus SE of a proportion, with CIs.Descriptive Statistics CalculatorPaste data and get mean, median, mode, quartiles, SD, skewness, kurtosis and a histogram.Empirical Rule Calculator68-95-99.7 rule ranges from a mean and standard deviation, with a shaded bell curve.Z-Table (Standard Normal Table)Interactive z-table: find the area for any z-score, or the z-score for a probability.Average Rate of Change CalculatorAverage rate of change of f(x), two points or a data table over [a, b], with the secant line.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Covariance CalculatorSample and population covariance of paired X and Y data, with a step table and scatter plot.Grouped Data CalculatorMean, median, mode, variance and standard deviation from class intervals and frequencies.Inverse Normal Distribution CalculatorinvNorm: find the x or z value for a left, right, central or two-tail area, with a shaded curve.Permutations GeneratorList all permutations of letters, words or items, with k-permutations and repeats, and export them.Statistical Power CalculatorPower or required sample size for t-tests, proportions and correlations, with a power curve.T Distribution CalculatorStudent's t probabilities and critical values for any df, with the area shaded on the curve.T-Table (Student's t Distribution)Interactive t-table: critical t-values for any df and α, p-values, and a printable full table.Z-Test CalculatorOne-sample, two-sample and proportion z-tests with z, p-value, decision and shaded curve.Shannon Entropy CalculatorEntropy of text, data or probabilities in bits, nats or hartleys with a frequency table.Odds Ratio and Relative Risk CalculatorOdds ratio, relative risk, risk difference, 95% CIs and p-values from a 2x2 table.
See all 52 Statistics & Probability Calculators →