Half your age plus seven calculator

Enter your age to see the age range the well-known “half your age plus seven” rule suggests for a partner.

For adults (18+).
22 to 46
By the “half your age plus seven” rule, the youngest partner is 22.0 (30 ÷ 2 + 7), and the oldest is 46 ((30 − 7) × 2).

What is the half your age plus seven rule?

The rule says the youngest partner socially acceptable is half your age plus seven, and the oldest is your age minus seven, doubled. For a 30-year-old the range is 22 to 46. It is a social rule of thumb, not a scientific or legal standard.

Half your age plus seven calculator: A calculator on an open book with text and graphs.
How it’s calculated
Minimum = age ÷ 2 + 7. Maximum = (age − 7) × 2.
Data source
Traditional rule of thumb
Checked by
Yasir Hafeez, founder and editor — how we test
</> Embed this calculator

Free to use on your website, blog or school page. Copy the code and paste it into your page’s HTML.

Half your age plus seven calculator

Photo: scronfinixio / Pixabay

The rule

The “half your age plus seven” rule is an informal guide to whether an age gap between two adults is socially acceptable. The youngest age it allows is your age divided by two, plus seven. Turning it around gives the oldest: your age minus seven, times two.

A person's hand with red nail polish using a calculator.
  • At 30: youngest 30 ÷ 2 + 7 = 22, oldest (30 − 7) × 2 = 46.
  • At 40: youngest 27, oldest 66.
  • At 50: youngest 32, oldest 86.

The calculator never shows a minimum below 18: the rule is only ever about relationships between adults.

Where it comes from

The rule has been around for over a century — a version of it appears in print in the early 1900s — and it was popularised online by the webcomic xkcd. It’s a rule of thumb, not research: whether an age gap works depends on the people involved.

A row of old, worn books on a shelf, suggesting history or origin.

Using the Half Your Age Plus Seven Calculator

Finding your suggested age range is simple. First, locate the input field on the page. This field is clearly marked for entering your age. Next, type your current age into this box. The calculator is designed for adults. Therefore, ensure your entered age is 18 or higher. The results will update automatically as you type.

You will see two distinct numbers appear. One number represents the minimum suggested age for a partner. The other number indicates the maximum suggested age. This display quickly shows the full range. The Half your age plus seven calculator provides instant feedback. It is a straightforward tool for understanding this social guideline.

Step-by-Step Calculation Examples

The rule has two parts. One part finds the youngest suggested age. The other part calculates the oldest suggested age. We will use an example age of 42 to show each step. This process reveals how the numbers are reached. Checking the arithmetic carefully is important for accuracy.

First, to find the youngest age: Start with your age, which is 42. Then, divide 42 by 2, resulting in 21. Next, add 7 to this result. So, 21 + 7 equals 28. Therefore, the youngest suggested partner age is 28. This follows the formula: Age / 2 + 7.

Second, to find the oldest age: Begin with your age, 42. Subtract 7 from 42, which gives you 35. Finally, multiply this result by 2. So, 35 multiplied by 2 equals 70. Thus, the oldest suggested partner age is 70. This follows the formula: (Age – 7) * 2.

Common Misinterpretations of the Rule

People sometimes misunderstand this social rule. One common error involves the order of operations. For the minimum age, you must divide your age by two first. Then, you add seven. Doing it differently will yield an incorrect result. Always follow the established formula precisely.

Another mistake is applying the rule to the other person's age. The rule starts with *your* age. It then calculates a range for *your* potential partners. It does not calculate a range for someone else. Furthermore, some believe the rule applies universally. However, it is a cultural guideline, not a scientific standard. It reflects social norms, which can vary.

Beyond the Numbers: Context and Limitations

The 'half your age plus seven' rule offers a simple framework. However, its usefulness depends on context. For instance, the rule tends to generate wider ranges for older individuals. This might reflect different social expectations for age gaps as people mature. Younger adults often find the rule's range quite narrow.

Furthermore, this rule is a social construct. It does not account for individual circumstances. Personal maturity, shared values, and life experiences are crucial. These factors often matter more than age differences. Therefore, use the rule as a conversation starter. Do not treat it as a definitive measure of relationship viability. Real-world relationships involve many complexities beyond simple arithmetic.

Understanding the Calculator's Output

After entering your age, the Half your age plus seven calculator displays two key numbers. One number is labeled as the minimum suggested age. This represents the youngest partner age according to the rule. The other number shown is the maximum suggested age. This indicates the oldest partner age the rule permits.

For example, if you enter 30, the calculator shows 22 and 46. The first number, 22, is the youngest age. The second number, 46, is the oldest age. Together, these numbers define a suggested age range. This range is a social guideline. It is not a strict requirement for relationships.

When Other Considerations Matter More

The 'half your age plus seven' rule is a social guide, not a universal truth. Sometimes, other factors are far more relevant than age differences. Shared life goals often create stronger bonds. Common interests can bring people together regardless of age. Mutual respect is always a foundational element.

Furthermore, emotional maturity varies greatly among individuals. A younger person might possess significant maturity. Conversely, an older person might be less mature. Focus on compatibility, communication, and shared values. These elements usually contribute more to a successful partnership than a numerical age range.

Practical Tips for Interpreting the Rule

Use the rule as a starting point for reflection. It can help you understand common social perceptions. However, do not let it dictate your personal choices. Consider your own comfort level with age gaps. Every individual is unique, and so is every relationship.

Remember that the rule applies to adults. It is designed for relationships where both individuals are mature. Always prioritize legal and ethical considerations. The rule reflects social norms, which can change over time. Therefore, use it as one piece of information among many important factors.

Sources: Age disparity in sexual relationships

Frequently asked questions

What is half your age plus seven for a 25-year-old?

A minimum of 19.5 and a maximum of 36.

How do I find the maximum age?

Subtract 7 from your age and double it.

Is the rule scientific?

No. It is a social rule of thumb.

Photo of Yasir Hafeez
Written and checked by Yasir Hafeez. Last reviewed October 16, 2026. Results are calculated with fixed rules and tested against an independent date library; see how we check.

More age tools

From the blog