Free everyday tool

Date Calculator

Count days, weeks, or months between two dates for trips, deadlines, projects, habits, or planning.

Runs locally in your browser. No signup needed.

How do I calculate days between two dates?

The simplest method is to count every day from the start date up to the end date. If the start date is included and the end date is excluded — the convention most calculators use — you count each full day that elapses. For example, from March 1 to March 10 is 9 days, because March 1 itself is not counted but March 9 is the ninth elapsed day. If you include both endpoints, it is 10 days.

Worked example: counting across a leap year

Suppose you want the number of days from February 1, 2028 to March 15, 2028. Since 2028 is a leap year (2028 is divisible by 4 and not a century year), February has 29 days. The count is: the remaining 28 days of February (February 2 through 29), plus 14 days into March (March 2 through 15), giving 42 days in total. In a non-leap year like 2027, the same two dates would be 41 days.

How are leap years handled in date calculations?

Leap years add February 29 automatically, and any calculation spanning late February in a leap year picks up the extra day without manual correction. A year is a leap year if divisible by 4, except century years, which must be divisible by 400 — so 2000 was a leap year, but 1900 and 2100 are not.

Weeks, months, and business days

Large day counts are easier to read as weeks: 42 days is exactly 6 weeks. Month-based counting is trickier because months have 28 to 31 days, so "one month apart" can mean 28 to 31 days, and a 30-calendar-day span typically contains about 21-22 business days before holidays are removed.

Does the calculator count both the start and end date?

It counts the days that elapse between the two dates, excluding the start date itself. If you need an inclusive count for bookings or event durations, simply add one day to the result.

Can the end date be before the start date?

If you enter the later date first, the result is the same distance but in the negative direction. For planning, always enter the earlier date as the start so the count is positive.

How accurate is counting across years?

Fully accurate. The calculation uses the real calendar, so leap years, century rules, and varying month lengths are all handled correctly, whether your range spans two days or several decades.

Related tools

For other date-based planning, try the Age Calculator to find an exact age in years, months, and days, the Visa Days tool to track permitted stay durations across trips, or the Weekly Planner to lay out the days once you know the span.

Related Everyday tools

Showing all 13 related everyday tools. Browse all tools →

Guides & resources

Browse all tools →