Date Difference Calculator
Calculate the exact number of days, weeks, months, or years between two dates.
The Date Difference Calculator answers one deceptively simple question: exactly how far apart are two dates? Enter a start date and an end date to get the precise gap in days, weeks, months, and years. This is most useful when the exact count matters โ for project deadlines where contract language specifies "30 calendar days," for lease expiry calculations where one day off has legal consequences, for loan term verification, for checking how long until a visa or passport expires, or for confirming probationary periods and notice periods at work. The month count uses actual calendar months, not 30-day approximations โ so the gap from January 1 to March 1 is exactly 2 months regardless of how many days are in January and February. A business days option (excluding weekends) is available for work-related calculations.
Date Difference Calculator
Examples
Full Calendar Year โ Jan 1 to Dec 31, 2024
How many days in a standard year vs a leap year.
โ 365 days | 52 weeks + 1 day | 11 months, 30 days | 2024 is a leap year (366 days total, but Dec 31 is day 365 from Jan 1)
90-Day Contract Notice Period
Calculating the end of a 90-calendar-day notice period starting March 1.
โ 89 days | Tip: add 1 day to include both start and end โ 90 days ends May 30
Lease Expiry โ 12-Month Tenancy
Verifying that a lease that starts April 15 runs exactly 12 months.
โ 365 days | Exactly 12 calendar months | 52 weeks, 1 day
Project Timeline โ Agile Sprint
Counting business days in a 2-week sprint (Mon Jan 6 to Fri Jan 17).
โ Calendar: 12 days | Business days: 10 | Exactly 2 working weeks
Historical Gap โ Birth Year to Present
How many days since January 1, 1990.
โ 13,232 days | 36 years, 2 months, 24 days | 1,890 weeks
Tips
- โFor legal and contract purposes, clarify whether "days" means calendar days or business days โ the difference can be 8+ days per month.
- โWhen calculating notice periods, confirm whether the start date counts as day 1 or day 0 โ this shifts the end date by one day.
- โFor visa and immigration purposes, always verify whether "days" are counted from date of arrival or the day after arrival.
- โUse the business days option for work deadlines and court filing deadlines, not just for scheduling meetings.
- โFor loan terms, verify that your lender's calculation method (calendar days vs months) matches what this calculator shows.
Frequently Asked Questions
How is the date difference calculated?
The calculator subtracts the start date from the end date to get total days. It then converts that number to weeks (รท 7), calendar months (counting complete months between the dates), and years (counting complete 12-month periods). The month and year counts use calendar logic, not fixed 30/365-day approximations.
Does it include the start and end date in the count?
By default, the count is exclusive of the start date and inclusive of the end date โ so the difference from Jan 1 to Jan 31 is 30 days. Toggle "include both dates" to add 1 to the count (useful for counting days in a range, like billing periods or rental days).
What is the difference between calendar days and business days?
Calendar days count every day including weekends and public holidays. Business days count only Monday through Friday, excluding weekends. A 30-calendar-day period contains approximately 22 business days. The calculator offers a business days option that excludes Saturdays and Sundays.
What are common uses for this calculator?
Contract review (verifying notice periods, delivery deadlines), legal proceedings (statute of limitations, court filing deadlines), HR administration (probationary periods, anniversary dates), finance (loan term verification, CD maturity), travel planning (visa duration, trip length), and project management (milestone tracking, sprint length).
How does it handle leap years?
Leap years are handled automatically. February 29 is counted as a real day when it falls within the date range. A 365-vs-366-day year difference is already reflected in the total day count โ no manual adjustment needed.
How do I calculate the number of months between two dates accurately?
The calculator counts complete calendar months (e.g., Jan 15 to Mar 15 = exactly 2 months) plus any remaining days. It does not round to the nearest month or use a fixed 30-day month โ it respects the actual length of each calendar month, making it accurate for lease, loan, and contract calculations.
Can I calculate the date difference for dates far in the past or future?
Yes. The calculator supports any valid Gregorian calendar date. This is useful for historical research, genealogy (years since a historical event), long-range planning (years to retirement or maturity date of a long-term bond), or calculating the age of a long-running project.
Related Calculators
D-Day Calculator
PopularCalculate the number of days until or since any date.
Date & TimeAge Calculator
PopularCalculate your exact age in years, months, and days from your birth date.
Date & TimeWork Hours Calculator
Calculate total work hours and pay for any time period.
Work & ProductivityTime Duration Calculator
Calculate the total duration between two times in hours, minutes, and seconds.
Date & Time