Median & Mode Calculator
Paste or type numbers separated by commas, spaces, semicolons, or new lines. Use a dot (.) for decimals.
Numbers can be separated by commas, spaces, or new lines. Use a dot (.) for decimals.
How this calculator works
Enter a list of numbers and choose a calculation mode at the top. The median is the middle value after sorting, and the mode is the most frequent value (or values) in the list.
Common examples
- Median: Find a typical value when a dataset includes outliers.
- Distributions: Summarize a dataset beyond the average (mean).
- Housing prices: Use the median price to reduce the impact of extremely expensive listings.
- Salaries: Compare typical income when a few very high salaries would skew the average.
- Mode: Identify the most common value in a list.
- Most common size: Find the mode for shoe sizes, clothing sizes, or repeated measurements.
- Survey results: Identify the most frequent answer or rating in a dataset.
- Multiple modes: See all values that share the highest frequency.
Related Calculators
If you work with statistics or data sets, these tools can help with common tasks such as calculating averages, comparing values, or working with percentages: Average Calculator and Percentage Calculator.
Typical use cases include calculating an average score, an average price, a percentage increase or decrease, a discount percentage, or determining what percentage one value is of another.
For everyday math and quick utilities, you may also use: the Unit Converter to convert measurements (length, weight, temperature), and the Random Number Generator for sampling, games, or testing.
FAQ
What is the median?
The median is the middle value in a list of numbers after the values are sorted from smallest to largest. If there is an even number of values, the median is the average of the two middle numbers.
How do I calculate the median?
Sort the numbers from smallest to largest. If there is an odd number of values, the median is the middle one. If there is an even number, take the two middle values and divide their sum by 2.
What is the mode?
The mode is the value that appears most often in a list. It highlights the most common number in your data.
How do I calculate the mode?
Count how often each value appears. The value with the highest frequency is the mode. If no value repeats, there may be no mode.
Can there be more than one mode?
Yes. If multiple values share the same highest frequency, the dataset can have more than one mode. In that case, the calculator returns all modes.
When should I use the median instead of the average (mean)?
Use the median when your data includes outliers or is skewed. The median is less affected by extreme values and often represents a more typical value than the average (mean).