Days Between Dates: Measure the Gap Without Counting Errors

How many days are there between two dates? The question sounds like simple subtraction, but dates do not subtract like ordinary numbers. Months have different lengths, February changes length in leap years, and the counting convention, whether the endpoints are included, changes the answer by a day. People answering by hand routinely land one or two days out, and for notice periods, pregnancy calculations, project plans, and legal deadlines, one day out is enough to matter.

The Days Between Dates gives the gap cleanly. You enter two dates, and it returns the number of days between them, plus the same gap expressed in weeks and days. It is a measurement tool: it tells you the size of the interval, not what the interval means in your context, and that distinction matters for deadlines, which may count days differently.

How it works

The tool counts the days from the first date to the second date, excluding the start date and including the end date, which is the standard convention for a difference. From 1 January to 2 January is one day, not two, because only the step from the first date to the second is counted. From 1 January to 1 January is zero days, because there is no interval at all. That convention keeps differences consistent: the gap from A to B plus the gap from B to C equals the gap from A to C, which is the property any sensible difference measure must have.

Weeks and days is a restatement, not a second answer. Divide the day count by seven: the quotient is whole weeks and the remainder is extra days. Fifty-nine days is eight weeks, which is 56 days, with three days remaining, so 59 days is eight weeks and three days. Expressing a gap this way helps planning, because people think in weeks for schedules and in days for deadlines, and the tool gives both views of the same interval at once.

The calendar irregularities are handled automatically. A gap crossing February in a leap year includes 29 February as a real day, and a gap crossing months of 30 and 31 days uses each month's true length. Hand counting usually fails on exactly these points, especially when a gap spans several months and the counter loses track of which months have 31 days.

Worked example

Take 1 January 2026 and 1 March 2026. January has 31 days, so the gap from 1 January to 1 February is 31 days. February 2026 is not a leap year, so February has 28 days, and the gap from 1 February to 1 March is 28 days. Adding them gives 31 plus 28, which is 59 days. In weeks and days, 59 divided by seven is eight weeks with three days remaining, because eight times seven is 56 and 59 minus 56 is three. The gap is therefore 59 days, or eight weeks and three days.

Check the result by reversing the direction: the gap from 1 March back to 1 January is also 59 days, because the interval is the same size whichever way it is measured. If you need an inclusive count, for example the number of calendar dates from 1 January to 1 March including both endpoints, add one to get 60. Stating which convention you used prevents the one-day arguments that inclusive counting otherwise causes.

  • January gap: 1 January to 1 February 2026 equals 31 days.

  • February gap: 1 February to 1 March 2026 equals 28 days, since 2026 is not a leap year.

  • Total: 31 plus 28 equals 59 days.

  • Weeks: 59 equals 8 weeks (56 days) plus 3 days.

Common mistakes to avoid

The most common mistake is inclusive counting: counting both endpoints and getting one day more than the standard difference. Both conventions are legitimate, but mixing them causes errors, so state which one you are using whenever the number matters. A second mistake is assuming 30 days per month, which understates gaps that include 31-day months and overstates gaps in February.

A third mistake is entering the dates in the wrong order and then misreading the result. The gap is the same size either way, but if a tool reports a signed difference, the sign flips, and a negative number may be mistaken for an error. A fourth mistake is forgetting that the tool counts calendar days, not working days: a 59-day gap contains weekends, and a deadline measured in working days will be a different, usually smaller, number.

What it does not do

This calculator measures calendar days only. It does not exclude weekends or holidays, does not account for time zones or times of day, and does not interpret deadline rules. A contract that counts business days, a notice period that extends over weekends, or a rule that moves a deadline falling on a holiday all require their own interpretation on top of the raw day count. The tool gives you the raw material for those interpretations, not the interpretation itself.

It also uses the Gregorian calendar. For dates in the modern era that is the civil calendar, but historical dates may need a different calendar system. When a gap carries legal or financial consequences, confirm the counting convention from the governing document and keep a written record of the two dates and the result.

A short practical routine

A good routine for any gap that matters is to calculate it, state the convention, and record the result with the two dates. Write it as, for example, 1 January 2026 to 1 March 2026 is 59 days, exclusive of the start date. That single sentence prevents most later disputes, because anyone can recheck it. If the gap feeds a schedule, convert it to weeks and days at the same time, so the schedule and the deadline use consistent numbers.

Re-run the calculation if either date moves, rather than adjusting the old gap by hand, because a moved date can cross a month boundary and change the gap by more than the size of the move. For related tools, the Date Calculator shifts a date by a number of days, the Age Difference Calculator expresses a gap in years, months, and days, and the guide on Age Difference Calculator: Years, Months, and Days Between explains that borrowing method in detail.

Start with the Days Between Dates, shift dates with the Date Calculator, and express gaps in years with the Age Difference Calculator.