Age calculator
Enter a date of birth and, if you like, a different date to measure age on. You get the age in years, months and days, the total days lived and the next birthday.
Age calculator
Formula, assumptions and rounding
- Calculator type
- Global
- Formula
- Whole months: the largest number of months that can be added to the birth date without passing the 'as of' date. When the target month is shorter, the day is moved back to the last day of that month (31 January + 1 month = 28 or 29 February).
- Age in years and months = those whole months divided into years and a remainder. Days = the days left between that date and the 'as of' date.
- Total days = the number of days from the birth date to the 'as of' date. Total weeks = total days / 7, rounded down.
- Next birthday = the first anniversary on or after the 'as of' date.
- Assumptions
- Dates are calendar dates in the Gregorian calendar; time of day and time zones are ignored.
- For a birth on 29 February, the birthday in a non-leap year is taken as 28 February. Some legal systems use 1 March: the tool does not decide what counts as your legal age.
- The 'as of' date defaults to today on your device and can be changed to any date on or after the date of birth.
- Units
- Years, months, days, weeks. Dates are shown in the format of your browser's language.
- Rounding
- No rounding for years, months, days or total days. Total weeks is rounded down to a whole number.
- Last reviewed
Privacy: everything you enter is processed in your browser and is not sent to our servers. How we handle data
How to use Age Calculator
- Enter the date of birth using the date picker or by typing.
- Leave 'Age as of' on today's date, or change it to see an age on another day, for example a future cut-off date.
- Select Calculate.
- Read the age, the totals and the next birthday, then copy or print the result if you need it.
Assumptions and limits
- Calendar dates only: time of day and time zones are ignored.
- For a birth on 29 February, the birthday in a common year is taken as 28 February. Some legal systems use 1 March, so the tool does not decide your legal age.
- The date of birth cannot be after the 'as of' date. Years 1 to 9999 are supported.
- Dates are displayed in the format of your browser's language.
Frequently asked questions
- How are the months and days worked out?
- The tool counts the whole months from the birth date, moving to the last day of a month when the day does not exist (31 January plus one month is 28 or 29 February). The days left over after that are the 'days' figure.
- What happens if I was born on 29 February?
- In a leap year the birthday is 29 February. In other years the tool treats 28 February as the birthday. If your situation depends on a legal definition, check the rule that applies to you.
- Can I find my age on a past or future date?
- Yes. Change 'Age as of' to any date on or after the date of birth, for example the closing date of an application.
- Is my date of birth stored or sent anywhere?
- No. The calculation runs in your browser and nothing you enter is sent to our servers or kept after you close the page.
Related tools
- Date CalculatorCount the days between two dates, or add or subtract days, weeks, months or years from a date. Optional working-days mode excludes weekends (not public holidays).
- BMI CalculatorCalculate adult body mass index from height and weight in metric or imperial units and see the WHO adult category. A general screening measure, not medical advice.
- Percentage CalculatorWork out X% of a number, what percent one number is of another, percentage increase or decrease, and add or subtract a percentage. Exact decimal maths in your browser.
- Unit ConverterConvert between metric, imperial and US units for length, mass, temperature, area, volume, speed and data size, using exact documented conversion factors.
Page last reviewed: