Years Ago Calculator

Enter a number of years and the calculator returns the exact date it corresponds to, plus which day of the week that was. The year part is easy arithmetic. The weekday is the part nobody can do in their head.

Common:

Years are simple until February 29 shows up

Subtracting years usually just means changing the year number and keeping the month and day. August 7, 2026 minus 20 years is August 7, 2006. No surprises.

The one exception is February 29. Since leap days only exist every four years, going back from a February 29 to a non-leap year has no matching date. The result clamps to February 28, which is the same convention used for legal age calculations in most places.

The weekday shifts in a pattern rather than staying fixed. Each ordinary year moves the weekday forward by one, and each leap year moves it by two, which is why the same date falls on a different day each year.

What people are usually looking up

Anniversary and milestone dates come first. Working out the exact date of something twenty or fifty years back, and often which day of the week it was.

Age-related eligibility rules use year math. Retirement dates, licence renewals, and legal age thresholds are all defined this way.

Historical research and genealogy need it constantly, particularly when a record only gives an age rather than a birth date.

There is also the simple curiosity version: what year was it 40 years ago, and what was happening then.

Frequently asked questions

What year was it 20 years ago?

Subtract 20 from the current year. In 2026 that gives 2006. The calculator above also returns the exact date and weekday, not just the year.

What happens to February 29 when going back?

If the target year is not a leap year, the result clamps to February 28. This matches how age and legal date calculations usually treat leap-day birthdays.

Why does the same date fall on a different weekday each year?

A common year is 365 days, which is 52 weeks plus one day, so the weekday shifts forward by one. A leap year shifts it by two.

Can I calculate years from a date other than today?

Yes. Change the start date field and the calculator counts back from that date instead.