Weighted Average Calculator

Calculate a weighted arithmetic mean from value-weight pairs, with total weight and weighted sum shown.

Enter one value-weight pair per line, separated by a comma, space or tab. Weights must be nonnegative, with a positive total. Maximum 1,000 observations; values have magnitude at most 1e12, and nonzero magnitudes at least 1e-12. Results use 12 significant digits.

This browser processes your numbers locally; they are not uploaded.

Weighted Average Calculator: choose the right average

Calculate a weighted arithmetic mean from value-weight pairs, with total weight and weighted sum shown. Enter one value-weight pair per line, separated by a comma, space or tab. Weights must be nonnegative, with a positive total.

Enter a sample

Paste your data into Value-weight pairs, then choose Calculate. Load example (replaces inputs) replaces the current data with a worked case. Decimal points and exponent notation such as 1e3 are supported. A comma separates values, so do not use commas as thousands or decimal separators.

Worked example

The lines 80, 1 and 90, 3 give a weighted average of 87.5. Total weight is 4 and weighted sum is 350. The higher value contributes three times as much.

Calculation method

The weighted average is sum(value × weight) / sum(weight). Weights need not sum to 100 or one: only their relative proportions matter. Multiplying every weight by the same positive factor leaves the mean unchanged.

Interpretation and unsupported cases

Zero-weight rows are counted in the row total but do not influence the result. Negative weights and an all-zero weight set are rejected. Enter percentages as consistent numbers such as 20 and 80, without a percent sign. This tool does not assign missing weights or assess grading rules.

Input limits and precision

The maximum is 1,000 observations and 100,000 input characters. Finite numbers must have absolute value at most 1e12; nonzero magnitudes must be at least 1e-12. Values and weights are checked before the calculation. Results are floating-point approximations rounded to 12 significant digits, not arbitrary-precision statistics.

Editing clears the summary; calculate again for the revised sample. Copy results copies its labels and values.

When every observation has equal weight, Mean Median Mode Calculator also shows the median and repeated modes to help describe the distribution.