Quick Answer: The age formula is Age = Reference Date − Date of Birth, resolved into completed years, months, and days. In practice: years = reference year − birth year, minus one if the birthday has not yet occurred this year; then compute leftover months and days, borrowing where needed. This is the exact logic Indian exams and offices use with a fixed “as on” date.
Key takeaways:
- Core formula: Age = Reference Date minus Date of Birth, in completed units.
- Subtract one year if the birthday has not yet passed on the reference date.
- Borrow days from the previous month and months from the previous year as needed.
- Leap years and unequal month lengths affect the day count.
- India judges age “as on” a cut-off date, not the current date.
Most people can guess their age in years, but official India runs on exact figures. Exam boards, employers, and courts need age expressed precisely, and that precision comes from a simple but exact formula. Once you understand the formula, you can verify any calculation by hand or trust a tool with confidence. This article breaks the age formula down with clear, India-based worked examples.
If you would rather skip the arithmetic, our free age calculator applies this exact formula instantly, including leap-year handling. But understanding the mechanics helps you catch errors and explain results to others.
Key takeaway: The formula has three layers — years, months, days — and the only tricky part is knowing when to “borrow” from the layer above.
The Basic Age Formula
At its simplest, age is the difference between two dates: Age = Reference Date − Date of Birth. The reference date is usually today, but for Indian exams and admissions it is a fixed cut-off. The result is expressed as completed years, because India counts finished years only. To turn a raw date difference into years, months, and days, you resolve it layer by layer.
Step 1: Calculate Completed Years
Subtract the birth year from the reference year. Then check the birthday: if the reference month-and-day is earlier than the birth month-and-day, subtract one, because the latest birthday has not yet been completed. For example, for a birth date of 12 December 2000 and a reference date of 21 September 2026, the raw difference is 26 years, but since 21 September is before 12 December, the person has completed only 25 years.
Step 2: Calculate Leftover Months
After fixing the years, count the whole months from the last birthday to the reference date. If you subtracted a year in Step 1, count from the birthday in the previous year. Continuing the example, the last completed birthday was 12 December 2025; from 12 December 2025 to 12 September 2026 is nine months, so we have 25 years and 9 months so far.
Step 3: Calculate Remaining Days
Finally, count the leftover days from the last monthly anniversary to the reference date. From 12 September 2026 to 21 September 2026 is nine days. The full, precise age is therefore 25 years, 9 months, and 9 days. When the reference day is smaller than the birth day, you borrow a month’s days — and here the number of days you borrow depends on the specific month, which is where leap years and 30- or 31-day months come in.
The Formula in Table Form
| Layer | Rule | Adjustment |
|---|---|---|
| Years | Reference year − birth year | −1 if birthday not yet reached |
| Months | Whole months since last birthday | Borrow 12 months if needed |
| Days | Days since last monthly anniversary | Borrow previous month’s days |
Handling Leap Years
A leap year adds 29 February. This matters in two ways. First, when borrowing days across February, you must use 29 rather than 28 in a leap year. Second, people born on 29 February technically have a birthday only once every four years; by common Indian convention, their age advances on 1 March in non-leap years for official purposes. A good calculator resolves both automatically, but the formula still holds — only the day counts change.
Applying the Formula to Indian Cut-Off Dates
The real power of the formula shows when applied to a cut-off. Suppose an exam requires a maximum age of 30 years as on 1 January 2027. A candidate born on 5 January 1997 has, as on 1 January 2027, not yet completed 30 years (their 30th birthday falls on 5 January), so they are 29 years and about 361 days — still eligible. Someone born on 28 December 1996, however, would have crossed 30 by the cut-off and be ineligible. The formula, applied to the day, decides the outcome.
Benefits of Knowing the Formula
Understanding the formula lets you verify any age instantly and spot errors in forms or documents. It helps parents check school eligibility, aspirants confirm exam cut-offs, and HR teams process retirements correctly. It also builds confidence: instead of blindly trusting a number, you can explain exactly how it was derived, which is valuable in disputes over dates of birth across Aadhaar, PAN, and certificates.
Common Mistakes to Avoid
- Forgetting the “minus one year” rule when the birthday has not yet passed.
- Borrowing 30 days by default instead of the actual length of the previous month.
- Using 28 days for February in a leap year.
- Calculating from today when the exam requires a specific cut-off date.
- Confusing DD/MM/YYYY with MM/DD/YYYY, which swaps day and month.
- Reporting running age instead of completed age on official forms.
Best Practices and Expert Recommendations
- Write both dates in DD/MM/YYYY before you start to avoid format errors.
- Resolve years first, then months, then days — never all at once.
- Check the exact length of the month you borrow from.
- Use the official cut-off date, not the current date, for eligibility.
- Verify borderline cases with a reliable online age calculator.
- Keep documentary dates of birth consistent to prevent mismatches.
Worked Examples
Example 1: Birth date 30 June 2005, reference 21 September 2026. Years: 2026 − 2005 = 21, birthday (30 June) already passed, so 21 stays. Months: 30 June to 30 August is 2 months; then to 21 September adds days. Days: from 30 August to 21 September, borrowing August’s 31 days, gives 22 days. Age: 21 years, 2 months, 22 days.
Example 2: Birth date 1 March 2016, reference 28 February 2027. The birthday has not yet arrived, so years = 2027 − 2016 − 1 = 10. The child is 10 years, 11 months, and about 27 days — useful for confirming Class 6 school placement.
Example 3: Birth date 29 February 2004, reference 1 March 2026. Since 2026 is not a leap year, the birthday is treated as 1 March, so the person turns 22 exactly on the reference date.
Calculating Total Age in Months or Days
Sometimes you need age not as years, months, and days, but as a single total number. To express age in total months, multiply the completed years by twelve and add the leftover months. To express age in total days, add up the days in every year and month between the two dates, remembering to include the extra day for each leap year that falls in the span. This kind of total is useful for paediatric records, where an infant’s age is often stated in months, and for counting the exact number of days remaining before an important deadline or cut-off.
The same formula underpins these totals; you are simply choosing a different unit to report the answer in. Because the arithmetic across many months and leap years is easy to get wrong by hand, a calculator is especially helpful when you need a precise total in days. Once you understand that years, months, and days are just three views of the same underlying difference between two dates, switching between them becomes straightforward and you can pick whichever unit the form or situation asks for.
- Try the free Age Calculator →
- How to Calculate Age (Step by Step) – India Guide
- What Is Age Calculation? A Simple Guide
- Age Calculator: Free Online Tool + Guide
- Age Calculation Examples for Beginners (India)
- How to Calculate Age Difference: Step by Step
- Date Difference Formula Explained With Examples
- More Date & Time guides
FAQs
What is the formula to calculate age?
The formula is Age = Reference Date minus Date of Birth, expressed in completed years, months, and days. Subtract one year if the birthday has not yet occurred on the reference date, then compute leftover months and days.
How do I calculate age as on a specific date?
Use that specific date as the reference date instead of today. This is essential for Indian exams, which judge eligibility as on a fixed cut-off such as 1 January or 1 August of the exam year.
How are leap years handled in the age formula?
When borrowing days across February, use 29 days in a leap year instead of 28. For those born on 29 February, official Indian practice generally advances the birthday to 1 March in non-leap years.
Why do I get a different age than a website shows?
Differences usually come from running versus completed age, a wrong reference date, or a date-format mix-up. Recheck using DD/MM/YYYY, completed years, and the correct cut-off date.
Can the formula give age in only months or only days?
Yes. You can express the total difference purely in months or days by summing the components, which is helpful for infants’ age in months or for counting exact days to a deadline.