Back to tools

Date Calculator

Find the difference between two dates — or add / subtract days from a starting date.

Advertisement

Years

0

Months

0

Days

0

Total days

0

Total weeks

0 weeks, 0 days

Advertisement

Two modes, one job

The Date Calculator combines the two most-searched date questions into one tool. Use Date difference when you have two known dates and want to know how far apart they are — for age, project timelines, notice periods, warranty windows or contract terms. Use Add / subtract days when you know a starting date and need to find the exact calendar date some number of days before or after it — deadline planning, delivery estimates, or working out a due date.

Why the answers are correct

For the difference, we use two representations: the total number of calendar days between the two dates (the answer to "how many days"), and the same range broken into years, months and days using calendar-borrow arithmetic — the same rule official forms use for age. Add / subtract uses native JavaScript date arithmetic, which correctly accounts for month lengths, leap years and DST changes.

Real-world uses

  • How many days until my exam / interview / event?
  • Notice period ends on what date if I resign today?
  • Warranty expires when if it started on a given date + 730 days?
  • Baby delivery date estimated as last-period + 280 days.
  • Legal deadline: filing due 90 days after the notice.

Worked examples

  • Days between two dates: 1 January 2026 to 1 March 2026 = 59 days (January has 31 days, February 2026 has 28).
  • Add days: 10 March 2026 + 90 days = 8 June 2026 — useful for notice periods, warranty and payment terms.
  • Subtract days: 15 August 2026 − 30 days = 16 July 2026.

Frequently asked questions

How many days are there between two dates?

Pick a start and an end date. The calculator shows the difference in total days and also as years, months, days and weeks.

Does the result include the end date?

The difference counts the days from the start date up to the end date, the same way most date libraries do. If you need both days counted inclusively, add 1 to the total.

Can I add or subtract business days only?

No — the calculator works with calendar days. Weekends and public holidays are not skipped.

Are leap years handled correctly?

Yes. Calculations use real calendar dates, so 29 February is counted in leap years.

Related tools

How to use

  1. Choose whether you want the difference between two dates or to add / subtract days.
  2. Pick the start date.
  3. Pick the end date, or enter the number of days to add or subtract.
  4. Read the result in days, weeks, months and years.

Why use this tool

Counting days across months of different lengths and leap years is where manual counting goes wrong. The calculator uses real calendar dates, so notice periods, deadlines and warranty dates come out right.

See all free tools

Advertisement