FileFitly

How to Calculate Age From Date of Birth (Exact Years, Months, Days)

Need your exact age on a cut-off date for a form? Here is how to calculate age from date of birth by hand, in Excel, or instantly with a free calculator.

By Anmol Sharma · Exams · 8 min read · Updated November 15, 2026

How to calculate age from date of birth in years, months and days
Quick answerSubtract the birth year from the current year, take off 1 if the birthday has not come yet, then count months and days since the last birthday. Or enter both dates in Age Calculator for the exact age, total days and next birthday.

Calculate your exact age

Open Age Calculator (As on Date) →

“Age as on 1 August 2026” on an exam form. “Must be at least 18 years old on the date of joining.” “Exact age in years, months and days.” Questions like these come up on applications, insurance forms, school admissions and visa forms, and getting them wrong by one day can make you ineligible.

This guide shows how to calculate age from date of birth exactly, by hand, in Excel or Google Sheets, and with a free calculator, including the tricky cases: birthdays that have not come yet this year, months of different lengths, and people born on 29 February.

How to calculate age from date of birth by hand

The method is the same one you learned at school for subtracting, applied to dates.

  1. Subtract the birth year from the current year.
  2. If the birthday has not happened yet this year, subtract 1. That gives your age in completed years.
  3. For months: count the months from your last birthday to today.
  4. For days: count the days from the same day in the last completed month to today.

Example. Date of birth: 15 March 2000. Age as on 10 October 2026:

  • Years: 2026 − 2000 = 26. The birthday (15 March) has already passed in 2026, so the age is 26 years.
  • Months: from 15 March 2026 to 15 September 2026 is 6 months.
  • Days: from 15 September to 10 October is 25 days (15 days to the end of September, plus 10 in October).

So the exact age is 26 years, 6 months and 25 days.

When the birthday has not come yet. Date of birth: 20 December 1998, age as on 10 October 2026: 2026 − 1998 = 28, but 20 December has not arrived, so the age is 27 years, plus 9 months and 20 days.

Why it gets tricky

  • Months have different lengths. Counting days across February is different from counting across July.
  • Leap years. Every fourth year (with some exceptions) has a 29 February, so year-to-year day counts are not always 365.
  • “As on” dates. Forms often ask for age on a specific cut-off date, not today, so you must calculate to that date.
  • Inclusive or exclusive. Some rules count the cut-off day itself; most age rules do not. Read the wording.

That is why a calculator is worth using for anything official.

How to calculate age with a free calculator

FileFitly’s Age Calculator gives the exact age instantly, in your browser:

  1. Enter the date of birth.
  2. Enter the “age as on” date, or tap Today.
  3. Read the result: age in years, months and days, plus the total days, total months and the date of the next birthday.

Check an age limit for an exam or job

Many applications set a minimum and a maximum age on a cut-off date. Open Check exam eligibility, enter the minimum and maximum age, and the calculator tells you whether you are inside the limit on the “as on” date. For Indian government exams, you can also pick your category to apply the usual age relaxation (for example OBC +3 years, SC/ST +5 years, PwBD +10 years), or type a relaxation yourself. Always confirm the exact rules in your exam notice, since they differ between recruitments.

When will I turn a certain age?

Under More options, type an age, such as 18, 21, 60 or 65, and the calculator shows the exact date you reach it and how many days are left. Useful for driving licences, voting, retirement and pension planning.

How to calculate age in Excel and Google Sheets

Both use the DATEDIF function. With the date of birth in cell A2:

You wantFormula
Age in completed years today=DATEDIF(A2, TODAY(), “Y”)
Extra months after the years=DATEDIF(A2, TODAY(), “YM”)
Extra days after the months=DATEDIF(A2, TODAY(), “MD”)
Total days lived=TODAY() – A2
Age on a fixed date in B2=DATEDIF(A2, B2, “Y”)

Combine them for a full answer: =DATEDIF(A2,TODAY(),"Y")&" years, "&DATEDIF(A2,TODAY(),"YM")&" months, "&DATEDIF(A2,TODAY(),"MD")&" days".

Microsoft documents the function, including a known quirk with the “MD” unit, in DATEDIF function. For official forms, cross-check spreadsheet results with a calculator.

People born on 29 February

In non-leap years there is no 29 February, so when does a leap-day baby turn a year older? Different countries and organisations treat it differently: some count 28 February, others 1 March. For most everyday purposes the calculator counts the completed year on 28 February in non-leap years; for legal matters such as the age of majority, check the rule in your country.

The age difference between two people

The same method works for any two dates, not just a birthday and today. To find the age gap between two siblings, or between a parent and child, enter the older person’s date of birth as the first date and the younger person’s as the “as on” date. The result is the exact difference in years, months and days.

It also answers questions like:

  • How long have I worked here? Joining date to today.
  • How old was I when something happened? Date of birth to the date of the event.
  • How long until a deadline? Today to the deadline date; read Total days.

Ages that often matter

Many life events depend on reaching an exact age on an exact date, and the rules differ by country:

MilestoneWhy the exact date matters
School admissionChildren must be a minimum age on a cut-off date, often the start of the school year
Driving licenceYou can apply only from the day you reach the minimum age
VotingEligibility is usually counted on a qualifying date for the electoral roll
Government jobs and examsMinimum and maximum age on a notified date, sometimes with relaxation
InsurancePremiums often change at each birthday or at “age nearest birthday”
Retirement and pensionBenefits start from a set age, sometimes on the following month’s first day

Insurance is a good example of why definitions matter: some insurers use your age last birthday (completed years) and others use age nearest birthday (rounded to the nearer birthday). Two people born a day apart can pay different premiums. When a form says “age”, check which definition it uses.

How we tested it

We tested Age Calculator on 15 November 2026 with three dates of birth and checked every answer by counting the days ourselves:

Date of birthAge on 15 Nov 2026Total daysNext birthday
15 Aug 199828 years, 3 months, 0 days10,319in 273 days
29 Feb 2000 (leap day)26 years, 8 months, 17 days9,756in 105 days (28 Feb 2027)
10 Jan 199234 years, 10 months, 5 days12,728in 56 days

All numbers matched. For the leap-day birthday, the next birthday was counted on 28 February, as explained above. We also checked exam eligibility for the 1992 date with a 21 to 32 age limit and the OBC category: the tool added 3 years, said “Eligible by age”, and showed the exact birth-date window (born on or after 16 Nov 1990 and on or before 15 Nov 2005).

Calculate age from date of birth real test: 10 January 1992 gives 34 years, 10 months, 5 days on 15 November 2026
Our test: exact age, total days and the OBC age-limit check for a 10 January 1992 birthday.

Real examples

QuestionHow to answer it
Age as on 1 August 2026 for an exam formAge Calculator · As on 01/08/2026
Am I between 21 and 30 on the cut-off date?Check exam eligibility · min 21, max 30
How many days old is my baby?Age Calculator · Today · read Total days
When will I turn 60?More options · type 60
Ages of 200 employees in a spreadsheetDATEDIF in Excel or Google Sheets

Writing your age on forms

  • Use the “as on” date the form gives, not today’s date.
  • Write completed years unless the form asks for years, months and days.
  • Keep it consistent with your ID documents; the date of birth on the form must match them exactly.
  • Keep a screenshot of the calculation if the eligibility is borderline, in case you need to explain it later.

If the form also needs a photo or signature, see How to add name and date on a photo and resize them with Photo & Signature Resizer.

Your data stays private

Your date of birth is personal information. Age Calculator works entirely in your browser; nothing you type is sent anywhere.

Mistakes to avoid

  • Calculating to today instead of the cut-off date.
  • Forgetting to subtract a year when the birthday has not come yet.
  • Mixing up date formats. 03/04/2000 is 3 April in most of the world and 4 March in the US.
  • Trusting a rough year count for a borderline eligibility. Calculate exactly.
  • Ignoring relaxation rules that apply to you, or applying ones that do not.

Questions people ask

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

Subtract the birth year from the current year, subtract 1 if the birthday has not happened yet, then count the months and days since your last birthday. Or enter both dates in Age Calculator.

What does “age as on” mean?

Your age on a specific date set by the form, usually a cut-off date for eligibility, not your age today.

How do I calculate age in Excel?

Use =DATEDIF(A2, TODAY(), “Y”) for completed years, with “YM” and “MD” for the extra months and days.

How many days old am I?

Enter your date of birth and today in Age Calculator and read Total days.

How is age counted for people born on 29 February?

Usually the birthday is taken as 28 February or 1 March in non-leap years, depending on the country and the purpose.

Is my date of birth stored?

No. The calculation happens in your browser.

Is it free?

Yes, completely free, with no sign-up needed.

The short version

To calculate age from date of birth, subtract the years, take one off if the birthday has not come, then count months and days since the last birthday. For forms, always calculate to the “as on” date they give, and use Age Calculator or DATEDIF to avoid mistakes.

Anmol Sharma

I build and test FileFitly's tools myself. I started it after watching friends fight with online forms that rejected a PDF for being a few KB too big. Every tool runs in your browser, so your files never reach me, and I test each one on real phones and computers before it goes live.

Calculate your exact age

Open Age Calculator (As on Date) →

Sign up once. Use everything unlimited.

One free sign-up makes every tool unlimited on this device, and new guides and tools come to your inbox. No spam, leave with one click.

Only new guides, about once or twice a month. Unsubscribe any time. See our privacy policy.

Tools for this

More guides