🗓️

Month Calculator

✓ Free & no signup 🔒 Runs 100% in your browser Updated 2026-11-25 Online Calculators

Month arithmetic breaks the rules people expect. Ask "what is January 31 plus one month?" and the calendar has no February 31 to offer — real answers depend on a convention called day clamping. Ask "how many months between March 20 and June 10?" and the honest answer is not 3 but "2 months and 21 days," because the third month never completes. This calculator handles both questions with the conventions that contracts, billing systems, and date libraries actually use.

Mode one measures the span between two dates in whole months plus remaining days. Mode two adds or subtracts any number of months from a date and shows the resulting date, clamped when necessary, along with the weekday it falls on. Results update instantly, the computation runs entirely in your browser, and the tool is free with no signup — safe for confidential contract or medical dates you would rather not paste into a web form with an upload button.

Month math shows up everywhere once you look: lease terms, subscription renewals, pregnancy counting, warranty periods, loan schedules, visa durations. Getting the convention right matters because systems disagree at the edges, and the edges are exactly where disputes happen.

Mode 1: Months Between Two Dates

Enter a start date and an end date; the tool reports whole elapsed months plus leftover days. The convention: a whole month elapses when the same day-of-month arrives again in the calendar.

Examples with the convention applied:

StartEndResult
Jan 10, 2025Feb 10, 20251 month, 0 days
Jan 15, 2025Mar 14, 20251 month, 27 days
Mar 20, 2025Jun 10, 20252 months, 21 days
Jan 31, 2025Feb 28, 20250 months, 28 days
Jan 29, 2024Mar 1, 20241 month, 1 day

The last two rows show the borrowed-day behavior. January 31 to February 28 in a common year yields 0 months and 28 days: the full month would end on the nonexistent February 31, so nothing completes. But January 29 to March 1, 2024 — a leap year — gives 1 month and 1 day, because February 29 exists and the one-month mark lands there. The same dates in 2025 produce 31 remaining days with no whole month. The leap day literally changes the month count, and this tool applies the correct behavior for whichever year you enter.

Reversed dates are handled with the absolute difference, so entering the later date first still yields a positive result rather than an error.

Mode 2: Add or Subtract Months From a Date

Enter a date, a number of months, and choose add or subtract. The tool advances the month field by that amount and keeps the day-of-month — unless the target month has no such day, in which case it clamps to the month's last day.

January 31, 2025 plus 1 month: February has no 31st, so the result is February 28, 2025 — the last day of the target month. The tool also displays the weekday: February 28, 2025 is a Friday. Adding 2 months lands on March 31, which exists normally, showing that clamping only kicks in at month boundaries.

More clamping examples that show why this convention matters:

  • March 31 + 1 month → April 30 (no April 31).
  • August 31 − 1 month → July 31 (no clamping needed).
  • May 31 + 3 months → August 31 (exact fit).
  • November 30 + 3 months → February 28, 2026 in a common year, February 29 in a leap year — same operation, different result by year.

Subtraction clamps the same way: May 31 minus 3 months gives February 28 (or 29 in a leap year), not March 2 or an error. This matches the behavior of standard date libraries and most contract interpretations: a payment due "one month after January 31" is due February 28, not March 2 or 3.

How to Use This Calculator (Step by Step)

  1. Pick the mode: between two dates to measure a span, or add/subtract months to project forward or backward.
  2. For the between mode, enter start and end dates in either order and read whole months plus remaining days. Use it for lease lengths, warranty windows, and billing spans.
  3. For the add/subtract mode, enter the anchor date and the month count, and select the direction. Negative results are impossible by design — direction is a choice, not a sign.
  4. Read the weekday of the result. Renewal dates that land on a weekend often shift in practice; knowing the raw weekday lets you apply your own business-day rule deliberately.
  5. Note whether clamping occurred. If an anchor day is 29, 30, or 31, check the result — that is where systems disagree and where your contract or billing platform may use a different convention.
  6. Change any input and both modes recompute instantly.

How It Works: The Calendar Math

The between mode walks forward from the start date, advancing one whole month whenever the same day-of-month is reached (clamping at short-month ends for anchor days like the 31st), then counts the leftover days literally. The add/subtract mode is the same operation anchored at one end: add N to the month index, keep the day, clamp the day to the target month's length, and resolve the weekday from the final date.

Worked example, between mode: March 20 to June 10, 2025. The one-month mark is April 20; the two-month mark is May 20. June 10 is 11 days past May 20, so the result is 2 months and 11 days — not the 21 shown earlier for a June 10 end wait, recompute: May 20 plus 21 days is June 10, so the correct result is 2 months and 21 days. The arithmetic is small but the counting must be done on the actual calendar, which is precisely what humans do badly and this tool does reliably.

Worked example, add mode: October 15, 2025 plus 7 months. Month index advances to May 2026, day stays 15, no clamping. Result: May 15, 2026, a Friday. The weekday comes from counting days modulo 7 against the known weekday of the result date — a detail that matters when the deadline must fall on a business day.

Common Use Cases

  • Lease and rental terms. A lease starting January 31 for 6 months ends July 31 — but one starting March 31 ends September 30 by clamping. Verify both before signing.
  • Subscription renewals. Services billed monthly on the 31st typically renew on the last day of short months; predict the actual charge dates.
  • Pregnancy and medical timelines. "Nine months from May 20" is February 20 — a weekday check tells you whether the appointment target is even open.
  • Warranty and return windows. Bought August 30 with a 3-month warranty? Coverage runs to November 30, not December 1.
  • Loan and installment schedules. Payment dates generated by adding months to an anchor date clamp at month ends; this tool reproduces the schedule for checking.
  • Visa and permit durations. "Six months from entry" lands on a specific date; knowing whether it is a weekday matters for flights and appointments.

Tips and Best Practices

  • Check the clamping convention in your contract. Some agreements specify "the last day of the month" for month-end anchors; others add months to the first of the next month instead. The math here follows the standard last-day clamp.
  • Beware anchors on the 29th–31st. Any date near a month end produces year-dependent results — February 28 versus 29 — so verify leap years when the span crosses one.
  • Weekend results need a business-day policy. If the computed renewal is a Saturday, your provider may charge Friday or Monday. The weekday display surfaces this before it surprises you.
  • Use whole months plus days for reporting, days for deadlines. "2 months and 21 days" communicates well; the literal day count is safer for interest and legal cutoffs.
  • Reversed date order is fine in the between mode. The absolute difference means you never need to swap inputs — but if a negative result would be meaningful (days before a launch), swap deliberately.
  • Do not mix month math and day math casually. January 10 + 2 months + 30 days differs from January 10 + 90 days. Apply operations in the order your agreement states them.

Limitations Worth Knowing

This calculator uses the standard Gregorian calendar and the common clamping convention, but it is not a legal authority: contracts, jurisdictions, and billing platforms each define "one month" in their own terms, and some specify day counts instead. It also does not handle business-day calendars — no holiday exclusion, no work-week adjustment — so a renewal computed here still needs your own holiday rules applied. For durations beyond a few years, century leap-year rules (2100 will not be a leap year) are handled correctly, but very long spans are usually better expressed in days anyway, since whole-month counting loses precision as spans grow.

Month Calculator vs. Counting on a Paper Calendar

For a span like March 20 to June 10, finger-counting gets the months right and the days wrong — most people report "almost 3 months" and stop there, while the exact figure is 2 months and 21 days. For projection, the paper calendar handles small additions but fails at clamping: almost nobody correctly lands January 31 plus 1 month on February 28 without being told the convention, and fewer still check the weekday. This tool applies the standard library convention consistently, handles reversed inputs, resolves the weekday, and recomputes instantly as dates change. It runs locally in your browser, so lease dates and medical timelines stay on your device.

Frequently Asked Questions

What is January 31 plus one month?
Under the standard clamping convention, it is February 28 in a common year or February 29 in a leap year. The month index advances by one while the day-of-month stays, but February has no 31st, so the date clamps to the month's last day. This matches how most date libraries, billing systems, and contracts treat month-end anchors — a payment due one month after January 31 lands on the last day of February, not March 2 or 3. The add/subtract mode applies this rule and shows the resulting weekday.
How do I calculate how many months are between two dates?
Count whole month-spans from the start date, then the remaining days. March 20 to June 10, 2025: one month completes at April 20, two at May 20, and June 10 is 21 days later, giving 2 months and 21 days. Edge cases matter — January 31 to February 28 in a common year is 0 months and 28 days, because no full month elapses when February has no 31st. The between mode applies this convention for any pair, in either input order.
How does a leap year affect month calculations?
Two ways. First, spans including February 29 gain a day: January 29 to March 1 is 1 month and 1 day in 2024, but 31 remaining days in 2025 because February 29 does not exist. Second, clamping results differ: November 30 plus 3 months gives February 29 in a leap year and February 28 otherwise — the same operation, a different date. Leap years occur every 4 years except century years not divisible by 400, and this calculator applies the rule to whatever years you enter.
What happens when adding months lands on a date that does not exist?
The day clamps to the last day of the target month. March 31 plus 1 month becomes April 30; May 31 plus 3 months becomes August 31 only because August has 31 days; May 31 minus 3 months gives February 28 (29 in leap years). This is the behavior of standard date libraries and the most common legal interpretation. Note that some contracts specify alternatives, like rolling to the first of the next month — the calculator uses the standard last-day clamp, so verify your agreement's wording when it defines the convention explicitly.
Why do two calculators give different answers for months between dates?
Because 'a month' is not a fixed unit, tools pick different conventions: some count only whole months and drop the remainder, some average months as 30.44 days, some count any partial month as a full one. The difference is usually a few days but can reach a whole month at boundaries — January 31 to February 28 is 28 days, 0 months, or '1 month' depending on the rule. This tool reports whole elapsed months plus remaining days explicitly, so you see both components rather than a single rounded figure.
How do I find the day of the week for a future date?
Use the add/subtract mode: enter today's or any known date, add the number of months, and the result includes its weekday. January 31, 2025 plus 1 month gives Friday, February 28, 2025. Weekday matters in practice because renewals, court dates, and deliveries that land on weekends shift to adjacent business days under most providers' policies. Seeing the weekday lets you anticipate the shift instead of discovering it from a charge notification or a missed deadline.

Related Tools