Age Calculator
Find your age on any date; compare Chronological Age Calculator conventions.
Loading reference date…
What can an age calculator by date of birth tell you?
Use this age calculator by date of birth to answer "how old am I?" right now, on a past anniversary, or on a future milestone date. It returns the year-month-day breakdown plus Total weeks and totals in months, days, hours, minutes, and seconds, the day of the week you were born, decimal age and a countdown to your next birthday. For records-style age between a birth date and a specific reference date, use the Chronological Age Calculator.
Age calculation formula for completed years, months and days
Count completed calendar years, then completed months from the original day-of-month anchor, then remaining days. Clamp the anchor to the last valid day of a shorter month.
Total days = target day serial − birth day serial
Decimal age = completed years + days since last birthday ÷ days to following birthday. This birthday-year fraction is truncated to two decimals, never rounded up to an uncompleted year; it is not total days divided by a fixed 365-day year.
Birth and target dates in the age calculation
birth: Your birth date (year, month, day).target: The date you want to calculate your age on. Defaults to today.
How to calculate age from a birth date step by step
- Count completed calendar years.
- Count completed months from the original day-of-month anchor, with month-end clamping.
- Count remaining calendar days after that anchor.
- Calculate totals from exact UTC date-only serial differences.
Age calculation example: March 1990 to June 2026
Born March 15, 1990, calculating age on June 22, 2026:
- Age = 36 years, 3 months, 7 days
- Total completed months: 435; complete weeks: 1,892 and 4 days.
- Total days: 13,248; hours: 317,952; minutes: 19,077,120; seconds: 1,144,627,200.
- Born on a Thursday. All totals use date-only calendar arithmetic, not elapsed clock hours across daylight-saving changes.
How to use the age calculator for a chosen reference date
- Enter your birth date.
- Leave "Age on" as today or pick another date.
- Read the breakdown, totals, weekday born, and next-birthday countdown.
Age calculation mistakes with short months and birthdays
- Approximating months as 30 days: calendar months have 28–31 days; always use real date arithmetic.
- Leap-day birthdays: this calculator uses February 28 in common years, and February 29 in leap years, for age anniversaries and the next birthday. A school or other organization may choose a different convention.
Age calculator on specific date
Choose a reference date on or after your date of birth. The age on date is the number of completed years, months and days at that reference point. This birthday calculator also shows the next birthday's weekday and the exact days remaining from the selected date.
Age milestones
Fixed example birth date: March 15, 1990. These milestones use exact date-only day counts, not today's date.
| Milestone | Date (YYYY-MM-DD) | Whole days |
|---|---|---|
| 10,000 days | 2017-07-31 | 10,000 |
| 1,000 weeks | 2009-05-14 | 7,000 |
| 1 billion seconds | 2021-11-21 | 11,574 |
One billion seconds equals 11,574 days plus 6,400 seconds (1 hour, 46 minutes, 40 seconds). Its row identifies the calendar day only: no time of birth or time zone is assumed.
Age in days and weeks
Subtract the birth date from the reference date to count days. Divide that total by seven for complete weeks and the leftover days. The fixed example gives 13,248 days, or 1,892 weeks and 4 days. Hours, minutes and seconds are date-only equivalents at 24 hours per day, not elapsed clock-time measurements across daylight-saving changes.
Age on a future date
Set Age on to your chosen future date; the same completed-year, month and day calculation applies. A person born March 15, 1990 is exactly 40 years old on March 15, 2030. A past reference date also works, provided it is not before birth.
How to calculate age in Excel and Google Sheets
Use =DATEDIF(A2,TODAY(),"Y") for completed years, with a real birth date in A2. For a selected reference date in B2, use =DATEDIF(A2,B2,"Y"). Google Sheets supports the same pattern.
=DATEDIF(A2,B2,"YM") gives remaining months. Excel's MD option has known month-end limitations; do not assume a concatenated Y/YM/MD result matches this calculator's original-day clamping rule. Verify February 29 and month-end cases. Subtract B2-A2 for total days when both dates use the same spreadsheet date system.
For dd/mm/yyyy inputs, set the sheet's date locale and confirm each cell is a date rather than ambiguous text. A birth year alone cannot give an exact age: subtract birth year from reference year, then subtract one if the birthday has not yet occurred. Reversing a whole-number age also cannot identify one unique birth date.
References: Microsoft DATEDIF documentation and Google Sheets DATEDIF documentation.
Browse the date and time calculators for related calendar and clock tasks.
Age calculator questions and answers
How is age calculated?
Age is the difference between birth date and target date. The calculator counts completed calendar years, then completed months, then remaining days, clamping the original day to the target month end when needed.
How many days until my next birthday?
The result card shows a live countdown to your next birthday measured from the selected target date, handy for planning parties, gifts, or milestones.
Does the calculator account for leap years?
Yes. It uses calendar dates directly, so February 29 birthdays and leap days between two dates are handled correctly.
What is my age in days, weeks, months, hours, minutes, or seconds?
The calculator shows total months, weeks, days, hours, minutes, and seconds from birth to target date, useful for fun milestone numbers like 'one billion seconds old'.
What if my birthday is in the future?
If the birth date is after the target date, the calculator shows an error, you can't have a negative age.
Which day of the week was I born on?
The calculator shows the weekday of your birth alongside the age breakdown.
Do I need a records-style age figure for a form or eligibility check?
For school enrollment or assessment records, use the Chronological Age Calculator for a birth date and chosen reference date. Check the institution's counting convention before using the result.
How to calculate age in Excel?
Use =DATEDIF(A2,TODAY(),"Y") for completed years when A2 contains a valid birth date. Replace TODAY() with B2 for age on another date. Google Sheets supports the same formula. DATEDIF with "YM" returns remaining months; "MD" can behave unexpectedly at month ends, so verify leap-day and short-month examples against your chosen convention.
How to calculate age from date of birth in Excel?
Store the birth date in A2 and the reference date in B2, then use =DATEDIF(A2,B2,"Y") for completed years. Both cells must contain real dates, and B2 must not precede A2. Use this calculator to check calendar months and days rather than assuming every month has 30 days.
How to calculate age?
Count completed years from the birth date, then completed calendar months, then remaining days. For March 15, 1990 to June 22, 2026, that gives 36 years, 3 months and 7 days. A shorter month clamps the original birth-day anchor to its last valid day.
Related tools for age and birthday calculations
If this helped, the following calculators are useful for date, time, and duration questions:
- Chronological Age CalculatorCompare calendar and 30-day worksheet age methods.
- Days Between Dates CalculatorDay counter for days, weeks, weekdays, and calendar duration.
- Date CalculatorAdd or subtract calendar units and find date duration.
- Days From Today CalculatorA date forward or backward from your local today.