ThisCalculator

Everyday

Count Birthdays by Year: Age in Years, Explained

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator works out how many birthdays you have had by a given date, which is the same as your age in completed years. You enter your birth date and the target date (usually today), and you get back the number of birthdays passed, shown as a whole number of years. The result is the standard way age is counted in most of the world: the number of full years since your birth, not rounded up or down.

Formula

The calculator uses a simple subtraction of dates, then converts the difference into years. In words: Age in years = (Target date − Birth date) ÷ 365.2425, rounded down to the nearest whole number.

Here, the birth date and target date are both calendar dates. The difference is measured in days. The divisor 365.2425 is the average length of a year in the Gregorian calendar, which accounts for leap years (every 4 years, except centuries not divisible by 400). Rounding down (floor) ensures you only count completed birthdays. For example, if the difference is 34.8 years, you have had 34 birthdays, not 35.

Worked Example

Using the default values: birth date 15 June 1990, target date 1 January 2025.

  1. Count the days from 15 June 1990 to 1 January 2025. That is 12,618 days (you can verify with a date calculator).
  2. Divide by 365.2425: 12,618 ÷ 365.2425 ≈ 34.55 years.
  3. Round down to the nearest whole number: 34.

The calculator shows 34 birthdays passed and 12,618 total days lived. Note that a person born on 15 June 1990 turns 35 on 15 June 2025, so on 1 January 2025 they have not yet had that birthday.

Why Count Birthdays by Year?

Counting birthdays by year is the standard way to express age in everyday life, legal documents, and most official records. When someone asks “How old are you?” they expect a whole number of years, not a decimal like 34.55. This is called the “completed years” method. It is used because it is simple and unambiguous: your age increases by exactly 1 on each birthday, not gradually every day.

This method differs from other conventions. For example, in some East Asian countries, a person is considered 1 year old at birth and gains a year on the Lunar New Year, so their “age” can be 1 or 2 years higher than the Western count. But the international standard, used by the United Nations and most medical and legal systems, is the completed-years count.

How to Choose the Right Target Date

For most uses, the target date is today. But there are cases where you need a different one:

  • Legal age checks: If you need to know if someone is 18 or 21 on a specific date (e.g., an exam date, a contract signing), set the target date to that date.
  • Historical events: To find out how old someone was on a past date, enter that date as the target.
  • Future planning: To see when someone will reach a milestone (e.g., turning 65 for retirement), set the target date to the expected date.

Remember: the calculator counts birthdays that have already occurred on or before the target date. If the target date is exactly the person’s birthday, that birthday counts as passed.

Common Mistakes and Misconceptions

One frequent mistake is confusing “age in years” with “age in years and months.” For example, a child born on 1 March 2020 is 4 years old on 1 March 2024, but on 1 April 2024 they are still 4 years old, even though they are 4 years and 1 month. The completed-years method ignores the extra months.

Another misconception is that dividing by 365 gives the correct answer. Using 365 ignores leap years, which can shift the result by a day or two for long spans. For someone born on 29 February, the calculation is tricky: they only have a birthday in leap years. The calculator handles this by counting the actual number of days and dividing by the average year length, so a person born on 29 February 2000 would have had 6 birthdays by 1 January 2025 (2004, 2008, 2012, 2016, 2020, 2024), and the calculator would show 24 years (since 24 full years have passed, even though only 6 birthday dates occurred).

Rounding errors also occur if you round the decimal up instead of down. Always round down for completed years.

Limits of the Formula

The formula assumes the Gregorian calendar, which is the standard civil calendar in most of the world. If you are working with dates before 1582 (when the Gregorian calendar was introduced) or with historical calendars like the Julian calendar, the day count will differ. For modern dates, the formula is accurate.

The divisor 365.2425 is an average. The actual time between two specific dates can vary by a few hours due to leap seconds and the Earth’s rotation, but for counting birthdays in whole years, this is irrelevant. The calculator gives the same result as counting the number of anniversaries of your birth date.

Also note that the calculator returns the number of birthdays passed, not the “ordinal” age. For example, a newborn has 0 birthdays passed, but is in their first year of life. Some cultures call that “age 1” at birth, but the calculator uses the international standard.

Alternatives to Counting by Year

If you need more precision, you can count age in months, weeks, or days. For infants, doctors often track age in months. For scientific or legal purposes, you might need the exact number of days. This calculator gives you the total days lived as a secondary output, so you can convert to months or weeks if needed.

Another alternative is the “decimal age” method, where you express age as a decimal (e.g., 34.55 years). This is used in some medical growth charts and research. To get that, you would not round down; you would keep the decimal. But for everyday conversation and most official forms, the whole number is what people expect.

Frequently Asked Questions

Does the calculator count the day you were born as a birthday?

No. On the day you are born, you have 0 birthdays passed. Your first birthday occurs one year later, on the anniversary of your birth. The calculator counts only anniversaries that have occurred on or before the target date.

What if I was born on February 29?

You have a birthday only in leap years. The calculator counts the actual number of days and divides by the average year length, so it correctly gives your age in years. For example, someone born on 29 February 2000 would have had 6 birthdays by 1 January 2025, and the calculator shows 24 years.

Why does the calculator use 365.2425 instead of 365?

365.2425 is the average length of a year in the Gregorian calendar, accounting for leap years. Using 365 would slightly undercount the number of years for long periods, because you would be ignoring the extra days added in leap years. The average gives a more accurate conversion from days to years.

Is age in years the same as “legal age”?

In most jurisdictions, legal age (e.g., 18, 21) is based on completed years. You reach the legal age at the start of the day of your birthday. This calculator gives you the completed years, so you can check if someone has reached a legal threshold on a specific date.

Can I use this for historical dates before 1582?

Technically, the Gregorian calendar was introduced in 1582, so dates before that are often given in the Julian calendar. The calculator uses the Gregorian calendar, so for very old dates, the day count may be off by a few days. For all modern dates, it is accurate.

Related

Formula used
in birth | Birth date | - | 1990-06-15 | 0
in target | Target date | - | 2025-01-01 | 0
out years | Birthdays passed | years | floor((target - birth) / 365.2425) | 0
out days | Total days lived | days | target - birth | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.