Quick answer
Preserve calendar boundaries when the output is years, months and days. Use total days only when a single-unit duration is what was asked for.
The 30-day assumption and where it fails
Treating a month as 30 days is convenient and wrong in eight months out of twelve. Seven months have 31 days, four have 30, and February has 28 or 29. The assumption is exactly right in April, June, September and November and nowhere else.
Over a single month the error is small. Over a year of month-by-month arithmetic it accumulates to about five days, which is why a 30-day-month model and a calendar model give visibly different answers for anything measured in months over a long span.
Use this guide with the right tool: Open the Date Difference Calculator for calendar difference in years months days and total days. If the question shifts, compare it with the Months Between Dates Calculator or the Days Between Dates Calculator.

Borrowing, and why it goes wrong
Manual age calculation usually works column by column: subtract days, subtract months, subtract years, borrowing when a column goes negative. The borrow step is where the month length enters, and where people default to thirty.
The correct borrow takes the actual length of the month preceding the reference date. Borrowing from a February gives 28 or 29; from a March, 31. Using thirty in either case shifts the days field by up to three, which is enough to cross an assessment band or a policy boundary.
End-of-month arithmetic
Adding a month to 31 January has no exact answer, because February has no 31st. The two standard responses are to clamp to the last day of the target month, or to roll forward into the next. Both appear in real systems, and they differ by up to three days.
This matters most for anything recurring monthly from a date near the end of a month — subscriptions, medication schedules, contractual milestones. Whichever convention applies, the important thing is that it does not change between calculations, because a sequence built on two conventions cannot be reconstructed.
When to abandon months entirely
If what you actually need is a duration rather than a calendar structure, days are cleaner. Total elapsed days is unambiguous, needs no convention, and handles leap years automatically because every day in the span is simply counted.
Use months when the question is calendar-shaped — anniversaries, monthly cycles, age in a form that asks for months. Use days when the question is about quantity. Problems arise when a days answer is reported as months, or the reverse, without saying so.
Worked example
Test your own pair in days and months.
One subtraction, three answers
Borrowing errors are easiest to see in a single small subtraction worked three ways. The question: a child born 28 January 2026 — what is the age on 5 March 2026? By the clamped-anchor method this site uses: add one month to 28 January and you reach 28 February; add five days and you reach 5 March. The age is 1 month 5 days.
By column borrowing, done with the real calendar: the days column reads 5 minus 28, which will not go, so borrow one month from March. The month being borrowed is February 2026, which has 28 days, so the days column becomes 5 plus 28 minus 28 — 5 days. The months column is then 3 minus 1 for the borrow, minus 1 for January: 1 month. The answer, 1 month 5 days, agrees with the anchor method, as it must — borrowing is the same arithmetic done in a different order, provided the borrowed month is the real one.
Now the same columns with a flat thirty borrowed instead. The days column becomes 5 plus 30 minus 28 — 7 days. The months column is unchanged at 1. The answer reads 1 month 7 days: two days too many, and the error is exactly February's shortfall from thirty. Nothing else in the calculation moved. A reader checking the work sees tidy columns and a plausible answer, and the two-day error survives unless they know which month was borrowed and how long it was.
The error runs in the opposite direction when the borrowed month is a long one. Take a birth on 30 November 2025 and a reference date of 12 April 2026. The anchor method: four months from 30 November reaches 30 March, and thirteen days more reaches 12 April — 4 months 13 days. Borrowing agrees: the days column, 12 minus 30, borrows March's real 31 days to give 12 plus 31 minus 30 — 13 days. Borrow a flat thirty instead and the column gives 12, for an answer of 4 months 12 days, one day too few. So the flat-thirty habit does not even err consistently: it overstates by two days across a February borrow, understates by one across a 31-day month, and is accidentally right across April, June, September and November. An error that changes sign with the calendar cannot be corrected after the fact by adding or subtracting a fixed amount — the only fix is to borrow the month that is actually there.
There is a cheap audit for all of this, and it is the total day count. The first subtraction spans 36 elapsed days, from 28 January to 5 March 2026. The correct answer, 1 month 5 days, is consistent with that: one month from 28 January lands on 28 February, and five days more lands on 5 March. The flat-thirty answer, 1 month 7 days, lands on 7 March — a 38-day span answering a 36-day question. The second subtraction spans 133 days, and its flat-thirty answer lands a day early, on day 132. Whenever a years-months-days answer is in doubt, convert it back to a landing date and count the days: the two figures must describe the same interval, and a borrowed-thirty error cannot survive being made to name the date it actually reaches.
Common mistakes to avoid
- Assuming a month is 30 days. It is only true four months of the year. The error accumulates to about five days annually.
- Borrowing a flat thirty in the days column. Borrow the real length of the preceding month, or the days field is off by up to three.
- Switching end-of-month conventions between calculations. Clamping and rolling both exist. Inconsistency makes a sequence irreproducible.
Use the right calculator
Date Difference Calculator gives years, months, days and total days, Months Between Dates Calculator counts complete months plus residual days, and Days Between Dates Calculator counts calendar days.
Frequently asked questions
What is the average month length?
About 30.44 days, but that average is not useful for calendar arithmetic — it belongs to statistical work, not to counting anniversaries.
Should I use months or days?
Months for calendar-shaped questions, days for durations. State which you used, since the two answers differ.
Which end-of-month rule does this site use?
Clamping to the last day of the target month, which is the more common convention. Where a governing rule specifies otherwise, that rule wins.


