calc-hub.eu
← Back to calculators

Statistics Calculator

Mean, median, mode, range, quartiles and standard deviation of your numbers, with the formulas.

What the values mean

Statistics describes a list of numbers with a few values: where the centre is (mean, median, mode) and how spread out the numbers are (range, quartiles, standard deviation). Press Example and follow the explanations below on the numbers 2 4 4 4 5 5 7 9.

Population or sample?

Use the population formulas (divide by n) when your numbers are the whole group, and the sample formulas (divide by n − 1) when they are a sample from a larger group. If you are unsure, the sample version is the usual choice for measured data. For the example numbers the population variance is 32 / 8 = 4 and the sample variance is 32 / 7 ≈ 4.571.

Frequently asked questions

  • How do I calculate the mean, median and mode?

    Mean: add all values and divide by how many there are. Median: sort the values and take the middle one, or the average of the two middle ones. Mode: the value that occurs most often. Example: for 2 4 4 4 5 5 7 9 the mean is 5, the median is 4.5 and the mode is 4.

  • What is the difference between population and sample standard deviation?

    Use the population formulas (divide by n) when your numbers are the whole group, and the sample formulas (divide by n − 1) when they are a sample from a larger group. For the example numbers the population variance is 4 (standard deviation 2) and the sample variance is about 4.571 (standard deviation about 2.138).

  • How do I enter my numbers?

    Type or paste numbers separated by spaces, semicolons or new lines; up to 10,000 values are accepted. Example tries the numbers above and Clear starts over.

  • What are quartiles and the interquartile range?

    Quartiles split the sorted data into four parts: about 25% of the values lie below Q1 and about 75% below Q3. Here Q1 is the median of the lower half and Q3 the median of the upper half; other tools use other methods, so results can differ slightly. The interquartile range IQR = Q3 − Q1 describes the spread of the middle half of the data.

  • When should I use the median instead of the mean?

    When there are extreme values. A single very large or small value pulls the mean strongly, while the median hardly changes. Incomes and house prices are typical examples.

Everything is calculated in your browser and nothing you enter is stored or sent anywhere.