A date difference calculator takes two calendar dates and returns the exact span between them — in days, weeks, months, years, or a combination. This comes up more often than you might expect: days until a deadline, weeks until a vacation, months remaining in a contract, years between historical events.
The calculation is straightforward for days — count them. For months and years, you need to decide what 'complete months' and 'complete years' mean when the start and end fall on different calendar positions.
How Days Between Dates Are Calculated
The most reliable method converts both dates to a sequential day count (like Julian Day Number or days since a fixed epoch), then subtracts. This handles month length differences and leap years automatically. From January 1 to March 1 in a non-leap year is 59 days; in a leap year it is 60 days.
An important distinction: is the start date included in the count? If you want to know how many days until an event (from today to the event date), you typically do not include today — so the count is end − start. If you want to know how many days something lasted (including both start and end), add 1.
Example Calculations
Days between two dates: March 15, 2024 to July 4, 2024: March: 16 days remaining (the 16th through 31st) April: 30 days May: 31 days June: 30 days July: 4 days Total: 16+30+31+30+4 = 111 days Weeks: 111 ÷ 7 = 15 weeks 6 days Months and days (less precise): March 15 to July 4 = 3 full months + 19 days
Working Days vs Calendar Days
Some date difference calculations need working days (Monday–Friday) rather than calendar days. A document due '5 business days from today' counts only weekdays. This is more complex to compute manually — you need to exclude weekends and, if needed, public holidays.
The date difference calculator provides both calendar days and an approximate working-days count. For projects dependent on holidays, consult a calendar for the specific jurisdiction.
Common Uses
Personal: days until an event (wedding, vacation, graduation), days since an event (sobriety milestone, anniversary), duration of a pregnancy (typically expressed in weeks and days), age in days for newborns.
Professional: contract duration, project timeline, invoice due date from issuance date, lease term, trial period end date. Legal deadlines are often specified in days from a trigger event — court filings, notice periods, option exercise windows.
Quick Tips
- ✓
Include or exclude endpoints based on what you are measuring. 'Days until' typically excludes today (start = today + 1). 'Duration of' typically includes both start and end.
- ✓
For deadlines: if a 30-day notice period starts today, count 30 days from today. The deadline is today + 30.
- ✓
Leap year matters for February dates. February 28 to March 1 is 1 day normally but 2 days in a leap year.
- ✓
Weeks are always 7 days. Months vary from 28 to 31 days — 'number of months' between dates is approximate.
Frequently Asked Questions
How many days between two dates?
Use the calculator for precise results. For a quick estimate: count the remaining days in the first month, add full months in between (30 × number of months), add days in the final month.
What is 100 days from today?
Use the calculator with today's date and add 100 days. Alternatively, add 3 months and 10 days as an approximation (3 × 30 + 10 = 100).
How many weeks is a year?
Exactly 52 weeks and 1 day (52.142857 weeks). A leap year is 52 weeks and 2 days. The extra day is why the calendar shifts by one weekday each year (two in a leap year).
Can I calculate working days in the calculator?
Yes — the date difference calculator provides both total calendar days and approximate working days (excluding weekends). Enter both dates and read the working days result.
Try the Time Converter
⏱️ Open Time Converter →Related Tools
Related Converters
Related Guides
Age Calculator Guide
5 min read
⏱️ TimeTime Conversion Guide: Seconds, Minutes, Hours, Days, and More
10 min read
⏱️ TimeWhat Are Business Days?
4 min read
⏱️ TimeCountdown Calculator Guide
3 min read
⏱️ TimeMilitary Time Chart: 24-Hour to Standard Time
6 min read
⏱️ TimeHow to Add and Subtract Time: Hours and Minutes
5 min read
Sources
All conversion results are provided for general informational purposes only. Read our full disclaimer.