yCalculator

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
Sum40
Minimum2
Maximum9
Range7
Mean5
Median4.5
Mode4
Q14
Q36
IQR2
Population variance4
Sample variance4.571429
Population std dev2
Sample std dev2.13809
Geometric mean4.603216
Harmonic mean4.201751
Sorted data
24445579

Frequency table

ValueFrequencyRelative freqCumulative
2112.5%12.5%
4337.5%50%
5225%75%
7112.5%87.5%
9112.5%100%

Dot plot

2
4
5
7
9
Mean: 5Median: 4.5

Step-by-step working

Mean

  1. Sum all values: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40
  2. Divide by count: mean = 40 / 8 = 5

Median

  1. Sort values: 2, 4, 4, 4, 5, 5, 7, 9
  2. Even count (8 values). Middle two: 4 and 5.
  3. Median = (4 + 5) / 2 = 4.5

Mode

  1. Count frequencies: 2->1, 4->3, 5->2, 7->1, 9->1
  2. Highest frequency = 3. Mode = 4.

Range

  1. 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 →