How to calculate the days, weeks and months between two dates
How many days until the deadline? How long was it between two events? How many weeks of notice is that? Counting dates by hand is error-prone — leap years, uneven months, and off-by-one endpoints all catch people out. This guide covers the pitfalls.
The fastest way
Pick a start and end date in the Date Difference Calculator and it shows the gap in days, weeks, months and years at once.
The one thing to decide: inclusive or exclusive
From the 1st to the 5th is 4 days if you count the gaps between them, or 5 days if you count every calendar day including both ends. Neither is "wrong" — a hotel counts nights (exclusive), an event programme counts days (inclusive). Know which you need before you read the number.
Why months and years are approximate
Months range from 28 to 31 days and years include leap days, so a span expressed in months or years is a human-readable approximation while the days figure is exact. The calculator shows all of them so you can pick the right unit for the context.
Related date tools
To measure from a birth date to today specifically, the Age Calculator is purpose-built for that. And if your two dates sit in different time zones, convert them to a common zone first with the Timezone Converter so the day boundaries line up.
A note on privacy
The Date Difference Calculator runs entirely in your browser — nothing is uploaded.