Days Between Dates
How many days lie between two dates? Enter both and the calculator counts the days — and also breaks the gap down into weeks, and into years, months and days. It does not matter which date comes first.
Your numbers
Result
- Calendar difference
- Enter both dates.
- Whole weeks
- 0
How the count works
The calculator counts the whole days from the earlier date to the later one. Order does not matter — it sorts them for you and returns a positive number. It uses the real calendar, so leap years and different month lengths are handled automatically.
Days, weeks, or calendar difference
The same gap reads three ways. Total days is exact and best for deadlines and countdowns. Weeks suit planning in seven-day blocks. The calendar difference (years, months and days) is the human-friendly version — the way you would say someone's age or how long ago something happened.
Inclusive or exclusive?
This counts the days between the two dates — the difference. If you need to include both the first and last day (as some contracts and rentals do), add one to the total. Watch for this whenever a "number of nights" and a "number of days" seem to disagree by one.
Frequently asked questions
Sources
Embed this calculator
Copy the code and paste it into your site or blog. Credit with a link back to Contania is included, and the height adjusts itself.
<iframe src="https://contania.app/embed/date-time/days-between-dates" title="Days Between Dates Calculator" width="100%" height="720" loading="lazy" style="border:1px solid #e5e0d8;border-radius:12px;max-width:640px"></iframe>
<script>window.addEventListener("message",function(e){if(e.data&&e.data.type==="contania:embed-height"){var f=document.querySelector('iframe[src="https://contania.app/embed/date-time/days-between-dates"]');if(f){f.style.height=e.data.height+"px"}}});</script>Related calculators
Age
Work out an exact age from a birth date: years, months and days, plus the total months, weeks and days lived. Use any reference date.
CalculateDate & TimeBusiness Days
Count the business days (Monday to Friday) between two dates, and see how many weekend days fall in the range. Excludes public holidays.
CalculateDate & TimeCountdown
Count down the days, weeks and months until a future date — a holiday, birthday, deadline or event. Also shows the day of the week it lands on.
CalculateDate & TimeLength of Service
Work out length of service (job tenure) in years, months and days from a hire date. Useful for PTO accrual, vesting, anniversaries and long-service awards.
CalculateDate & TimeMonths Between
Count how many months are between two dates — the calendar difference in years, months and days, plus the total full months. The order of the dates does not matter.
CalculateDate & TimeDue Date
Find the payment due date by adding your net terms (Net 30, 60, 90 or any number of days) to an invoice date, in calendar or business days.
Calculate