docs / articles / Excel Formula: Calculate End Date from Start Date & Calendar Days

Excel Formula: Calculate End Date from Start Date & Calendar Days

Eric Jul 09, 2026 2026-07-09 04:40:47

Calculating an end date based on a specific number of calendar days in Excel can be a breeze with the right formula. This is particularly useful in project management, scheduling, or any scenario where you need to determine a future date based on a given start date and the number of days that follow.

How to calculate time between two dates in Years, Months & Days [Excel Formula]
How to calculate time between two dates in Years, Months & Days [Excel Formula]

In this article, we'll delve into the Excel formula that accomplishes this task, explore its intricacies, and provide practical examples to help you master this essential skill.

Calculate Number of Days Between Two Dates in Excel - TheAppTimes
Calculate Number of Days Between Two Dates in Excel - TheAppTimes

Understanding the Excel Formula

The formula to calculate the end date in Excel is straightforward and uses the EDATE function, which adds a specified number of months to a start date. To calculate days, we'll use the EOMONTH function to find the last day of the month, and then adjust the date accordingly.

How to Use 20+ Date Formulas in Excel
How to Use 20+ Date Formulas in Excel

Here's the formula structure: `=EOMONTH(EOMONTH(start_date, 0), number_of_days - 1)`. Let's break it down:

EOMONTH Function

Calculate Number of Days Between Two Dates in Excel (8 Quick Tricks)
Calculate Number of Days Between Two Dates in Excel (8 Quick Tricks)

The EOMONTH function returns the last day of the month that is the specified number of months before or after the start date. Using EOMONTH(start_date, 0) ensures we're working with the last day of the start month.

For example, if your start date is January 15, 2022, EOMONTH(2022-01-15, 0) will return January 31, 2022.

Adjusting for Days

Calculate Working Days between two Dates in Excel: Find Workdays Excluding Holidays & Weekends
Calculate Working Days between two Dates in Excel: Find Workdays Excluding Holidays & Weekends

After finding the last day of the start month, we subtract 1 from the number of days to account for the inclusive nature of the EDATE function. This ensures that the end date is exactly the desired number of days after the start date.

For instance, if you want to calculate the end date 30 days after January 15, 2022, you'd use `=EOMONTH(EOMONTH(2022-01-15, 0), 29)`. This will return February 14, 2022, which is 30 calendar days after January 15, 2022.

Handling Leap Years and Month Ends

How to fill date by week in Excel quickly and easily?
How to fill date by week in Excel quickly and easily?

Excel's EDATE and EOMONTH functions handle leap years and month ends automatically, making the formula robust for various scenarios.

For example, if your start date is February 28, 2020, and you calculate 30 days after, the formula will return March 30, 2020, accounting for the extra day in February during a leap year. Similarly, if you calculate 31 days after February 28, 2020, the formula will return March 31, 2020, even though February only has 29 days in a leap year.

an image of a calendar in microsoft office 365 with the date and time tab open
an image of a calendar in microsoft office 365 with the date and time tab open
Calender in Excel ‼️ Amazing Excel trick using data validation and conditional formatting ✅ #Excel
Calender in Excel ‼️ Amazing Excel trick using data validation and conditional formatting ✅ #Excel
How to calculate elapsed time/days/months/years between two datetimes in Excel?
How to calculate elapsed time/days/months/years between two datetimes in Excel?
Create a date sequence in Excel and auto fill date series
Create a date sequence in Excel and auto fill date series
How to Add 7 Days to a Date in Excel (3 Methods)
How to Add 7 Days to a Date in Excel (3 Methods)
2 Ways To Display Weekday For A Date In Excel
2 Ways To Display Weekday For A Date In Excel
Dynamic Calendar with Single formula
Dynamic Calendar with Single formula
calculate expiry date in excel | Excel Tutorials | how to calculate expiry date in Excel #Excel2022
calculate expiry date in excel | Excel Tutorials | how to calculate expiry date in Excel #Excel2022
Excel DATEDIF function to get difference between two dates
Excel DATEDIF function to get difference between two dates
Auto-Write Dates in Excel With This simple Trick in Seconds!📅  #excel #excelshorts
Auto-Write Dates in Excel With This simple Trick in Seconds!📅 #excel #excelshorts
a green and white flyer with the date function for edate functions in excel format
a green and white flyer with the date function for edate functions in excel format
Expiry Date Calculation with EDATE Function
Expiry Date Calculation with EDATE Function
Excel Holiday Calendar Template 2026 and Beyond (FREE Download)
Excel Holiday Calendar Template 2026 and Beyond (FREE Download)
Excel Autofill - how to quickly enter Months, Days, Dates and Numbers without typing
Excel Autofill - how to quickly enter Months, Days, Dates and Numbers without typing
Top 6 Excel Date Formulas
Top 6 Excel Date Formulas
Excel Formula to Calculate Number of Days Between Two Dates - ExcelDemy
Excel Formula to Calculate Number of Days Between Two Dates - ExcelDemy
an info sheet with different dates and times for each month in the calendar, including
an info sheet with different dates and times for each month in the calendar, including
How to Extract Day, Month, Year from Date in Excel | Excel Formula | Excel Function | Excel World
How to Extract Day, Month, Year from Date in Excel | Excel Formula | Excel Function | Excel World
How to Create a Timestamp in Excel
How to Create a Timestamp in Excel
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar

Leap Years

Leap years, which occur every four years, have 366 days instead of the usual 365. The EDATE and EOMONTH functions automatically adjust for these extra days, ensuring accurate end dates even when dealing with leap years.

For instance, if you calculate 366 days after December 31, 2019, the formula will return December 31, 2020, accounting for the extra day in February 2020.

Month Ends

The EOMONTH function ensures that the end date always falls on the last day of the month, even if the start date is not at the end of the month. This is particularly useful when you want to find the last day of a month that is a certain number of months after the start date.

For example, if you calculate 3 months after January 15, 2022, the formula will return April 30, 2022, which is the last day of the month that is 3 months after January 15, 2022.

Mastering this Excel formula to calculate the end date based on calendar days will save you time and ensure accurate results in your projects and tasks. Happy calculating!