Date Difference Calculator

Days, weeks, months and years between two dates.

Days between
112
Weeks
16
Months (approx.)
3.68
Years (approx.)
0.31

About this tool

How many days are there between two dates? You may need the answer for a notice period, a project deadline, a warranty, a course duration or the days left until an exam. This tool takes a start date and an end date and returns the gap in days, weeks, months and years. If you put the dates in the wrong order it still shows the size of the gap, and if either date is missing it asks you to fill it in rather than showing a misleading zero. Days are exact calendar days. Weeks are days divided by seven, while months and years are approximate because months have different lengths; the tool uses 30.4 days per month and 365 days per year for those two figures. A progress bar gives a quick visual of the gap against one year.

How to use it

  1. Pick the start date.
  2. Pick the end date.
  3. Read the number of days between them in the first result.
  4. Check weeks, months and years for a rougher view.
  5. Swap the dates if you want to check a gap in the other direction.

How it works

Days = absolute difference between the two dates ÷ 86,400,000 ms, rounded down. Weeks = days ÷ 7. Months ≈ days ÷ 30.4. Years ≈ days ÷ 365. The end date itself is not counted as an extra day.

Example: From 1 January 2026 to 23 April 2026 is 31 days in January, 28 in February, 31 in March and 22 more in April, so 112 days. That is 16 weeks, about 3.7 months and about 0.31 years.

Common uses

  • Counting working days left in a notice period (before removing weekends and holidays).
  • Checking how long a warranty, lease or course lasts.
  • Planning backwards from an exam or project deadline.

Frequently asked questions

Does it include the end date?
No. It counts the number of days from the start date to the end date, so 1 January to 2 January is one day. Add one if you want to include both dates.
Why are months and years approximate?
Calendar months have 28 to 31 days, so converting days to months needs an average. The tool uses 30.4 days per month and 365 days per year.
Can it exclude weekends or holidays?
No. It counts all calendar days. For working days, subtract weekends and holidays yourself.
What if I enter the dates in reverse?
It shows the absolute gap, so the result is the same either way.
Is anything saved?
No. The dates stay in your browser.

Last reviewed 2026-11-01. Browse all tools