Mean, Median, Mode and Range Calculator
Last updated: April 2026
Enter your dataset
Separate numbers with commas, spaces, new lines, or tabs. Spreadsheet paste works too.
8 numbers entered
Mean
5
Median
4.5
Mode
4
Range
7
Full statistics table
| Count (n) | 8 |
|---|---|
| Sum | 40 |
| Minimum | 2 |
| Maximum | 9 |
| Range | 7 |
| Mean | 5 |
| Median | 4.5 |
| Mode | 4 |
| Q1 | 4 |
| Q3 | 6 |
| IQR | 2 |
| Population variance | 4 |
| Sample variance | 4.571429 |
| Population std dev | 2 |
| Sample std dev | 2.13809 |
| Geometric mean | 4.603216 |
| Harmonic mean | 4.201751 |
Sorted data
Frequency table
| Value | Frequency | Relative freq | Cumulative |
|---|---|---|---|
| 2 | 1 | 12.5% | 12.5% |
| 4 | 3 | 37.5% | 50% |
| 5 | 2 | 25% | 75% |
| 7 | 1 | 12.5% | 87.5% |
| 9 | 1 | 12.5% | 100% |
Dot plot
Step-by-step working
Mean
- Sum all values: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40
- Divide by count: mean = 40 / 8 = 5
Median
- Sort values: 2, 4, 4, 4, 5, 5, 7, 9
- Even count (8 values). Middle two: 4 and 5.
- Median = (4 + 5) / 2 = 4.5
Mode
- Count frequencies: 2->1, 4->3, 5->2, 7->1, 9->1
- Highest frequency = 3. Mode = 4.
Range
- Maximum 9 - minimum 2 = 7
Mean vs median: when to use which
Mean uses every value, so it is sensitive to outliers. Median is often better for skewed data such as incomes, house prices, or waiting times.
What is the mode?
The mode is the most frequent value. A dataset can have no mode, one mode, two modes, or several modes.
Quartiles and IQR explained
Q1 and Q3 split the lower and upper halves of sorted data. The interquartile range, or IQR, is Q3 minus Q1 and measures the spread of the middle half of the data.
What does this mean?
This calculator is designed to help you understand the likely number before you make a decision or start an application.
Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.
Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.
Related Math calculators
math calculators
Triangle Calculator
Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes
Calculate →math calculators
Area Calculator
Calculate the area of common 2D shapes with formula substitutions and unit conversions
Calculate →math calculators
Volume Calculator
Calculate the volume and surface area of common 3D shapes with full working and practical litre conversions
Calculate →