CalcWorldHub
Free online calculator · no signup

Weighted mean calculator

Combine two group means using their sample sizes so larger groups contribute proportionally more.

Worked example
Relevant result
Clear result · useful details
Default calculator result13.8461538 combined mean

Calculator

4,000 tools
Weighted mean calculator — Group 1 mean, Group 1 sample size, Group 2 mean and calculation method
Weighted mean calculator: inputs and calculation method.

How to use this calculator

Combine two group means using their sample sizes so larger groups contribute proportionally more.

  1. Enter Group 1 mean, Group 1 sample size, Group 2 mean, Group 2 sample size. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Weighted mean calculator

Combine two group means using their sample sizes so larger groups contribute proportionally more.

What it measures

Combine two group means using their sample sizes so larger groups contribute proportionally more.

Inputs and units

  • Group 1 mean: Use an average from the same observations and measurement scale as the other regression/group inputs.
  • Group 1 sample size: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.
  • Group 2 mean: Use an average from the same observations and measurement scale as the other regression/group inputs.
  • Group 2 sample size: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.

Formula and method

(n₁x̄₁+n₂x̄₂)/(n₁+n₂)

Worked example

(25×12+40×15)/(25+40)=900/65≈13.8462.

Interpreting the result

The combined mean lies between the two group means when both counts are positive. It is not the unweighted average of 12 and 15 because the group sizes differ.

Assumptions and limits

Both means must use the same variable and units. Counts must represent the observations contributing to each mean and must not overlap unless the groups are intended to overlap.

Frequently asked questions

When is the simple average wrong?

When group sizes differ, averaging the two means equally gives each group the same weight.

Can the group means use different units?

No. Convert them to one common scale before combining.

How do I use the Weighted mean calculator?

Enter Group 1 mean, Group 1 sample size, Group 2 mean, Group 2 sample size. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Weighted mean?

(25×12+40×15)/(25+40)=900/65≈13.8462.

What does the Weighted mean calculator calculate?

Combine two group means using their sample sizes so larger groups contribute proportionally more.

Good calculators show their work.

CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.

✓ Results update instantly
✓ No account required
✓ Privacy-friendly by design
✓ US and metric units