Skip to content

Statistics Calculator

Enter your numbers on the keypad or paste a list below, and read every descriptive statistic at once.

Enter values one at a time

Type a number, press ADD, then press a statistic to read it back. Got a list to paste instead? Use the box below.

0

Data set (0)

    Nothing added yet.

    Enter numbers separated by commas, spaces or new lines.

    Example

    This is a sample result, not your calculation. Enter your own values to replace it.

    Enter a data set and calculate to see the mean, median, mode and the full five-number summary.

    Mean

    —

    Median

    —

    Mode

    —

    Descriptive statistics for the data set
    Count —
    Sum —
    Mean (Average) —
    Median —
    Mode —
    Largest —
    Smallest —
    Range —
    Geometric Mean —
    Standard Deviation (σ) —
    Variance (σ²) —
    Sample Standard Deviation (s) —
    Sample Variance (s²) —

    Sorted data: —

    Quartiles
    Q1 (25th percentile) —
    Q3 (75th percentile) —
    Interquartile range (IQR) —

    Sample figures (s, s²) divide by n − 1; population figures (σ, σ²) divide by n. Quartiles use the median-of-halves method (Tukey's hinges).

    Check your data set

    Enter at least one number, separated by commas, spaces or new lines.

    Everything the calculator gives you

    Enter your numbers once and read the whole table at a glance:

    • Count and sum — how many values, and what they add up to.
    • Central tendency — mean, median and mode, plus the geometric mean for values that compound.
    • Spread — largest, smallest and range, then the standard deviation and variance for both a population (σ, σ²) and a sample (s, s²).
    • Your data, sorted — printed under the table, so you can see the shape of it.
    • Quartiles — Q1, Q3 and the interquartile range, under their own heading.

    Two ways in, and they stay separate

    The keypad at the top is for numbers that arrive one at a time — readings you are taking, marks you are reading off a page. Type a value, press ADD, and it joins the data set on the right; then press any statistic to read it back. Each key shows its name under its symbol, and you can remove a single value with the × beside it rather than clearing everything.

    The comma-separated box below is for a list you already have. Type or paste your values separated by commas, spaces or line breaks — you can mix them, and blank entries are ignored. One Calculate returns the whole table at once, and it updates as you edit, so correcting a typo does not mean starting again.

    The two keep their own data. Adding values on the keypad never changes what the box below reports, and vice versa.

    One difference from most keypads worth knowing: if you have typed a number but not pressed ADD, pressing a statistic will tell you so rather than answering. A number on the screen is not in the data set until you add it, and a statistic for a set you did not mean to have is worse than no statistic.

    A worked example you can check

    For the data set 10, 2, 38, 23, 38, 23, 21, 23 the calculator reports a count of 8, a sum of 178, a mean of 22.25 and a median of 23. The mode is 23, appeared 3 times. The largest value is 38, the smallest is 2, and the range is 36. The geometric mean is 17.119851726053. The population standard deviation is 11.508149286484 with a variance of 132.4375; the sample standard deviation is 12.302729081677 with a variance of 151.35714285714. Sorted, the data reads 2, 10, 21, 23, 23, 23, 38, 38.

    The geometric mean

    The ordinary (arithmetic) mean adds your values and divides; the geometric mean multiplies them and takes the nth root. That makes it the right average whenever the quantities compound rather than accumulate — annual growth rates, investment returns, ratios, index numbers. It is never larger than the arithmetic mean, and it is only defined when every value is positive, so the calculator says the answer is undefined rather than printing a number for a set containing zero or a negative.

    Mean, median and mode — a worked example

    Take the data set 2, 3, 3, 5, 12:

    • Mean = (2 + 3 + 3 + 5 + 12) ÷ 5 = 25 ÷ 5 = 5
    • Median = the middle value of the sorted list = 3
    • Mode = the most frequent value = 3 (it appears twice)
    • Range = 12 − 2 = 10

    Notice the mean (5) is higher than the median (3): the single large value, 12, pulls the average up while the median barely moves. That gap is a quick signal that the data is skewed.

    When to use each measure

    MeasureBest for
    MeanRoughly symmetric data with no extreme outliers
    MedianSkewed data or data with outliers (incomes, prices)
    ModeThe most common category or most frequent value

    The five-number summary and quartiles

    The five-number summary describes the data by position: minimum, first quartile (Q1), median, third quartile (Q3) and maximum. For the set 2, 3, 3, 5, 12 the median (3) splits it, and the quartiles are the medians of the halves on either side — Q1 is the median of the lower pair 2 and 3 = 2.5, and Q3 is the median of the upper pair 5 and 12 = 8.5. The interquartile range, Q3 − Q1 = 8.5 − 2.5 = 6, captures the middle half of the data.

    Variance and standard deviation

    For the same five values, each deviation from the mean of 5 squared and summed gives 66. Divide by N = 5 for the population variance of 13.2 (σ ≈ 3.63), or by N − 1 = 4 for the sample variance of 16.5 (s ≈ 4.06). These measure spread as an average distance from the mean, complementing the position-based interquartile range above. For the full step-by-step method and the population-vs-sample distinction, see the standard deviation calculator.

    A note on quartiles

    Quartiles here use the median-of-halves method (Tukey's hinges), excluding the overall median from each half when the count is odd. This is the convention taught in most introductory courses; some spreadsheet functions interpolate and can give slightly different Q1/Q3 values on small data sets. For percentages of a whole, the percentage calculator helps, and the scientific calculator handles individual formulas.

    Frequently asked questions

    Do I have to use the keypad?

    No — there are two ways in, and they are separate calculators with separate data. Use the keypad when your numbers arrive one at a time: type a value, press ADD, then press a statistic to read it back. Use the comma-separated box when you already have a list to paste, and it returns the whole table at once. Neither one touches the other.

    What do the keypad symbols mean?

    x̄ is the mean and x̄² the mean of the squared values; Σx is the sum and Σx² the sum of the squared values; σ and σ² are the population standard deviation and variance; s and s² are the sample versions; GM is the geometric mean. Each key also carries its name underneath, so you do not have to remember the notation. ADD puts the number on the screen into the data set, C clears what you are typing, and CAD clears the whole set.

    What does the statistics calculator compute?

    Paste or type a list of numbers and it returns the full set of descriptive statistics in one table: count and sum; mean, median and mode; largest, smallest and range; the geometric mean; and the standard deviation and variance for both the population and a sample. It also lists your data sorted, and the quartiles (Q1, Q3 and the interquartile range) under a Quartiles heading.

    What is the difference between mean, median and mode?

    The mean is the arithmetic average (sum ÷ count). The median is the middle value when the data is sorted. The mode is the value that appears most often. On symmetric data they are close; on skewed data they diverge, which is why seeing all three is useful.

    When should I use the median instead of the mean?

    Use the median when the data is skewed or has outliers — incomes, house prices, response times. One extreme value drags the mean but barely moves the median, so the median better represents a "typical" value in those cases.

    What is the five-number summary?

    It is the minimum, first quartile (Q1), median, third quartile (Q3) and maximum. Together they describe the shape and spread of the data and are the basis of a box plot. The gap between Q1 and Q3 — the interquartile range — captures the middle 50% of values.

    What is the difference between population and sample statistics?

    A population is the entire group you care about; a sample is a subset drawn from it. Sample variance and standard deviation divide by n − 1 (Bessel's correction) instead of n, which corrects the tendency of a sample to underestimate the true spread. Use the sample figures when your data is a sample, the population figures when it is the whole group.

    Can a data set have more than one mode?

    Yes. If two or more values tie for the highest frequency, the set is multimodal and the calculator lists them all, with the number of times each one appeared. If every value appears exactly once, there is no mode.

    What is the geometric mean, and when should I use it?

    The geometric mean is the nth root of the product of your values, rather than the sum divided by n. It is the right average for things that compound — growth rates, investment returns, ratios and index numbers — because it accounts for multiplication rather than addition. It is only defined when every value is positive: a zero collapses the product and a negative makes the root imaginary, so the calculator says so instead of printing a number that would mean nothing.

    How precise are the results?

    Every figure is shown to fourteen significant figures, with trailing zeros dropped — enough to check our answer against any other statistics tool digit for digit. The one-line summary below the table rounds to four decimals, because that is a sentence to read rather than a number to verify.

    About this calculator

    Method reviewed for accuracy on July 25, 2026

    Built on transparent, unit-tested formulas that run entirely in your browser — see how we build our calculators.

    Embed this calculator on your site — free

    Add this free, mobile-friendly Statistics Calculator to your own website. Paste the code where you want it to appear — it stays up to date automatically, and the frame resizes to fit.

    Please keep the attribution link — it's what keeps these tools free to use and embed.