Date Calculator

· How we calculate · Free, no sign-up

Quick answer

To add time to a date, add the years and months first (clamping to the last day of shorter months), then weeks and days. Example: 31 Jan 2024 + 1 month = 29 Feb 2024. To find the gap between two dates, count whole months, then the remaining days.

Add or subtract years, months, weeks and days from a date to find the resulting date and weekday, or measure the exact difference between two dates.

Operation

How to use the date calculator

Add / subtract: pick a start date, choose Add or Subtract, and enter any mix of years, months, weeks and days. The resulting date appears with its weekday, day of the year and ISO week number.

Difference between dates: enter a start and end date to get the gap in years, months and days, plus totals in days, weeks, months and hours. Tick Include end date when both the first and last day count, such as leave, rentals or event durations.

How dates are added

Months have different lengths, so “one month later” needs a rule. This calculator works in two steps:

1. Add (years × 12 + months) months. If that day doesn’t exist in the target month, use the month’s last day. 2. Add (weeks × 7 + days) days to that date.

Subtracting works the same way, in reverse. Day counts use whole calendar days, so daylight-saving changes never shift the result.

Examples

CalculationResult
15 Mar 2026 + 90 daysSaturday, 13 June 2026
31 Jan 2024 + 1 monthThursday, 29 February 2024 (leap year, clamped)
31 Jan 2026 + 1 monthSaturday, 28 February 2026 (clamped)
29 Feb 2024 + 1 yearFriday, 28 February 2025
31 Jan 2024 + 1 month + 1 dayFriday, 1 March 2024
26 Nov 2026 − 6 weeksThursday, 15 October 2026

How the difference is measured

The difference counts the most whole months that fit between the two dates (using the same end-of-month rule), then the days left over. So start + result = end. From 1 January 2026 to 25 December 2026 is 11 months, 24 days. That is 358 days in total, or 51 weeks and 1 day. With “Include end date” ticked it becomes 11 months, 25 days (359 days).

Total days = end − start (in calendar days) [+1 if the end date is included] Total weeks = ⌊total days ÷ 7⌋ weeks + remainder days

Counting days vs. counting dates

People often get these mixed up. From Monday to Friday is 4 days apart, but the span covers 5 dates if you count both Monday and Friday. Deadlines like “within 30 days” usually mean the gap (leave the box unticked). Bookings, leave and event lengths usually count every date (tick “Include end date”). When a contract or law defines the period, follow its wording.

Common uses

Need working days only? Use the days calculator, which skips weekends and holidays. For exact ages, try the age calculator.

Embed this calculator on your website — free

Copy this code into your page. The calculator stays up to date automatically and resizes to fit.

Frequently asked questions

What is 31 January plus one month?

There is no 31 February, so the calculator uses the last day of February: 28 February, or 29 February in a leap year. In general, when the starting day doesn’t exist in the target month, the result moves back to that month’s last day.

In what order are years, months, weeks and days added?

Years and months are applied first, as one combined number of months (with end-of-month adjustment). Then weeks and days are added as an exact number of days. For example, 31 January 2024 + 1 month + 1 day = 29 February + 1 day = 1 March 2024.

How do I count the days between two dates?

Open the “Difference between dates” tab and enter both dates. You’ll get the difference in years, months and days, plus the total in days, weeks and months. Tick “Include end date” if both the first and last day should be counted, such as for a hotel stay or leave request.

Does the calculator handle leap years?

Yes. It uses the real calendar, so 29 February appears only in leap years, and every month has its true length.

Can I count only business days?

This page counts calendar days. To exclude weekends and public holidays, use our days calculator, which counts working days.