How to Calculate Age from Date of Birth
The basic idea is simple: subtract the birth date from today's date. But the math gets a little more involved than it looks, because months have different lengths and years aren't all the same size.
Here's how it works step by step:
- Start with today's date (year, month, day).
- Subtract the birth year from the current year to get a rough age in years.
- Check whether the birthday has already occurred this calendar year. If today's month and day fall before the birth month and day, subtract one from that year count.
- The result is the person's current age in completed years.
For example, if someone was born on August 15, 1990, and today is June 10, 2025, their birthday hasn't happened yet this year. So their age is 2025 minus 1990 minus 1, which equals 34. They'll turn 35 in August.
This is the same method most governments, schools, and hospitals use to determine age for eligibility purposes. It counts only completed years, not the year you're currently living through.