📆 Date Difference Calculator

Count the days, weeks and months between two dates.

-
Days
-
Weeks
-
Months

How the date difference is worked out

The tool subtracts the earlier date from the later one and turns the gap into whole days. Weeks are the days divided by 7, rounded down. Months are the days divided by 30.4375, the average length of a month across a four-year leap cycle, also rounded down. It does not matter which date you enter first.

Worked example

From 1 January 2026 to 12 October 2026: January has 31 days, February 28, March 31, April 30, May 31, June 30, July 31, August 31 and September 30. That makes 273 days to 1 October, plus 11 more to the 12th: 284 days in all, which is 40 full weeks and 9 months (284 ÷ 30.4375 = 9.3).

Limits and common mistakes

Frequently Asked Questions

Does the result include both dates?
It measures the gap between the dates. From 1 November to 5 November the gap is four days. If you are counting attendance or leave and both dates count, you may need five days instead; follow the rule for that task.
Why does a 30-day gap show zero months?
The month figure divides the day count by 30.4375 and rounds down. It is an approximate duration, not a count of completed calendar months. Use the day result when an exact day interval is required.
Does it remove weekends or public holidays?
Every calendar day counts. It does not know your work week, school holidays or local holiday calendar. Count eligible working days separately when preparing a deadline or leave calculation.