Count the exact number of days, weeks, months, and years between two dates — or find what date lands a set number of days forward or backward from any starting point.
Count days between dates, or find a date a set number of days away
See the exact gap between two dates in days, weeks, months, and years — useful for anything requiring a precise duration.
Find exactly what date lands a set number of days forward or backward from any start date, correctly handling month and year rollovers.
Both calculations run entirely client-side — no waiting, nothing sent to or stored on a server.
Working out "how many days until X" or "what date is 45 days from now" by hand means correctly tracking that months have different lengths — 28, 29, 30, or 31 days — and that leap years add an extra day roughly every four years. It's easy to be off by a day or two counting on a physical calendar, especially crossing a month boundary or a leap year, and a one-day error can matter more than it seems when it's a visa validity period, a legal notice period, or a warranty deadline being calculated.
This gets even trickier when the calculation spans multiple months of varying length, or when a deadline falls on the last day of February in a leap year — cases that are individually simple but easy to get wrong when chained together manually. A calculator that works from actual calendar dates rather than a rough day-count approximation removes this entire category of error, and it handles a multi-decade span just as reliably as a two-week one.
The days-between-dates calculation converts both dates into a single day count from a fixed reference point, then subtracts one from the other — the same underlying method computers use to compare any two dates, which automatically and correctly accounts for varying month lengths and leap years without needing any special-case logic. Weeks is simply days divided by 7; months and years are approximated using average month and year lengths (roughly 30.44 and 365.25 days respectively), since months and years don't have a single fixed length the way weeks and days do.
The add/subtract calculation works in reverse: starting from a chosen date, it adds (or subtracts, for a negative number) the specified number of days, letting the calendar naturally roll over month and year boundaries correctly. This is more reliable than counting forward on a physical calendar by hand, especially for longer spans, because it's not susceptible to miscounting a month's actual day total partway through.
Both calculations use the same underlying date arithmetic, just applied in different directions — one counts the days between two known dates, the other finds an unknown date given a known date and a day count. Recognizing which of the two you actually need is usually the easy part; the value of a dedicated tool is in never having to manually verify a month's day count or a leap year while doing it.
A few common situations
Work out exact stay durations or visa validity windows that hinge on precise date counts.
Calculate a deadline that falls a fixed number of days after a notice or filing date.
Find exactly how many days remain until a wedding, exam, or project deadline.
Find the exact expiry date of a warranty or subscription that runs a set number of days.
Calculate date ranges tied to a specific number of days from a reference date.
Work out billing periods or project timelines spanning a specific day count.
Verify the exact end date of a lease or contract running a specific number of days or months from its signing date.
Cross-check the exact day count a bank or lender uses for interest accrual calculations, since even a one-day discrepancy can shift the accrued interest slightly.
This calculator counts calendar days — every day on the calendar, including weekends and public holidays. Many legal, contractual, and administrative deadlines instead specify "business days" or "working days," which exclude weekends and sometimes public holidays as well. A "10 business day" deadline can span 14 or more calendar days depending on how many weekends and holidays fall within that window, so it's worth checking whether a given deadline is stated in calendar days or business days before relying on this tool's day count directly, since using the wrong interpretation can shift a deadline by several days.
If you need a business-day count specifically, you can still use this tool's calendar-day result as a starting point — take the calendar day gap, subtract roughly two days for every full week in the range to approximate weekends, then adjust further for any public holidays that fall within the window. For an exact business-day count, especially across a range with irregular holidays, a specialized business-day calculator that accounts for a specific country's holiday calendar is more reliable, since public holidays vary by country, region, and even by industry sector in some cases.
| Unit | Exact or approximate? | Why |
|---|---|---|
| Total days | Exact | Direct calendar subtraction, no rounding involved |
| Total weeks | Exact | Total days simply divided by 7 |
| Months | Approximate | Months vary from 28 to 31 days, so a day count doesn't divide evenly |
| Years | Approximate | Leap years mean not every year is exactly 365 days |
If your use case needs an exact figure — a legal deadline, for instance — always use the total days figure rather than the approximate months or years conversion, since only the days count is a precise calendar calculation with no averaging involved.
A frequent error when counting days manually is forgetting whether to include the start date, end date, both, or neither — "from March 1 to March 10" can mean 9 days or 10 days depending on whether both endpoints are counted, and different contracts, exams, or legal notices define this differently. This tool calculates the calendar difference (end date minus start date), so always check the specific wording of whatever deadline or rule you're working against to see if it expects an inclusive or exclusive count, and adjust by a day if needed — this is a genuinely common source of off-by-one errors even among people who are otherwise careful with dates. When the stakes are high, it's worth re-reading the exact wording of the relevant rule or notice twice before finalizing a date calculated this way.
Another common slip is forgetting a leap year when manually adding a large number of days — mentally adding "365 days" to a date that spans a leap year produces a date one day off from the correct answer. Using an exact date-based calculator like this one avoids that entirely, since it works from real calendar dates rather than a fixed 365-day assumption.
Calendar math looks simple but has real edge cases — varying month lengths, leap years, and inclusive-vs-exclusive counting conventions — that make manual counting error-prone for anything beyond a few days. Whether you need the days between two known dates or an unknown date a set number of days from a known one, working from actual calendar arithmetic rather than rough estimation is what keeps the answer exact, which matters most when the number feeds into a legal, financial, or travel deadline. Bookmarking this tool for the next time a date-math question comes up saves re-deriving the leap-year and month-length logic by hand each time.
Date math looks simple but hides real complexity in varying month lengths and leap years, which is exactly where manual calendar counting tends to introduce small errors. Both calculations here — counting the days between two dates, and finding a date a set number of days away — use a proper calendar-based method rather than a rough approximation, so the day count is always exact even though month and year figures are necessarily approximate averages. Whether you're checking a legal deadline, a visa window, or simply counting down to an event, this tool handles the underlying calendar arithmetic correctly every time, without the risk of a manual off-by-one or leap-year mistake.
Enter a start date and end date, and the calculator instantly shows the exact number of days between them, along with the equivalent in weeks, and approximate months and years.
Yes. You can calculate the difference between any two dates — past, present, or future — in either order, and the result is always shown as a positive count.
Use the Add/Subtract Days section. Set today as the start date and enter 90 in the days field to see the exact resulting date.
Yes, enter a negative number (e.g. -30) in the days field to move backward from the start date instead of forward.
Months and years vary in length (28-31 days, 365-366 days), so converting an exact day count into months or years is necessarily an approximation using average lengths, unlike the exact days and weeks figures.
Yes, completely free with no signup required.
Yes, both the date difference and add/subtract calculations use real calendar dates, so leap years are automatically handled correctly without any manual adjustment.
This depends on the specific rule or deadline you're working against — this tool calculates the calendar gap between two dates, so check whether your specific context (a legal notice, an exam eligibility window) expects an inclusive or exclusive count and adjust by a day if needed.
Yes, there's no meaningful limit on how far apart the two dates can be — the calculation works the same way for a 10-day gap or a 50-year gap.
No, all calculations run entirely in your browser and no dates you enter are sent to or stored on a server.
This tool counts calendar days, including weekends and holidays. If you need a business-day count, subtract weekends and any relevant public holidays from the calendar-day figure this tool provides.
Yes, entering a negative number in the Add/Subtract Days field moves the calculation backward from the start date instead of forward, giving you a past date rather than a future one.