Formulas and sources
Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.
Weighted mean
Every mode
- Weighted Mean
- the result
- Value
- an item's value or score; negatives are allowed
- Weight
- how much that item counts, above zero
The weights need not total 100: 3 and 1 give the same mean as 75 and 25. A row with a blank weight is left out, and so is a value or weight past 1,000,000,000,000; a weight of 0 is refused on its field, and would change nothing if it counted.
Source: Uses the formula in NIST's DATAPLOT Reference Manual, "WEIGHTED MEAN" [1]. Its example inputs, values 2, 3, 5, 7, 11, 13, 17, 19 and 23 at weights 1, 1, 0, 0, 4, 1, 2, 1 and 0, give 11.5 here; the manual prints no result.
Weight share and contribution
Every mode
- Share
- the item's share of the total weight, in percent
- Contribution
- the part of the mean that comes from that item
- Value
- the item's value
- Weight
- the item's weight
- Total Weight
- the weights of every counted row, added
The contributions add up to the weighted mean. A row's share of the mean, its contribution ÷ the mean, is shown only when every value has the same sign: with mixed signs or a mean of 0, that share has no meaning.
Source: Standard formula; no single publisher. Each contribution is one term of the sum in [1], divided by the total weight.
Sources
- National Institute of Standards and Technology (NIST). WEIGHTED MEAN, DATAPLOT Reference Manual, Statistics LET Subcommands, page 2-65, EQ 2-20. March 18, 1997.Our automated tests check this calculator against 1 case from it.
What this calculator does not cover
- It averages the values and weights you enter. It does not choose or estimate the weights, compound returns over several periods, or apply grade-replacement rules.
- For course grades with a target-GPA planner, see the GPA Calculator.
- Bulk Paste reads one value and weight per line, a name in front allowed. A line that does not read as exactly two numbers, or reads two ways, is skipped and counted, never guessed.
Sources checked on
How we choose sources and test the calculators: How CalcTrail calculates