What Is a Days Between Dates Calculator?
A days between dates calculator counts the number of days from one date to another. It sounds simple, but counting by hand is error-prone: months have 28, 29, 30 or 31 days, leap years add an extra day in February, and it's easy to lose track across a year boundary. This free calculator gives you the exact answer instantly, whether the dates are a week apart or centuries apart.
People use it to count down to holidays, weddings and exams, to work out notice periods, contract lengths, visa stays and rental periods, to check how long ago something happened, and to calculate interest or billing periods. Along with the total number of days, you also get the gap expressed in years, months and days, weeks, weekdays, hours and minutes.
How to Count the Days Between Two Dates
- Pick the start date. It defaults to today.
- Pick the end date, or use a quick button such as +30 days or +1 year.
- Decide whether to include the end date. Tick the box if both the first and last day should count, as with hotel nights versus stay days, or event durations.
- Read the results. They update instantly as you change either date.
Should You Include the End Date?
By default the calculator counts the days between the dates. From Monday to Wednesday is 2 days, the same way you'd count nights in a hotel or the time until an event. If you need to count every calendar day in a range, such as a holiday running Monday to Wednesday inclusive (3 days) or a leave request, tick "Include the end date" to add one day. Legal and contractual periods often have specific counting rules, so check the wording of your agreement.
Examples
| From | To | Days between |
|---|---|---|
| 1 January 2025 | 31 December 2025 | 364 (365 inclusive) |
| 1 January 2024 | 1 January 2025 | 366 (leap year) |
| 15 March | 15 June (same year) | 92 |
| Today | Today + 1 year | 365 or 366 |
Features
- Exact day countAccounts for month lengths and leap years automatically.
- Years, months and daysA human-friendly calendar difference.
- Weeks and weekdaysFull weeks plus remaining days, and Monday–Friday count.
- Hours and minutesUseful for countdowns and scheduling.
- Inclusive optionCount both the start and end date when needed.
- Time-zone safeCalculations use calendar dates, so daylight saving never shifts the result.
How the Calculation Works
Each date is converted to a day number on the calendar, then one is subtracted from the other, which gives an exact count that correctly handles every month length and leap day. The years-months-days breakdown counts whole calendar months first. From 31 January to 1 March, for instance, it counts one month (to the last day of February) plus the remaining days, the same method used in most age and contract calculations. The weekday count excludes Saturdays and Sundays; for public holidays use the Work Days Calculator.
Common Uses for Counting Days
- Travel and visas: many visa-free stays are limited to 30, 90 or 180 days, and entry and exit dates usually both count.
- Notice periods and contracts: check when a lease, employment notice or subscription period ends.
- Pregnancy and baby milestones: count days since a date for health records and diaries.
- Finance: interest for savings, loans and late payments is often calculated per day.
- Projects and events: track how long until a launch, exam or wedding, or how long a project took.
For countdowns that update every second, try the Countdown Timer; to count only working days with public holidays excluded, use the Work Days Calculator.
Frequently Asked Questions
How many days are there between two dates?
Enter both dates above and the total appears instantly. It counts the days from the start to the end date, excluding the end date unless you tick "Include the end date".
Does the calculator handle leap years?
Yes. February 29 is included automatically in leap years such as 2024 and 2028.
Can I count backwards to a past date?
Yes. If the end date is earlier than the start date, the calculator still shows the number of days and notes that the second date is earlier.
How many weeks is 100 days?
100 days is 14 weeks and 2 days (14.29 weeks).
How do I exclude weekends?
The "Weekdays" result shows the count without Saturdays and Sundays. To exclude public holidays too, use the Work Days Calculator.