How to Calculate Date Duration Online for Free (2026 Guide)
"How many days is that, exactly?" Whether you're counting down to a wedding, measuring a project timeline, checking a contract's notice period, or working out how long a subscription has been running, the answer is rarely obvious in your head โ months have different lengths, leap years interfere, and off-by-one errors are everywhere. Our Date Duration Calculator gives you the exact answer in seconds: free, no signup, running entirely in your browser.
What the date duration calculator does
You enter two dates โ a start and an end โ and the tool calculates the exact number of days between them. Alongside the day count it also shows the equivalent in weeks, approximate months and approximate years, which is handy when you need to report a duration in different units. The calculation uses the absolute difference, so it works whichever date you enter first, and it correctly accounts for leap years and months of varying lengths.
Step-by-step: calculating days between two dates
- Open the Date Duration Calculator.
- Click "Start date" and choose the earlier date from the calendar picker (or type it).
- Click "End date" and choose the later date.
- Press Calculate. The result shows the total days in large type, e.g. 183 days, with weeks, months and years beneath it, e.g. 26.1 weeks โข 6.0 months โข 0.50 years.
The whole thing takes about five seconds โ far less than counting on your fingers or building a spreadsheet formula.
Example 1: project timeline
Suppose a project runs from 1 January 2026 to 30 June 2026 and you need to state its duration in a report. Enter both dates and hit Calculate: the tool returns 180 days (with 25.7 weeks, ~5.9 months, ~0.49 years). You can now write "the 180-day project" with confidence instead of guessing "about six months". Try a trickier span โ 15 February 2024 to 15 March 2024 โ and you'll get 29 days, because 2024 was a leap year and February had 29 days. The calculator gets this right automatically; mental math rarely does.
Example 2: notice periods and countdowns
Rental agreements and contracts often require notice "30 days before" a date. If your tenancy ends 31 December 2026 and you must give 30 days' notice, enter 1 December and 31 December: the result is 30 days, confirming you need to notify by 1 December at the latest. It also works as a countdown: enter today and a future date โ an exam, a flight, a product launch โ and you get the exact number of days remaining, which is far more motivating (and accurate) than "about three weeks".
Example 3: anniversaries and milestones
Curious how long ago something happened? Enter a past date and today. A business founded 14 March 2015 gives a day count in the thousands plus the approximate-year figure โ perfect for milestone announcements ("10 years in business" is nicer backed by an exact number). Pair it with our Age Calculator when you need the result broken into years, months and days instead of a raw total.
Understanding the units
The primary figure โ days โ is exact. The other units are derived: weeks divide days by 7 (exact), while months divide by 30.44 (the average month length) and years by 365.25 (accounting for leap years). Treat months and years as convenient approximations; for anything contractual, always quote the day count.
Common mistakes to avoid
- Off-by-one counting: "30 days before the 31st" โ people often land on the 2nd instead of the 1st. The calculator removes the ambiguity.
- Ignoring leap years: Any span crossing a 29 February is a day longer than the same span in a normal year.
- Assuming "a month = 30 days": A "three-month" period from January is 89 or 90 days; from February it's 84 or 85. Use the exact count for deadlines.
- Forgetting which date comes first: Don't worry โ the tool takes the absolute difference, so order doesn't matter.
Privacy and cost
The calculation happens in JavaScript on your device โ your dates are never uploaded anywhere. The tool is free forever, with no limits and no account needed.
Frequently asked questions
Does the calculator handle leap years?
Yes. The day count is computed from the actual calendar, so 29 February is included exactly when it falls inside your range.
Does it matter which date I put first?
No. The tool uses the absolute difference between the two dates, so swapping start and end gives the same result.
Are the months and years exact?
Days and weeks are exact. Months (days รท 30.44) and years (days รท 365.25) are standard approximations โ fine for estimates, while the day count is the figure to use for anything precise.
Try it now: Free Date Duration Calculator