Date Calculator
Pick a date, say how much to add or take away, and get the new date with its weekday. Months that run short are handled the way a calendar does it, and the page says when that happens.
https://flxcode.com/date-calculator/
Example Result
- Date
- Weekday
- Calendar days from the start
- Day of the year
How it was worked out
- Start: Sunday, November 15, 2026
- Add 1 year and 2 months: Saturday, January 15, 2028
- Add 10 days (10 days): Tuesday, January 25, 2028
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Quick start
- Pick the start date, or press Today.
- Choose Add or Subtract and fill in any of years, months, weeks and days. Empty boxes count as 0.
- Read the new date and its weekday. The steps underneath show each part of the sum.
- For weekdays only, tick the business days box and use the Days field.
Worked examples
| Start | Change | Result | Weekday | Calendar days |
|---|---|---|---|---|
| Nov 15, 2026 | Add 90 days | February 13, 2027 | Saturday | +90 |
| Nov 15, 2026 | Add 6 weeks | December 27, 2026 | Sunday | +42 |
| Jan 31, 2024 | Add 1 month | February 29, 2024 | Thursday | +29 |
| Jan 31, 2023 | Add 1 month | February 28, 2023 | Tuesday | +28 |
| Feb 29, 2024 | Add 1 year | February 28, 2025 | Friday | +365 |
| Dec 25, 2026 | Subtract 45 days | November 10, 2026 | Tuesday | -45 |
| Mar 15, 2026 | Add 2 years, 3 months, 20 days | July 5, 2028 | Wednesday | +843 |
| Fri Nov 13, 2026 | Add 10 business days | November 27, 2026 | Friday | +14 |
Notice the two January 31 rows. In 2024 the answer is Feb 29, and in 2023 it is Feb 28.
How the sum is done
The tool works on calendar dates, not on clock times, so a daylight saving change can never shift an answer by a day. It does three things in a fixed order.
- Years and months are added together as a number of months. A year is 12 months.
- If the day number does not exist in the new month, it moves to the last day of that month.
- Weeks and days are then added as a plain count of days, 7 per week.
Subtracting runs the same steps with the sign flipped. Business days use a separate rule: the date moves one weekday at a time.
Numbers this uses
- Month lengths: 31 days in January, March, May, July, August, October and December. 30 in April, June, September and November. 28 in February, 29 in a leap year (Gregorian calendar).
- Leap years: divisible by 4, except years divisible by 100, unless also divisible by 400. So 2000 and 2024 are leap years, 1900 and 2100 are not (rule of the Gregorian calendar, 1582).
- A week is 7 days. A weekend is Saturday and Sunday. Business days are Monday to Friday.
- Weekdays come from a running day count. 1970-01-01 was a Thursday, and every 7th day after it is a Thursday again.
- Years 1 to 9999 are accepted, on the Gregorian calendar extended backwards. Dates before 1582 are not the dates people then wrote.
Limits
- No holidays. Business days remove weekends only.
- Calendar dates only: no time of day, no time zones. If you need hours and minutes, work out the day first.
- Amounts are whole numbers up to 7 digits. For going back, use Subtract rather than a minus sign.
- To count the days between two dates instead, use Days Between Dates. For an age, use the Age Calculator.
Nothing you type is uploaded. We count events without cookies (details).
FAQ
How do I add days to a date?
Pick the start date, leave Add selected and type the number of days. The result shows the new date and its weekday. Weeks count as 7 days each, so 6 weeks is the same as 42 days.
How do I subtract days from a date?
Choose Subtract, then type the days, weeks, months or years to go back. Subtracting 45 days from Dec 25, 2026 gives Nov 10, 2026. The same box works for "what date was it 90 days ago".
What happens when I add a month to January 31?
February has no 31st, so the result moves back to the last day of February: Feb 28, or Feb 29 in a leap year. The page tells you when it does this. The same rule applies to the 30th and to leap days, so Feb 29 plus one year is Feb 28.
In what order are years, months, weeks and days added?
Years and months first, as one step, then weeks and days. The order matters only at the end of a month. In 2023, Jan 30 plus 1 month plus 1 day is Mar 1 (Feb 28, then one more day), while Jan 30 plus 1 day plus 1 month is Feb 28.
How do I add business days?
Tick the business days box. Saturdays and Sundays are skipped and the amount you type counts only Monday to Friday. Holidays are not removed, because they differ by country and employer. For a longer explanation, see the business days calculator.
Is the start day counted when I add days?
No. Adding 1 day to Monday gives Tuesday. If you want a range that includes both ends, use days between dates and tick the box to include the end date.
How do I do this in Excel or Google Sheets?
For days, add them: =A1+90. For months, use =EDATE(A1, 3), which also moves back to the last day of a short month. For business days, use =WORKDAY(A1, 10). Both programs store dates as day numbers, which is why plain addition works.
Are the dates I type saved or sent?
No. The calculation runs in your browser. Dates and amounts are not put in the address bar, not stored and not counted. We only count that a result was shown, as add or subtract.
More from FLXCode
Days Between DatesNew
Count the days, weeks, months and business days between two dates, with or without the end date.
Business Days CalculatorNew
Add or subtract working days from a date, skipping Saturdays and Sundays. Holidays are not removed.
Age CalculatorNew
Work out an age in years, months and days from a birth date, on today or any date. Shows the next birthday.
Pomodoro TimerNew
A Pomodoro timer: 25 minute focus blocks, short and long breaks, custom lengths and a chime. Right in background tabs.