Skip to content
Free Tool Arena

Productivity · Free tool

Days Between Dates

Count days, weeks, months, and years between any two dates — with a clean Y/M/D breakdown. Free, browser-only.

Updated May 2026

Difference

30 days

30 days

Weeks

4.29

Months

0.99

Years

0.08

Found this useful?Email

Advertisement

What it does

Count the days, weeks, months, or years between two dates — with a clean year/month/day breakdown for "X years and Y months and Z days" outputs. Handles forward and backward spans (negative numbers when "to" is before "from").

Useful for project deadlines, age calculations from a specific reference date, contract durations, and the kind of "how long until X" question that comes up constantly.

Embed this tool on your siteShow snippet

Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.

<iframe src="https://freetoolarena.com/embed/days-between-dates" width="100%" height="720" frameborder="0" loading="lazy" title="Days Between Dates" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>
Embed docs →

How to use it

  1. Pick the From date.
  2. Pick the To date.
  3. Read the difference in days, weeks, months, years, plus a Y/M/D breakdown.

Frequently asked questions

How are months counted?
The Y/M/D breakdown counts calendar months — going from Jan 31 to Mar 1 is 1 month and 1 day, not 29 days. Total weeks/months/years use averaged values (30.4375 days/month, 365.25 days/year) which is more useful for averages but less precise for any specific span.
Does it handle leap years?
Yes. JavaScript's Date object handles leap years automatically; the day count between Feb 1, 2024 and Mar 1, 2024 is correctly 29 days.

Advertisement

Learn more

Explore more productivity tools

100% in-browserNo downloadsNo sign-upMalware-freeHow we keep this safe →