Days Between Dates Calculator

Enter your numbers and click Calculate — the result updates as you type.

Enter two dates and this calculator counts the days between them — with the total in days and weeks, and the weekday of each date, using real calendar lengths and leap years.

The earlier date.

The later date.

Result

—

Formula

Days between = End date − Start date (in days) Weeks = Total days / 7 (whole weeks, plus remaining days) Both dates use the real calendar, including leap years

Worked example

Here is the calculation step by step, using the default values in the calculator above:

  1. Start date: Thursday 1 January 2026
  2. End date: Thursday 31 December 2026
  3. Days between: 31 December 2026 − 1 January 2026 = 364 days
  4. Weeks: 364 / 7 = 52 weeks exactly
  5. Both dates fall on a Thursday, so the count is a whole number of weeks

Answer: 364 days

How to use this calculator

  1. Enter the start date.
  2. Enter the end date.
  3. Read the days between them, with the total in weeks and the weekday of each date.

What the results mean

The count is the number of days you have to step forward from the start date to reach the end date, so the same date twice gives 0 days. Counting both the start and end dates gives one more — 365 days for the example above. Because both dates fall on the same weekday here, the total is a whole number of weeks; in general, the remainder tells you how many extra days there are beyond the whole weeks.

Practical uses

Frequently asked questions

How do you count the days between two dates?

Subtract the start date from the end date. From 1 January 2026 to 31 December 2026 is 364 days, which is 52 weeks exactly.

Does the count include the start and end dates?

No — this calculator counts the days between them, so the same date twice is 0 days. To count both dates as well, add 1 to the result.

Does it handle leap years?

Yes. The maths uses the real calendar, so a range that includes 29 February counts it, and a range that does not include it does not.

What if the end date is before the start date?

The calculator will ask for an end date on or after the start date. Swap the dates round if you entered them the wrong way.

Can I use it for dates in the past?

Yes — any two dates work, past or future, as long as the end date is not before the start date.

Related calculators

See all date & time calculators