RAPIDCALC · FREE ONLINE TOOL

Statistics Calculator

Find the mean, median, mode, variance and standard deviation.

Calculator inputs

Calculation results

Mean

5
Median
4.5
Mode
4
Range
7
Population SD
2
Sample SD
2.13809
Population variance
4
Sample variance
4.57143

Calculations update as you edit. Results assume fixed rates and the conventions explained in the guide below.

Want to understand the method? Read the step-by-step RapidCalc learning guide →

CALCULATOR GUIDE

Understand Statistics Calculator

Explore the formula, worked examples and practical explanations behind this calculator.

Understanding the statistics calculator

Enter numeric observations to calculate common descriptive statistics: mean, median, mode, minimum, maximum, range, variance, and standard deviation. These measures describe the dataset but do not by themselves establish causes or future predictions.

Mean, median and mode

The mean is the sum divided by the number of values. The median is the center after sorting. The mode is a value that occurs most often. In this calculator, if all numbers appear only once, the dataset has no mode; if several values tie for the highest frequency above one, all tied modes appear.

Population versus sample variation

Population variance divides the squared deviations by n. Sample variance divides them by n − 1, producing the commonly used unbiased estimator under its standard assumptions.

Population variance = Σ(x − mean)² ÷ n

Sample variance = Σ(x − mean)² ÷ (n − 1)

Standard deviation is the square root of the corresponding variance. It expresses spread in the original data units.

Worked example

Consider 2, 4, 4, 4, 5, 5, 7, 9. There are eight observations; the mean is 5, the median is 4.5, the mode is 4, and the range is 7. The population variance is 4, and the population standard deviation is 2.

When to use each summary

The mean takes all values into account but may be pulled by outliers. The median often describes a typical observation better for skewed data. Standard deviation is informative about spread, but interpreting it requires context about the distribution.

Input and precision notes

Use two to 500 finite numbers separated by commas, spaces or semicolons. Results are calculated at JavaScript numeric precision and displayed with up to five decimal places. Very large values can introduce floating-point rounding error.

Learn more

Read our mean, median, mode and standard deviation guide for a tutorial and sample/population decision guidance.

COMMON QUESTIONS

Frequently Asked Questions

Clear answers to help you understand your results.

01How is the mean calculated?
Add all values and divide by the number of values.
02What is the median?
The center of a sorted dataset, or the average of the two center values when count is even.
03What if there is no mode?
If every number appears once, the result says no mode.
04Can a dataset have multiple modes?
Yes. All most-frequent values are listed when they tie at more than one occurrence.
05What is the range?
The largest value minus the smallest value.
06What is the population variance?
The mean of squared deviations from the dataset mean.
07What is sample variance?
The sum of squared deviations divided by n minus one.
08What is standard deviation?
The square root of variance, in the same units as the original data.
09Can I enter negative values?
Yes. Enter finite numbers separated by commas, spaces or semicolons.