Average Calculator
What is an Average Calculator?
This calculator takes a set of numbers and instantly shows you six useful statistics: the mean (the average everyone knows), median (the middle value), mode (the most repeated number), range (the gap between the smallest and largest), sum, and count.
You can also switch to Weighted mode when some numbers matter more than others — like calculating a course grade where the final exam counts more than homework.
How to Calculate Averages
Simple Mode (default)
- Enter your numbers separated by commas or spaces (e.g.,
85, 90, 78, 92) - Results appear instantly below
Weighted Mode
- Tap Weighted in the mode toggle
- Each row has two fields: Value (your number) and Weight (how important it is)
- Enter one pair per row — for example, a test score of 85 with a weight of 50
- Tap Add Row to add more pairs
- To remove an extra row, tap the X badge on its top-right corner
What Each Result Means
| Result | What it tells you |
|---|---|
| Mean | The classic average — add everything up and divide by how many numbers there are. In Weighted mode, numbers with higher weights pull the average toward them. |
| Median | The middle number when sorted. Useful when you have extreme values that would skew the mean (e.g., one very high salary in a group). |
| Mode | The number that appears most often. Shows “None” if every number is unique. |
| Range | Largest number minus smallest number. Tells you how spread out your data is. |
| Sum | All numbers added together. |
| Count | How many numbers you entered. |
Good Examples
Example 1: Class Test Scores (Simple Mode)
A teacher wants to know the class average for a quiz.
Scores: 72, 85, 90, 68, 95, 88, 72, 91
| Result | Value | Meaning |
|---|---|---|
| Mean | 82.625 | The class averaged about 83 points |
| Median | 86.5 | Half the class scored above 86.5 |
| Mode | 72 | 72 appeared twice — the most common score |
| Range | 27 | The gap between the lowest (68) and highest (95) |
Example 2: Course Grade (Weighted Mode)
Your course grade is calculated from three components with different weights:
| Assessment | Score | Weight |
|---|---|---|
| Homework | 95 | 20 |
| Midterm | 78 | 30 |
| Final Exam | 85 | 50 |
Weighted Mean = 84.9
Without weights, the simple average would be 86 — but the weighted average is 84.9 because the final exam (85) carries 50% of the grade, pulling the result closer to it.
Example 3: Product Price Comparison (Simple Mode)
You found the same headphones at different stores: 49, 55, 42, 61, 45
| Result | Value | Meaning |
|---|---|---|
| Mean | 50.4 | The average price is about $50 |
| Median | 49 | The middle price point |
| Range | 19 | Prices vary by $19 across stores |
Example 4: Investment Portfolio Return (Weighted Mode)
You have three investments with different amounts invested:
| Investment | Return (%) | Amount Invested |
|---|---|---|
| Stock A | 12 | 5000 |
| Stock B | -3 | 2000 |
| Stock C | 8 | 3000 |
Enter returns as values and amounts as weights.
Weighted Mean = 7.8%
A simple average would say 5.67%, but the weighted average (7.8%) is more accurate because Stock A — your largest position — performed the best.
Simple vs. Weighted: When to Use Which
| Use Simple when… | Use Weighted when… |
|---|---|
| All numbers are equally important | Some numbers matter more than others |
| Quick average of a list | Course grades with different percentages |
| Comparing prices | Investment returns with different amounts |
| Test scores (all same weight) | Survey results from different group sizes |
Key Tips
- Use median when you have outliers. If one number is drastically different from the rest (like one 50K salaries), the median gives a more realistic picture than the mean.
- Weighted mode needs consistent units. Make sure all weights use the same scale — mixing percentages (50%) with points (500) gives wrong results.
- Mode can have multiple values. If two numbers tie for most frequent, both are modes. The calculator shows the first one found.
- Check your separators. The simple mode accepts commas or spaces. Don’t mix both in the same input (e.g., “1, 2 3” may parse unexpectedly).
Formula
Simple Mean
Weighted Mean
Frequently Asked Questions
What is the difference between mean and median?
The mean adds everything up and divides. The median sorts the numbers and picks the middle one. When your data has extreme values (like one person earning 10x more than everyone else), the median gives a more realistic picture.
When should I use weighted average?
Whenever the numbers have different levels of importance. The most common example is school grades — a final exam worth 50% matters more than homework worth 10%.
What does “None” mean for Mode?
It means every number in your list appears exactly once — no number repeats. For mode to exist, at least one number must appear more than the others.
Can I enter negative numbers or decimals?
Yes. The calculator handles negative numbers, decimals, and zero correctly.
FAQ
Is this tool free to use?
Yes, all tools on Toolmize are completely free. No sign-up, no hidden fees — just open and use.
Is my data safe?
All calculations happen directly in your browser. No data is sent to any server, so your information stays 100% private.