Skip to content
HexaCalc

How Many Years Calculator

How many years since you graduated, started a job, or bought your house? Enter the two dates for full years, exact fractional years and a complete years-months-days breakdown.

Results update as you type.
Full years
18 years
Exact years (decimal)
18.126
Years, months, days
18 years, 1 month, 16 days
Total days
6,620

Worked example

Example: how many years ago was September 1, 2008 (from October 17, 2026)?

  1. Sep 1, 2008 → Sep 1, 2026 = 18 full years
  2. Sep 1 → Oct 17 = 46 days of a 365-day year
  3. 18 + 46/365 ≈ 18.13 years

18 full years (18.13 exact years).

Formula

Full years = whole anniversaries passed

Decimal years = full years + days since last anniversary ÷ days in that year

Decimal years use the true length of the current year (365 or 366 days).

Frequently asked questions

How many years ago was 1992?

In 2026, 1992 was 34 years ago (2026 − 1992).

How do I count years of service?

Use the hire date as the start and today (or the end date) as the end. Most HR policies count full years.

How many days are in a year on average?

365.2425 days in the Gregorian calendar, which is why we use exact dates instead of dividing by 365.

Last reviewed October 17, 2026 · Calculations run in your browser; nothing you enter is sent to a server.