Skip to content

Age Calculator

Your exact age in years, months, and days — updated live

Privacy: your files never leave your device. All processing happens locally in your browser.

How to use

  1. 1.Pick your date of birth in the first field — your exact age appears instantly, with no button to press.
  2. 2.Leave the second date on today, or set it to any past or future date to find your age at that exact moment.
  3. 3.Read your age in years, months, and days, plus total months, weeks, days, and the countdown to your next birthday.

About Age Calculator

Your age in years, months, and days is the gap between your date of birth and today, counted one unit at a time: full years first, then the leftover full months, then the remaining days. This age calculator does that arithmetic the same way trusted date libraries such as date-fns do — it steps forward from your birth date, adding whole years until one more would pass the target date, then whole months, then counting the days that are left. Working in that order is what makes the result correct. The naive shortcut of subtracting day-from-day and month-from-month can produce impossible values, such as negative days, when a birthday lands on the 31st and the target month is shorter.

Borrowing is where most age math breaks. When the current day is earlier in the month than your birth day, the calculator borrows a month and adds that month's real length — 28, 29, 30, or 31 days — never a fixed 30. Month lengths vary, so the borrowed amount must match the actual calendar. If borrowing a month still is not enough, it borrows a year, keeping every value non-negative and the total self-consistent.

Leap years follow the Gregorian rule: a year is a leap year if divisible by 4, except century years, which must also be divisible by 400 — so 2000 was a leap year but 1900 and 2100 are not. February therefore has 29 days only in leap years, and the calculator uses the true length of each February it crosses. If you were born on February 29, your birthday is observed on February 28 in common years, the convention used across much of Europe and in many legal systems.

Alongside the years-months-days breakdown you also get totals: your age expressed as total whole months, total weeks, and total days, plus a live countdown to your next birthday. These totals are useful for milestones — a baby's age in weeks, an anniversary counted in days, insurance and pension eligibility, or the legal age a form asks for.

Note that this Western count differs from East Asian nominal age (虚岁), where a person is one at birth and gains a year at Lunar New Year rather than on their birthday, so the two systems can differ by one to two years. Everything here runs entirely in your browser — no date ever leaves your device — and the result updates the instant you change a field, so you can check your age at any past or future reference date, not only today.

Frequently asked questions

How is age calculated in years, months, and days?
Full years are counted first, then the leftover full months, then the remaining days — stepping forward from your birth date until one more unit would pass the target date. For example, from January 31 to March 1 is 1 month and 1 day, because January 31 plus one month lands on February 28, then one more day reaches March 1. Counting in this order avoids negative days that naive day-minus-day subtraction produces for short months.
What happens if I was born on February 29?
February 29 exists only in leap years (years divisible by 4, except century years not divisible by 400, so 1900 and 2100 are not leap years). In common years this calculator observes your birthday on February 28 — the convention used across much of Europe and in many legal systems — so you still gain a full year each year rather than only once every four years.
How are the total days, weeks, and months worked out?
Total days is the exact calendar-day count between the two dates, using each month's real length and counting every leap day in between. Total weeks is that day count divided by seven and rounded down, and total months is the number of whole months elapsed. These totals count the same span as the years-months-days breakdown, just expressed in a single unit.
Can I calculate my age on a future or past date?
Yes. Change the second date to any reference day: set it in the future to see how old you will be then, or in the past to see how old you were. If the reference date falls before your date of birth, the tool tells you the date is in the future instead of showing a negative age.
Does the age include the day I was born?
Your birth date counts as day zero, so your first full day of life is the day after you were born and you turn one year old on your first birthday. This matches how age is stated on IDs and official forms, where you are a given age from your birthday up until the day before your next one.

Calculators guides

View all