How it works
Sort value/weight pairs, then return the first value whose cumulative positive weight reaches half the total.
Input definitions
- Values
- Plain text; maximum 200,000 characters.
- Nonnegative weights
- Plain text; maximum 200,000 characters.
A worked example
- Values
- 10, 20, 30
- Nonnegative weights
- 1, 3, 1
Assumptions & limits
At exactly half of the total weight, the lower weighted median is returned. Zero-weight values are ignored.
Sources & review
Maintained by AnsRio. Methods and examples use automated checks; this does not imply independent professional certification.
Method updated 2026-10-17. Content checked against the stated method and examples. Our verification approach.
Common questions
What happens if cumulative weight is exactly half?
This tool returns the lower weighted median: the first sorted value whose cumulative positive weight reaches half the total. Zero-weight observations are ignored.
Why can statistical results differ between tools?
Denominator, interpolation and boundary conventions can differ. Use the method and assumptions on this page to compare the same definition; displayed decimals may also be rounded.
How does the Weighted median tool work?
Sort value/weight pairs, then return the first value whose cumulative positive weight reaches half the total.
What are the assumptions and limits of Weighted median?
At exactly half of the total weight, the lower weighted median is returned. Zero-weight values are ignored.