Average Calculator
Compute the arithmetic mean, weighted average, median, mode, sum, and standard deviation from any list of numbers or value-weight pairs.
Formula & Variable Key
Arithmetic Mean: x̄ = (x1 + x2 + ... + xn) ÷ n
Weighted Mean: x̄w = Σ(xi × wi) ÷ Σwixi: Each numeric entry in the dataset.n: Total count of valid numbers.wi: Weight or importance assigned to entryxi(such as credit hours or category percentage).
Worked Example: Default Dataset
Scenario: Finding the average and spread of six test scores: 84, 92, 78, 92, 89, 95.
- Step 1 (Sum & Count):
84 + 92 + 78 + 92 + 89 + 95 = 530acrossn = 6scores. - Step 2 (Arithmetic Mean):
530 ÷ 6 =88.3333. - Step 3 (Median & Trimmed Check): Sorted values are
78, 84, 89, 92, 92, 95, giving a median of(89 + 92) ÷ 2 = 90.5and a mode of92. Excluding78and95yields a trimmed mean of 89.25.
Mean vs. Median vs. Mode vs. Weighted Average
| Metric | Best Used When | Sensitivity to Outliers |
|---|---|---|
| Arithmetic Mean | Values are symmetric with equal weight | High — one extreme score pulls the average |
| Weighted Average | Items have unequal credits, shares, or weights | Depends on the weight of the extreme value |
| Median | Data is skewed (salaries, home prices, wait times) | Low — unaffected by extreme top or bottom values |
| Mode | Finding the most common score or category | None — tracks frequency only |
Common Mistakes When Averaging
- Averaging averages directly: Averaging two class averages without weighting by class size gives a wrong combined average whenever group sizes differ. Use Weighted Rows instead.
- Dropping or miscounting zeros: Entering
0counts towardnand lowers the mean, whereas leaving a blank row or omitting a missing value excludes it. - Relying only on the mean for skewed lists: Always compare the mean against the median and the trimmed mean (shown in the breakdown) when a single high or low outlier is present.
Frequently Asked Questions
How do you calculate the average of a list of numbers?
Add every number together to get the sum, then divide that sum by the total count of numbers (n). For example, the sum of 10, 20, and 30 is 60, and 60 divided by 3 equals 20.
What is the difference between a simple average and a weighted average?
A simple average treats every number equally, whereas a weighted average multiplies each value by its importance or weight before dividing by the sum of all weights.
When is the median better than the mean?
The median is better whenever a dataset contains extreme outliers or heavy skew, such as household incomes or home sale prices, because one extreme value cannot pull the middle value off center.
Why does Sample Standard Deviation differ from Population Standard Deviation?
Sample standard deviation divides squared deviations by n − 1 (Bessel's correction) to estimate spread from a sample, while population standard deviation divides by n when you have every member of the entire group.
Methodology & Limitations
Mathematical Basis: Simple list statistics use standard sample/population moments (Bessel's correction n − 1 for sample SD) and log-sum-exp for geometric mean to prevent floating-point overflow on large products.
Limitations: Non-numeric text tokens in Simple List mode are ignored during parsing; verify your parsed count n matches your expected number of entries. Geometric mean is undefined when any value is zero or negative.