Math Calculator
This math calculator takes a list of numbers and returns the mean, median, mode, range, quartiles and a weighted average when weights are supplied. Paste values separated by commas, spaces or new lines. It is designed for quick UK household, study and small-business sums, and every calculation happens in your browser.
Paste a list, choose a method
Commas, spaces, tabs and newlines all work. Weighted mode needs a weight for each value.
Your results
- Mean
- 16.2
- Mode
- 15
- Weighted mean
- —
- Sum
- 81
- Range
- 9
- Standard deviation
- 3.031
- Lower quartile
- 15
- Upper quartile
- 18
Adding 0 as an extra value gives a mean of 16.2 across 5 values.
Average calculation result.
| Item | Value |
|---|
| Value | Times seen |
|---|
Your sorted values
The chart shows up to twelve sorted values so an outlier is easy to spot.
How Math Calculator works
The simple mean adds all entries and divides by how many there are. The median sorts the values and takes the middle one, or the average of the two middle ones for an even count. The mode is the most frequent entry, and the range is the largest value minus the smallest. Standard deviation here is the population version: it measures the average squared distance from the mean and then takes the square root. Quartiles split the sorted list into four parts, giving a quick view of the middle half of the data.
In weighted mode, each value is multiplied by its weight and the total is divided by the sum of the weights. That is useful when some observations count for more, such as a module mark based on coursework and exam components. There must be one weight per value, in the same order. The extra-value slider adds a single number to the list and updates the chart so you can see how one outlier shifts the mean but may barely move the median.
The tool accepts negative numbers and decimals, and it ignores blank separators. It treats every entry as unitless and equally reliable in simple mode. It does not solve equations, differentiate functions or convert units, and it is not a statistical inference tool: no confidence intervals or significance tests are calculated.
Worked example
Seven weekly food bills are entered as 86, 92, 78, 104, 95, 88 and 101. They add to 644, so the mean is exactly 92. Sorted, the list is 78, 86, 88, 92, 95, 101, 104, putting the median at 92 as well. No value repeats, so there is no mode. The range is 104 minus 78, or 26; the population standard deviation is about 8.30, with lower and upper quartiles of 87 and 98. The values are shown here in pounds, although the calculator itself works with plain numbers.
| Item | Amount | Notes |
|---|---|---|
| Values entered | 7 | 86, 92, 78, 104, 95, 88, 101 |
| Total of values | 644 | Sum of seven bills |
| Mean | 92 | 644 divided by 7 |
| Median | 92 | Fourth value once sorted |
| Range | 26 | 104 minus 78 |
| Population standard deviation | 8.30 | Spread around the mean |
| Lower and upper quartiles | 87 / 98 | Middle half of the sorted list |
2026/27 rules and rates
Last checked 27/11/2026. There are no official 2026/27 rates for this kind of arithmetic, and js/uk-rates.js contains tax and benefit figures rather than statistical constants. The formulas used here are standard definitions: the mean, median, mode, range, population standard deviation and weighted mean. No government figure is embedded or implied.
If the numbers represent spending in different years and you want a like-for-like comparison, RATES-TODO.md notes that the Bank of England inflation calculator is the authoritative source and that this site asks users to supply an official CPI figure. That is a separate step from the averages shown here. Check the current GOV.UK or Bank of England material if you need an official series; do not treat any number typed into this form as an official rate.
Tips and common mistakes
Clean input produces a clean answer. These are the mistakes that most often distort a list of results.
- Separate values with commas, spaces or line breaks, but do not include currency symbols inside the numbers box.
- Supply exactly one weight per value in weighted mode; mismatched lists are flagged on the page.
- Prefer the median when a single unusually large or small entry would distort the mean.
- Remember there may be no mode at all if every value appears only once.
- Use the population standard deviation for a complete set you are describing, not a sample drawn from a wider group.
- Keep units consistent; mixing pounds and pence changes every result by a factor of one hundred.
- The chart shows up to twelve sorted values, so check the full list if you have a long data set.
Comparison scenarios
| Scenario | Result | What changes |
|---|---|---|
| Add a £150 week | £99.25 mean | Eight values, median £93.50, range £72 |
| Add a £60 week | £88.00 mean | Eight values, median £90.00, range £44 |
| Weight £101 by 3, others by 1 | £94.00 mean | Weights total 9; the high week counts more |
| Original seven values | £92.00 mean | Reference case with equal weights |
Frequently asked questions
What does math calculator actually calculate?
It calculates descriptive statistics for a list you paste in: mean, median, mode, sum, range, standard deviation and quartiles. In weighted mode it reports a weighted mean instead of the simple headline figure, and the slider shows the effect of adding one more value.
Which UK rules apply to math calculator in 2026/27?
Nothing in this calculation depends on a 2026/27 government rate. The only external figures the site verifies are tax and benefit values in js/uk-rates.js; statistical formulas are definitions, and any inflation comparison must use a user-supplied official CPI figure.
Can I use math calculator on a mobile phone?
Yes. The text areas, slider and results fit a phone screen, and the chart rescales. You can paste a list from a notes app and copy the result without installing anything.
What information do I need before I start?
You need the numbers themselves, separated in any common way. For weighted mode you also need one weight per number in the same order. If the numbers represent money, keep every entry in the same unit.
How accurate is math calculator?
The arithmetic is exact to the decimals displayed. What it cannot judge is whether the list is complete, comparable or measured consistently, so read the result as a description of the entries you supplied.
Where can I check the official figures?
For definitions of the statistical measures, use a mathematics reference such as a university statistics glossary. For inflation comparisons, use the Bank of England inflation calculator; the site review log explains why no CPI figure is built into this tool.
Related calculators
For a focused average, use the average calculator or the weighted average calculator. The maths calculator offers another layout for similar sums, while the percentage calculator, fraction calculator and ratio calculator handle related school and work problems.
Sources and review
Official sources were last reviewed 27 November 2026. Standard statistical definitions for mean, median, mode, spread and weighted averages; Bank of England inflation guidance noted in RATES-TODO.md for separate CPI comparisons. Last checked 27/11/2026.