What the half your age plus seven rule really means
The half your age plus seven rule is a pop-culture idea that says the youngest partner you should date is half your age plus seven years. A 30-year-old gets 22, and a 40-year-old gets 27. It is not a law, not a scientific rule, and not a recommendation. It is only rough social shorthand.
Try the Age Gap Calculator: The Exact Difference Between Two Ages →
Worked example
Take a 30-year-old. Half of 30 is 15, and 15 plus 7 is 22, so the rule gives 22 as the youngest partner age. Take a 40-year-old. Half of 40 is 20, and 20 plus 7 is 27. The rule works the other way too. A 22-year-old paired with a 30-year-old sits exactly on the boundary, because 30 is twice (22 minus 7), which is 30. The maths is simple, but the judgement behind it is not.
What is the half your age plus seven rule?
The half your age plus seven rule is a simple formula people use to talk about age gaps in dating. You take your own age, divide it by two, and add seven. The result is meant to be the youngest age of a partner that other people might see as socially acceptable. It is often quoted as if it were a settled rule, but it has no legal force at all.
The formula only gives a lower number, not an ideal age or a good match. It says nothing about kindness, shared values, life stage, or consent, which matter far more than any number. It also says nothing about the upper age of a partner, although people sometimes reverse the maths to estimate that too. Treat it as a conversation starter, never as a verdict.
| Your age | Youngest partner age by the rule |
|---|---|
| 20 | 17 |
| 24 | 19 |
| 30 | 22 |
| 40 | 27 |
| 50 | 32 |
| 60 | 37 |
How do you work out the number?
Working out the number takes three small steps. First, take your age in completed years. Second, divide that age by two. Third, add seven to the result. If the result is not a whole number, most people round to the nearest whole year, because ages in everyday talk are given in whole years.
For example, a 36-year-old halves 36 to get 18, then adds 7 to get 25. A 44-year-old halves 44 to get 22, then adds 7 to get 29. The calculation is the same every time, and it is easy to check with a calculator. The difficulty is not the maths. The difficulty is deciding what, if anything, the answer should mean for real people.
Where did the idea come from?
The idea has been repeated in books, films, and online discussions for many years, and its exact origin is hard to pin down. It appears in older dating advice as a rough guide to avoiding a large age gap, and it later spread widely through popular culture. Because it is short and easy to remember, it survived long after the context around it changed.
That long life does not make it scientific. No large study set out to prove that half your age plus seven marks a safe or good boundary. It grew as a social saying, in the same way other short sayings about dating spread. Knowing that history helps you see it for what it is: a piece of folklore, not a finding from research.
Why is it only a heuristic, not a rule?
A heuristic is a rough shortcut people use to make a quick judgement, and this formula fits that description well. It gives one number from one input, your age, and ignores everything else about two people. Real relationships depend on maturity, experience, goals, money, health, family plans, and how each person treats the other. No single formula can weigh all of that.
It is also not a law. No country sets a dating age by this formula, and the legal age of consent is a separate matter set by law, which you should check from an official source. The formula is not a medical recommendation either. It does not come from doctors or psychologists, and it should never replace careful thought or honest conversation.
What are the biggest problems with the rule?
The first problem is that the rule is very strict for young adults and very loose for older adults. A 20-year-old gets 17, which is below the legal adult age in many places, so the formula alone can point to an age that is not lawful or appropriate. At older ages, the gap it allows grows large, so a 60-year-old gets 37, a gap of 23 years that many people would still find striking.
The second problem is that the rule treats age as the only factor. Two people of the same age can be at very different life stages, while two people ten years apart can share the same goals and values. A number cannot tell you whether someone is kind, honest, or ready for commitment. Using the rule as a pass or fail test can hide those more important questions.
How can you think about an age gap fairly?
A fair way to think about an age gap starts with the law and with consent, then moves to real life. Are both people adults under the law where they live? Do both people freely choose the relationship? Are they at a similar stage in work, housing, family plans, and daily life? Those questions give a much clearer picture than a single calculation.
It also helps to ask how power is shared. A large gap can matter more when one person controls money, housing, or career chances, or when one person is much less experienced. If both people can speak openly, make their own choices, and leave freely, that matters more than whether the gap passes a pop-culture test.
- Check the legal age rules where you live from an official source.
- Ask whether both people freely choose the relationship.
- Compare life stages, not just birth years.
- Look at how money, housing, and decisions are shared.
- Talk openly about goals, family plans, and expectations.
What should you use instead of the rule?
Instead of relying on one formula, use a mix of clear checks. Start with exact ages from birth dates, so you are not guessing. Then consider legal age, life stage, shared values, and how the relationship feels day to day. A calculator can help with the first step, by showing the exact gap in years and months, but it cannot judge the relationship for you.
If you are unsure, talk to a trusted friend, family member, or counsellor, and listen to how both partners describe the relationship. Honest conversation, respect, and equal choice are better guides than any saying. The half your age plus seven idea can start a discussion, but it should never end one.
Frequently asked questions
Is the half your age plus seven rule a real law?
No, it is not a law in any country. It is a pop-culture saying with no legal force. Legal ages for consent, marriage, and other matters are set by law and differ by place, so you should always check an official source for the place where you live. The formula cannot tell you what is lawful.
How do I calculate half my age plus seven?
Take your age in completed years, divide it by two, and add seven. A 30-year-old gets 15 plus 7, which is 22. A 40-year-old gets 20 plus 7, which is 27. If the result is not a whole number, round to the nearest whole year for everyday use. The maths is simple and easy to check.
Does the rule work for women and men in the same way?
The formula itself is the same whoever uses it, because it only uses age. In practice, people have often applied it differently to men and women, which shows that it reflects social attitudes rather than science. A fair approach uses the same checks for everyone: law, consent, life stage, and how power is shared.
What is the oldest partner age the rule allows?
The rule as usually stated only gives a youngest partner age, not an oldest one. People sometimes reverse it, so a 22-year-old would pair with a partner up to 30, because 2 × (22 − 7) = 30. That reversed number is also only a rough idea. It has no legal or scientific basis, so treat it with the same caution.
Why does the rule give 17 for a 20-year-old?
Because half of 20 is 10, and 10 plus 7 is 17. That result shows why the formula cannot be used blindly. In many places, 17 is below the adult age for consent or other legal matters, and a 20-year-old dating a 17-year-old raises serious legal and safety questions. Always check the law first, and never let a saying override it.
Is a large age gap always a problem?
No, a large age gap on its own does not prove a relationship is good or bad. What matters more is whether both people are adults, choose freely, share similar goals, and treat each other with respect. A gap can add strain when life stages differ, but many couples manage it well with open talk and equal choice.
Can I use an age gap calculator instead of the rule?
Yes, a calculator is useful for the factual part: it shows the exact gap in years, months, and days from two birth dates. That is more precise than guessing from ages alone. The calculator will not judge the relationship, though. Use the number as a starting point, then think about law, life stage, and mutual respect.
Should I follow the rule if my friends quote it?
You can listen to what friends say, but you do not have to follow a saying as if it were a rule. Friends may mean well, yet they do not know the full picture of your life or relationship. Weigh their views alongside the law, your own values, and honest conversation with your partner, and make your own careful choice.
Related calculators
Related guides
Sources: WhatsMyAge methodology · Methodology · Author: Shahzad · Last reviewed 2026-11-13.
This page is general information only. It is not medical, legal or financial advice.