A good date calculator does more than count days. It can tell you the gap between two dates, work out what date falls a set number of days from now, and show a duration in weeks, months, and years. This free tool handles all three jobs in one place, so you do not need to flip between separate calculators or count squares on a wall calendar.
People reach for a date to date calculator when planning anything with a timeline: a project schedule, a course that runs for 12 weeks, a notice period at work, or a countdown to a family event. The date duration calculator mode is also handy for checking how long a contract, subscription, or warranty actually lasts. Whatever you are planning, enter your dates above and the answers appear right away.
How to use this date calculator
The calculator at the top of this page has three modes. Pick the one that matches your question, then follow these steps:
- Step 1. Choose a mode: date difference, add or subtract, or duration breakdown.
- Step 2. For a difference, enter the start date and the end date. The tool returns the gap in days, weeks, months, and years.
- Step 3. For add or subtract, enter one date, then type how many days, weeks, months, or years to move forward or backward. This is the date calculator add days mode, and it is the fastest way to find a future deadline.
- Step 4. Read the result. The tool shows the resulting date with its day of the week, so you can spot weekends at a glance.
You can switch modes without retyping your dates, which makes it easy to check a span two different ways.
How the calculation works
Every mode rests on the same idea: dates are positions on a calendar, and arithmetic on dates is arithmetic on those positions. For a difference, the calculator subtracts the earlier date from the later date to get the number of days, then splits that total into weeks and leftover days. The months and years view counts whole calendar months first, because months are not all the same length.
For adding, the rule is just as direct. Adding days moves forward that many calendar days, so January 1, 2026 plus 90 days lands on April 1, 2026. Adding months keeps the same day of the month where possible. Month end dates need care, because February has no 31st day, and tools handle that case in different ways. The month end section below explains the difference. Leap years are handled on the real calendar: adding one day to February 28, 2024 gives February 29, 2024, while the same step in 2026 gives March 1.
Worked examples
These examples show the three modes in action. All results use the real calendar, including the leap day in 2024.
| Question | Mode | Answer |
|---|---|---|
| How long from March 15, 2026 to November 15, 2026? | Difference | 245 days, which is 8 months or 35 weeks |
| What date is 90 days after January 1, 2026? | Add days | April 1, 2026, a Wednesday |
| What date was 100 days before July 4, 2026? | Subtract days | March 26, 2026, a Thursday |
| How long from January 1, 2026 to December 31, 2026? | Difference | 364 days, which is 52 weeks |
| What is February 28, 2024 plus 1 day? | Add days | February 29, 2024, a Thursday |
The last row is a good reminder of why a calculator beats mental math. In a leap year, the day after February 28 is February 29, and any span crossing that date is one day longer than the same span in a normal year.
Adding months and years: the month end rule
Adding one month to January 31 is the classic problem case, because February never has 31 days. Spreadsheets solve it by capping the result at the last day of the target month. The Excel EDATE function returns February 28, 2026 for January 31 plus one month, and February 29 in a leap year. The same capping gives February 28, 2029 for February 29, 2028 plus one year. Other tools roll forward into early March instead. That is why month adding results can differ by a few days between calculators. Always read the resulting date, not just the month count.
Capping is also not always reversible. February 28, 2026 minus one month gives January 28, not January 31, because the day number 28 is kept. If your schedule depends on month end dates, plan February separately. Microsoft explains the capping rule in its EDATE function guide. For day based spans with no month adding, the add days to date calculator avoids this issue entirely.
The same calculations in Excel and Google Sheets
Every mode on this page has a spreadsheet match. This table collects the five formulas people ask for most.
| Task | Formula | Notes |
|---|---|---|
| Days between two dates | =B1-A1 | Format the result as a number, not a date |
| Business days between two dates | =NETWORKDAYS(A1,B1,holidays) | Includes both endpoints, so results can differ by one |
| Date a set number of business days later | =WORKDAY(A1,5,holidays) | The start date itself is not counted |
| Same day a set number of months later | =EDATE(A1,1) | Caps at month end, so January 31 gives February 28 |
| ISO week number of a date | =ISOWEEKNUM(A1) | Weeks start on Monday, week 1 holds the first Thursday |
Microsoft documents each function in detail. Start with the NETWORKDAYS function guide, the WORKDAY function guide and the EDATE function guide. Google Sheets supports the same function names.
Calendar facts worth knowing
A few calendar facts sit behind every result on this page. Months have 31, 30 or 28 days, and February has 29 days in a leap year. The full leap year rule is: divide by 4, except century years, which must divide by 400. So 2000 was a leap year, but 1900 was not and 2100 will not be. A normal year of 365 days is 52 weeks plus 1 day, and a leap year is 52 weeks plus 2 days. That spare day is why weekdays shift each year. A year holds between 260 and 262 weekdays depending on which weekdays January 1 falls on. The year 2026 has 261 weekdays and 250 US business days after federal holidays.
Practical tips for date calculations
- Use the add days mode for deadlines. If a bill is due 30 days from the invoice date, enter the invoice date and add 30 to get the exact due date, including its day of the week.
- Check the weekday in the result. A deadline that lands on a Saturday or Sunday often moves in practice, so it helps to see the weekday before you commit to a date.
- Be careful adding months to end-of-month dates. January 31 plus one month cannot be February 31, so the calculator returns February 28. If your schedule depends on the 31st, plan around short months.
- For contracts and notice periods, confirm whether the count includes the first day. A 30 day notice period can end on different dates depending on that one detail.
- Use the duration breakdown for long spans. A gap of 245 days is hard to picture, but 8 months is easy to plan around.
Frequently asked questions
What is the difference between this tool and a day counter?
A day counter only measures the gap between two dates. A full date calculator also adds and subtracts days, weeks, months, and years from a single date, and breaks a span down into several units. This page does all of those jobs in one tool.
How does the add days mode work?
Enter a starting date and a number of days, and the calculator moves forward that many calendar days, skipping over month ends and leap days correctly. For example, 90 days after January 1, 2026 is April 1, 2026. You can also subtract days to find a date in the past.
How do I calculate a duration in months and years?
Enter both dates in difference mode and read the months and years breakdown. The calculator counts whole calendar months first, then the remaining days. March 15, 2026 to November 15, 2026 is exactly 8 months, or 245 days.
Why does adding one month to January 31 give February 28?
February never has 31 days, so something has to give. Spreadsheets cap the result at the last day of February, which is February 28 in 2026. Some other tools roll forward into early March instead. Either way, the day of the month cannot stay at 31. Check the resulting date the tool shows, and plan month end schedules with February in mind. The month end section above explains the difference in full.
Can the tool handle dates in different years?
Yes. Spans can cross month and year boundaries freely, and leap years are included automatically. December 1, 2026 plus 45 days lands on January 15, 2027, and the calculator shows the correct weekday for the result.
Can I add business days instead of calendar days?
Yes, with the right tool. Calendar adding counts Saturdays and Sundays. Business day adding skips them, and can skip holidays too. Use the business days calculator for working day counts, or the WORKDAY function in a spreadsheet to land on a date a set number of business days later.
What is an ISO week number?
It is the week count used by the ISO 8601 standard. Weeks start on Monday, and week 1 is the week that holds the first Thursday of the year. Most years have 52 ISO weeks, and some have 53. The year 2026 has 53. The day of the year calculator page explains the boundary cases in full.
How we calculate and sources
Differences use Gregorian calendar arithmetic, the same day number subtraction a spreadsheet performs for =B1-A1. Month adding follows the standard calendar convention explained above, and spreadsheet users can compare with the EDATE function from Microsoft. Business day figures follow the US Office of Personnel Management federal holiday schedule. For court, contract or payroll deadlines, confirm the counting rule in your document, because rules vary.
Last reviewed: November 27, 2026
From quick deadline checks to long project timelines, this date calculator covers the date math most people need. If you only need a plain day count, the day counter is the simpler tool. Pick a mode, enter your dates, and get an exact answer without counting on a calendar.
