Paste a list of numbers. Commas, spaces and new lines all work.
Your data stays in your browser
This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data
When a few very large or small values would pull the average off. Salaries are the classic example: one very high earner lifts the mean, but the median still shows what a typical person earns. If your data is fairly even, the mean and median will be close.
Use the sample figure (dividing by n − 1) when your numbers are a sample from a bigger group, such as 30 students from a whole school. Use the population figure (dividing by n) when you have every value, like the marks of everyone in your class. Most school and university statistics questions want the sample version unless they say otherwise.
Need other maths tools? Try the LCM and HCF Calculator, the Percentage Calculator or the GPA and CGPA Calculator, which weights grades by credit hours.