Pick a starting date and add or subtract months. When the new month is shorter, the result moves to its last day, so Jan 31 + 1 month is February 28 (February 29 in a leap year). Decimal months like 1.5 and days-to-months conversion work too.
Month-end examples
Result
Select a date
How to Add Months to a Date When the Day Doesn't Exist
When you add months to a date and the new month is shorter, the result moves to the last day of that month. Jan 31 + 1 month is February 28 (February 29 in a leap year). Code that rolls over instead returns March 3 (March 2 in a leap year). This calculator applies the month-end rule for you and shows the weekday of the result.
Use the Years, Months, and Days fields, or tap a preset such as +6 months or -3 months. Months accepts decimals: 1.5 months is 1 month plus 15 days. Check Snap to last day of month if you want the result to land on the final day of its month, like Excel's EOMONTH.
Two more tabs cover related questions. Date Difference gives the days, weeks, and years-months-days between two dates. Days ↔ Months answers "how many months is 180 days" and "how many days is 6 months" with an average and the actual calendar count (6 months is 181 to 184 days, depending on the starting date).
When Month-End Dates Matter
Lease, loan, and billing dates
Add 6 or 12 months to a start date, or check a billing date when the cycle starts on the 29th, 30th, or 31st. Month-end start dates are where counts go wrong.
Trial, renewal, and cancellation dates
Find the date a plan renews after 1, 3, or 12 months. If you signed up on the 31st, your provider may use its own rule for shorter months, so compare it with the date shown here.
Warranty and return windows
Find the date 6 months or 1 year after a purchase, or count back from an expiration date with a negative number like -6 months.
Follow-up visits and checkups
Find the date 3 or 6 months after your last visit. For 1.5 months, enter 1.5 in Months to get 1 month plus 15 days.
Project phases and sprints
Set milestones at +1.5 months or +100 days, then use Date Difference to check the gap between two milestones.
Checking a spreadsheet or code result
If your formula or code returns March 3 for Jan 31 + 1 month, compare it with the result and the roll-over date shown in the note under the result.
How to Add or Subtract Months, Including 1.5 Months
- Add / Subtract tab: choose the Starting date, then enter Years, Months, and Days. Months accepts decimals such as 1.5. Tap a preset like +6 months or -3 months to fill the fields.
- To see how month-ends are handled, tap a button under Month-end examples, such as Jan 31, 2027 + 1 month. Check Snap to last day of month if the result should always be the last day of its month.
- Date Difference tab: pick a Start date and an End date to get the total days, a years-months-days breakdown, Full months, and Weeks. Days ↔ Months tab: choose Days → Months or Months → Days, then enter a number to see the average-based answer and the calendar count.
Note: The starting date is shared across the three tabs. Today sets it to today's date, and Reset restores the defaults.
How the Month-End Rule and Decimal Months Work
- Month-end rule: If the new month has no matching day, the month step lands on the last day of that month. February 28 or 29 depends on the year, using Gregorian leap-year rules.
- Order of steps: Years and Months are added first, a fractional month is added as days, and then Days are added. With Snap to last day of month on, the result then moves to the last day of its month.
- Decimal months: The Months field rounds to one decimal place. The fractional part is converted at 30.44 days per month, so 0.5 month is 15 days. For a negative value such as -1.5 months, the calculator goes back 1 month, then 15 more days.
- Roll-over comparison: When the month-end rule changes the result, the note under the result also shows the date you would get without it. For Jan 31, 2027 + 1 month, that is March 3, 2027.
- Date Difference: The start date counts as day 0. Add 1 to count both ends. The month-end rule is not applied here, so Jan 31 to Feb 28 shows 0 months, 28 days.
- Days ↔ Months: The top card uses 30.44 days per month (365.2425 ÷ 12). The range of days comes from checking every starting date across a four-year span that includes a leap year.
- Calendar days only: Weekends and holidays are not skipped. The result shows the weekday so you can check it.
- Date format: The date field uses your browser's own date picker. Results are shown as, for example, 02/28/2027 (month/day/year).
How Many Days Is 6 Months? Months-to-Days Chart
Averages use 30.44 days per month. Actual days is the shortest to longest span you get across starting dates in a four-year period that includes a leap year.
| Months | Average days | Actual days | Typical use |
|---|---|---|---|
| 1 month | about 30 | 28–31 | Billing cycle, one-month notice |
| 1.5 months | about 46 | 43–46 | Short projects, follow-ups |
| 2 months | about 61 | 59–62 | Two-month notice, short lease |
| 3 months | about 91 | 89–92 | Quarter, trial or probation period |
| 4 months | about 122 | 120–123 | Seasonal work, semester |
| 5 months | about 152 | 150–153 | Project phase |
| 6 months | about 183 | 181–184 | Six-month lease, warranty, or follow-up |
| 9 months | about 274 | 273–276 | Academic year, nine-month term |
| 12 months | about 365 | 365–366 | Annual lease, warranty, or subscription |
| 18 months | about 548 | 546–550 | Extended warranty or contract |
| 24 months | about 730 | 730–731 | Two-year contract or warranty |
| 36 months | about 1,096 | 1,095–1,096 | Three-year contract or warranty |
Why "how many days is 6 months" has no single answer
Months run from 28 to 31 days, so 6 months changes with the starting date. From January 1, 2027 it is 181 days (to July 1). From July 1, 2027 it is 184 days (to January 1, 2028). The average is about 183 days.
Days to months
Using 30.44 days per month: 30 days is about 1.0 month, 60 days about 2.0, 90 days about 3.0, 100 days about 3.3, 120 days about 3.9, 150 days about 4.9, 180 days about 5.9, 200 days about 6.6, 270 days about 8.9, and 365 days about 12.0.
1.5 and 2.5 months
The calculator treats 1.5 months as 1 month + 15 days: about 46 days, or 43 to 46 days depending on the starting date. 2.5 months is about 76 days (74 to 77).
Jan 31 + 1 Month: How Excel, JavaScript, and This Calculator Differ
Month-end dates trip up spreadsheets, code, and quick mental math. Here is where common dates land and why tools can disagree.
Where month-end dates land after adding months
A date moves to the same day number in the new month. If that day doesn't exist, it moves to the last day of the month.
Jan 31 + 1 month → February 28 (February 29 in a leap year)
Jan 30 + 1 month → February 28 (February 29)
Mar 31 + 1 month → April 30
May 31 + 1 month → June 30
Aug 31 + 6 months → February 28 (February 29)
Oct 31 + 4 months → February 28 (February 29)
Dec 31 + 2 months → February 28 (February 29)
Feb 29 + 1 year → February 28 in a non-leap year
EDATE, EOMONTH, and this calculator
In Excel and Google Sheets, EDATE(start, months) moves by whole months and returns the last day of the month when the day doesn't exist, so Jan 31 + 1 month gives Feb 28. EOMONTH(start, months) always returns the last day of the target month. This calculator's default follows the EDATE-style rule for whole months, and Snap to last day of month gives an EOMONTH-style result.
JavaScript setMonth returns March 3
In JavaScript, date.setMonth(date.getMonth() + 1) on January 31 asks for "February 31" and rolls over to March 3 (March 2 in a leap year). To avoid it, find the last day of the target month with new Date(year, month + 1, 0).getDate() and use the smaller of that and the original day. This calculator works that way and shows the roll-over date for comparison.
Time zones and date-only strings
new Date('2027-01-31') is read as midnight UTC, so in US time zones it displays as January 30 in local time. This calculator builds each date from its year, month, and day in local time, so the date you pick is the date it uses.
1 month is not 30 days
Adding 1 month keeps the day number: January 15 to February 15 is 31 days, but February 15 to March 15 is 28 days (in 2027). If a contract or app counts in 30-day blocks, use the Days field instead of Months. A plan that bills on the 31st also needs a rule for shorter months, such as billing on the last day, and companies choose differently, so check your terms.
Why Your Month-End Date Comes Out Wrong
Jan 31 + 1 month returns March 3 in your code or sheet
Some date functions add 1 to the month number and keep the day number. Jan 31 becomes "Feb 31", which rolls over to March 3 (March 2 in a leap year), so the date is a few days off.
💡 See the solution▼
Adding 1 month twice instead of 2 months once
Jan 31 + 1 month is February 28. Add another month to that and you get March 28, not March 31, because the earlier correction carries forward.
💡 See the solution▼
Treating 6 months as 180 days, or 1 month as 30 days
From January 1, 2027, 180 days ends on June 30, one day short of the 6-month date (July 1). Twelve 30-day blocks add up to 360 days, five days short of a year.
💡 See the solution▼
Counting the start date the wrong way
Counting from a start date, "in 30 days" normally means 30 days after it, with the start date as day 0. Some rules count the start date as day 1, which puts the deadline one day earlier.
💡 See the solution▼
Forgetting weekends and holidays
Adding 30 or 100 calendar days can land on a Saturday, Sunday, or holiday. Whether the due date moves depends on the rule you are following.
💡 See the solution▼
Month-End Dates and Months-to-Days: Common Questions
Q.What is January 31 plus 1 month?
A. February 28 in most years, and February 29 in a leap year such as 2028. February has no day 31, so the calculator uses the last day of the month. Tap Jan 31, 2027 + 1 month or Jan 31, 2028 + 1 month (leap year) under Month-end examples to see both results.
Q.How do I add months to a date and always land on the last day of the month?
A. Check Snap to last day of month. The calculator adds the months first, then moves the result to the last day of that month. For example, February 28, 2027 + 1 month is March 28 normally, but March 31 with the option on.
Q.Why does my spreadsheet or code return March 3 instead of February 28?
A. Some date functions, including JavaScript's setMonth, keep the day number and let the extra days roll into the next month. Jan 31 becomes "Feb 31", which is March 3 in 2027 (March 2 in 2028). Excel's EDATE returns the last day of the month instead. When this calculator adjusts a date, the note under the result also shows the roll-over date.
Q.How many days is 6 months?
A. About 183 days on average, but 181 to 184 days depending on the starting date. January 1, 2027 to July 1, 2027 is 181 days, and July 1, 2027 to January 1, 2028 is 184 days. Open Days ↔ Months, choose Months → Days, and enter 6 to see the range for your own starting date.
Q.How do I add 1.5 months to a date?
A. Enter 1.5 in the Months field or tap +1.5 months. The calculator adds 1 month first, then 15 days (0.5 month at 30.44 days per month). From January 1, 2027, that gives February 16, 2027. In days, 1.5 months is about 46, or 43 to 46 depending on the starting date.
Q.How many months is 180 days?
A. About 5.9 months, or 5 months and 28 days, using 30.44 days per month. On the calendar it depends on the start date: 180 days from January 1, 2027 ends on June 30, one day before the 6-month date. Use Days → Months to check your own starting date.
Q.How do I subtract months from a date?
A. Enter a negative number in Months, or tap -1 month, -3 months, -6 months, or -1 year. For the date 6 months ago, tap Today and then -6 months. The same month-end rule applies, so Aug 31 - 6 months is February 28 (February 29 in a leap year).
Q.What happens when I add 1 year to February 29?
A. In a year that isn't a leap year, the result is February 28. For example, Feb 29, 2028 + 1 year is February 28, 2029. A roll-over calculation would give March 1, 2029, so check which rule your contract or software uses.
Q.Is adding 1 month the same as adding 30 days?
A. No. Adding 1 month keeps the day number: January 15 to February 15 is 31 days, and February 15 to March 15 is 28 days (in 2027). Use the Days field for a fixed 30-day count.
Q.Does the date difference count the start date?
A. No. Date Difference counts the start date as day 0, so April 1 to April 2 is 1 day. Add 1 if you want to count both dates.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.