Utilities

Age Calculator

Find your exact age in years, months and days from your date of birth, plus total weeks, days and hours, the day you were born and a countdown to your next birthday.

Dates
Your age is worked out to today unless you choose another date.

Leave empty for today, or pick a past or future date.

Enter a date of birth to see the exact age.

About this tool

The Age Calculator works out exactly how old someone is from their date of birth: years, months and days, and the same age as a total number of months, weeks, days and hours. It tells you the day of the week you were born, how many days until your next birthday, which weekday it falls on and what age you will turn, and the next thousand-day milestone. Leave the second date empty to use today, or pick another date to find your age on a past or future day, such as a start date or an anniversary. Month-end dates are handled properly (one month after January 31 is the end of February), and people born on February 29 can choose whether their birthday in common years counts on February 28 or March 1, since the rule differs between countries. Uses your device's own date, and nothing leaves your browser.

How to use the Age Calculator

  1. Enter your date of birth.
  2. Leave "Age on" empty to use today, or choose another date.
  3. If you were born on February 29, choose whether your birthday counts on February 28 or March 1 in common years.
  4. Read your exact age, your age in months, weeks, days and hours, and the countdown to your next birthday.

Use it from your code

The Age Calculator is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

# Age on a given date
curl -X POST https://opentools.ca/api/v1/tools/age-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "birthDate": "1990-05-17",
  "asOf": "2026-11-25"
}'

# Leap day birthday counted on March 1
curl -X POST https://opentools.ca/api/v1/tools/age-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "birthDate": "2000-02-29",
  "asOf": "2026-02-28",
  "leapDayRule": "mar1"
}'

# The same request as a GET with query parameters
curl "https://opentools.ca/api/v1/tools/age-calculator?birthDate=1990-05-17&asOf=2026-11-25" \
  -H "Authorization: Bearer YOUR_API_KEY"

Give us your feedback

Help us improve Age Calculator!

Frequently asked questions

How is the exact age worked out?

It counts the whole years since your birth date, then the whole months since your last birthday, then the days left over. If a month is too short for your birth day, the last day of that month is used, so someone born on January 31 is one month older on February 28 (or 29).

How are Feb 29 birthdays handled?

In years without a February 29 you can choose to count the birthday on February 28 or on March 1. Laws differ: in the UK, for example, a person born on February 29 legally comes of age on March 1 in a common year, while other places use February 28.

Can I calculate age on a specific date?

Yes. Fill in "Age on" with any date, past or future, to see how old someone was or will be on that day. The birthday countdown then counts from that date.

How accurate is the total in hours?

It is the number of whole days multiplied by 24, counted from midnight on your birth date. It does not know your time of birth or allow for daylight saving changes, so treat it as approximate.

Is my date of birth stored?

No. Everything is calculated in your browser and nothing is sent or saved.

Age Calculator screenshot