ToolsForWeb

Date Difference

Pick two dates and get the gap expressed five ways: total days, weeks plus days, calendar months plus days, years plus months plus days, and business days (Monday to Friday). Results are signed, so a reversed range shows negative values, and month arithmetic clamps end-of-month dates the intuitive way. All math is done in UTC so daylight-saving shifts cannot skew a day count. Runs entirely in your browser.

Loading tool…

About this tool

Measures the span between two dates and expresses it five ways at once: total days, weeks plus days, calendar months plus days, years plus months plus days, and business days (Monday to Friday, no holidays). Results are signed — a to-date before the from-date yields negatives — so the tool never guesses which direction you meant. Month arithmetic clamps end-of-month dates the intuitive way (Jan 31 plus one month reaches Feb 28), and all math runs in UTC, so daylight-saving transitions cannot make a day count off by one.

When to use it

Project, leave or rental durations in whatever unit the form asks for.
Counting business days to a deadline or contract milestone.
Age-style year/month/day splits for anniversaries or warranties.
Checking how a date range reads in weeks versus months versus days.

Questions

Why does the month count not always match days ÷ 30?

Months have different lengths, so the tool counts real month-boundary crossings and then the leftover days — 2026-01-01 to 2026-03-01 is 2 months and 0 days (59 days total), not 1 month and 29 days. Advancing past a short month clamps the day: Jan 31 plus one month lands on Feb 28.

What counts as a business day?

Any Monday-to-Friday date in the range — public holidays are not excluded because they differ by country and year. The count is signed with the range, and both endpoints follow the same rule: the day after the earlier date through the later date.

Why did I get a negative number?

You put the later date in the From field. Output is deliberately signed rather than silently swapped, so "minus 59 days" tells you the direction instead of hiding the mistake.

Related tools