Average calculator for arithmetic and weighted means
Paste up to 1,000 numbers and choose equal or explicit weights. HitEquals returns the average plus the count, sum, median or weighted totals, minimum, maximum and range so the result can be checked.
Inputs used by this calculator
Average Calculator uses the fields below. The starting values reproduce the page example; replace them with values from the same units and time period before using the result.
| Input | Starting example | Accepted value | How it is used |
|---|---|---|---|
| Average type | Arithmetic mean — equal weight | Arithmetic mean — equal weight · Weighted average | Chooses which Average Calculator method or unknown the engine evaluates. |
| Numbers, separated by spaces or commas | 10, 20, 30, 40 | Text or a list in the format shown | Supplies the numbers, separated by spaces or commas quantity used by the published equation or result breakdown. |
| Weights, in the same order | 1, 1, 2, 2 | Text or a list in the format shown | Supplies the weights, in the same order quantity used by the published equation or result breakdown. |
How to calculate an arithmetic average
Add every observation and divide by the number of observations. Repeated values remain separate observations and therefore affect both the sum and count.
x̄=Σxᵢ/nHow a weighted average differs
A weighted average gives some observations more influence. Multiply each value by its matching weight, add those products and divide by the sum of the weights. Multiplying every weight by the same positive constant does not change the answer.
x̄w=Σ(wᵢxᵢ)/ΣwᵢWorked equal-weight example
For 10, 20, 30 and 40, the sum is 100 and the count is 4. Dividing 100 by 4 gives an arithmetic mean of 25. The ordered middle values are 20 and 30, so the median is also 25.
Worked weighted example
Use values 10, 20, 30 and 40 with weights 1, 1, 2 and 2. The weighted sum is 170 and the weight total is 6, producing 28.3333. The larger weights on 30 and 40 pull the result above the equal-weight mean.
Mean, median and outliers
The mean uses the magnitude of every value, so one extreme observation can move it substantially. The median depends on order and is often more representative when a data set contains a strong outlier. The result panel shows both in equal-weight mode rather than treating one measure as universally best.
Input rules and interpretation
Separate values with commas, spaces, semicolons or line breaks and use a period as the decimal mark. Weighted mode requires the same number of weights and values. This tool describes the entered data; it does not determine whether a sample is representative or whether a particular weighting policy is appropriate.
Average methods at a glance
| Method | Calculation | Useful when |
|---|---|---|
| Arithmetic mean | Σx ÷ n | Every observation has equal influence |
| Weighted average | Σ(wx) ÷ Σw | Credits, quantities or probabilities differ |
| Median | Middle ordered value | You need a center less sensitive to extreme values |
| Range | maximum − minimum | You need a quick measure of total spread |
Frequently asked questions
How do I calculate the average?
Add the values and divide by how many values you entered.
Is average the same as mean?
In everyday use, average usually means the arithmetic mean; other averages such as weighted and geometric means also exist.
How do I calculate a weighted average?
Multiply each value by its weight, add the products and divide by the total weight.
Can weights be percentages?
Yes. They can total 100, 1 or another positive amount because the formula divides by their total.
Why are the mean and median different?
The mean reacts to every value's magnitude, while the median uses the middle position after sorting.
Can I paste negative numbers and decimals?
Yes. Signed values and period-based decimals are accepted in both modes.
What to keep in mind
Use a dot for decimals. Weighted mode requires one nonnegative weight per value and a positive total weight. Up to 1,000 values are supported.
Results are rounded for display in US format, with money in dollars and cents; CSV exports keep full calculation precision. This is a calculation summary, not an official certificate.