📅 Days Between Dates + Add/Subtract

Days Between Dates Calculator

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.

📅 Days Between Dates

Days
Weeks
Months (approx)
Years (approx)

➕ Add/Subtract Days

Result Date
Day of Week
⚡ Instant results
🗑️ No data saved
📵 No signup needed
How many days between two dates? Enter a start date and an end date above — the calculator instantly counts the exact number of days between them, plus the equivalent in weeks, and approximate months and years, correctly handling leap years and varying month lengths.

Two date calculations, in one tool

Count days between dates, or find a date a set number of days away

Days between dates

See the exact gap between two dates in days, weeks, months, and years — useful for anything requiring a precise duration.

Add or subtract days

Find exactly what date lands a set number of days forward or backward from any start date, correctly handling month and year rollovers.

Instant, in your browser

Both calculations run entirely client-side — no waiting, nothing sent to or stored on a server.

Planning a schedule and tracking dates for a deadline or event

Calendar math is trickier than it looks

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.

How the calculations work

 

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.

When people reach for a date calculator

A few common situations

✈️ Visa & travel validity

Work out exact stay durations or visa validity windows that hinge on precise date counts.

📄 Legal & notice periods

Calculate a deadline that falls a fixed number of days after a notice or filing date.

🎉 Event & deadline countdowns

Find exactly how many days remain until a wedding, exam, or project deadline.

🛡️ Warranty & subscription tracking

Find the exact expiry date of a warranty or subscription that runs a set number of days.

🤰 Pregnancy & medical date tracking

Calculate date ranges tied to a specific number of days from a reference date.

💼 Project & billing cycles

Work out billing periods or project timelines spanning a specific day count.

📋 Contract & lease terms

Verify the exact end date of a lease or contract running a specific number of days or months from its signing date.

🏦 Interest & loan period checks

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.

Calendar days vs. business days

 

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.

Days, weeks, months — how the conversions work

UnitExact or approximate?Why
Total daysExactDirect calendar subtraction, no rounding involved
Total weeksExactTotal days simply divided by 7
MonthsApproximateMonths vary from 28 to 31 days, so a day count doesn't divide evenly
YearsApproximateLeap 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.

Common date calculation mistakes

 

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.

Quick recap

 

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.

📖 How to count days between dates

1
Choose your calculation — Use "Days Between Dates" to count the gap between two dates, or "Add/Subtract Days" to find a future or past date.
2
Enter your dates — Select the start and end dates, or a start date and number of days.
3
Click "Calculate" — Results in days, weeks, months, and years — or the resulting date — appear instantly.

Frequently asked questions

 

How many days are between two dates?

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.

Can I calculate days between any two dates?

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.

How do I find a date 90 days from today?

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.

Can I subtract days to find a past date?

Yes, enter a negative number (e.g. -30) in the days field to move backward from the start date instead of forward.

Why do the month and year figures say "approx"?

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.

Is this tool free?

Yes, completely free with no signup required.

Does this calculator account for leap years?

Yes, both the date difference and add/subtract calculations use real calendar dates, so leap years are automatically handled correctly without any manual adjustment.

Should I count the start date, end date, both, or neither?

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.

Can I calculate a date far in the past or future?

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.

Is my date data stored anywhere?

No, all calculations run entirely in your browser and no dates you enter are sent to or stored on a server.

Does this calculate business days or calendar days?

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.

Can I use negative numbers to subtract days?

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.