Date Difference Calculator

Find out exactly how much time is between two dates — the total days and weeks, plus a clean years, months and days breakdown. Put the dates in either order; the gap is worked out instantly in your browser.

Total days
Total weeks
Years, months & days

The order of the dates doesn’t matter — the gap is always shown as a positive amount. “To date” defaults to today, so you can measure how long ago (or how far ahead) the other date is.

🔒 100% private — calculated on your device, nothing is uploaded.

How to use the date difference calculator

  1. From date — pick the first date, such as a start date, a deadline or a birthday.
  2. To date — leave it on today to measure up to now, or choose any other date.
  3. Read off the total days, the total weeks, and the exact years, months and days between them — every figure updates the moment you change a date.

Three ways of measuring the same gap

A span of time can be described in more than one true way, and each is useful for a different job. Thetotal days count is the precise whole-day distance between the two dates — ideal for deadlines, notice periods, billing cycles and anything counted day by day. The total weeks figure groups those days into sevens, which is how people often plan pregnancies, sprints, training blocks and rotas. Theyears, months and days breakdown is the human way of saying it out loud — “2 years, 4 months and 9 days” — because the calendar isn’t made of equal-length months and a plain decimal would hide the real shape of the span.

Why the order of the dates doesn’t matter

It’s easy to type the later date first by mistake, so this tool measures the absolute difference: it always counts from the earlier date to the later one and reports a positive result. That means you can use it to look both backwards (“how long ago was this?”) and forwards (“how far away is this?”) without worrying about which box each date goes in. Leap years are respected throughout, so a span that crosses a 29 February stays accurate to the day.

What you can use it for

Is it private?

Completely. The dates you enter never leave your device — the calculation runs in JavaScript right inside this page, with no server call, no account and no tracking of what you type. Close the tab and nothing is saved.

Frequently asked questions

Does the count include both the start and end day?

It counts the whole days between the two dates. The day you start on is day zero, and the total goes up by one for each full day that passes until the end date.

Why is the weeks figure shown with leftover days?

Most gaps aren’t a whole number of weeks, so the calculator shows the full weeks plus any remaining days — for example “7 wk 3 days” — instead of rounding.

Can I measure between two future dates?

Yes. Both fields accept any date, past or future, so you can measure the gap between any two points in time.