Guide

How to Calculate Your Age from a Date of Birth

Understand how calendar dates are compared to calculate age in completed years.

Key idea

Age is a calendar calculation, not simply elapsed days divided by 365. A person's age increases on their birthday, and leap years affect elapsed-day counts without changing the birthday rule.

Formula or method

Age is the year difference adjusted if the birthday has not yet occurred.

Worked example

If someone was born on 14 June 1998, their age on 10 October 2026 is 28 because their birthday has passed that year. On 1 May 2026, they would still be 27. The calculation compares month and day as well as year.

Common mistakes

  • Dividing elapsed days by 365 and treating the result as exact age.
  • Subtracting birth year from target year without checking whether the birthday has happened.
  • Confusing completed years with total elapsed days.
Tip: Use the matching AvyTool calculator to check your result after working through the method.

Why the result can differ

Age is normally based on completed birthdays, not an average number of days per year. Results can depend on the target date and on how a particular jurisdiction treats birthdays that fall on 29 February. Use the date convention relevant to the situation.

Birthday-based age versus elapsed days

Age in years is normally based on completed birthdays, while elapsed-day calculations measure the distance between two dates. These methods answer different questions and can produce numbers that should not be substituted for one another.

Leap years and calendar boundaries

A date calculation has to account for different month lengths and leap years. Simple subtraction of calendar years does not always give a person’s completed age.

Use the right tool

Use the Age Calculator for birthday-based age and the Date Difference Calculator when your question is the elapsed interval between two dates.

Try the Age Calculator →

Browse all tools →