Date Calculator

Add or subtract days, weeks, months and years from any date โ€” or find the exact number of days, weeks and months between two dates. Fast, free and works on any device.

Add or Subtract from a Date

Start Date

Operation

Years

Months

Weeks

Days

Result Date

Day of Week
Day of Year
Week Number
Leap Year

How the Date Calculator Works

This calculator has two modes. The Add / Subtract mode takes a starting date and adds or removes a combination of years, months, weeks and days to give you a resulting date. The Days Between Dates mode computes the exact difference between any two calendar dates in multiple units.

Add or Subtract Formula

Result Date = Start Date + (Years ร— 365.25) adjusted by calendar
              + (Months) stepped through calendar months
              + (Weeks ร— 7) + Days

Months and years are added by stepping through the calendar rather than using a fixed number of days, so the result is always the correct calendar date regardless of month length or leap years.

Days Between Dates Formula

Total Days = |End Date โˆ’ Start Date| in days
Total Weeks = Total Days รท 7 (rounded down)
Total Months โ‰ˆ Total Days รท 30.4375
Total Hours = Total Days ร— 24

Leap Year Handling

A year is a leap year if it is divisible by 4, except for century years which must be divisible by 400. The calculator applies this rule automatically when adding months or years that cross a 29 February boundary.

Business Days Note

This calculator counts all calendar days including weekends and public holidays. For business-day calculations, the result can be used as a starting point and weekends subtracted manually based on your locale.

What Is a Date Calculator Used For?

A date calculator is a tool that performs arithmetic on calendar dates. Rather than manually counting days on a calendar or writing out dates by hand, it handles all the complexity of varying month lengths, leap years and week boundaries automatically.

Common Uses

Why Counting Dates Manually Is Error-Prone

Calendar months have between 28 and 31 days, and leap years add an extra day every four years (with exceptions). Adding three months to 31 January, for example, does not simply land on 31 April โ€” April has only 30 days. A date calculator resolves these edge cases correctly every time.

Frequently Asked Questions

How do I find the number of days between two dates? +

Switch to the "Days Between Dates" tab, enter your start date and end date, then click Calculate Difference. The calculator will instantly show the total days, weeks, months and hours between the two dates.

What happens when I add months to a date at the end of a month? +

When adding months, the calculator steps through the calendar month by month. If the resulting month has fewer days than the start day (for example, adding one month to 31 January), the result is clamped to the last day of that month โ€” in this case, 28 or 29 February.

Can I calculate a date in the past by subtracting? +

Yes. Select the Subtract mode in the Add / Subtract tab, enter your start date and the number of years, months, weeks and days you want to go back, then click Calculate Date. The result will be the correct past date.

How many days is 3 months from today? +

It depends on which three months are involved. Three calendar months can span 89 to 92 days depending on the months and whether a leap year is included. Use the Add / Subtract tab with today as the start date and 3 in the Months field for an exact result.

Does the calculator include both the start and end date in the count? +

The "Days Between Dates" mode counts the number of full days elapsed between the two dates, not including the start date but including the end date โ€” the standard convention for duration calculations. If you need to include both dates, simply add one to the result.

Can I use this calculator for future dates? +

Yes. Both modes accept any valid calendar date โ€” past, present or future. You can add years to a future date, or find the difference between two dates that are both in the future.

What is the week number shown in the result? +

The week number is the ISO 8601 week number of the year for the result date. Week 1 is the week containing the first Thursday of January. This is the standard used in most European countries and international business contexts.

Related Calculators