Boy or Girl Paradox Calculator

Boy or Girl Paradox Calculator

A family has two children and you learn something about one of them. Work out the chance both are boys, and see why "at least one boy", "the older is a boy" and "a boy born on Tuesday" give different answers.

1/3 · 1/2 · 13/27

You learn that at least one of the two children is a boy.

33.333%
Chance both children are boys (1/3)
33.33%
At least one boy
50%
The older is a boy
48.15%
A boy born on Tuesday

What Is the Boy or Girl Paradox?

The boy or girl paradox asks how likely it is that a family with two children has two boys, given some information about the children, and shows that the answer depends on exactly what you were told. Martin Gardner popularised it in 1959.

Told only that at least one is a boy, three equally likely families remain: boy–boy, boy–girl and girl–boy. Only one has two boys, so the answer is 1/3. Told that the older child is a boy, only boy–boy and boy–girl remain, and the answer is 1/2.

Adding a seemingly irrelevant detail, such as "born on a Tuesday", moves the answer from 1/3 to 13/27, almost 1/2. The more specific the description, the more it behaves like pointing at one particular child.

Boy or Girl Paradox Formula

Derived by conditional probability, following Gardner (1959) and Bar-Hillel & Falk (1982). See Sources.

1. At least one boy

P(BB | ≥ 1 B) = (1/4) ÷ (3/4) = 1/3

2. At least one boy with a trait of frequency q

P = (2 − q) ÷ (4 − q)

With q = 1 (every boy has the "trait") this gives 1/3; with q = 1/7 it gives 13/27; as q shrinks it approaches 1/2.

3. Unequal chances of boys and girls

P = b²(1 − (1 − q)²) ÷ (1 − (1 − bq)²)

b is the chance a child is a boy (about 51.2% in practice). With b = 1/2 this reduces to step 2.

Worked Example: The Tuesday Boy

Given:
"I have two children. One is a boy born on a Tuesday." What is the chance both are boys?
Step 1:
Each child is one of 14 equally likely types (2 sexes × 7 days):
14 × 14 = 196 equally likely families
Step 2:
Families with at least one Tuesday boy:
14 + 14 − 1 = 27 (older is one, younger is one, minus both)
Step 3:
Of those, two boys:
7 + 7 − 1 = 13
Result:
13/27 ≈ 48.1%

The day of the week seems irrelevant, but it nearly singles out one child. Two-boy families have two chances to contain a Tuesday boy, so they're over-represented among families that fit the description.

How the Trait Changes the Answer

The rarer the trait, the closer the answer gets to 1/2.

Probability of two boys given at least one boy with traits of different frequencies
You learn: a boy…Trait frequencyP(two boys)
(no detail)133.33%
born in the first half of the year1/242.86%
born on a Tuesday1/748.15%
born in March1/1248.94%
born on 1 March1/36549.97%

Common Boy or Girl Paradox Mistakes

  • Treating "at least one" as "this one". "At least one is a boy" gives 1/3; meeting a specific child who is a boy gives 1/2.
  • Forgetting boy–girl and girl–boy are different families. Lumping them into one "mixed" case wrongly makes the answer 1/2.
  • Ignoring how you learned the information. If a parent with a boy and a girl would mention either at random, hearing "one is a boy" gives 1/2, not 1/3.
  • Assuming a detail must be irrelevant. The Tuesday detail changes the answer because it changes which families fit the description.

Boy or Girl Paradox FAQs

Is the answer 1/3 or 1/2?

Both, for different questions. It depends on whether the information is about a specific child or about “at least one”, and on how it was revealed.

Why does Tuesday matter?

Two-boy families have two chances to include a Tuesday boy, so the description fits them more often than one-boy families.

What happens with a very rare trait?

The answer approaches 1/2, because a rare trait almost certainly identifies one particular child.

Are boys and girls really equally likely?

Not quite: about 51.2% of births are boys. Enter that as the chance of a boy to see the small effect.

What does the trait frequency mean?

The share of boys with the trait: 1/7 for a weekday, 1/12 for a month, 1/365 for a birthday.

Who first posed it?

Martin Gardner, in his Scientific American column in 1959. The Tuesday version was popularised by Gary Foshee in 2010.

Can I check it by simulation?

Yes: generate many random two-child families, keep those matching the clue, and count the two-boy families.

Is this related to the Monty Hall problem?

Yes. In both, the way information is selected matters as much as the information itself.

Sources

  • M. Gardner, "Mathematical Games", Scientific American (October 1959): the two-children problem.
  • M. Bar-Hillel and R. Falk, "Some teasers concerning conditional probabilities", Cognition 11 (1982), doi:10.1016/0010-0277(82)90021-X.

Related Tools