Skip to content

Date duration calculator

Work out the exact duration between two dates in years, months, and days, plus the total number of days, or add days, months, and years to a date, or subtract them from it. Both the Gregorian and the Hijri (Umm al-Qura) calendars are supported. Everything is computed in your browser.

To calculate the duration between two dates, enter both dates in the Gregorian or the Hijri calendar and the difference appears in years, months, and days with the total day count. To add or subtract time from a date, enter the base date and the amounts. It is free, needs no sign-up, and your dates never leave your browser.

How to use it

Choose what you need: a duration between two dates, or an addition or subtraction on one date. For a duration, enter the start date and the end date in the Gregorian or the Hijri calendar, and the difference appears in years, months, and days with the total day count. For an addition or subtraction, enter the base date and the amounts of years, months, and days, and the resulting date appears with its equivalent in the other calendar.

When it helps

Contract periods, notice periods, project timelines, and waiting periods all need an exact date difference, and counting by hand breaks on leap years and unequal months. The Hijri side runs on the official Umm al-Qura table, where every month length is fixed day by day, not guessed as 29 and 30 in alternation.

Common questions

How is the duration counted?

The tool counts whole years first, then whole months, then the remaining days, using the real length of every month it crosses. A 29-day February in a common year and a 30-day month on the Hijri table are both counted exactly.

Which Hijri calendar is used?

The Umm al-Qura calendar, the official civil calendar of Saudi Arabia, on the same table official systems use. The supported range is 1318 to 1500 AH.

What happens when the result month does not have the day I started from?

The day is pinned to the last day of that month. For example, 31 January plus one month is 28 February, or 29 February in a leap year, and the same rule applies to Hijri month lengths.

Are my dates sent anywhere?

No. Every calculation happens entirely in your browser. Your dates are never uploaded, stored, or shared.

Related tools

Hijri–Gregorian converter

Convert dates between the Hijri (Umm al-Qura) calendar and the Gregorian calendar, both ways. Pick a Gregorian date to see its Hijri equivalent in four formats, or enter a Hijri year, month, and day to get the Gregorian date. Everything is computed in your browser.

Free
Ramadan & Eid countdown

See how many days remain until the next Ramadan, Eid al-Fitr, and Eid al-Adha, with each occasion shown on both the Hijri (Umm al-Qura) and the Gregorian calendars. The dates are the calendar dates from the official Umm al-Qura table. Everything is computed in your browser.

Free
Age calculator

Enter your date of birth to get your exact age in years, months, and days on both the Gregorian and the Hijri (Umm al-Qura) calendars, plus the total days you have lived, your next birthday, and the days until it. Everything is computed in your browser.

Free
Zakat calculator

Work out the zakat on your wealth: enter your total zakatable wealth and the gold price per gram today, and see at once whether you have reached the nisab and how much zakat is due. The rate is 2.5% and the nisab follows the gold standard. Everything is computed in your browser.

Free
End-of-service calculator

Estimate end-of-service gratuity under the Saudi Labour Law: enter the monthly basic wage, the length of service, and how the service ended, and get an instant breakdown. Everything is computed in your browser.

Free
Net salary calculator

Work out your monthly net salary in Saudi Arabia: enter your basic salary and housing allowance and whether you are Saudi or non-Saudi, and get the GOSI deduction breakdown at once. Everything is computed in your browser.

Free