CCal
Utility

Age Calculator

Age looks like a single number, but it is really the difference between two dates, and the interesting part is how that difference is expressed. This calculator gives your age in years, months and days — the form used on forms and passports — alongside the totals in days, weeks and hours, and a countdown to your next birthday.

The years-months-days form requires care because months have different lengths. The standard method compares the two dates component by component: subtract the day numbers, borrow a month if the result is negative, then subtract the month numbers, borrow a year if needed, and finally subtract the years. That is why a person born on the 31st can appear a day or two different from a naive subtraction in months with fewer days.

The totals are simpler. The number of days between two dates is their difference in the underlying day count, which accounts for leap years automatically. Weeks are days divided by seven, and hours multiply days by twenty-four. These totals are the figures that matter for milestone calculations: eligibility windows, visa periods, interest accrual, or any rule written in days rather than years.

Leap years are the subtlety in any date arithmetic. A leap day is added roughly every four years, with century exceptions, and it affects both the total day count and the age calculation for anyone born on 29 February. This calculator handles the standard Gregorian rules, but the exact convention for a February 29 birthday varies by jurisdiction, so confirm anything legally significant.

Advertisement

Calculate

Defaults to today.
Your age26 years, 9 months, 3 days
Total months321
Total days9,773
Total weeks1,396.1
Total hours234,552
Days until next birthday89
Born on2000-01-01
Advertisement

How the math works

  • Compare the two dates component by component: if the day difference is negative, borrow one month and add that month's length; if the month difference is negative, borrow a year and add twelve months.
  • Total days = the difference in the underlying date values, which includes every leap day between the two dates.
  • Total weeks = total days ÷ 7; total hours = total days × 24.
  • Next birthday in days = the next occurrence of the birth month and day, or 0 when the date is today.

Frequently asked questions

How is age calculated in years, months and days?
Subtract the components of the birth date from the target date, borrowing a month when the day difference is negative and a year when the month difference is negative. The borrowed month uses the actual length of the preceding month, which is why the method is more careful than simple subtraction.
How many days old am I?
Multiply your age in years by 365 and add the number of leap days you have lived through, plus the odd months and days. This calculator counts the exact day difference between the two dates rather than estimating, so it includes every leap day.
How do leap years affect my age?
They add a day to the total day count roughly every four years, so the total days figure accounts for them automatically. Someone born on 29 February is a special case: many jurisdictions treat their birthday as 28 February or 1 March in non-leap years.
Why does my age differ by a day from another calculator?
Because of the convention for borrowing months and whether the endpoints are counted inclusively. This tool uses the standard component-wise method with actual month lengths, which matches how age is usually recorded on official forms.
Can I calculate the age between two dates that are not today?
Yes. Change the age-as-of date to any other date and the calculation updates, which is useful for working out an age at a past or future event.
Is the day count inclusive of today?
No, it counts elapsed days between the two dates, so a birth date and the same day of the next year give 365 or 366 days depending on leap years. Inclusive counting would add one day, which some institutions use.

This calculator is an educational estimator. It is not financial, medical, tax, or legal advice, and it does not account for fees, local rules, or your personal circumstances. Confirm decisions with a qualified professional.