Add, subtract & compare dates
Date Calculator
Add or subtract days, weeks, months and years from any date, compare two dates, or work out weekdays and calendar time in seconds.
What do you want to calculate?
Move forward or backward from a date, or compare two calendar dates using one flexible tool.
Understanding date arithmetic
How does a date calculator work?
Date arithmetic sounds simple until months, leap years and weekends get involved. A date calculator works with real calendar dates rather than assuming every month or year contains the same number of days.
Adding or subtracting time from a date
CalcNest starts with the date you enter, applies the direction and amount you choose, and then resolves the result against the actual calendar.
This is the calendar date from which the calculation begins.
Enter a number of days, weeks, months or years and choose whether to move forward or backward.
The calculator accounts for real month lengths, leap years and, when selected, weekends.
Days, weeks, months and years are not the same thing
The unit you choose changes how the calculation should be interpreted. This is especially important when working with months and years.
Each calendar day advances the date by one day. Adding 30 days means moving exactly 30 calendar days forward.
One week is exactly seven calendar days, so adding four weeks always moves the date forward by 28 days.
A calendar month is not treated as 30 days. The calculator moves to the corresponding date in the destination month wherever that date exists.
A calendar year normally preserves the month and day while moving to the target year, with special handling where leap day is involved.
What happens when the destination month is shorter?
Not every month contains the same dates. When the original day does not exist in the destination month, CalcNest uses the final valid day of that month.
February 2026 does not have a 31st day, so the calculation is clamped to the last valid date in February rather than treating one month as a fixed 30 or 31 days.
Adding weekdays instead of calendar days
Turn on Count weekdays only when you want Saturdays and Sundays skipped while adding or subtracting days. This can be useful for simple workday estimates.
Weekday mode counts MondayโFriday and skips Saturday and Sunday.
Public holidays are not automatically removed. Holiday calendars differ between countries, states, regions and years, so a Monday-to-Friday calculation should not automatically be treated as an official business-day deadline.
How leap years affect date calculations
Leap years contain 366 days instead of 365 because February has an additional day. Date calculations crossing 29 February need to account for that extra calendar date automatically.
A year divisible by 4 is normally a leap year.
Years divisible by 100 are normally not leap years.
A century year divisible by 400 is a leap year. That is why 2000 was a leap year but 1900 was not.
You can also compare two dates
The calculator's Compare Dates mode measures the absolute distance between two calendar dates and shows the interval as total days, complete weeks and calendar years, months and days.
Either date can be entered first. If the second date is earlier, the calculator still returns the positive distance between them and identifies the reversed direction.
If you specifically need options such as including the final date, counting only weekdays across a range, or seeing a detailed weekend breakdown, the dedicated Days Between Dates Calculator is the better tool.
What can you use a date calculator for?
Estimate a future milestone by adding a set number of days or weeks to a starting date.
Work out a follow-up date a specific number of weeks or months later.
Add a validity period to find an estimated renewal or expiry date.
Move backward from a known date by a number of days, months or years.
Skip weekends when adding or subtracting a number of weekdays.
Measure the elapsed time between two dates without manually counting days.
Need a more specific date calculation?
CalcNest has dedicated tools for common date and age calculations.
Date calculator FAQs
Frequently asked questions
Common questions about adding and subtracting dates, calendar months, weekdays and leap years.
Enter your starting date, select Add, enter the number of days and choose Days as the unit. The calculator moves forward by that exact number of calendar days and shows the resulting date and weekday.
Choose a starting date, select Subtract, then enter the number of days you want to move backward. For example, subtracting 30 days from 8 September 2026 gives 9 August 2026.
No. A calendar month can contain 28, 29, 30 or 31 days. Adding one month moves to the corresponding date in the next calendar month where possible, while adding 30 days always moves exactly 30 calendar days.
If the destination month does not contain the original day number, CalcNest uses the final valid day of that month. For example, 31 January 2026 plus one month gives 28 February 2026.
Yes. When Days is selected, turn on Count weekdays only. The calculator will skip Saturdays and Sundays. It does not automatically exclude public holidays because holiday dates vary by country and region.
Yes. Calculations use actual calendar dates, including 29 February in leap years. When adding a year from 29 February to a non-leap year, the result is adjusted to the final valid day of February.
Yes. Select Compare dates to see the absolute difference between two dates in total days, complete weeks and calendar years, months and days. For more detailed range options, use the Days Between Dates Calculator.
No. Weekday calculations exclude Saturdays and Sundays but do not automatically remove public holidays. For official workday or deadline calculations, check the relevant holiday calendar for your country or region.
Quick feedback
Was this calculator helpful?
One click helps us make CalcNest better.
Thanks for letting us know. Want to tell us a little more?
Tell us what you think
Your feedback helps us improve this calculator.
Your feedback has been submitted successfully.
