Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Statistics Calculator

Statistics Calculator

Calculate mean, median, mode, standard deviation, variance, and more from any dataset with step-by-step solutions.

Statistics Calculator with Step-by-Step Solutions

The statistics calculator computes every key descriptive statistic from your dataset in one place — mean, median, mode, standard deviation, variance, range, and quartiles — and shows the working behind each result. Just paste your numbers and read the answers instantly.

It is built for students, teachers, researchers, and analysts who need quick, accurate descriptive statistics. Whether you are checking homework, summarizing survey data, or analyzing business metrics, you get the full picture from a single set of numbers — plus a 16-metric summary panel that shows everything at once.

Private by design: every calculation runs in your browser. Your data is never uploaded, tracked, or stored on a server.

How to Use the Statistics Calculator

1

Enter your data

Type or paste your numbers into the Enter Data field. Values can be separated by commas, spaces, tabs, semicolons, or new lines, so you can paste a column straight from a spreadsheet. Non-numeric text is ignored automatically.

2

Choose Sample or Population

Pick Sample if your numbers are a subset of a larger group, or Population if they are the complete set. This switches the standard deviation and variance between the n−1 and n formulas.

3

Set the decimal precision

Use the Decimals dropdown to display 2, 4, 6, or 8 decimal places. Whole-number results are shown without trailing zeros.

4

Read the results and steps

Switch between the Mean, Median, Mode, Std Dev, and Variance tabs to see each result with its formula. Click Show Steps for the sorted data and full calculation, then scroll to the Summary Statistics panel for all 16 measures together.

New here? Click Example to load a sample dataset and see every feature in action, or Clear to reset and enter your own numbers.

Features

Five Dedicated Calculators

Tabs for Mean, Median, Mode, Standard Deviation, and Variance, each with its own formula and result card.

Step-by-Step Solutions

Click Show Steps to reveal the sorted data, intermediate values, and the exact formula application behind every result.

Complete Summary Panel

See all 16 statistics in one grid: count, sum, min, max, range, mean, median, mode, sample and population std dev and variance, and Q1, Q2, Q3, IQR.

Sample vs. Population Toggle

Switch between sample (n−1 Bessel's correction) and population (n) calculations for standard deviation and variance.

Flexible Input

Accepts numbers separated by commas, spaces, tabs, semicolons, or new lines, and parses spreadsheet pastes while ignoring non-numeric text.

Adjustable Precision

Choose 2, 4, 6, or 8 decimal places to match your accuracy needs, with whole numbers shown cleanly.

Frequently Asked Questions

What does this statistics calculator compute?

It calculates the full set of descriptive statistics for ungrouped data: count, sum, minimum, maximum, range, mean, median, mode, sample and population standard deviation, sample and population variance, and the quartiles Q1, Q2, Q3, and IQR — 16 measures in total.

How do I find the mean, median, and mode?

Enter your numbers and the calculator finds all three at once. The mean is the sum divided by the count, the median is the middle value of the sorted data, and the mode is the most frequent value. Open the matching tab and click Show Steps to see exactly how each one is worked out.

What is the difference between variance and standard deviation?

Variance is the average of the squared differences from the mean. Standard deviation is the square root of the variance, which returns the spread to the same units as your data. The calculator reports both, in sample and population forms.

What is the difference between sample and population standard deviation?

Sample standard deviation (s) divides by n−1 and gives an unbiased estimate when your data is only part of a larger group. Population standard deviation (σ) divides by n and is used when you have the complete dataset. If you are unsure, choose Sample — it is the safer default for most practical cases.

How is the median calculated for an even number of values?

With an even count, the median is the average of the two middle values after sorting. For example, in {2, 4, 6, 8} the median is (4 + 6) / 2 = 5. With an odd count, the median is simply the single middle value.

Can a dataset have more than one mode, or no mode at all?

Yes. A set with two most-frequent values is bimodal and one with several is multimodal — for example, in {1, 1, 2, 2, 3} both 1 and 2 are modes. If every value appears exactly once there is "No mode", since no value occurs more often than the rest.

How is the range calculated?

The range is the maximum value minus the minimum value, so it measures the total spread of your data. The interquartile range (IQR) is Q3 − Q1 and describes the spread of the middle 50% of the data, which is often used to flag outliers.

What input formats are supported?

You can separate numbers with commas, spaces, tabs, semicolons, or new lines, and mixed formats work too. Decimals and negative numbers are fine, and any non-numeric text is skipped automatically, so pasting directly from a spreadsheet just works.

Why are my standard deviation and variance showing 0?

If every value in your dataset is identical, there is no spread, so both the standard deviation and the variance are 0. The same happens with a single data point, since sample variance needs at least two values to be defined.

Enter Data
Data Type
Decimals
Arithmetic Mean
-
x̄ = (Σxᵢ) / n
Median
-
Middle value of sorted data
Mode
-
Most frequent value(s)
Sample Standard Deviation
-
s = √[Σ(xᵢ - x̄)² / (n - 1)]
Sample Variance
-
s² = Σ(xᵢ - x̄)² / (n - 1)
Summary Statistics
Count -
Sum -
Min -
Max -
Range -
Mean -
Median -
Mode -
Std Dev (S) -
Std Dev (P) -
Variance (S) -
Variance (P) -
Q1 -
Q2 -
Q3 -
IQR -
Enter numbers separated by commas, spaces, tabs, semicolons, or new lines
Toggle between Sample (n-1) and Population (n) for standard deviation and variance
Click Show Steps to see the detailed calculation process
The Summary panel shows all 16 statistics at once: count, sum, min, max, range, mean, median, mode, std dev, variance, Q1, Q2, Q3, IQR
Adjust decimal precision (2, 4, 6, or 8 places) for your desired accuracy
Click Example to load sample data and try instantly
All calculations are done locally in your browser
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords