Time Ago Calculator
Work out how long ago something was, broken down into years, months, weeks, days, hours and total units.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Time Ago Calculator does
The time ago calculator on this page will work out how long ago something was, broken down into years, months, weeks, days, hours and total units. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for converting a span in years and months into total days or hours. For a second version of this time ago calculator, see FreeToolsWorld.org.
How to use it
- Enter how many years ago the event was.
- Add the extra months, days and hours on top of that.
- Read the total in whichever unit you need.
- For an exact figure between two known dates, use the date difference calculator instead.
How it works
Converting a span expressed in years and months into a precise number of days is impossible without knowing which years and months, and this page is explicit about how it handles that. Years use 365.2425 days, the mean length of a Gregorian year, which accounts for the leap-year rule including the century exceptions. Months use a twelfth of that, 30.436875 days.
Those averages are the right choice for a general conversion and wrong for a specific one. Three months from the first of December is 89 days; from the first of January in a non-leap year it is 90; from the first of July it is 92. February alone varies by a day depending on the year. If what you need is the exact number of days between two dates you actually have, a calendar-counting tool is the correct instrument and this one will be out by a day or two.
Where average lengths are exactly what you want is in interest, subscription and ageing calculations, and in any comparison across spans that start at different times of year. A system that charges per month cannot use a different day count for each customer, which is why financial conventions standardise — the 30/360 convention used in some bond markets treats every month as 30 days and every year as 360, deliberately trading accuracy for consistency.
The written-out row exists because that is usually how the answer gets used. People want "3 years, 7 months, 12 days and 6 hours ago" for a note, a certificate or a conversation, not a decimal. The total-units rows below it are for the cases where a single number is needed — total hours for a billing calculation, total days for an interest accrual, total seconds for anything comparing against a timestamp.
When to use it
- Converting a span in years and months into total days or hours.
- Working out elapsed time for a record or a certificate.
- Getting a total in seconds to compare against a timestamp.
- Expressing a duration in words for a document.
Common mistakes to avoid
- Treating the result as exact. Month and year lengths vary, so this uses averages.
- Using 30 days for a month and 365 for a year, which drifts noticeably over long spans.
- Using this instead of a calendar calculation when you have two specific dates.
Frequently asked questions
How many days are in a month on average?
30.436875 — the mean Gregorian year of 365.2425 days divided by twelve. Actual months run from 28 to 31 days, so any conversion from a month count to a day count is an approximation.
Why is a year 365.2425 days?
Because the Gregorian calendar adds a leap day every four years, skips it every hundred, and adds it back every four hundred. Averaging those rules gives 365.2425 days, which is within half a minute of the true tropical year.
Should I use this or a date difference calculator?
Use this when your input is a span — "three years and seven months". Use a date difference calculator when you have two actual dates, since it counts real calendar days and will be exact.