Date Calculator: Days Between Two Dates
Pick a start and end date to get the exact gap in days, weeks, months and years, or choose one target date to see how many days are left from today. Leap years and 28- to 31-day months are handled automatically, which matters for notice periods, free-trial expiry, probation end dates and project deadlines.
Built by Jose Hunt · Checked 20 Nov 2026
Days Between Dates
Days Until
100
days from today
Today: November 26, 2026
How to use
Pick two dates to see the difference, or choose a target date to count down to.
Uses date-only calculations. Days Until counts from today's date in UTC.
- check_circle Days, weeks, months between dates
- check_circle Countdown to a future date
- check_circle Handles leap years correctly
What is a Date Calculator?
A date calculator counts the days between two dates. This one also shows the gap as weeks and days, whole calendar months and whole years. A second box, Days Until, shows how many days are left until a date, or how many days ago it was.
The count leaves out the start date: 1 March to 2 March is 1 day. If a contract or leave policy counts both the first and the last day, add 1.
It counts calendar days only. It can't skip weekends or public holidays, and it can't add a number of days or months to a date to give you an end date. To keep a date on screen as a live clock, use the Countdown Timer.
The calculation runs on our server. No AI is involved, and the dates you pick aren't stored.
When should you use it?
- check_circle Checking how many days a notice period, probation period or free trial really covers
- check_circle Counting the days left to issue an invoice, such as the 15th of the month after the supply for cross-border EU sales (EU VAT invoice checklist)
- check_circle Working out someone's length of service in whole months and years
- check_circle Finding how many days ago something happened by putting a past date into Days Until
Example outputs
How it works
Total days: each date becomes a day number, counted from 1 January of year 1 in the Gregorian calendar (Microsoft Learn), and the tool subtracts one from the other. The order of the two dates doesn't matter. The answer is always a positive number.
Leap days are counted because they are real days in that calendar. A year divisible by 4 is a leap year, except a century year, which must also be divisible by 400 (US Naval Observatory). So 1 February to 1 March is 28 days in 2027 and 29 days in 2028.
Weeks: total days divided by 7, with the remainder shown as days. 89 days shows as 12w 5d.
Months: the number of calendar months between the two dates, minus 1 if the later date's day of the month is smaller than the earlier one's. A month only counts once the same day number comes round again. At the end of a month that gives answers you might not expect: 31 January to 28 February is 0 months, and 31 January to 30 April is 2 months, because 30 is smaller than 31.
Years: whole months divided by 12, rounded down. 29 February 2024 to 28 February 2025 is 365 days but 0 years.
Days Until: the tool compares your date with today's date on our server, which runs on UTC. If you're well east or west of UTC and it's close to midnight, the server's today can differ from yours by a day, and so can the count. The Today line under the result shows the date it used.
Tips for better results
- tips_and_updates Add 1 to Total Days when both the first and the last day count, as in some leave and hire periods.
- tips_and_updates For a deadline written in months that starts on the 29th, 30th or 31st, read the contract's own rule for month ends. Don't rely on the Months figure alone.
- tips_and_updates Near midnight, check the Today line under Days Until. If it isn't your date, adjust the count by one day.
- tips_and_updates To keep the date on screen as a live countdown, enter it in the Countdown Timer.