Date Difference Calculator
Days, weeks, months and years between two dates.
- 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
- Pick the start date.
- Pick the end date.
- Read the number of days between them in the first result.
- Check weeks, months and years for a rougher view.
- 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?
Why are months and years approximate?
Can it exclude weekends or holidays?
What if I enter the dates in reverse?
Is anything saved?
Related tools
Last reviewed 2026-11-01. Browse all tools