How to calculate your age
- Enter your date of birth.
- Leave “Age on” as today, or pick another date to see how old you were or will be on that day.
- Read your exact age in years, months and days. Below it are the same span in total months, weeks, days and hours, your next birthday, and the weekday you were born.
Everything is worked out from calendar dates in your browser. Time zones and daylight saving cannot shift the result by a day, and nothing you enter is sent anywhere.
How the years, months and days are counted
Age is counted the way people count it in everyday life and on official forms:
- Years: the number of birthdays you have had.
- Months: the number of whole months since your last birthday, counted from the same day of the month.
- Days: the remaining days since that last “month-day”.
Example. Born 15 August 1995, age on 10 October 2026: the last birthday was 15 August 2026, so 31 years. From 15 August to 15 September is one whole month. From 15 September to 10 October is 25 days. The age is 31 years, 1 month and 25 days.
When the current month is shorter than the birth day, for example someone born on the 31st, the month is complete on the last day of a shorter month. Born 31 January, you are exactly one month older on 28 February (29 in a leap year).
Age on a specific date: exams, jobs and school admission
Application forms often ask for your age “as on” a cutoff date rather than today. Recruitment notices commonly use 1 January or 1 August of the exam year, and school admissions use a date set by the board or state. Set “Age on” to that date and compare the years, months and days with the limits in the notice. If the notice gives a range of birth dates instead (for example “born not earlier than 2 August 1999 and not later than 1 August 2005”), compare your birth date with those directly, because that is the rule that is applied.
Birthdays on 29 February
If you were born on 29 February, the calculator treats you as a year older on 1 March in non-leap years: on 28 February you are still one day short. Which day counts legally varies by country and purpose, so check the rule that applies to you. Your “real” birthday only comes round every four years, and the countdown shows the next one.
Total days, weeks and hours lived
The totals count every calendar day between the two dates, so leap days are included. Hours, minutes and seconds are whole days multiplied out, assuming you were born at midnight; they are a fun approximation, not a precise birth-time count. Two popular milestones are shown in the table: your 10,000th day, which falls when you are about 27 years and 4 months old, and your 1 billionth second, about 31 years and 8 months after birth.
Calculate age in Excel, Google Sheets and code
Excel and Google Sheets have a DATEDIF function that gives the same three parts. With the birth date in A2 and the “age on” date in B2:
=DATEDIF(A2, B2, "Y") years
=DATEDIF(A2, B2, "YM") months after the last birthday
=DATEDIF(A2, B2, "MD") days after the last month-day
=DATEDIF(A2, B2, "Y") & " years, " & DATEDIF(A2, B2, "YM") & " months, " & DATEDIF(A2, B2, "MD") & " days"
Use TODAY() as the second argument for age today. In Python, dateutil does the calendar arithmetic:
from datetime import date
from dateutil.relativedelta import relativedelta
age = relativedelta(date(2026, 10, 10), date(1995, 8, 15))
print(age.years, age.months, age.days) # 31 1 25
A common mistake is dividing the number of days by 365.25. That is right on average but can be a day out around birthdays, which matters for an age limit.
Other ways of counting age
The traditional East Asian system counts a newborn as one year old and adds a year every new year. South Korea switched official documents to the international system described here in June 2023. Some uses, such as insurance pricing, use “age nearest birthday”, which rounds up once you are more than six months past your last birthday. This calculator shows completed years, which is what most forms mean by age.
Frequently asked questions
How do I calculate my exact age?
Count your completed birthdays for the years, then whole months since your last birthday, then the days left over. Enter your date of birth above and the calculator does it, including leap years and short months.
How do I find my age on a particular date?
Change the “Age on” date to that day. This is how you check age limits that apply “as on” a cutoff date, such as 1 January or 1 August of an exam year.
How many days old am I?
The “Total days” figure counts every calendar day from your birth date to the chosen date, leap days included.
How is age calculated for someone born on 29 February?
In non-leap years this calculator counts the new year of age from 1 March. Legal rules differ between countries, so check the rule for your purpose.
What is the formula for age in Excel?
Use =DATEDIF(birth_date, TODAY(), "Y") for completed years. "YM" gives the extra months and "MD" the extra days.
On which day of the week was I born?
The calculator shows it under the results. For example, 15 August 1995 was a Tuesday.
Is my date of birth stored or sent anywhere?
No. The calculation runs entirely in your browser and nothing is uploaded.