Skip to content

Date calculator

Free date calculator to count days between dates or add years, months and days. Choose inclusive counting and check leap-year and month-end examples.

By Calcr · Updated

Date calculator: Count days or shift a date

Choose the difference mode to compare two dates. Use date addition to move forward or backward by a whole number of calendar days. Check the inclusive option when your task counts both boundary dates.

Counting rule

The default signed difference is end date minus start date on the Gregorian calendar. Moving from Monday to Tuesday is one elapsed calendar day. Inclusive counting adds the boundary day to the size of the range while preserving its direction.

Worked examples

A short range: 2026-11-10 to 2026-11-13 is 3 days apart. Including both dates gives a count of 4.

A leap day: 2024-02-28 to 2024-03-01 is 2 days apart because February has 29 days that year. Adding 2 days to 2024-02-28 produces 2024-03-01.

Going backward: subtracting 1 day from 2027-01-01 produces 2026-12-31. A reversed range has a negative elapsed difference.

Limits

These are calendar dates, not time-zone-aware timestamps. Weekends and public holidays are counted. A contractual deadline may use business-day rules or a different treatment of boundary days. Choose those rules separately rather than assuming this count is a deadline decision.

When to use this date calculator

Use this free date calculator to count calendar days for a plan, compare two dated events or find a date a stated number of days away. Choose elapsed or inclusive counting before interpreting the answer. The appropriate convention depends on the question: a stay measured by nights usually describes date differences, while a list of every date in an event can include both endpoints.

For a signed interval, keep the order of the dates visible. A negative result tells you that the entered end date is earlier than the start. It is useful when checking the direction of a schedule change, but it does not represent a negative number of actual calendar dates. If you need only the size of an interval, use the magnitude and state that you have ignored direction.

Do not treat this as a business-day, court-deadline or timezone conversion calculator. Weekends and holidays remain in the count, and there is no jurisdiction-specific calendar. Nor does a count of two calendar days establish that exactly 48 hours elapsed between two local timestamps. Dates and timed events answer different questions, particularly around daylight-saving transitions or travel between time zones.

Example: counting an event's displayed dates

An event runs from 2026-06-10 through 2026-06-14, with activities on both the first and last dates. The elapsed difference is four days because there are four date-to-date steps. Inclusive counting gives five dates: June 10, 11, 12, 13 and 14. Select the inclusive option if the question is how many dated daily programs need printing.

If accommodation is instead booked with arrival on June 10 and departure on June 14, the four-date difference can describe four nights under that booking setup. The calendar arithmetic has not changed; the meaning of the counted units has. Label the result “five event dates” or “four nights” rather than copying the same number into both decisions. Actual booking and billing terms still control a real reservation.

Example: moving across a month boundary

Start with 2026-01-31 and add one month using the year/month/day addition mode. February has no day 31 in 2026, so the result clamps to 2026-02-28. Adding 30 days instead gives 2026-03-02. The difference shows why “one month later” and “thirty days later” are not interchangeable instructions.

The tool applies years first, months second and days last. Each year or month step clamps independently to the last valid day when necessary. If you repeat an operation from its previous result, the new starting date may have a different day number. For a recurring schedule, decide whether each occurrence should refer to the original day or the last result; a single date calculation cannot infer your recurrence policy.

For a leap-year check, February 29 exists when the Gregorian year is divisible by four, except century years that are not divisible by four hundred. Thus 2000 contains a leap day, while 1900 does not. The tool validates actual dates rather than treating a month as a fixed number of days. An input that looks plausible, such as February 30, must be corrected instead of normalized silently to a date in March.

Before sharing an answer, write down the start date, end date, direction and endpoint convention. If you are adding time, include separate year, month and day quantities rather than compressing them into an approximate day count. That record makes it possible for another person to reproduce the result and identify a convention mismatch without guessing what you meant. Use the age calculator when the specific goal is completed years since a birthday.

For a short range, list the dates manually to check the selected convention. From the tenth to the thirteenth there are three transitions but four named dates. For addition, test a simple one-day movement before entering a larger year/month/day combination. If you need subtraction, choose that direction rather than typing a negative value into a field that expects a nonnegative amount. Keep the order of year, month and day adjustments visible. A valid result confirms the stated calendar operation; it does not establish that a scheduling instruction intended those units or that endpoint rule.

FAQ

Why are the same dates zero days apart?

No day has elapsed. Inclusive counting treats that single date as one counted day.

Are weekends excluded?

No. Every calendar date counts.

Does daylight saving time change the answer?

No. This tool counts date boundaries, not elapsed hours on a clock.

Why can adding a month and then subtracting it give a different date?

Clamping can lose the original day number. Starting at January 31 and adding one month may produce February 28. Subtracting one month from that new date gives January 28, since the new starting day is 28. This is a calendar convention rather than a numerical rounding error. Keep the original date if you need to compare repeated operations against the same anniversary.

Can I use the result for a deadline stated in working days?

Not directly. This tool counts all calendar dates and has no holiday calendar, cutoff time or rule for moving a deadline that lands on a weekend. A working-day deadline needs those additional rules. Verify them with the relevant organization or governing document, then use a suitable business-day calculation. A correct calendar-day answer does not establish that a contractual or legal deadline has been calculated correctly.

Related tools and guides

KEEP EXPLORING

A few useful next steps