Mean Median Mode & Range Calculator
Calculate the mean, median, mode, range, sum, minimum, and maximum of any dataset instantly.
How to Use This Calculator
Enter your numbers into the box above, separated by commas. For example:
12, 15, 22, 15, 30
You can separate numbers using commas, spaces, semicolons (;), or line breaks, making it easy to paste data from spreadsheets or other documents.
Click Calculate to instantly display:
- Mean
- Median
- Mode
- Range
- Sum
- Count
- Minimum Value
- Maximum Value
Use Copy Results to copy a plain-text summary to your clipboard, or click Clear to remove all values and start a new calculation.
Input Guidelines
- Supports decimal numbers (for example,
4.5) - Supports negative numbers (for example,
-3) - Do not use commas as thousands separators. Enter
1000instead of1,000. - Press Ctrl + Enter (Windows) or Cmd + Enter (Mac) to calculate instantly.
- All calculations are performed locally in your browser. Your data is never uploaded or stored.
What Are Mean, Median, Mode, and Range?
Mean, median, mode, and range are four of the most common measures used in descriptive statistics. Each provides different information about a dataset.
Mean
The mean, commonly called the average, is calculated by adding every value together and dividing the total by the number of values.
Since every number contributes to the calculation, the mean can be influenced by unusually large or unusually small values (outliers).
Median
The median is the middle value after arranging the numbers from smallest to largest.
- If there is an odd number of values, the middle number is the median.
- If there is an even number of values, the median is the average of the two middle numbers.
Unlike the mean, the median is much less affected by outliers.
Mode
The mode is the value that appears most frequently.
A dataset may have:
- One mode
- Two modes (bimodal)
- Multiple modes (multimodal)
- No mode at all if every value appears only once
Range
The range measures how spread out the data is.
It is calculated by subtracting the smallest value from the largest value.
Formula
Range = Maximum Value − Minimum Value
How to Calculate Mean, Median, Mode, and Range Manually
Understanding these calculations helps verify results and better understand your data.
Mean
Formula
Mean = (Sum of Values) ÷ (Number of Values)
Steps
- Add all numbers.
- Count how many numbers there are.
- Divide the total by the count.
Median
- Arrange numbers in ascending order.
- Find the middle value.
- If there are two middle values, average them.
Mode
- Count how many times each value appears.
- Identify the value(s) with the highest frequency.
- If every value appears only once, there is no mode.
Range
Formula
Range = Maximum Value − Minimum Value
Steps
- Find the largest value.
- Find the smallest value.
- Subtract the smallest from the largest.
Worked Examples
Example 1: Odd Number of Values
Dataset:
5, 7, 3, 7, 10, 7, 2
| Measure | Calculation | Result |
|---|---|---|
| Count | — | 7 |
| Sum | 5 + 7 + 3 + 7 + 10 + 7 + 2 | 41 |
| Mean | 41 ÷ 7 | 5.857143 |
| Sorted Data | — | 2, 3, 5, 7, 7, 7, 10 |
| Median | Middle value | 7 |
| Mode | 7 appears three times | 7 |
| Range | 10 − 2 | 8 |
Example 2: Even Number of Values
Dataset:
4, 8, 15, 16, 23, 42
| Measure | Calculation | Result |
|---|---|---|
| Count | — | 6 |
| Sum | 4 + 8 + 15 + 16 + 23 + 42 | 108 |
| Mean | 108 ÷ 6 | 18 |
| Sorted Data | — | 4, 8, 15, 16, 23, 42 |
| Median | (15 + 16) ÷ 2 | 15.5 |
| Mode | Every value appears once | No Mode |
| Range | 42 − 4 | 38 |
Example 3: Bimodal Dataset
Dataset:
2, 4, 4, 6, 8, 8, 10
| Measure | Calculation | Result |
|---|---|---|
| Count | — | 7 |
| Sum | 42 | 42 |
| Mean | 42 ÷ 7 | 6 |
| Sorted Data | — | 2, 4, 4, 6, 8, 8, 10 |
| Median | Middle value | 6 |
| Mode | 4 and 8 | 4, 8 |
| Range | 10 − 2 | 8 |
You can copy any of these datasets into the calculator above to verify the results instantly.
Mean vs Median vs Mode: Which One Should You Use?
Choose the statistic that best matches your data.
Use the Mean
The mean works best when data is evenly distributed without significant outliers.
Example:
- Average exam scores
- Average monthly expenses
Use the Median
The median is ideal when data contains extreme values.
Example:
- Household income
- Home prices
- Property values
Use the Mode
The mode identifies the most common value.
Example:
- Most popular shoe size
- Most common survey response
- Best-selling product size
Use the Range
The range quickly shows how spread out the data is.
Example:
- Weekly temperature changes
- Daily stock price fluctuations
Real-World Applications
These statistical measures are widely used in many industries.
Education
Teachers calculate average grades and identify typical student performance.
Business and Finance
Companies analyze salaries, revenue, sales, and pricing data.
Sports
Coaches evaluate player performance and consistency.
Research
Researchers summarize survey results and experimental data.
Retail
Businesses determine their best-selling products and inventory trends.
Frequently Asked Questions
Is mean the same as average?
Yes. Mean and average are two names for the same calculation.
Can a dataset have more than one mode?
Yes. A dataset may have two modes (bimodal) or several modes (multimodal).
What if every number appears only once?
If every value appears only once, there is generally no mode. However, if the dataset contains only one value, the calculator returns that value as the mode.
How is the median calculated for an even number of values?
Sort the numbers and average the two middle values.
Should I use the mean or median for income?
The median is generally preferred because it is less affected by extremely high incomes.
Why can’t I enter numbers like 1,000?
Commas separate individual numbers inside the calculator.
Enter:
✅ 1000
instead of
❌ 1,000
About This Calculator
This Mean Median Mode Calculator quickly calculates the mean, median, mode, range, sum, count, minimum value, and maximum value using standard statistical formulas.
It correctly handles datasets with:
- One mode
- Multiple modes
- No mode
- Negative numbers
- Decimal values
All calculations are performed instantly inside your browser, ensuring your data remains private and is never uploaded or stored.
Want to learn more about our website and the free online tools we provide? Visit our About Us page to learn more.