Date calculator: days between dates
Count every day between two dates. For working days only, use Business days.
How to count days between two dates
Type two dates and press the button. The result shows the number of days, the same span in weeks, months or years, the alternative units (hours, minutes, seconds, share of the year) and a calendar of the period. It is the tool for deadlines, countdowns, invoice terms and "how long ago was that".
Step by step
- Enter the Start date and End date. Any common format works: 10/31/2026, 2026-10-31, Oct 31 2026, or the word today. You can also click the small calendar icon at the right of the box, or use the up and down arrow keys to move a day at a time.
- Tick Include end date if both the first and last day should count, for example for a hotel stay or a rental.
- Press Calculate duration. The result opens on its own page with a web address you can bookmark or send to someone.
Worked examples
- Days until a date: October 19 to December 25, 2026 is 67 days, or 9 weeks and 4 days, or 2 months and 6 days.
- A short range: February 28 to March 1, 2024 is 2 days, or 3 with Include end date, because 2024 was a leap year.
- Counting backwards: if the end date is earlier than the start date the tool still counts, and says so.
Common uses
- Deadlines and notice periods. A lease that needs 60 days notice, a return window of 30 days, a court filing due within 21 days: enter today and the deadline to see how many days are left, or enter the trigger date and tick Include end date if the rule counts the first day.
- Countdowns. Days until a wedding, a trip, a product launch or the end of the school year. The result also shows the number of weeks, which is often the more useful figure for planning.
- Invoice and payment terms. Net 30 means 30 days from the invoice date. Count from the invoice date to today to see whether a payment is overdue and by how much.
- How long ago. Enter a past date as the start and today as the end to find out how many days, weeks and months have passed since an event, a purchase or a medical appointment.
- Age in days. Enter a date of birth and today to see a person's age in days, which makes a nice fact for a birthday card or a classroom exercise.
Reading the result
The result page opens with the two dates written out in full, including the day of the week, so a typo in the year is easy to spot. Below the day count you get the same span in months and days, and in weeks and days. The right hand column converts the span into hours, minutes and seconds and shows what share of a year it is. The calendars underneath mark the first day in blue and the last counted day in yellow, with the days in between outlined, so you can see at a glance which months the period covers. Copy result puts a one line summary on your clipboard for an email or a note.
Counting rules in plain words
- Start counts, end does not. By default the count works like subtraction: October 19 to October 20 is 1 day. Tick Include end date to count both days.
- Whole days only. Hours, time zones and daylight saving time are ignored, so a count never comes out a day short.
- Business days are a separate calculator: Business days between dates skips weekends and U.S. federal holidays.
Questions people ask
Does it count the first day or the last day?
It counts the first day and not the last, the same as subtracting one date from the other. Tick Include end date to count both.
What date formats can I type?
Month, day and year with slashes, dashes or dots (10/31/2026), the international form (2026-10-31), a written month (Oct 31 2026 or 31 October 2026), eight digits (10312026), or the words today, tomorrow and yesterday. A two digit year such as 26 is read as 2026.
Can I share a result?
Yes. After you calculate, the address bar holds the dates, so copy the link or bookmark it. The Back button returns to the form.
How far back and forward can I go?
Years 0001 to 9999 on the Gregorian calendar.
Is my date sent anywhere?
No. All date math runs in your browser.