Combined Mean Calculator

Combine two or more group averages using their sample sizes to find the overall mean without the mean-of-means mistake.

Combined Mean Calculator workspace

Input

Combine group averages

Combine group averages correctly when each group has a different number of observations. Enter one mean and its sample size per group, in matching order.

Separate entries with commas, spaces, or semicolons. Means may be negative or fractional.

Each size must be a positive whole-number count.

Examples
Combined mean
81.6
xˉcombined=∑i=1gnixˉi∑i=1gni=81.6\bar{x}_{combined}=\frac{\sum_{i=1}^{g}n_i\bar{x}_i}{\sum_{i=1}^{g}n_i}=81.6
Input observations
3
Combined sample size
55
Method
Size-weighted
Group means and pooled result◆ 81.6
G1G2G3MeanCircle size reflects group sample size; diamond marks the combined mean.
Working

Step-by-step calculation

  1. 1

    Multiply each group mean by its group size: 72 × 18 + 84 × 25 + 91 × 12 = 4488.

  2. 2

    Add the group sizes: 18 + 25 + 12 = 55.

  3. 3

    Divide the combined weighted sum by the total sample size: x̄ = 4488 / 55 = 81.6.

Inspect group contributions3 rows
Combined mean calculation data
#OriginalUsed value / group sizeContribution / status
172n = 181296
284n = 252100
391n = 121092
At a glance

A clearer way to calculate a robust mean

Unequal group sizes

Each group mean is scaled by its actual observation count.

Visible contributions

Review each nᵢx̄ᵢ term and the pooled sample size.

Avoids mean-of-means errors

Averages are not treated equally when group sizes differ.

Related mean calculators

Next in the roadmapMidrange Calculator

Overview

What is a combined mean calculator?

A combined mean, also called a pooled or overall mean, is the arithmetic mean of all observations across multiple groups. Because a group mean summarizes several observations, multiply each group mean by its group size, add those subtotals, and divide by the total number of observations.

Important terms

Group mean x̄ᵢ
The arithmetic average for group i.
Group size nᵢ
The number of observations represented by group i; it must be a positive whole number.
Pooled sum
The total across groups, reconstructed as Σnᵢx̄ᵢ.
Combined sample size
The sum of all group sizes, Σnᵢ.

When this method is useful

  • Combine class averages when classes have different enrollments.
  • Pool summary averages from separate batches with known counts.
  • Combine group-level measurements when the underlying observations are not individually listed.
  • Check whether a mean of group means is appropriate for a balanced design.
Formula

Formula and variables

xˉcombined=∑i=1gnixˉi∑i=1gni\bar{x}_{combined}=\frac{\sum_{i=1}^{g}n_i\bar{x}_i}{\sum_{i=1}^{g}n_i}
x̄ᵢ
mean of group i
nᵢ
number of observations in group i
g
number of groups

The formula weights each group mean by the number of observations it represents. This reconstructs the sum of all observations and divides by their total count.

Domain note: Enter matching lists of finite group means and positive integer group sizes. Group means may be negative or fractional. Group sizes are limited to a total of 1,000,000,000.

How it works

How to use this calculator

  1. 1

    Enter each group mean and its matching sample size.

  2. 2

    Multiply every group mean by its group size to recover the group total.

  3. 3

    Add the group totals and add the group sizes.

  4. 4

    Divide the total of values by the total number of observations.

Worked examples

Step-by-step examples

Example 1

Problem: Class A has a mean score of 72 for 18 students; Class B has a mean of 84 for 25 students. Find their combined mean.

Substitution: (18 × 72 + 25 × 84) / (18 + 25) = 3,396 / 43

Result: 78.976744186…

The pooled mean is about 78.98. Class B has greater influence because it contains more students.

Example 2

Problem: Combine means 6 and 10 for groups of 4 and 6.

Substitution: (4 × 6 + 6 × 10) / 10

Result: 8.4

The larger group pulls the overall mean closer to 10.

Example 3

Problem: Combine group means −2 and 8 with sizes 3 and 1.

Substitution: (3 × (−2) + 1 × 8) / 4

Result: 0.5

Negative measurements are permitted; the pooled result remains the weighted arithmetic mean.

Method knowledge

Rules, edge cases, and related ideas

Means carry sample sizes

A group average is a summary of n observations, not one observation. Its influence in the pooled mean depends on n.

Balanced groups are a special case

When all group sizes match, the combined mean equals the arithmetic average of the group means.

Edge cases and limitations

  • A single group returns its group mean.
  • A group size of zero is rejected; omit empty groups instead.
  • A fractional or negative group size is invalid.
  • Rounding the displayed group means can make the reconstructed pooled result differ slightly from the original raw-data mean.

How this differs from a related concept

The mean of group means averages group summaries equally. The combined mean weights each group by its sample size and matches the mean of all underlying observations.

Interpretation

Understand the result

The combined mean equals the ordinary mean of all raw observations when the group means and sizes are exact. If every group has the same size, it is also the unweighted mean of group means. With unequal sizes, averaging the group means directly gives each group equal influence and generally produces the wrong pooled result.

Common mistakes

  • Averaging unequal-sized group means without weighting.
  • Pairing a mean with another group's size.
  • Using percentages or weights where observation counts are required.
  • Expecting exact recovery when the input group means were rounded.

Frequently asked questions

How do you combine two averages?

Multiply each average by its sample size, add the resulting totals, then divide by the sum of the sample sizes.

Can I just average the group means?

Only when the groups have equal sizes, or when your goal is to give each group equal weight rather than each observation.

Can a group mean be negative?

Yes. Group means can be any finite real numbers; group sizes must be positive whole numbers.

Does this calculator need raw data?

No. It needs each group's mean and sample size. Raw data is required only if the group summaries are unavailable or if you need more precision than rounded means retain.

What is a pooled mean?

It is another name for the overall arithmetic mean reconstructed from group summaries and their sample sizes.

References & technical sources

Keep calculating

Related calculators