Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between two dates, including business days.
How it works
Enter any two dates, in any order, and the calculator reports how far apart they are. Both dates are read as plain calendar dates — no time of day, no time zone — so the result doesn't change based on when or where you opened the page.
Total days is the whole number of days between the earlier and later date. Order tells you which date you entered actually comes first, so putting them in the "wrong" field order still gives a correct, clearly labeled answer instead of an error or a negative number.
The exact years/months/days breakdown uses calendar arithmetic, not a fixed day-per-month average: it advances the earlier date forward whole months at a time — shortening the day of month when a target month is too short (so January 31 plus one month lands on February 28, not March 3) — until one more month would pass the later date, then counts whatever's left as days. That's the same logic you'd use counting by hand on a calendar, so "1 year, 2 months, 3 days" here matches what most people would count manually.
The approximate weeks, months, and years are a different, simpler calculation: the total day count divided by an average length — 7 days for a week, 30.436875 days for a month, 365.2425 days for a year (the actual average length of a year in the Gregorian calendar, which has 97 leap years per 400-year cycle). These give a single decimal figure — "8.4 months" — that's convenient for a rough sense of scale, but they're not calendar-exact the way the years/months/days breakdown is.
Business days counts weekdays (Monday through Friday) in the range, excluding the start date itself. This excludes weekends only — there's no per-country holiday calendar built in, so a weekday that's a national holiday in your country is still counted as a business day. If you need a working-day count net of public holidays, treat this figure as a starting point and subtract the holidays that apply to you.
Examples
Counting down to a future date. From September 28, 2026 to June 12, 2027 is 257 days — 0 years, 8 months, and 15 days exactly, or approximately 36.7 weeks, 8.4 months, and 0.70 years. Of those 257 days, 184 are weekdays (Monday–Friday).
Entering the dates in reverse order. Entering June 12, 2027 first and September 28, 2026 second gives the same 257-day gap, but the result says the second date comes before the first — the calculator sorts the pair internally instead of rejecting the "wrong" order.
A short span that crosses two holidays. From December 24, 2026 to January 2, 2027 is 9 days, all captured as 0 years, 0 months, 9 days. The business-day count for that span is 6 — but that count includes Christmas Day (Friday, December 25) and New Year's Day (Friday, January 1), both of which fall on weekdays and are therefore counted, even though almost nowhere actually treats them as ordinary working days.
Things to watch for
- Business days here means "weekdays," not "working days a business was open." Only Saturday and Sunday are excluded. Public holidays — Christmas, New Year's Day, and every other national or regional holiday — are counted as business days if they fall Monday through Friday, as the December 24 – January 2 example above shows.
- The exact and approximate figures answer different questions. "0 years, 8 months, 15 days" is a calendar-accurate breakdown; "8.4 months" is the same gap expressed as a single decimal number using an average month length. They won't always round to the same thing, and that's expected, not a bug.
- Either date can come first. You don't need to know in advance which date is earlier — enter them in any order and check the "order" note in the result to see which one the calculator determined comes first.
- Same-day input isn't an error. Entering the same date twice returns a valid zero-day result rather than a warning.
- Everything runs in your browser. Neither date you enter is sent to a server; the calculation happens locally on your device.
Frequently asked questions
Last updated: 09/28/2026