Find the Exact Gap Between Any Two Dates
Pick a start date and an end date, and this date difference calculator instantly shows you the gap in years, months, days, total days, and weeks — no mental arithmetic, no spreadsheet needed.
It is useful any time you need to know how far apart two dates are: counting down to a deadline, figuring out how long a project took, checking how many days until a birthday, or working out an age to the day.
How to Use the Date Difference Calculator
- Enter a start date — type it or use the date picker.
- Enter an end date — any date in the past or future works.
- Choose whether to include the end date — toggle this if you want to count that last day (more on that below).
- The result appears instantly: years, months, days, total days, and total weeks.
No button to press. The answer updates the moment you change either date.
Worked Example: Days Between Two Dates
Say you want to know the gap between 14 March 2023 and 9 November 2024.
| Unit | Result |
|---|---|
| Years, months, days | 1 year, 7 months, 26 days |
| Total days (end date excluded) | 606 days |
| Total days (end date included) | 607 days |
| Complete weeks | 86 weeks, 4 days |
The calculator gives you both figures so you can use whichever suits your situation.
How the Date Difference Is Calculated
Under the hood the tool uses a simple rule: subtract the earlier date from the later date to get the number of elapsed days, then convert that into bigger units.
Total days = End date − Start date
Weeks = Total days ÷ 7 (remainder = leftover days)
Months = counted by calendar months, then remaining days
Why months are trickier than days: calendar months are different lengths (28–31 days), so the tool walks forward month by month rather than dividing by a fixed number. That is why you get a precise answer like "1 year, 7 months, 26 days" instead of an approximation.
Including vs. excluding the end date: by default the end date is not counted — so the gap from 1 Jan to 1 Feb is 31 days. Switch the toggle on and it becomes 32 days. Use "include end date" when you need to count every calendar day a person was present (e.g. a hospital stay or a rental period).
Quick Reference: Common Date Gaps
| Situation | Total days (approx.) |
|---|---|
| 1 calendar month (Jan) | 31 days |
| 1 calendar quarter | 90–92 days |
| 6 months (non-leap year) | 181–184 days |
| 1 year (non-leap) | 365 days |
| 1 year (leap year) | 366 days |
| 2 years | 730 or 731 days |
Other Ways People Ask This Question
People phrase the same calculation several different ways. Here is what each one usually means:
- Days between dates — the raw count of days from one date to another. Best for scheduling, deadlines, and countdowns.
- Time elapsed / time since — often phrased as "how long ago was X?" Start from a past date, end on today.
- Days until — the reverse: start on today, end on a future date. Great for event countdowns.
- Age in days / months — enter a birthdate as the start and today as the end to get an exact age breakdown.
- Working days between dates — this calculator counts all calendar days. If you need to skip weekends and holidays, a business-days tool is the right fit for that.
- Date duration — the total length of a period, often used in contracts or project timelines.
Tips and Common Mistakes
- Put the earlier date first. Most tools handle reversed dates gracefully, but double-check the sign if you are doing comparisons by hand.
- Remember leap years. Feb 29 exists only in leap years. The calculator handles this automatically, but be careful if you are working out durations by hand across February.
- Do not mix up "months elapsed" and "month number." From 31 Jan to 1 Feb is 1 day, not 1 month.
- Decide upfront whether the end date counts. Rental agreements and hospital billing usually include it; project timelines usually do not.
- Time zones do not affect date calculations unless the two events happened in very different time zones near midnight. For most everyday uses, the calendar date is all you need.
Your Data Stays Private
Everything runs entirely in your browser. The dates you enter are never sent to any server, stored in a database, or shared. Close the tab and they are gone.
Pick your two dates above and get the exact gap in seconds. Whether you are planning an event, checking a contract period, or just satisfying curiosity, the date difference calculator gives you a clear, reliable answer every time.