This age calculator gives an exact age from a date of birth, either for today or for any other date you choose. That second option is handy for forms that ask for your age “as on” a certain date, such as an exam or job application. The calculation runs in your browser.
How to use the age calculator
- Enter the date of birth.
- Leave the age on date as today, or change it to the date you need, for example the cut-off date in a recruitment notice.
- Read the age in years, months and days.
- See the same span as total months, total weeks, total days and approximate hours.
- Check the day of the week you were born and the countdown to your next birthday.
How exact age is calculated
Age in years, months and days is counted the way people usually count it on a calendar, not by dividing days by 365:
- Count the complete years from the birth date up to the “age on” date.
- From the last birthday, count the complete months.
- Count the days left over.
Example. Born on 15 August 1998, age on 9 October 2026. The last birthday was 15 August 2026, so that is 28 complete years. From 15 August to 15 September is one complete month. From 15 September to 9 October is 24 days. The age is 28 years, 1 month and 24 days.
Tip: Months have 28 to 31 days, so “1 month” is not a fixed number of days. That is why total days is shown separately: it is the exact count.
Leap years and 29 February birthdays
A year is a leap year if it divides by 4, except century years, which must also divide by 400. So 2000 was a leap year, but 1900 was not. Total days and weeks include every leap day in the span.
If you were born on 29 February, your birthday falls on a real date only once every four years. In other years, people and organisations differ: some celebrate on 28 February and some on 1 March. If a legal age matters, for example for a licence or a contract, check the rule that applies to you rather than relying on any calculator.
Where an age calculator helps
- Checking eligibility against an age limit on a fixed cut-off date.
- Filling in forms that ask for age in years and months.
- Working out the age of a child for school admission rules.
- Counting the days to a birthday or anniversary.
For official purposes, the date of birth on your documents is what counts. Many Indian recruitment notices state the exact cut-off date and the age rules, so read the notice carefully. If you want to build a tool like this yourself, JavaScript’s Date object is the place to start; our modern JavaScript lesson covers the basics you need.
Learn more
Frequently asked questions
Why are the hours only approximate?
The calculator does not know the time you were born, so it counts whole days and multiplies by 24. Daylight-saving changes, which do not apply in India but do in some countries, are ignored.
Can I find my age on a past or future date?
Yes. Change the “age on” date to any date after the date of birth.
How is the next birthday found for 29 February?
In a non-leap year there is no 29 February, so the countdown has to use a nearby date. Check the result against the rule you follow, 28 February or 1 March.
Is my date of birth stored?
No. The calculation happens in your browser and nothing is uploaded.