How to Calculate the Days Between Two Dates

How many days until the deadline? How long since that date? Counting by hand is deceptively tricky. Here's how date maths works — and the easy way.

"How many days until my holiday?" "How long has it been since we started?" "What's the deadline if the contract runs 90 days?" These questions come up constantly — and working them out by hand is surprisingly error-prone. Here's why, and how to get the right answer fast.

Why counting days is trickier than it looks

Dates don't follow neat round numbers. To count days between two dates correctly you have to juggle:

  • Different month lengths — 28, 29, 30 or 31 days.
  • Leap years — February gains a day every four years (with exceptions around century years).
  • Whether you count both endpoints — is the start day day zero or day one?

Miss any of these and your count drifts by a day or more — which matters for deadlines, notice periods and contracts.

The manual method

To count by hand: add the remaining days in the start month, add the full days of each month in between, then add the days into the final month — adjusting for any leap year that falls in the span. It works, but it's easy to slip up, especially across year boundaries.

Common real-world date questions

  • "90 days from today" — useful for contracts, returns and visas.
  • "Days until a date" — countdowns to events and deadlines.
  • "Days since a date" — anniversaries, how long a project has run.
  • "Working days only" — excluding weekends for business timelines.

The fast, reliable way

Rather than risk an off-by-one error, let a tool handle the leap years and month lengths. Our free date calculator gives you the exact number of days between any two dates, or adds/subtracts days from a date to find a deadline — instantly and correctly. To work out someone's exact age the same way, the age calculator does it down to the day.

Try the tools

Frequently Asked Questions

How do I calculate the number of days between two dates?

Count the remaining days in the start month, add the full days of each month in between, then the days into the final month — adjusting for leap years. A date calculator does this instantly and avoids off-by-one mistakes.

How do I find a date 90 days from today?

Add 90 days to today's date, carrying over month and year boundaries and accounting for month lengths and any leap year. A date calculator lets you simply enter '90 days' and get the exact date.

Do date calculations include both the start and end day?

It depends on what you're measuring. For a duration between two dates you usually count the gap (not both endpoints); for a countdown you often include the target day. A good date calculator lets you see the exact day count either way.

Related reading

Guides & Tutorials
← Guides & Tutorials