The mean — most people call it the average — is the single number that best represents a whole set of values at a glance. Whether you are averaging last month's daily spending, blending investment returns across several positions, or weighting quiz scores by credit hours, this mean calculator gives you the arithmetic average instantly and, when the numbers matter, the weighted average alongside it.
Type each value into its own numbered box and the result card updates the moment you type. Add optional weights and the calculator switches from a simple average to a weighted mean, so items that should count more actually do.
How to Use
- Set How many values? to the count you have (1 to 5), then type each number into its Value box — for example
10,20,30,40,50. Use decimals and negative numbers freely. - Leave the Weight boxes at
1if every value should count equally. That gives you the plain arithmetic mean. - Enter matching Weights when some values should matter more. For example, if two investments returned 90% and three returned 80%, put values
90, 80with weights2, 3. The calculator then computes the weighted mean instead of a simple average. - Read the result card: it shows the Number of Values, the Sum, the highlighted Mean, and — when weights are supplied — the Total Weight and Weighted Mean.
Zero is a real value and is kept in the calculation. A negative number, such as a losing investment, is also kept and pulls the average down exactly as it should. There is no separate "income" or "expense" toggle; just enter the numbers as they are.
The Mean Formula
The arithmetic mean is the total divided by the count:
Mean = (x₁ + x₂ + … + xₙ) / n
Add every value together, then divide by how many values there are. On the list 10, 20, 30, 40, 50 the sum is 150 and there are 5 values, so 150 ÷ 5 = 30. That is the mean.
When values carry different importance, the simple mean is misleading. The weighted mean gives each value a vote proportional to its weight:
Weighted Mean = (x₁·w₁ + x₂·w₂ + … + xₙ·wₙ) / (w₁ + w₂ + … + wₙ)
If 2 students scored 90 and 3 students scored 80, the weighted mean is (90×2 + 80×3) ÷ (2 + 3) = 420 ÷ 5 = 84. Notice that a plain average of 90 and 80 would be 85, but because the 80 occurs three times as often, the true weighted average is 84. The weighted version reflects reality.
Why the Mean Matters in Finance
In money work the mean shows up constantly:
- Average daily spend — sum your daily outlays over 30 days and divide by 30 to see the typical day.
- Portfolio average return — blend the returns of several funds by the dollar amount invested in each. This is a weighted mean, not a simple one.
- Average transaction size — total sales divided by number of orders.
- Blended cost basis — what you actually paid per share after multiple buys at different prices.
The weighted mean is the workhorse of investing. If you put $10,000 into a fund that returned 12% and $40,000 into a fund that returned 3%, your portfolio did not return (12 + 3) ÷ 2 = 7.5%. It returned (12×10,000 + 3×40,000) ÷ 50,000 = 4.8%. The larger position dominates the result, and only the weighted calculation shows it.
How to Read Your Result
The highlighted Mean (Average) is the number that would make every value equal if you spread the total evenly across the group. If your five daily spends were $10, $20, $30, $40, $50, the mean of $30 means each day would have cost $30 to add up to the same total. Use it as a "typical day" number, not as a guarantee.
The Sum is just the running total before dividing by the count, so you can check your arithmetic in two places. The Number of Values tells you how many boxes the calculator actually used — if it shows 3 but you expected 5, double-check the How many values? field at the top.
When you supply weights, the Weighted Mean is the number that counts the heavier values more. If the Total Weight looks wrong (for example, 0 when you meant to enter weights), the weighted mean falls back to 0 — set every weight to 1 if you simply want the plain average.
Mean vs. Median vs. Mode
The mean uses every value, which makes it powerful but sensitive to extremes. One $10,000 outlier among nine $100 purchases pulls the average up to over $1,000 even though a typical transaction is near $100. When a single huge or tiny number could distort your picture, check the median — the middle value — as a cross-reference. This calculator focuses on the mean, but if your data contains a clear outlier, the median will often tell a more honest story about what is "typical."
Examples
Example 1 — Simple average. Your daily coffee spend for a week is 4, 5, 4, 7, 5, 12, 5. The sum is 42 and there are 7 days, so the mean daily spend is $6.00. The Saturday $12 run pulls the average up a little; without it the six weekdays average about $5.00.
Example 2 — Weighted portfolio return. You hold three positions: $10,000 at 12%, $30,000 at 6%, and $10,000 at −2%. Enter values 12, 6, -2 and weights 10000, 30000, 10000. The weighted mean is (12×10,000 + 6×30,000 + (−2)×10,000) ÷ 50,000 = 5.6%. A simple average of the three returns would give 5.33%, which understates the result because the 6% position is the largest.
Example 3 — Large figures. Projected monthly revenue for a quarter is 1,250,000, 1,480,000, 1,620,000. The mean monthly revenue is $1,450,000. The calculator handles values of a million and above without rounding or overflow.
FAQ
How do I calculate the mean?
Add all the numbers together and divide by how many numbers there are. For example, for 10, 20, 30, 40, 50, the sum is 150 and there are 5 numbers, so the mean is 150 ÷ 5 = 30. Enter your own list above and the result appears instantly.
What is the difference between the mean and the average?
In everyday use they are the same thing. "Average" is the common word; "mean" is the formal statistical term for the arithmetic average — the sum divided by the count. This calculator uses the arithmetic mean.
When should I use a weighted mean instead of a simple mean?
Use a weighted mean when some values count more than others. Common cases are investment returns weighted by dollars invested, grades weighted by credit hours, or survey results weighted by group size. If every value should carry equal importance, leave the weights box blank.
How do I calculate a weighted mean?
Multiply each value by its weight, add those products together, then divide by the sum of the weights. For two scores of 90 (weight 2) and three scores of 80 (weight 3): (90×2 + 80×3) ÷ (2 + 3) = 420 ÷ 5 = 84. Enter the values and matching weights above to do this automatically.
Does the mean work with negative numbers?
Yes. Negative values — such as a losing month or a negative return — are treated as valid data points and reduce the sum. For −50, 0, 50, 100 the sum is 100 over 4 values, so the mean is 25. The calculator never drops negative entries.
What if one number is extremely large or small?
The mean will move toward that outlier. One very large transaction can make the "average" look nothing like a typical value. When outliers are present, compare the mean with the median to understand whether the average is being skewed. The calculation itself handles values up to and beyond 1,000,000 accurately.
Is the mean the same as the expected value?
For a known set of observed numbers, the mean is their average. The expected value is a probability-weighted average of future outcomes. The weighted mean formula here is the same structure you would use for an expected value, with weights standing in for probabilities that sum to 1.
Why can I only enter up to 5 numbers?
This tool is built for quick, on-the-fly averages of a short list — a handful of quiz scores, a few investment returns, a week of spending. For a longer list (such as 12 months of bills), add the numbers in a spreadsheet first and divide by the count, or average them in two batches: compute the mean of the first 5 and the mean of the rest, then average those two results.
What does it mean when the weighted mean is 0?
A weighted mean of 0 usually means the Total Weight came out to 0 — that is, every weight box is 0. Leave the weight boxes at 1 for equal weighting, or enter the real relative weights. If you genuinely have no weights to apply, ignore the Weighted Mean line and read the simple Mean instead.
Disclaimer
This mean calculator is provided for informational purposes only and does not constitute financial, investment, accounting, or statistical advice. Results are based entirely on the values and weights you enter; rounding and data-entry errors are your responsibility. Weighted means assume the weights you provide are correct and comparable. Always verify important calculations independently and consult a qualified professional before making financial decisions based on these figures.