Age calculator (Gregorian and Hijri)

Enter a date of birth, Gregorian or Hijri, to get the exact age in years, months and days, the Hijri date of birth, the age in Hijri years, totals in weeks, days and hours, and the next birthday. It also works out age at death.

How your age is worked out

The calculator counts whole years first, then whole months, then the days left over. It steps forward from your date of birth one month at a time for as long as it does not pass the "age on" date (today unless you pick another), then counts the remaining days. That is the way age is counted on forms and documents: you turn a year older on your birthday, not after a fixed number of days.

The totals (months, weeks, days and hours) count every day between the two dates. If you add a time of birth, hours and minutes are counted up to the current time on your device. Everything is calculated in your browser.

Gregorian and Hijri age

The Hijri (Islamic) calendar follows the moon. Its year has 12 months of 29 or 30 days, 354 or 355 days in all, about 11 days shorter than a Gregorian year. So your age in Hijri years is higher than your Gregorian age: roughly one extra year for every 33 years lived.

You can enter your date of birth in either calendar. For Hijri dates the page uses the Umm al-Qura calendar, Saudi Arabia's official calendar and the one behind most printed Hijri dates in the Gulf. It is built into current browsers, so no data is downloaded. If your browser does not have it, or the date is outside its range (1300 to 1600 AH), the page switches to the tabular Islamic calendar, a fixed arithmetical rule that can be a day or two off, and says so under the result.

Please note: in the UAE and many other countries, the start of each Hijri month is set by sighting the new moon, so the official date can differ by a day from Umm al-Qura or from another country. For an official document, use the Hijri date printed on it.

Worked example

Someone born on Tuesday, 15 May 1990, checking their age on 29 October 2026:

  • 15 May 1990 to 15 May 2026 is 36 years. 15 May to 15 October is 5 months. 15 to 29 October is 14 days. Age: 36 years, 5 months, 14 days.
  • That is 13,316 days, or 1,902 weeks and 2 days.
  • The next birthday is Saturday, 15 May 2027, in 198 days, when they turn 37.
  • In Hijri terms they were born in Shawwal 1410 AH (19 Shawwal in the tabular calendar; Umm al-Qura may show a day either side), and their Hijri age is already 37 years and about 6 months, a year ahead of the Gregorian age.

Birthdays on 29 February

If you were born on 29 February, the next birthday in a year without that date is shown on 28 February, and the page says so. Some people and some laws use 1 March instead. Your age in years is the same either way except on that one day.

To count the days between any two dates, not just from a birthday, use the date difference calculator. For a live countdown to your next birthday or another date, try days until.

FAQ

How do I calculate my age from my date of birth?

Count the whole years from your birth date to your last birthday, then the whole months since that birthday, then the days left. This page does it for you: enter your date of birth and press Calculate age.

How do I calculate my age in the Hijri calendar?

Choose "Hijri calendar" if your date of birth is a Hijri date, or keep the Gregorian date: either way the result shows your Hijri date of birth and your age in Hijri years, months and days.

Why is my Hijri age higher than my normal age?

A Hijri year is about 354 days, 11 days shorter than a Gregorian year, so more Hijri years pass in the same time. After 33 Gregorian years you are about 34 in Hijri years.

Why is the Hijri date one day different from my document?

Hijri months begin with the sighting of the new moon, which can vary by a day between countries and from the Umm al-Qura calendar used here. Use the date printed on your official document where it matters.

Can I work out someone's age at death?

Yes. Tick "Calculate age at death" and enter the date of death in the second date box. The next birthday lines are then left out.

Is my date of birth saved or sent anywhere?

No. The calculation runs in your browser and nothing you type is uploaded or stored.