Skip to content
FlipConverto home

Age Calculator

An age calculator that works out exact age from a date of birth in years, months and days — on today’s date or any other — plus the age difference between two people, a premature baby’s corrected age and the chronological age used for test scoring.

Loading Age Calculator…

Runs entirely in your browser. What you enter stays on your device — nothing is sent to a server. Verify it yourself

How do you calculate age from a date of birth?

Count the whole years from the date of birth to the target date, then the whole months, then the days left over. A month is complete on the same day of the month as the birth; this calculator rolls a day that does not exist (31 February, or 29 February in a common year) to the next day. Dividing days by 365 drifts by about a day per leap year.

Cost
Free, no limits
Upload
None — runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to calculate your age

  1. Choose what to work out

    Age; Age gap, the age difference between two people; or Baby age, a premature baby’s corrected age.

  2. Enter the dates

    The date of birth and the “Age at date”, which starts at today; quick buttons set 1 January, 1 July and 1 August. For corrected age, add the due date or the weeks of pregnancy at birth.

  3. Read the result

    Years, months and days; the totals in days, weeks, months and hours; the weekday of birth, the next birthday and the 30-day test-scoring age.

Examples

  • Born 31 Jan 2000, age on 1 Mar 202626 years 0 months 29 days (9,526 days)

    The one-month anniversary “31 February” falls on 3 March, so the month is not complete yet.

  • Born 2 Aug 1994, age on 1 Aug 202631 years 11 months 30 days

    Under UPSC’s 2026 rule this candidate has not attained 32, so is within the limit.

  • Born 1 Jan 2026 at 32 weeks, age on 23 Apr 2026Corrected age 8 weeks; 16 weeks since birth

    The AAP’s worked example: 8 weeks early.

  • Born 18 Feb 2016, tested on 4 Apr 20171 year 1 month 17 days; 1;1;16 by the 30-day hand method

    ASQ’s published example, reproduced exactly.

Key features of the Age Calculator

  • Exact age in years, months and days, on today’s date or any other
  • Total days, weeks, months and hours lived, the weekday of birth and a next-birthday countdown
  • Age difference between two dates of birth
  • Corrected age for a baby born early, from the due date or the weeks of pregnancy at birth
  • Chronological age in the 30-day format test manuals use, next to the calendar age
  • Korean international, traditional and year ages
  • Quick “age as on” dates for exam and sports cut-offs

What it calculates

Modes

  • Age
  • Age gap (age difference)
  • Baby age (corrected age)

Input

  • Date of birth
  • Age at any date
  • Second date of birth
  • Due date or weeks of pregnancy

Results

  • Years, months and days
  • Days, weeks, months and hours
  • Weekday of birth
  • Next birthday
  • Test-scoring age (30-day months)
  • Korean ages

When should you use this?

  • Answering “how old am I?” exactly — in years, months and days, or in days lived.
  • Checking age on an exam, job or sports cut-off date.
  • Tracking a premature baby’s corrected age for milestones and screening.
  • Writing chronological age on an assessment form.
  • Finding the age gap between partners, siblings or colleagues.

Limitations

  • Ages are counted in whole calendar days in your own time zone; the time of birth is not used. Someone born near midnight, or in another country, may go by a different date.
  • 29 February birthdays count from 1 March in common years. Some jurisdictions use 28 February.
  • Months follow one convention — the same day of the month, with a missing day rolling forward. Calculators that use the month’s last day can differ by a few days in the months and days, never in the total days.
  • Dates before the Gregorian calendar was adopted locally will not match records kept in the old calendar.
  • Legal ages can follow a day-before rule or a set cut-off; the result is the calendar age, not legal advice.
  • It does not calculate Chinese nominal (虚岁) age, retirement ages or pet ages; the article explains them.

Troubleshooting

The age is one day off what I expected

The date of birth may have been recorded in another time zone, or the other tool uses the UTC date. This page uses your device’s local date.

The months and days differ from another calculator

For birthdays on the 29th to 31st, calculators split months differently. Check the total days: if those match, both are right by their own convention.

A 29 February birthday shows 1 March

In common years this calculator counts the birthday on 1 March, as Scottish and Hong Kong law do. Some places use 28 February.

Corrected age shows “days before the due date”

The baby has not reached the due date yet; corrected age starts at zero on the due date.

Common mistakes to avoid

  • Dividing total days by 365 to get years. That drifts by roughly a day every four years.
  • Assuming a month is 30 days. Only four of them are — although test manuals use 30 on purpose for scoring.
  • Using corrected age for everything. The AAP, CDC and ASQ use it for development and screening, mainly in the first 2 years.
  • Reading the months figure as a decimal fraction of a year — it is a count of whole calendar months.

Pro tips

Tips for better results

  • Cut-off dates

    Set Age at date to the cut-off, not today

    For an exam or job cut-off, set “Age at date” to the cut-off and check whether you have attained the age: on your birthday you have.

  • Premature babies

    Use the due date for corrected age

    For a premature baby, use the due date if you have it; the weeks-of-pregnancy route counts 40 weeks as full term.

  • Comparing

    Compare total days when calculators disagree

    When your result must match someone else’s, compare the total days — every calculator agrees on those.

Standards and terms behind the Age Calculator

The named things this tool works with, and the documents that define them.

Gregorian calendarSpecification
The civil calendar almost everywhere, including the leap-year rule that makes an age calculation non-obvious.
Leap yearHow it works
A year with 29 February — every fourth year, except centuries not divisible by 400.

Also searched as: age calculator by date of birth, how old am i exactly, age in days, age difference calculator, corrected age calculator, chronological age calculator.

How years, months and days are counted

Years and days are unambiguous; months are not, because they have 28 to 31 days. This calculator counts a month as complete on the same day of the month as the birth. When that day does not exist — 31 June, or 29 February in a common year — the anniversary falls on the day after: 1 July, 1 March. It is the rule JavaScript’s own Date follows (MDN: 31 January plus one month is 2 March in a leap year), and it keeps the month count in step with the 1 March leap-day birthday described below.

Not every calculator does this. On 15 October 2026 we ran the same dates through six popular age calculators. Some count to the last day of a short month instead (as Python’s relativedelta does), some roll forward as this one does — and two showed negative days or “NaN” for a birthday on the 31st:

Born → age onThis calculatorCalculators that use the month’s last dayDays (everyone agrees)
31 Jan 2000 → 1 Mar 202626 years 0 months 29 days26 years 1 month 1 day9,526
29 Feb 2000 → 1 Mar 202626 years 0 months 0 days26 years 0 months 1 day9,497
31 Mar 2000 → 15 Mar 202625 years 11 months 12 days25 years 11 months 15 days9,480

Both conventions are defensible; what matters is using one consistently. When an exact figure matters, the total in days is the number no calculator disagrees on. And never divide days by 365: that drifts by a day for every leap year in the span — about ten days over 40 years. The Gregorian rule is that years divisible by 4 are leap years, except century years not divisible by 400, so 2000 was a leap year and 2100 will not be.

Birthdays on 29 February

A leap-day birthday exists once every four years — about 1 birth in 1,461. In the years between, the law that applies decides the date, and laws differ:

WhereBirthday in a common yearSource
Scotland1 MarchAge of Legal Capacity (Scotland) Act 1991, s.6(2)
Hong Kong1 MarchAge of Majority (Related Provisions) Ordinance, Cap. 410, s.5(2)
Maryland (US)1 MarchSenate Bill 86 of 2005
Newfoundland and Labrador (Canada)28 February — “the last day of the month of February”Age of Majority Act, s.3(2)
England and Wales; New ZealandNo specific ruleFamily Law Reform Act 1969 s.9; Age of Majority Act 1970 s.5 — age is reached at the start of the birthday

This calculator uses 1 March, so someone born on 29 February 2000 is still 25 on 28 February 2026 and turns 26 on 1 March. For anything legal, check the rule that governs the document in question.

The “day before your birthday” rule

Most people reach a new age on their birthday, but some systems count it from the day before. US Social Security states that “an individual attains a particular age on the first moment of the day preceding the anniversary of his/her birth” — its example: a person born on 1 January 1962 attains age 65 on 31 December 2026. That is why Social Security’s retirement-age table groups people born on 1 January with the previous year. Japan’s 1902 Act on Calculation of Age works the same way: the government confirmed in 2002 that age is added at midnight at the end of the day before the birthday, which is why a Japanese school year runs from those born on 2 April to those born on 1 April. English common law once did the same, until the Family Law Reform Act 1969 moved it to the birthday itself in England and Wales.

Age “as on” a date: exams, sport and school

Eligibility rules usually fix the age on one date. Put your date of birth in the calculator and the cut-off in “Age at date” — the quick buttons set 1 January, 1 July or 1 August. On your birthday you have attained that age.

  • UPSC Civil Services 2026: “A candidate must have attained the age of 21 years and must not have attained the age of 32 years on the 1st of August, 2026 i.e., the candidate must have been born not earlier than 2nd August, 1994 and not later than 1st August, 2005.” Someone born on 1 August 1994 turns 32 on 1 August 2026 and is over the limit; born a day later, they are 31 years 11 months 30 days old on the cut-off and eligible. UPSC accepts the date of birth only as recorded in the matriculation or secondary-school certificate.
  • NDA & NA (I) 2026 states a birth window instead: candidates “born not earlier than 01st Jul 2007 and not later than 01st July 2010”. For NDA (II) 2026 it is 1 January 2008 to 1 January 2011.
  • Little League: a baseball player’s league age is their age on 31 August of the current year; for softball, their age on 31 December of the previous year.

Corrected age for babies born early

A premature baby’s development is measured from the due date, not the birth date. The American Academy of Pediatrics method: take the baby’s age in weeks since birth and subtract the weeks born early, which is 40 minus the weeks of pregnancy at birth. Its example: born at 32 weeks (8 weeks early) and now 16 weeks old gives a corrected age of 8 weeks. The Baby age tab does this from the due date or from the weeks of pregnancy.

  • The CDC’s milestone checklists say to use corrected age if a child was born more than 3 weeks early.
  • The ASQ screening questionnaires adjust “if he or she is 3 or more weeks premature and is under 2 years of chronological age”.
  • The AAP describes using corrected age during the first 2 years; the UK’s RCPCH growth charts apply correction throughout childhood.

Chronological age for test scoring

Developmental and educational tests ask for the child’s chronological age, usually written years;months;days. Their manuals often describe a hand method that treats every month as 30 days. ASQ’s support team gives an example: born 18 February 2016 and tested on 4 April 2017, the real calendar gives 13 months 17 days, the 30-day hand method 13 months 16 days. This calculator shows both — the exact age, and the 30-day figure under it — and both reproduce ASQ’s example. Use whichever your test’s manual specifies, and check its rounding rule.

Korean, Japanese and Chinese age counting

South Korea used three ages: international age (만 나이, counted from 0 and increasing on each birthday), Korean age (세는 나이, 1 at birth and one more every 1 January) and year age (연 나이, the current year minus the birth year). Since 28 June 2023 the Civil Act and the Framework Act on Administrative Affairs make international age the legal default. Year age still applies where a law says so: the Juvenile Protection Act’s age for buying alcohol and tobacco, military service, and school entry. The calculator shows all three.

Japan told people to stop using traditional “counted years” (数え年) in its 1950 Act on the Way of Expressing Age. In China the traditional nominal age (虚岁) also starts at 1, but traditionally goes up with the lunar new year rather than on 1 January, so it needs a lunar calendar; this calculator does not compute it.

Retirement and pension ages by date of birth

RuleAgeWho
US Social Security full retirement age66Born 2 January 1943 to 1 January 1955
66 and 2 to 10 monthsBorn 2 January 1955 to 1 January 1960, rising two months a year
67Born 2 January 1960 or later (benefits can start from 62, reduced)
US required minimum distributions (RMDs)73Born 1951–1958; 75 for those born 1960 or later
UK State Pension age66, rising to 67The rise to 67 happens between 2026 and 2028; from 6 March 1961 births, 67

Check the official calculators before acting: GOV.UK’s State Pension age checker and the Social Security Administration publish them.

Age in Excel, Python and JavaScript

  • Excel: =DATEDIF(A2,B2,"y") gives completed years and =DATEDIF(A2,B2,"ym") the months after them. Microsoft says it does not recommend the "md" unit, which “may result in a negative number, a zero, or an inaccurate result”; =B2-EDATE(A2,DATEDIF(A2,B2,"m")) gives the days instead. DATEDIF exists for compatibility with older Lotus 1-2-3 workbooks.
  • Python: dateutil.relativedelta(today, birth) gives years, months and days; it moves a day past the end of a month back to the last day, so it agrees with the “month’s last day” column above.
  • JavaScript: store a date of birth as a plain date (2000-02-29), not a moment in time. Converting it to UTC moves it to the previous or next day in some time zones — the reason this calculator takes “today” from your own clock.
  • On a basic calculator: subtract the birth year from the current year, then take off 1 if this year’s birthday has not happened yet.

Dogs and cats

The American Veterinary Medical Association says dogs “do not age at a rate of 7 human years per dog year”. A 2020 study of 104 Labrador retrievers (Wang et al., Cell Systems) matched DNA-methylation changes in dogs and people and proposed human age = 16 × ln(dog age) + 31. By that formula a 1-year-old Labrador is like a 31-year-old person, a 4-year-old like 53 and a 12-year-old like 71 — for Labradors; breeds age at different rates. The AVMA counts dogs as senior in the last quarter of their breed’s life expectancy (from 6–7 years for giant breeds), and cats “after 10 years of age”; the AAHA/AAFP guidelines call cats seniors from 10.

Birthday numbers

  • 10,000 days is 27.38 years: someone born on 1 January 2000 reaches it on 19 May 2027.
  • A billion seconds is 31.69 years.
  • In England and Wales from 1995 to 2014, 26 September was the most common birthday — about 2,000 births a day against an average of 1,800 — and 8 of the 10 most common fell in late September (ONS).

Privacy

The Age Calculator runs entirely in your browser. What you enter and the result it produces stay on your own device — nothing is sent anywhere, because nothing needs to be.

You can confirm this rather than take our word for it: open your browser’s developer tools, watch the Network tab, and use the tool. No request carries your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

Percentage, loan and BMI calculators, all working the same way.

Browse the calculators

Age Calculator — questions

How do I calculate my age from my date of birth?

Enter the date of birth; the age is worked out against today’s date in years, months and days, with the total days, weeks, months and hours lived. By hand: subtract the birth year from this year, then take off 1 if this year’s birthday has not happened yet.

What age was I on a particular date?

Change “Age at date” to that date — past or future — and the age is calculated on that day instead of today. The quick buttons set 1 January, 1 July and 1 August for exam and sports cut-offs.

How many years is it from 1990 to 2026?

36 years. Someone born in 1990 is 35 or 36 during 2026, depending on whether their birthday has passed; enter the full date of birth for the exact age.

How do I find the age difference between two people?

Open the Age gap tab and enter both dates of birth. You get the gap in years, months and days, and which person is older. For part of each year their ages in whole years differ by one more than the rest of the year.

How do I work out a premature baby’s corrected age?

Subtract the weeks the baby was born early from its age since birth. The Baby age tab does it from the due date or the weeks of pregnancy at birth (counting 40 weeks as full term, as the AAP does).

Why do age calculators give different answers?

Because months vary in length. For a birthday on the 29th, 30th or 31st, some calculators count to the last day of a short month and others roll on to the next day, so the months and days can differ by a few days. The total number of days lived is the same in all of them.

When does someone born on 29 February have a birthday?

In leap years on 29 February. In other years it depends on the law: Scotland, Hong Kong and Maryland use 1 March, Newfoundland and Labrador 28 February. This calculator uses 1 March.

What is my Korean age?

The traditional Korean age is the current year minus your birth year, plus 1. Since 28 June 2023 South Korea uses international age — the age this calculator shows — as the legal default, while some laws still use year age (current year minus birth year). The calculator shows all three.

What is my full retirement age for Social Security?

67 if you were born on 2 January 1960 or later; 66 plus 2 to 10 months for births from 2 January 1955 to 1 January 1960; 66 for births from 2 January 1943 to 1 January 1955. Someone born on 1 January is grouped with the previous year.

How do I calculate age in Excel?

Use =DATEDIF(birth, date, "y") for completed years and "ym" for the extra months. Microsoft advises against the "md" unit; for the days use =date-EDATE(birth, DATEDIF(birth, date, "m")).

How old is my dog in human years?

Not seven times its age. A 2020 study of Labrador retrievers proposed human age = 16 × ln(dog age) + 31, which makes a 1-year-old dog like a 31-year-old person and a 4-year-old like 53. Breeds age at different rates.

Is my date of birth stored or sent anywhere?

No. The calculation happens in your browser and nothing is transmitted. Your date of birth is not logged, stored or sent to any server.

Sources

Part of Calculators · Browse every tool