Days Between Dates Calculator
Count the calendar days between two dates and see the same gap in weeks, months, years and hours. Choose whether the end date counts, and use Today to find the days until a date. It runs in your browser.
Dates
How to use the days between dates calculator
- Pick a start date and an end date, or press Today to use the current date.
- Tick the box if the end date should count as a full day too.
- Read the gap in days, weeks, months, years, hours and weekdays.
- For days until a date, set the start to Today and the end to the date you are waiting for.
Formulas and worked examples
Days between = end date − start date, counting real calendar days, with 1 added when the end date is included. Weeks = days ÷ 7, and hours = days × 24. Years, months and days count whole calendar months first and then the days left over.
| Dates | Days | With end date |
|---|---|---|
| January 1 to January 31, 2027 | 30 | 31 |
| January 1 to March 1, 2027 | 59 | 60 |
| January 1 to March 1, 2028 (leap year) | 60 | 61 |
| January 1 to December 31, 2027 | 364 | 365 |
Related tools
To count working days only, use the business days calculator. For hours and minutes between two times, use the time duration calculator.
See also
- Count working days only with the business days calculator.
- Need hours and minutes between two times? Use the time duration calculator.
- Measuring tenure at work? Try the length of service calculator.
- Planning a work year? Try the working hours in a year calculator.
- Pay for part of a month? Use the prorated salary calculator.
Frequently Asked Questions (FAQ)
Subtract the earlier date from the later one. From January 1 to January 31 is 30 days. Turn on "include the end date" to count both ends, which gives 31 days.
It depends on how you count. Leave it off for the elapsed time between two dates, such as days until a deadline. Turn it on when both the first and last day count, such as a 7-day trip that starts on the 1st and ends on the 7th.
Use the Today button next to the start date, then enter the target date as the end date. The result is the number of days from today until then.
The calculator counts whole calendar months from the start date and then the days left over. When the start day does not exist in a month, such as January 31 plus one month, it uses the last day of that month. The decimal months and years use averages of 30.44 and 365.25 days.
Yes. It counts real calendar days, so February 29 is included in leap years. From January 1, 2028 to January 1, 2029 is 366 days.
The calculator counts whole dates, not clock times. Daylight saving changes can make a real day 23 or 25 hours long, which this estimate ignores. For hours and minutes between two times, use the time duration calculator.
The main result counts every calendar day. A weekdays figure (Monday to Friday) is shown too, but it does not remove holidays. To skip weekends and holidays you choose, use the business days calculator.
Use it as a quick count. Notice periods, leave, interest and legal deadlines often follow their own counting rules, such as whether the first day counts. Check your contract or local rules before relying on a figure.