Date Difference Calculator
Calculate the exact duration between two dates in years, months, weeks, days, hours, minutes, and seconds
Total Equivalents
Business Days Breakdown
Pick two dates and get the exact difference in years, months, weeks, days, hours, minutes, and seconds — with options for business days and inclusive end-date counting. No more guessing at month lengths or fumbling with leap years.
And everything runs in your browser. Nothing gets uploaded.
How It Works
The calculator walks through the calendar from your start date to your end date, accounting for months with different lengths and leap years along the way. It doesn’t just divide by 30 — it actually tracks each month boundary. The result gets split into every unit you might need: years down to seconds, plus a total-days count and business days if you want them.
Examples
Planning a wedding countdown
Your wedding is set for October 12. You want to know how many days are left to finish planning.
Start: March 23, 2026
End: October 12, 2026
6 months, 19 days
203 total days
145 business days
How long since a product launched
Your app went live on January 15, 2023. A stakeholder wants the exact age for an anniversary blog post.
Start: January 15, 2023
End: March 23, 2026
3 years, 2 months, 8 days
1,163 total days
831 business days
Calculating remaining lease days
Your office lease runs through August 31, 2027. Finance needs the exact day count — including the end date — to prorate the final month correctly.
Start: March 23, 2026
End: August 31, 2027
Include end date: Yes
1 year, 5 months, 9 days
528 total days (end date included)
377 business days
Who Uses This
Figuring out sprint lengths, milestone gaps, and how many working days sit between a kickoff and a deadline.
Counting notice periods, contract durations, and probation windows down to the exact day.
Calculating lease lengths, days until closing, or how long a property has been on the market.
Counting study days before an exam or the number of school days left in a semester.
Common Mistakes
January 1 to January 3 is 2 days by default — the end date isn’t counted. If you need both endpoints (like billing both the first and last day), turn on “Include end date” to get 3 days instead.
Business days here means Monday–Friday. Public holidays vary by country and aren’t removed automatically. If Christmas falls on a Wednesday, it still counts. Subtract those manually for your region.
The result “2 months, 15 days” doesn’t mean exactly 75 days. Months have different lengths — February to April is 2 months but only 59 days, while July to September is 2 months and 62 days. Check the total-days line if you need a flat number.
Technical Details
- Processing: 100% client-side — no server requests, works offline
- Date Range: Any valid date your browser supports (typically year 0001 to 9999)
- Leap Year Handling: Full Gregorian calendar rules (divisible by 4, skip centuries, keep 400s)
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
How do I calculate the number of days between two dates?
Enter your start date and end date in the fields above. The calculator shows the difference right away — total days, weeks, months, and years. No sign-up or formula needed.
Does the date calculator account for leap years?
Yes. It follows the full Gregorian leap-year rules. Years divisible by 4 are leap years, except century years — unless they’re also divisible by 400. So 2024 is a leap year, 1900 was not, and 2000 was.
What are business days and how are they counted?
Business days are weekdays — Monday through Friday. The calculator walks through each day in your range and skips Saturdays and Sundays. It does not account for public holidays since those differ by location. You’d need to subtract those yourself.
Can I calculate the difference in hours or minutes?
Absolutely. The “Total Equivalents” section breaks the full span into hours, minutes, and seconds. So if two dates are 45 days apart, you’ll also see 1,080 hours, 64,800 minutes, and 3,888,000 seconds.
Is my date data stored or sent anywhere?
No. Every calculation runs in JavaScript inside your browser. Nothing is transmitted to a server. Once you close the tab, there is no trace of your input anywhere.