Average Calculator
Calculate mean, median, mode, geometric mean, harmonic mean, weighted average and more — with step-by-step breakdowns
Step-by-Step Breakdown
Paste your numbers and get the arithmetic mean, median, mode, geometric mean, harmonic mean, weighted average, range, and sum — all calculated at once. Weights are supported too, so grading curves and portfolio returns take seconds instead of a spreadsheet detour. And everything runs in your browser. Nothing gets uploaded.
How It Works
Type or paste numbers separated by commas, spaces, or line breaks. The calculator splits them, runs every average formula in parallel, and shows the results instantly. If you turn on weights, each value gets multiplied by its weight before the math happens — the formulas adjust automatically.
Examples
Semester Grade Calculation
A student needs their semester average across five exams to see if they hit the B+ cutoff.
88, 92, 79, 95, 84
Mean: 87.6
Median: 88
Mode: None
Sum: 438
Average Speed on a Road Trip
You drove three equal-distance legs at different speeds. The arithmetic mean would overestimate your actual average speed — harmonic mean is the right pick here.
60, 80, 100
Arithmetic Mean: 80
Harmonic Mean: 78.26
Geometric Mean: 78.30
Weighted Course Grade (Midterm 30%, Final 50%, Homework 20%)
A professor weights the final exam more heavily than the midterm. Straight averaging would give the wrong grade.
Values: 82, 91, 97
Weights: 30, 50, 20
Weighted Mean: 89.5
(82×30 + 91×50 + 97×20) / 100
Who Uses This
Checking grade averages before finals week to figure out the minimum score they need on the last exam.
Quick-checking means and medians on a small dataset before writing a full SQL query or Python script.
Calculating geometric mean returns across years to get the true compounded growth rate of a portfolio.
Computing weighted class averages where assignments, quizzes, and exams each count differently.
Common Mistakes
If you drove 40 km/h one way and 60 km/h back, the average is not 50 km/h — it's 48 km/h (harmonic mean). The arithmetic mean overstates your speed whenever you're averaging rates over equal distances.
One extreme value can drag the mean far from where most data sits. Salaries are a classic example — a CEO's pay pulls the average way up. Report the median alongside the mean, or trim the outliers first.
If your syllabus says the final is worth 50% and homework 20%, a straight average of all scores won't match your real grade. Turn on weights and assign each category its percentage — the difference can easily be a full letter grade.
Technical Details
- Processing: 100% client-side — numbers never leave your browser
- Precision: Full JavaScript double-precision (15-17 significant digits)
- Input Limit: No hard cap; tested with 10,000+ values
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
What is the difference between mean and average?
In everyday conversation, they're the same thing — add everything up, divide by how many you have. Technically, "average" is the broader term that includes mean, median, and mode. When someone says "average" without specifying, they almost always mean the arithmetic mean.
How do you calculate weighted average?
Multiply each value by its weight, add those products together, then divide by the sum of all weights. For example, if a test score of 90 has weight 3 and a quiz score of 80 has weight 1, the weighted average is (90×3 + 80×1) / (3+1) = 87.5.
When should I use median instead of mean?
Use the median when your data has outliers or is heavily skewed. House prices and income data are classic cases — a few extreme values drag the mean up or down, while the median sits right in the middle of the pack. If your dataset is roughly symmetric, the mean and median will be close anyway.
What is geometric mean and when do I need it?
The geometric mean multiplies all values together and takes the nth root. You need it for anything involving compounding — investment returns over multiple years, population growth rates, or ratios. An investment that goes +50% then -50% has an arithmetic mean of 0%, but the geometric mean correctly shows you actually lost money.
Can the average be a number not in the dataset?
Yes, and it usually is. The mean of 1 and 4 is 2.5 — not in the original set at all. The median can also fall between two values when you have an even number of data points. Only the mode is guaranteed to be a value that actually appears in your data.