Pick two dates and get the exact number of days between them, plus weeks, months, and a full calendar breakdown.
Days Between Two Dates Calculator
Quick presets
Counting method: dates are compared at UTC midnight, so time zones and daylight saving changes never shift the answer. The default count shows elapsed days; tick "Include end date in the count" to count both endpoints.
Counting Days: Inclusive or Exclusive?
When you calculate days between dates, the first decision is whether to count the start date, the end date, both, or neither. The table below states the counting assumption for each common use case.
| Use case | Counting assumption | Example or note |
|---|---|---|
| Hotel nights | Exclusive of the checkout day: count nights, not calendar days stayed. | Check-in January 1, check-out January 5 = 4 nights, not 5. |
| Rental periods | Varies: use the counting stated in the rental agreement; do not assume a universal inclusive or exclusive rule. | Check the agreement to see whether the return day is counted. |
| Project deadlines | Days remaining, exclusive of today when counting forward, on the stated assumption that today is day 0. | From today to a deadline 4 days ahead, count the 4 days after today. |
| Leave / vacation days | Inclusive of both the start and end dates, when the leave covers both days. | Leave from January 1 through January 5, with both days taken, = 5 leave days. |
| Loan interest days | Varies by lender: use the counting method stated in the loan terms; do not assume a universal rule. | Check the loan terms for how interest days are counted. |
What This Calculator Does
The Days Between Two Dates calculator tells you exactly how many days separate any two dates you choose. It works for dates in the past, the present, and the future. Alongside the main result, it shows you:
- Elapsed days: the number of full days between the two dates.
- Inclusive count: the total when you count both the start and end dates.
- Full weeks and remaining days: the same span expressed as weeks plus leftover days.
Everything updates instantly as you change your dates, right in your browser.
How to Use It
- Open the Days Between Two Dates calculator page.
- Enter your start date in the first date field.
- Enter your end date in the second date field.
- Read your result. The elapsed days, inclusive count, and weeks breakdown appear automatically.
That is all there is to it. No account, no download, no waiting.
Elapsed vs. Inclusive Counting: An Example
Consider the dates 2026-01-01 (January 1) and 2026-01-10 (January 10):
- Elapsed days: 9. This is the number of days that pass from the start of January 1 until the start of January 10.
- Inclusive count: 10. This counts both January 1 and January 10 as part of the total.
Which one you need depends on what you are counting. A rental booked from the 1st through the 10th usually charges for 9 nights but covers 10 calendar days. DateNook shows both so you can pick the one that fits.
Leap Years and Month Lengths
You do not need to remember which months have 30 or 31 days, or when February gains a day. The calculator follows the Gregorian calendar, so:
- Month lengths are handled automatically (30 days for September, 31 for October, and so on).
- Leap years are handled automatically. A date range from 2024-02-25 to 2024-03-05 correctly includes February 29, 2024.
If your range crosses a leap day, the result reflects it without you doing anything special. Working in weeks instead of days? Our week calculator counts the full weeks and leftover days between the same two dates.
Common Everyday Uses
- Trip planning: figure out exactly how long a holiday lasts or how many nights you will be away.
- Deadlines: see how many days remain before a project, application, or payment is due.
- Anniversaries and birthdays: count the days until the next celebration.
- Countdowns: track days remaining until a launch, an exam, or a move.
- Age in days: find the number of days between a birth date and today (or any other date).
- Subscription and contract periods: check the length of a billing cycle or agreement span.
Try It Now
Pick your two dates and get the answer instantly.
Related calculators: Weeks Between Dates Calculator · Age Calculator · Days From Today Calculator - Business Days Calculator · Time Duration Calculator
Frequently Asked Questions
Does the calculator count the start date, the end date, or neither?
The main result is the elapsed count, which does not double-count either endpoint. The inclusive count, shown alongside, includes both endpoints. Use whichever suits your situation.
Can I calculate days between a past date and today?
Yes. Enter the earlier date as the start date and today as the end date. The result is the number of days that have elapsed between them.
What if I enter the end date before the start date?
The calculator flags it and tells you which date comes first, so you never get a misleading result. Just use the Swap Dates button (or place the earlier date first) to read the span forward.
How are leap years handled?
The calculator uses standard Gregorian calendar rules, so any range that includes February 29 of a leap year counts that extra day. You never need to adjust for it manually.
Do my dates get sent to a server?
No. The calculation happens locally in your browser. Your dates never leave your device. See the Privacy Policy for the full picture.
Are the results suitable for legal or contractual use?
They are general informational calculations based on standard calendar arithmetic. For anything with legal, financial, or contractual consequences, verify the count independently before relying on it. See the Disclaimer.
How do I calculate days between dates?
Enter your start and end dates in the calculator above. It counts the exact calendar days between them, including leap years and month lengths, and shows the total days, weeks, and months. You can also choose whether to include the end date.
How to Calculate Days Between Two Dates (With Worked Examples)
