Days Between Dates Calculator

Enter a start date and end date to find the exact gap in days, weeks, months, and years.

Why Count Days Between Dates?

Whether you're planning a project timeline, calculating interest accrual, tracking a fitness challenge, or simply counting down to a wedding or holiday, knowing the exact number of days between two dates is surprisingly useful. Date math is deceptively tricky — months have different lengths, leap years add an extra day every four years (with exceptions for century years), and time zones can shift the apparent date by a full calendar day.

This calculator handles all of that automatically. Enter any two dates — past, present, or future — and get an instant breakdown of the gap in days, weeks, remaining days, and approximate months and years.

Common Date Spans Reference

Time SpanApprox. DaysApprox. Weeks
1 month30–31~4.3
1 quarter (3 months)90–92~13
6 months181–184~26
1 year365–36652.1–52.3
2 years730–731~104.3
5 years1,826–1,827~261
10 years3,652–3,653~522
100 years36,524–36,525~5,218

Frequently Asked Questions

How are the days between dates calculated?

The calculator converts both dates to midnight UTC timestamps, subtracts them, and divides by the number of milliseconds in a day (86,400,000). The result is rounded to the nearest whole number. Both the start and end date are counted inclusively depending on the context, but by default we count from the morning of the start date to the morning of the end date.

Does the calculator include both the start and end dates?

The calculator counts the gap between dates — not the days themselves. If you enter Jan 1 and Jan 3, the result is 2 days (the gap from Jan 1 to Jan 3). If you need to include both endpoints (e.g., for event duration), add 1 to the result.

What if I enter the end date before the start date?

The calculator handles reversed dates automatically. It shows the absolute number of days and indicates whether the end date is before or after the start date, so you always get a meaningful result regardless of the order you enter the dates.

How accurate is the weeks and months approximation?

Weeks are calculated exactly (days ÷ 7, remainder shown separately). Months are approximate because calendar months vary in length from 28 to 31 days. The calculator uses a calendar-aware method that counts full calendar months, which is more accurate than dividing by 30.44.

What is a common use case for this calculator?

Common uses include: calculating how many days until a deadline or event, finding the duration of a project or contract, determining how long ago a historical date was, calculating the number of days between payroll cycles, and planning ahead for anniversaries or milestones.

More Free Calculators