← All text tools

Combine means and variances of two groups

Merge the size, mean and spread of two or more groups into one overall mean and variance without needing the raw data.

  • Free
  • No sign-up
  • Works on any device

About Combine means and variances of two groups

If you know only each group's size, mean and standard deviation, you can still find the overall mean and variance. The combined mean is the size-weighted average of the group means. The combined sum of squares adds each group's own sum of squares to a between-group term n_i(mean_i - M)^2, which people often forget. A class of 20 with mean 70 and SD 10 joined with a class of 30 with mean 80 and SD 12 gives mean 76 and SD about 12.19. Any number of groups can be merged.

How to use Combine means and variances of two groups

  1. Enter one group per line as size, mean, spread.
  2. Say whether the spread is a standard deviation or a variance, and whether it is a sample or population value.
  3. Read the combined mean and spread, and check the table showing each group's share of the total sum of squares.

Why use this tool?

Also known as

Frequently asked questions

Why can I not just average the standard deviations?

Because the groups also differ in their means. The extra between-group term captures that gap; leaving it out makes the combined spread too small.

Do I need the raw data?

No. Size, mean and one measure of spread per group are enough, which is handy when you only have a published table of summary statistics.

Which variance should I use for a group of one?

A single value has no sample spread, so enter 0. Its sum of squares is then 0 and only its distance from the overall mean counts.

Is Combine means and variances of two groups free?

Yes. Combine means and variances of two groups on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Combine means and variances of two groups on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools