Find out exactly how many days, weeks, months, or years are between two dates.
This calculator counts the exact number of days between two dates by converting each date to a timestamp and measuring the time span between them. The result is then broken down into weeks, approximate months (using an average month length of 30.44 days), and approximate years (using 365.25 days to account for leap years).
Enter a start date and an end date above, then click "Calculate Difference." The order of the dates doesn't matter — the calculator always measures the positive span between them. Leap years and months of varying lengths are handled automatically.
Counting days between dates comes up more often than you might think. Here are some of the most common situations where a date difference calculator comes in handy:
For related needs, try our Age Calculator to find your exact age from your birthdate.
Suppose you start a 6-month contract on March 1, 2026 and want to know exactly how many days it lasts. Enter March 1, 2026 as the start date and September 1, 2026 as the end date. The calculator counts every calendar day in between — including the different month lengths (March 31 days, April 30, May 31, June 30, July 31, August 31) — giving a result of 184 days, about 26 weeks, or roughly 6 months.
Because the tool uses precise date arithmetic instead of a fixed "30-day month" assumption, this kind of boundary-spanning calculation stays accurate.
How do I calculate the number of days between two dates?
Enter a start date and end date into the Date Difference Calculator and click Calculate. The tool computes the exact number of days, weeks, months, and approximate years between the two dates.
Can I calculate how many days until a future event?
Yes. Set today's date as the start date and your future event date as the end date. The calculator will show exactly how many days remain.
Does the calculator handle different months and leap years?
Yes. The calculator uses precise date arithmetic that accounts for months of different lengths and leap years, giving you an accurate day count.
Does the order of the dates matter?
No. The calculator always measures the positive span between the two dates, so you can enter them in either order.