calendar_month Time

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

Total Days 30
Weeks 4w 2d
Months 1
Years 0

Days Until

100

days from today

Today: November 26, 2026

info

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

Input (run 20 November 2026): Days Between Dates with a start of 31 January 2026 and ends of 28 February, 30 April and 1 May 2026. Then 1 February to 1 March, in 2027 and in 2028.
Result: 31 Jan to 28 Feb: 28 days, 4w 0d, 0 months, 0 years. 31 Jan to 30 Apr: 89 days, 12w 5d, 2 months. 31 Jan to 1 May: 90 days, 12w 6d, 3 months. 1 Feb to 1 Mar 2027: 28 days, 4w 0d, 1 month. 1 Feb to 1 Mar 2028: 29 days, 4w 1d, 1 month.
What to notice: 31 January to 28 February shows 0 months, because February has no 31st and a month only counts once the same day number comes round. 90 days from 31 January lands on 1 May, not 30 April, so "90 days" and "3 months" are different deadlines. The 2028 leap day adds a day but doesn't change the month count.

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.

Frequently Asked Questions

Does it count both the start and end date?
No. It gives the difference between the two dates, so 1 March to 2 March is 1 day. If you need to include both the first and the last day, add 1 to the result.
Why does 31 January to 28 February show 0 months?
A month only counts once the same day number comes round again, and February has no 31st. The day count, 28, is exact. Read the Months figure as whole months, rounded down.
Is 3 months the same as 90 days?
No. 90 days from 31 January 2026 is 1 May 2026, while 31 January to 30 April is 89 days. This tool doesn't add months to a date, and contracts define month ends in different ways, so check the wording.
Can it count business days?
No. It counts calendar days, including weekends and public holidays. For a rough figure, multiply the whole weeks by 5, add the weekdays among the leftover days, then subtract the public holidays where you are.
Do time zones affect the result?
Days Between Dates uses dates only, so the answer is the same wherever you are. Days Until counts from today's date on our server, which runs on UTC, so close to midnight it can be a day out from your own calendar.

Related tools