Average Calculator
The average calculator computes the mean (sum ÷ count), median (middle value), mode (most frequent) and range (highest − lowest) for any list of numbers.
verified_userReviewed by the Calculopedia editorial teamLast updated 2026-08-15
Embed on your site
Embed this calculator on your site:
<iframe src="https://calculopedia.darzh.xyz/embed/average-calculator/" width="100%" height="700" style="border:0;border-radius:12px" loading="lazy"></iframe>
quizExample
How this calculator works, with real numbers (no JavaScript needed):
Inputs
- Numbers (comma-separated)
- 85, 90, 78, 92, 88
Results
- Mean (average)
- 86.6
- Median (middle value)
- 88
- Mode (most frequent)
- No mode
- Range (high − low)
- 14
- Count
- 5
- Sum
- 433
functionsThe formula
The average (or arithmetic mean) is the most common measure of central tendency — the single "typical" value that best represents a whole list of numbers. Whether you are reviewing test scores, tracking household spending or comparing cricket batting averages, an average condenses many numbers into one figure you can act on. But "average" is a loose word, which is exactly why this calculator computes four different measures: mean, median, mode and range — each answering a slightly different question.
The four statistics this calculator reports
- Mean — sum of values ÷ count. The classic "average".
- Median — the middle value once the list is sorted.
- Mode — the value that appears most often.
- Range — highest minus lowest, a snapshot of spread.
It also returns the count and the sum, so you can audit every step of the arithmetic.
Calculating the mean
Add all the values and divide by the number of values:
Mean = (85 + 90 + 78 + 92 + 88) ÷ 5 = 433 ÷ 5 = 86.6
The mean is simple to compute and simple to explain, which is why it dominates everyday use. Its weakness is also well known: every value carries equal weight, so a single extreme outlier drags it around.
Finding the median
Sort the numbers, then take the middle one. With five values sorted as 78, 85, 88, 90, 92, the median is 88. With an even count, average the two middle values. The median shrugs off outliers. Consider five salaries in thousands: 22, 24, 25, 26, 90. The mean is 37.4, dragged upward by the one high salary; the median stays at 25 — a far more honest picture of a "typical" salary. That's why economists reporting income almost always lead with the median.
Understanding the mode
The mode is the most frequent value. Unlike the mean and median, it works on categorical data — "most common shoe size", "most popular flight departure time". A dataset can have two modes (bimodal), three, or none at all if every value appears exactly once. When a clothing line asks "what size should we stock most?", the mode is the answer, not the mean. Alert: the mean shoe size could be a size that almost nobody wears.
Range — and its limits
Range = 92 − 78 = 14
The range is the quickest read on how spread out values are, but it leans entirely on the two most extreme numbers, so a single freak value can mislead. Pair it with the other statistics rather than relying on it alone, or use the standard deviation if you need a more robust measure of variability.
Weighted vs simple average
The plain mean assumes every value counts equally. When the values carry different importance, use the weighted average. For a 4-credit course scored 90 and a 1-credit course scored 60:
Weighted mean = (90 × 4 + 60 × 1) ÷ 5 = 420 ÷ 5 = 84
Because the 4-credit course carries four times the weight, the combined score (84) sits far closer to 90 than to 60 — exactly the construction behind a GPA or a grade point average.
The geometric mean for rates
For growth rates, compound returns and anything multiplicative, the plain mean misleads. An investment that gains 10% one year and loses 10% the next has an arithmetic mean return of 0%, yet the money does not end up where it started: 1.10 × 0.90 = 0.99. The geometric mean captures that reality:
Geometric mean = √(1.10 × 0.90) ≈ 0.995
When to use which
- Mean — symmetric data without extreme values: test scores, heights, running times.
- Median — data with outliers: salaries, house prices, insurance quotes.
- Mode — categorical or repeated data: most-sold size, most common answer.
- Range — a fast sanity check on spread, never the whole story.
Common mistakes
- Mixing units — averaging "10 minutes and 5 seconds" as if both were minutes.
- Applying the mean to growth rates that should be geometric.
- Reporting only the mean for data with a big outlier, and omitting the median.
- Forgetting that "average" usually means mean — median and mode are different measures, and each is the right tool for a specific question.
Enter any comma-separated list and let the calculator report all four answers at once — the extra measures cost nothing and often change the story.
helpFrequently asked questions
question_markHow do I calculate the average?
Add all the numbers together and divide by how many numbers there are. For example, (85 + 90 + 78 + 92 + 88) ÷ 5 = 86.6.
question_markWhat is the difference between mean and median?
The mean is the arithmetic average (sum ÷ count). The median is the middle value when sorted. The median is better when outliers pull the mean up or down.
question_markWhat is mode?
The mode is the number that appears most frequently in a data set. A set can have no mode (all values appear once) or multiple modes.