Month Calculator
Whole months and days between two dates — the clamped calendar arithmetic that tenancies, leases and terms actually run on.
Month Calculator
Results recalculate instantly on every keystroke. Nothing you type is transmitted.
What this result does not account for
- Whole-month walk with clamps — no 30/360 convention
- Forward terms; reversed ranges are named, not flipped
In short: From 31 January 2025 to 18 September 2026 is 19 whole months and 18 days. The anchor walks forward month by month — the 31st clamps to shorter months' ends on the way — and the remainder is priced in calendar days from the clamped anchor, never averaged. The same span is 595 days, which a thirty-day-month habit would miscount by five: months are not thirty days, and the clamped walk is how the calendar actually behaves.
Formula
whole months = clamped monthly walk; remainder priced in days
Months are counted the way leases read: advance the start one whole month at a time, clamping the day-of-month to each destination month's end, until one more month would overshoot the end date. What remains is priced in plain days from the clamped anchor. Reversed ranges are named, not silently flipped; and because months differ in length, the same number of months can span different day counts — which is why the raw-days line sits beside the monthly one.
Worked Example
- Set the from and to dates.
- Read the whole months and the day remainder.
- Compare against the raw-days line before signing.
Defaults: 31 January 2025 to 18 September 2026 — 19 months and 18 days, the anchor clamped through February and April on its walk, 595 raw days. Start on the 28th and the anchor walks clean.
Strengths & Limits Of This Model
Where this engine is strong
- The clamped anchor is shown, term reproducible
- Raw days beside months — the average exposed
Where it stops
- No day-count-convention money maths
Practical Use Cases
Tenancies and leases
the whole-month term plus odd days
Employment terms
service counted the HR way
Subscription spans
billing cycles that clamp
Methodology & Editorial Standards
Computation runs in IEEE-754 double precision at full internal precision; rounding to two decimal places occurs strictly at the display layer, so no cumulative drift enters the result. All monetary outputs use accounting presentation — grouped thousands, two decimals, negatives in parentheses — so figures can be transcribed directly into a model or working paper. Division-by-zero and out-of-domain inputs return an em-dash rather than a misleading number.
This engine was reconciled against an independent reference implementation and hand-verified for the worked example above before release. Our full five-stage review process is published on the About Us page.
Disclaimer. This calculator is provided for informational and modelling purposes only and does not constitute financial, tax, legal, medical, or engineering advice. Verify all figures with a qualified professional before acting on them.
Month Calculator — 8 Expert FAQs
8 analyst-written answers to the questions practitioners actually ask — optimised for voice and answer-engine retrieval.
Why clamp instead of rolling over?
Because a lease that starts on the 31st does not become a lease of the 3rd of the next month when the month runs short — it holds the month's last day. Clamping keeps the anchor inside the month it belongs to, which is what every tenancy and subscription engine does.
What does the anchor mean?
The date the walk last stood on: start plus the whole months, with clamps applied. The day remainder is measured from there, so the term is exactly reproducible — the anchor is the receipt for the months already paid.
Why do the raw days disagree with months times thirty?
Months average a shade over thirty days but individually run twenty-eight to thirty-one. Nineteen true months happen to carry 578 days here, not 570 — the five-day gap is the calendar being the calendar. Contracts price in whole months plus days precisely to dodge the average.
What if the range runs backwards?
The page names the reversal and counts the true distance the other way. Terms read forward by convention, so a reversed range is worth checking for a field swap before trusting.
How do 29 February births of a term behave?
The anchor clamps: a term starting on the 29th of February walks to the 28th in common years and recovers the 29th in leap years. The clamp line shows when it fired so the reading is never silent.
Is a month twelve twelfths of a year?
For whole-month counting, yes by definition. For day-rate money, no — that is why the raw-days line sits on the page: divide it by your own day-count convention when the money needs one.
Why not just count thirty-day blocks?
Because nothing signs a lease in thirty-day blocks. The whole-month-plus-days figure matches how terms are written, invoiced and renewed; the thirty-day habit is a shortcut that quietly miscounts every month it touches.
Does the day remainder ever go negative?
No — the walk stops before overshooting, so the remainder is zero or positive by construction. If a figure like minus days appears anywhere in a term sheet, the arithmetic behind it is broken.