Date Difference Calculator
How many days between two dates? Get the exact count, plus weeks and a calendar-accurate years–months–days breakdown.
Enter your dates
Your results
Total days
—
Counts the days between the dates.
How it works
The day count is the exact number of midnights between the two dates, computed from UTC timestamps so daylight-saving changes can't shift it:
The years–months–days breakdown is calendar-aware, not just days ÷ 365. It counts full years first, then full months, then leftover days — borrowing the real length of each month (including leap-year February) when the day-of-month doesn't line up. Weeks are simply days ÷ 7.
Frequently asked questions
Does the day count include the end date?
This calculator counts the days between the two dates, not including the start date, so January 1 to January 2 is 1 day. That is the standard most date calculators use.
How are the years and months in the breakdown counted?
Calendar-aware: full years first, then full months, then leftover days, borrowing actual month lengths as needed, including leap-year February. The total days always match the exact day count.
Why does another calculator give a different number?
Usually it is an off-by-one difference: some tools count both endpoints. Also check time zones, this tool treats each date as a whole calendar day, which avoids daylight-saving quirks.
Can I use this to compute someone's age?
Yes, enter the birth date and today. For a dedicated tool with birthday extras, try our Age Calculator.
Next steps
Age Calculator
Exact age in years, months, and days between any two dates.
Everyday mathPercentage Calculator
Percent of a number, what-percent, and percentage change — solved instantly.
HealthSleep Cycle Calculator
Find the best bedtimes or wake-up times based on 90-minute sleep cycles.
Why date math is deceptively hard
Counting days between two dates looks trivial until the edge cases appear. Leap years: February 29 exists in years divisible by 4, except centuries not divisible by 400 (1900 had none; 2000 did). Daylight saving: some days are 23 or 25 hours long. Time zones: where a ‘day’ boundary falls depends on where you stand.
Then there is convention: is the end date inclusive or exclusive? And ‘business days’ need a holiday calendar that differs by country and employer. This calculator counts exact calendar days; for contracts, payroll, and deadlines, confirm which convention the other party uses.
How we calculate & limitations
Assumptions & limitations: Gregorian calendar; whether to count the end date depends on your use case.