Days between two dates calculator


Pick a start date and an end date and the calculator returns the exact number of days between them, then the span in years, months and days, in weeks and in hours, plus how many are weekdays. You can include the end date or not. Leap years and month lengths are handled automatically.
- ✅ Free
- 🔒 No sign-up
- 📱 Works on mobile
- ⚡ Instant results
🔒 Everything runs in your browser. Your data and files never leave your device.
📌 Key facts
- The number of days between two dates is the difference of the two dates; the end date is excluded by default.
- Including the end date adds 1 to the result.
- From October 30, 2026 to December 25, 2026 there are 56 days, or 8 weeks.
- A common year has 365 days and a leap year has 366 days.
- From January 1 to December 31 of a common year there are 364 days, or 365 counting the last day.
How days between two dates are counted
The calculation uses calendar dates: each date becomes a day number and the two numbers are subtracted. Daylight saving changes cannot add or remove a day, and leap days land in the right place.
\[ \text{days} = \text{end day number} - \text{start day number} \ (+ 1 \, \text{if the end date is included}) \]
Without the end date, January 1 to January 2 is 1 day. With the end date included it is 2 days, which is how you count a hotel stay, a rental or a notice period that includes both ends.
Years, months and days: the end-of-month rule
For the years-months-days breakdown, whole months are added to the start date until the next step would pass the end date. If the day does not exist in the target month, the last day of that month is used.
| Start | End | Days | Span |
|---|---|---|---|
| 01/31/2026 | 02/28/2026 | 28 | 1 month |
| 01/31/2026 | 03/01/2026 | 29 | 1 month and 1 day |
| 02/28/2024 | 03/01/2024 | 2 | 2 days (leap year) |
| 02/28/2023 | 03/01/2023 | 1 | 1 day |
Weekdays versus business days
The tool also counts Monday through Friday. That is not quite the number of business days, because U.S. federal holidays are not removed here. For contract deadlines, shipping estimates or payroll, use the business days calculator, which skips holidays.
| Span | Days | Weekdays (approx.) |
|---|---|---|
| 1 week | 7 | 5 |
| 30 days | 30 | 21 or 22 |
| 1 year | 365 | 260 or 261 |
Days between dates: method and examples
To count the days between two dates, work in steps. First, note the start and end dates. Then decide whether to include the end date. Finally, read the total in days, weeks, hours and months.
For example, from October 30 to December 25, 2026 you count 56 days: 31 days to November 30, then 25 days in December. That is exactly 8 weeks. If you include the end date, the total becomes 57. So the option changes the answer by one, and that one day can matter for a lease or a contract.
Days between dates: common uses
This calculation shows up in daily life. Here are the most common uses.
- Leases and notices: the exact length of a stay or a period.
- Pregnancy: the number of days since a key date.
- Travel: trip length, nights included.
- Projects: time left before a delivery.
- Fitness: training days before a race.
However, for a hotel stay, count nights rather than days. From August 10 to August 17, you spend 7 nights but are present on 8 calendar days. If you want to skip weekends, switch to the business days calculator.
Days between dates: mistakes to avoid
Most mistakes come from the end date. First, people forget to include it when the contract requires it. Second, they count months as 30 days, though some have 31 or 28. Third, they ignore February 29 in leap years.
So let the tool do the math, then compare with another view. For example, to learn someone's age, the age calculator returns years, months and days. To move forward from a date, open the tool to add days to a date.
Days between dates: quick benchmarks to remember
Here are handy benchmarks. So you can sanity check a result fast. For example, a week has 7 days, a quarter about 91 days and half a year about 182 days. Also, from January 1 to July 1 of a common year, there are 181 days. In fact, January through June total 31, 28, 31, 30, 31 and 30 days.
If you also want hours, multiply days by 24. For example, 56 days equal 1,344 hours. Finally, to convert to weeks, divide by 7.
3 real-life examples
How many days until Christmas?
From October 30 to December 25, 2026: 56 days, exactly 8 weeks, or 1 month and 25 days. That includes 40 weekdays (Monday to Friday) and 16 weekend days.
Independence Day to Christmas
From July 4 to December 25, 2026: 174 days, which is 24 weeks and 6 days, or 5 months and 21 days. Of those, 124 are weekdays.
The February 29 trap
From February 28 to March 1 is 2 days in 2024 because the 29th exists, but only 1 day in 2023. Assuming 365 days every year would throw you off by one day every four years.