Weighted Median Calculator

Calculate the weighted median by entering values and their corresponding weights.

Value Weight

Formula - The weighted median considers the weight of each value. Values are sorted by value, then the cumulative weight is calculated until it exceeds half the total weight.

Batch Import - You can paste multiple values or weights separated by spaces. They will be automatically distributed across the input fields.

When to use weighted median - Use weighted median when different data points have different importance or frequency. Common in statistics, economics, and data analysis.

What is weighted median

What is the Weighted Median?

The weighted median takes into account the importance (weight) of each value.

Unlike the simple median, the weighted median assigns different levels of significance to each data point.

It is used in statistics, economics, and image processing.

Formula

Weighted Median Formula

To calculate the weighted median:

Weighted Median = value where Σ(weight) ≥ 50% of total weight

Values are sorted and the cumulative weight is calculated.

Example

For [10,20,30] with weights [1,3,2]: Total=6, Median=20.

Examples

Applications

The weighted median is essential:

Survey Analysis

For demographically weighted surveys.

Image Processing

For noise reduction in images.

Financial Data

For volume-weighted transactions.