Mean, Median and Weighted Average Calculator

Calculate an arithmetic or weighted mean, alongside the unweighted median, minimum and maximum. Separate numbers with semicolons or new lines; optional weights must follow the same order.

Calculate

Use a decimal point, without thousands separators. Prefilled values are editable examples.

Enter your values and select Calculate.

Formula and calculation method

Arithmetic mean = sum of values / number of values. Weighted mean = sum(value × weight) / sum(weights). Median = middle sorted value, or mean of the middle pair.

Worked example

Values 6, 8 and 10 with weights 1, 2 and 1 have mean (6 + 16 + 10) / 4 = 8. Values 1, 2, 3, 4 and 100 have mean 22 but median 3.

Assumptions and limitations

Weights must be non-negative, with at least one positive weight. The median shown is unweighted. Do not average averages from groups of different sizes without weighting by group size. A high outlier can move the mean far above a typical observation.

Related calculators

English edition: 16 September 2026.