Select two dates to calculate the difference
The date difference calculator subtracts the start date from the end date and returns the total number of calendar days between them. Select any two dates above and the result appears instantly — no manual counting required.
The calculation includes all calendar days: weekdays, weekends, and public holidays. A span from January 1 to January 31 returns 30 days, not 31, because the count measures the gap between the two dates rather than including both endpoints.
Once you have the number of days, converting to other units is straightforward. Divide by 7 to get weeks (30 days = 4 weeks and 2 days). Divide by 30.44 for an approximate month count. Divide by 365.25 for years, which accounts for leap years in the average.
For example, the difference between January 1, 2020 and January 1, 2026 is exactly 2,192 days — which is 6 years, spanning two leap years (2020 and 2024).
This calculator counts all calendar days. If you need business days only — excluding weekends and public holidays — the result will be roughly 71% of the calendar day count for most date ranges (5 working days out of every 7). For exact business day counts, public holiday calendars vary by country and cannot be generalised.
Contract durations: Legal and financial contracts often specify terms in days. Calculating from a signing date to an expiry date gives the exact contract length.
Project timelines: Knowing the number of days between a project start and deadline helps with sprint planning and milestone scheduling.
Age in days: The number of days between a birth date and today is your age in days — a figure many people find surprisingly large.
Interest calculations: Some financial products calculate interest on a daily basis. The exact day count between two dates is used to determine accrued interest.
Subtract the earlier date from the later date. Each calendar day counts as 1, including weekends. This calculator performs that subtraction automatically for any two dates you enter.
No. The calculator measures the gap between the two dates. January 1 to January 3 returns 2 days. If you need to include both endpoints, add 1 to the result.
Yes. The calculator uses actual calendar dates, so leap years are automatically included in the count.
Yes. If the end date is earlier than the start date, the result is a negative number.
Divide days by 7 for weeks. For months, divide by 30.44. For years, divide by 365.25.