Skip to content

Date Difference Calculator

Find how far apart two dates are, shown two ways, the elapsed day count, and the calendar period (years, months, weeks, days) that a person would naturally describe.

Need to go the other way, from a date and a period to a new date? See Date Calculator.

Worked example

From January 1 to February 1, 2027, there are 31 elapsed days, January's full length, but the calendar period is exactly 1 month. From February 28 to March 1, 2028, there are only 2 elapsed days, since 2028 is a leap year and February has 29 days that year. Without checking the leap-year status of 2028, it is easy to miscount this span by a day, because a common-year February would have made the same gap 1 day instead of 2.

Two different answers, both correct

"How many days" and "how long" are different questions, and this calculator answers both instead of forcing a choice. Elapsed days is a precise count of the half-open span from start up to end, the kind of number a billing system or an age calculation needs. Calendar period is the same span expressed the way a person would actually describe a duration out loud, borrowing from the next unit up exactly the way subtraction borrows across a place value. Neither number is more correct than the other. They answer different questions, and mixing them up is the single most common way a duration gets miscommunicated between two people looking at the same two dates.

Common mistakes

  • Treating elapsed days and calendar period as interchangeable. A 31-day gap and "1 month" describe the same span, but only one of them is a fixed number that survives being applied to a different starting month.
  • Forgetting that a leap year changes the day count even when the calendar period looks identical. "1 month" from January 31 and "1 month" from February 1 do not span the same number of elapsed days once February's length is uneven.

Limitations

This is calendar arithmetic only. It does not determine any legal or contractual notice period, and it does not account for a time zone difference between the two dates if the times of day, not just the calendar dates, matter to the comparison.

Frequently asked questions

Which number should I use?
Use elapsed days for a precise count, such as billing or aging. Use the calendar period for a natural description, such as saying "about 3 months."