Mean, spread & quartiles
Average Calculator: Mean, Median, Mode & More
Calculate mean, median, mode, range, and geometric mean with real-time statistics from raw datasets.
By Jeff Beem
Updated
Dataset input
Numbers can be separated by commas, spaces, or new lines. Invalid entries are automatically ignored.
Statistical results
Arithmetic center of the data
Middle value when sorted
Most frequent value(s)
Max โ Min (spread)
For growth rates (requires all positive values)
Number of values
Total of all values
Smallest and largest values
Picking the right average for your data
Mean, median, and mode each describe a different kind of "center." Which one represents your data best depends on the shape of the dataset, not on which sounds most familiar.
When to use each
When mode is the only option
Geometric mean for compounding
Range and its blind spot
Average Calculator: Calculate Mean, Median, Mode & More
A 10% return followed by a 20% return averages to 14.89%, not 15%. The arithmetic mean overstates anything that compounds, which is why this calculator shows mean, median, mode, range, and geometric mean side by side instead of just one number.
Mean, median, and mode answer different questions
How to Calculate the Average of a Dataset
The Average (Mean) Formula
- Formula:Mean = Sum รท Count
- Example:For the dataset [10, 20, 30, 40, 50]: Sum = 150, Count = 5, Mean = 30
Understanding Mean, Median, and Mode: When to Use Each
Mean (Average)
- Calculation:Sum of all values divided by the number of values
- Best For:Normally distributed data without extreme outliers
- Limitation:Sensitive to outliers (e.g., billionaire incomes skew the mean upward)
Median
- Calculation:Middle value(s) when data is sorted in ascending order
- Best For:Skewed data with outliers (e.g., income distributions, test scores with extreme values)
- Advantage:Not affected by extreme values, providing a more representative central tendency
Mode
- Calculation:Value(s) that appear most frequently in the dataset
- Best For:Categorical data, survey responses, and identifying common values
- Special Cases:Can be "None" (all values unique) or multimodal (multiple values tie for highest frequency)
Geometric Mean for Growth Rates: When to Use Geometric Mean
Geometric Mean Calculation
- Formula:Geometric Mean = (xโ ร xโ ร ... ร xโ)^(1/n)
- Example:If an investment grows 10% in year 1 and 20% in year 2, the geometric mean growth rate is โ(1.10 ร 1.20) - 1 โ 14.89%, not the simple average of 15%.
- Requirement:All values must be positive for geometric mean calculation
- Use Cases:Growth rates, interest calculations, ratios, and multiplicative processes
When to use geometric mean: for average growth rate, investment returns, or ratios, not for raw measurements like heights or temperatures.
Pasting data from anywhere
Supported input formats
- Comma-separated:10, 20, 30, 40, 50
- Space-separated:10 20 30 40 50
- Newline-separated:10 20 30 40 50
FAQ
How do I calculate the average of a dataset?
What is the difference between mean and median?
How do I calculate the average with zero values?
What does "Mode" mean in statistics?
When should I use geometric mean instead of arithmetic mean?
Can I enter data separated by commas, spaces, or new lines?
What is the range in statistics?
How does the calculator handle decimal numbers?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.