Quick answer
Advance from the earlier date through complete years, then complete months, then count the remaining days. Work forward, never subtract column by column.
Set up: earlier date first
Put the earlier date first and work forward. Subtracting the later from the earlier gives a negative interval that has to be reasoned about afterwards, which is an extra step and an extra place to make a mistake.
Take 15 March 2020 and 20 April 2021. The earlier date is the anchor and everything is measured forward from it.
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 Time Between Dates Calculator or the Years Between Dates Calculator.
Step one: complete years
Advance from 15 March 2020 by whole years and see how far you get without passing 20 April 2021. One year reaches 15 March 2021, which is before the target. Two years would reach 15 March 2022, which overshoots.
So the years field is 1, and the anchor moves to 15 March 2021. Everything remaining is measured from there.

Step two: complete months
From 15 March 2021, advance month by month without passing 20 April 2021. One month reaches 15 April, which is fine. Two months would reach 15 May, which overshoots.
The months field is 1, and the anchor moves to 15 April 2021. Note that this step used the calendar, not a day count — the month from 15 March to 15 April happened to be 31 days, and the next would have been 30.
Step three: the remaining days
From 15 April 2021 to 20 April 2021 is 5 days. That is the days field, and the count is finished: 1 year, 1 month, 5 days.
Compare with the column-subtraction approach: 20 minus 15 is 5 days, 4 minus 3 is 1 month, 2021 minus 2020 is 1 year. Same answer here, because no borrowing was needed. Change the target to 10 April and the day column goes negative, borrowing is required, and the answer depends on whether you borrow 30 or the real 31 days of March.
Worked example
From 15 March 2020 to 20 April 2021 is 1 year, 1 month and 5 days, and also 401 total elapsed days, two different kinds of answer. Put your own start and end dates through both readings before quoting either figure.
Two harder cases: the borrow, and no complete years
The worked example needed no borrowing and contained a complete year. Two variations on the same start date cover the cases that actually cause trouble. First, keep 15 March 2020 but move the target back to 10 April 2021 — the change the step-three section warned about. Working forward: one complete year reaches 15 March 2021. One complete month from there reaches 15 April, which overshoots, so the months field is 0. The days are what remains: 15 March to 10 April is 26 days. The answer is 1 year, 0 months, 26 days, and the total is 391 elapsed days — exactly ten fewer than the worked example, as it should be for a target ten days earlier.
Now run the column method on the same pair. The days column goes negative: 10 minus 15. Borrowing the real length of the month before the target — March, 31 days — gives 26 days and drops the months column to 0, matching the forward method exactly. Borrowing a flat thirty instead gives 25 days: one day wrong, produced by a borrow that never happened. Nothing else in the calculation differs. The entire disagreement between the two answers is the size of one borrow.
Second variation: a target with no complete years at all. From 15 March 2020 to 10 February 2021, one year would reach 15 March 2021 and overshoot, so the years field is 0. Count months forward instead: ten complete months reach 15 January 2021, and an eleventh would reach 15 February, which overshoots. The remaining days, 15 January to 10 February, are 26 — the same 26 as before, because January, like March, has 31 days and the same day-of-month gap crosses it. Total: 0 years, 10 months, 26 days, or 332 elapsed days.
Finally, hold the calendar structure still and move it across a leap day. From 15 March 2019 to 20 April 2020 the forward method gives exactly the worked example's answer — 1 year, 1 month, 5 days — but the total is 402 elapsed days, not 401, because 29 February 2020 sits inside the span. The years-months-days answer did not change; the day total did. That is the article's opening point in its purest form: the two figures measure different things, and a span can keep one fixed while moving the other.
A third case puts the anchor itself on a date that does not exist in the next month. From 31 January 2021 to 15 March 2021: no complete years, and one month forward from 31 January cannot land on 31 February, so the anchor clamps to 28 February. A second month would reach 28 March, which overshoots, so the months field is 1, and the remaining days from 28 February to 15 March are 15. The answer is 0 years, 1 month, 15 days, or 43 elapsed days. Notice that the anchor never returns to the 31st — once clamped to the 28th, later steps build from the 28th. Anyone generating monthly dates from a month-end start needs to know which behaviour their tool has before the schedule is published.
Every case in this section also survives being reversed. Swap the two dates in any pair above and the forward method simply takes the earlier date as its anchor and produces the same interval, because the method never depends on which date was named first — only on the order on the calendar. That is the quiet advantage over subtraction: the borrow has to be decided once, by the calendar, rather than once per column by whoever is holding the pen.
Common mistakes to avoid
- Subtracting column by column. It works only when no borrowing is needed. Work forward from the earlier date instead.
- Borrowing thirty days automatically. Borrow the actual length of the month preceding the target date.
- Comparing a calendar answer with a total-day answer as if they should match. They answer different questions and will not agree.
Use the right calculator
Use the Date Difference Calculator for years, months, days and total days, the Time Between Dates Calculator for calendar duration, and the Years Between Dates Calculator for complete years first.
Frequently asked questions
Why work forward instead of subtracting?
Forward counting never needs a borrow step, which is where most manual errors occur.
What if the two dates are in the wrong order?
Swap them and note the direction. Most tools report the absolute interval, which discards which date came first.
Does the method change across a leap day?
No. Counting complete years and months handles it automatically, because the anchors land on real calendar dates.


