Family size probability calculator
A statistics tool for a fun family-planning question: if you have a certain number of children, what are the odds of a particular mix of boys and girls? This uses basic probability, not biology — real pregnancies aren’t perfectly independent coin flips, but the math gives a reasonable, widely used approximation.
Your family
Probability of your selected scenario
Full distribution
Probability of every possible number of boys, for the family size you chose.
How to Use the Family Size Probability Calculator
Ever wondered what the actual odds are of having three boys in a row, or getting at least one child of each gender if you plan on four kids? This guide walks through how the family size probability calculator works and how to make sense of the numbers it gives you.
What this tool actually calculates
This is a probability calculator, not a prediction tool. It treats each birth as an independent event with a fixed chance of being a boy or a girl — the same basic math used for coin flips, just with slightly different odds than 50/50. From that simple assumption, it can work out the exact probability of any combination of boys and girls across a family of any size.
It’s a fun way to explore statistics around family planning, but it’s worth being upfront about its limits from the start: real biology is messier than a coin flip. Some research suggests the odds can shift slightly with parental age or the sex of previous children, and this tool doesn’t attempt to model that. Treat the numbers as an illustration of probability, not a forecast of your own family.
Step 1: Choose your number of children
Drag the slider to set how many children you’re calculating for, from 1 to 10. Every other number on the page updates instantly as you move it.
Step 2: Choose the chance of a boy per birth
You have two options:
- Natural ratio (51.2% boys) — this reflects the commonly cited human sex ratio at birth of roughly 105 boys per 100 girls. It’s the more realistic default.
- Even odds (50% boys) — the simpler, textbook coin-flip assumption. Useful if you want the cleanest possible numbers, or you’re using this for a general statistics example rather than a family-specific question.
The difference between these two settings is small per birth, but it compounds slightly as family size grows, so it’s worth trying both if you’re curious how much it actually matters.
Step 3: Pick a scenario
The dropdown offers eight ways to ask the same underlying question:
| Scenario | What it calculates |
|---|---|
| Exactly N boys | The chance of landing on precisely N boys (and the rest girls) |
| Exactly N girls | The mirror image of the above |
| At least N boys | The chance of N boys or more |
| At least N girls | The chance of N girls or more |
| All boys | Every child the same, and that gender is boys |
| All girls | Every child the same, and that gender is girls |
| All the same gender | Either all boys or all girls — whichever happens |
| At least one boy and one girl | A mixed-gender family, in any proportion |
If you choose one of the first four options, a second field labeled N appears — set it to whatever number you’re curious about. It automatically caps itself at your total number of children, so you can’t ask for “at least 5 boys” in a family of 3.
Step 4: Read your results
Probability of your selected scenario — the large headline number, in plain language beneath it (for example, “chance of at least 2 boys out of 4”).
Below that, three quick reference stats are always shown, no matter which scenario you picked:
- Most likely outcome — the single most probable boy/girl split for your chosen family size. For an odd number of children this is rarely an exact split; for an even number, it’s usually close to even.
- All one gender — the combined chance that every child turns out the same, whichever gender that ends up being.
- At least one of each — the chance of a mixed-gender family. For most family sizes, this is actually the most likely broad outcome, even though any single specific combination (like “3 boys, 1 girl”) might look unlikely on its own.
Step 5: Explore the full distribution
The chart at the bottom shows every possible outcome for your chosen family size — from all girls to all boys — each with its own bar and percentage. Whichever outcomes match your selected scenario are highlighted in a different color, so you can see at a glance how much of the total probability your scenario covers.
This view is useful for building intuition: it’s often surprising how spread out the probabilities are, and how the “extreme” outcomes (all one gender) are usually far less likely than a mixed result, especially as family size grows.
A worked example
Say you’re planning for 4 children and want to know the odds of “at least 3 boys,” using the natural ratio (51.2%):
- The calculator adds up the probability of exactly 3 boys and exactly 4 boys
- With a slightly-above-50% chance per birth, both of those are a bit more likely than they’d be at an even 50/50 split
- The headline number will show something in the mid-to-high 20% range, while the “all one gender” stat will show a noticeably smaller number — a reminder that specific combinations are usually less likely than looser categories like “at least”
Switch the toggle to “Even odds” and rerun the same scenario — you’ll see the numbers shift only slightly, which is a good illustration of just how close to a coin flip a single birth really is, even before considering real-world variation.
Good ways to use this tool
- Settle a friendly debate about “the odds of having all boys” or “all girls” with actual numbers instead of a guess.
- Build intuition for binomial probability using a topic that’s easy to relate to.
- Compare “exactly N” versus “at least N” scenarios to see how much of a difference that framing makes to the resulting probability.
What not to use this tool for
- Don’t treat it as medical or fertility guidance — it has nothing to do with your personal chances of conceiving or your reproductive health.
- Don’t treat the output as a prediction for your specific family. It’s a model based on simplifying assumptions, not a forecast.