How to Calculate Days Between Dates

Counting the days between two dates sounds like a five-second job — until a leap year, a 31-day month and a year boundary all land in the same span. A calendar and a finger work for short gaps, but for anything longer the count drifts by a day here or there. This guide shows how to calculate days between dates exactly, and how to add or subtract days from a date when you need a deadline.

What “days between dates” actually means

The count is the difference between two dates: how many days you have to move forward from the first date to reach the second. From 1 January to 2 January is 1 day, not 2, and from 1 January to 1 February is 31 days. This is how contracts, ages and countdowns are normally counted — the gap between the dates, not the dates themselves.

Sometimes you want both endpoints counted instead. A holiday from Monday to Friday is five days of holiday, even though the difference between Monday and Friday is four days. That is inclusive counting, and the rule is simple: take the exact difference and add one. The Date Calculator gives you the exact difference; add one yourself when the situation calls for both ends.

Why counting by hand goes wrong

The calendar is uneven

The calendar is uneven. February has 28 days, or 29 in a leap year. April, June, September and November have 30; the rest have 31. A span that crosses February in a leap year picks up an extra day, and a span that crosses a year boundary has to count December and January correctly. None of this is hard on its own, but together it is easy to lose a day — and a day matters when the count decides a deadline, a visa window or a notice period.

The leap-year trap

Leap years have their own trap. A year is a leap year if it divides by four — except century years, which must divide by 400. So 2024 is a leap year and 2023 is not, but 1900 was not a leap year even though it divides by four, while 2000 was. A span covering 29 February 2024 counts that extra day; a span covering February 1900 does not. The calculator applies these rules automatically, so you never have to remember them.

Calculate days between dates in three steps

  1. Pick the start date. Open the Date Calculator and choose the date you are counting from — a start date, a birth date, the day a contract began.
  2. Pick the end date. The result appears instantly: the total days, the same span in weeks, and a years, months and days breakdown.
  3. Read the answer the way you need it. Total days suit a countdown or a deadline; weeks suit a plan; the breakdown suits an age or a duration, the way people say “two years and three months”.

Add or subtract days from a date

The deadline version of the same question

The other half of the tool works the other way round: start with a date and a number of days, and it gives you the resulting date and its weekday. This is the deadline version of the same question — “30 days from today”, “90 days from the arrival date”, “14 days from the delivery date” — and it is where the calendar traps bite hardest, because the answer lands in a different month and you have to know how long this month is. A 90-day stay that starts on 5 January ends on 5 April, and working that out by hand means counting through three months of different lengths.

It suits notice periods, trial ends, return windows, visa stays and project milestones. A subscription that renews 30 days after it starts, a warranty that runs 365 days from purchase, a course that ends 12 weeks after it begins — all of these are the same calculation: a date, plus a number of days, equals the date that matters.

Calendar days, not working days

One thing to know: the tool adds calendar days, not working days. Weekends and public holidays count like any other day. If your deadline is “10 working days”, count the working days separately — the tool will not skip weekends for you.

Three ways to read the same answer

The same span can be read three ways, and the tool shows all three. Total days is the exact count. Weeks and days is the same count divided by seven — useful for plans, because work is usually planned in weeks. The years, months and days breakdown is the way people say ages: whole calendar years first, then whole months, then the leftover days.

For example, 28 February 2024 to 1 March 2026 is 732 days — or 104 weeks and 4 days, or 2 years and 1 day. All three are the same span; the breakdown always adds back up to the exact total, so whichever form you use, the number is the same.

The honest limits

A date calculator has limits worth knowing. It counts calendar days only — there is no business-days mode, so weekends and holidays are included in every count. It works with dates, not times of day: the answer is the gap between two calendar dates, not between two moments. And it uses the Gregorian calendar, the one in everyday use around the world.

The count is exact for the dates you enter, so a wrong date in means a wrong answer out. Double-check the year especially — a span that starts in 2025 instead of 2026 is a year off, and no calculator can catch a typo. Enter the dates carefully, and the maths takes care of itself.

Related guides

Questions people ask

How do I calculate days between two dates?

Pick the start and end dates in the Date Calculator. The result shows the total days, the same span in weeks, and a years, months and days breakdown.

Does it count leap years correctly?

Yes. The calculation uses the real calendar, so a span covering 29 February counts that extra day, and the century rules are applied: 1900 was not a leap year, 2000 was.

Are the start and end dates both counted?

No. The result is the exact difference: 1 January to 2 January is 1 day. If you need both endpoints counted, add one day to the result.

Can I add days to a date?

Yes. Switch to the Add / subtract days panel, enter the number of days, and the tool shows the resulting date and its weekday.