Age Calculator by Date of Birth

Use this free age calculator by date of birth. Enter your date of birth to calculate your age in years, months and days. Leave the reference date as today, or choose another date. You can also compare two dates or birthdays. The calculation runs in your browser, with no sign-up.

Calendar dates are calculated in UTC. Month-end anniversaries use the last available day, including 28 February for a leap-day birthday in a common year. This is a calculation convention, not a legal age determination. No date is uploaded.

Age calculator examples for all 3 modes

These fictional examples use fixed dates so you can reproduce the results. Choose the mode shown, enter the same dates and compare the calendar result with the total-days figure. The final example checks the stated leap-day convention.

Age calculator example: Born: 19 October 2000; Reference: 19 October 2026; 26 years, 0 months · 0 days
In date-of-birth mode, the age calculator reports completed calendar years, months and days. The birthday line reads Today on this example’s reference date.
Age calculator example: From: 1 January 2026; To: 1 March 2026; 2 months, 59 elapsed days
In time-between-dates mode, the age calculator reports two calendar months and 59 elapsed days. A calendar month is not a fixed thirty-day unit.
Age calculator example: Older: 19 October 2000; Younger: 10 February 2003; 2 years · 3 months, 22 remaining days · 844 total days
In age-gap mode, the age calculator compares the two birthdays and identifies the older date. It is not reporting either person’s age today.
Age calculator example: Born: 29 February 2000; Reference: 28 February 2025; 25 years, 0 months · 0 days
For a leap-day birthday, this age calculator uses 28 February in a common year. This is its declared calculation convention; institutional or legal rules can differ.

Check the input before comparing results

If a result surprises you, confirm the selected mode and each entered day, month and year. Browser date controls can display dates in a local format; the date picker can help avoid reversing the day and month. For an old record or a future event, enter its reference date instead of leaving the field as today.

The age calculator uses UTC calendar dates. If today in UTC differs from your local date, set the reference field explicitly. An age gap uses two birth dates; switching to that mode changes what the inputs mean. Check the labels again after switching.

Check the age-gap result by hand

Take the two example birthdays: 19 October 2000 and 10 February 2003. Start at the older date and count two complete years to 19 October 2002. Three more complete months reach 19 January 2003. The remaining interval to 10 February is 22 days. The displayed calendar gap is therefore two years, three months and 22 days.

This is a way to check the displayed result, rather than a rule to multiply every month by thirty days. The total-days figure is calculated separately from the two dates. In this example it is 844 days. Dividing 844 by 365, then treating the remainder as thirty-day months, would mix a different convention into the comparison.

Try reversing the two birthdays in age-gap mode. The calendar gap should stay the same, while the labels still identify the older and younger birth dates. If you intend to calculate someone’s age at an event instead, return to date-of-birth mode and use that event as the reference date.

Understand calendar months and elapsed days

From 1 January 2026 to 1 March 2026, two complete calendar months have passed. January contributes 31 elapsed days and February contributes 28, giving 59 days. Both figures describe the same interval. They answer different questions, so one should not be used as a shortcut for the other.

The calendar-year difference alone is also insufficient near a birthday. From 19 October 2000 to 18 October 2026, the twenty-sixth anniversary has not yet arrived. At 19 October 2026 it has. Entering the intended reference date is what makes that boundary explicit; the result is not based only on subtracting the year numbers.

At a month end, use the convention stated for this age calculator. A January anniversary may land on February’s last available day. That is why the worked table below distinguishes a common-year February from a leap-year February. Compare like conventions when checking another service, rather than assuming every difference proves an arithmetic error.

Keep enough context when recording a result

If you copy a result into your own notes, record the mode, both input dates and the displayed units. A bare value such as “27” could mean completed months, total weeks or years. In the age-gap example, 27 completed months is equivalent to the two years and three months part of the answer; the remaining 22 days are still reported separately.

For a historic record, keep the original reference date with the result so it can be reproduced later. Opening the calculator again on another day and leaving today as the default answers a different question. If a receiving form prescribes its own rounding or eligibility rule, follow that rule rather than copying a convenient-looking figure from another mode.

The tool does not require real names for any of these comparisons. The fictional dates shown here are enough to check the workflow and the boundary cases. When reporting an unexpected result, include reproducible sample dates and the convention you expected, using the site’s issue-reporting route.

Read the totals without mixing the units

The age calculator shows several views of the same pair of dates. Completed calendar months describe anniversaries, while total days describe the elapsed date interval. Neither requires the other to be rounded to a convenient number. Select the unit that answers your question, and retain the input dates beside any copied number.

Use the age-gap example to check this distinction. Its two complete years and three complete months amount to 27 completed calendar months, followed by 22 remaining days. The separate total of 844 days includes the whole interval, not just those 22 days. Adding 844 days to the years-and-months result would count most of the interval twice.

The displayed whole-week figure is the number of complete groups of seven days. For 844 days, 120 complete weeks account for 840 days, leaving four days. The tool displays 120 in the total-weeks box. For the 59-day example, eight complete weeks account for 56 days, leaving three. The calendar year/month/day line continues to show its own units.

Total hours are the total calendar days multiplied by 24. In the gap example, 844 × 24 is 20,256. The tool does not ask for a birth time and does not reconstruct the elapsed hours across historical time-zone or daylight-saving changes. Use that hours box as a conversion of its day count, rather than a measurement from an exact time of birth.

Check a month-end calculation in stages

Start with the birth date and a later reference date. Count the candidate number of completed calendar months. Move forward by that many months, keeping the original day where it exists and otherwise using the destination month’s last day. If this candidate anniversary would fall after the reference date, use one fewer completed month. Count the remaining calendar days from that final anniversary.

From 31 January to 28 February 2025, the one-month anniversary is clamped to 28 February, so the main result is one month with no remaining days. In leap-year 2024, the one-month anniversary is 29 February. A reference date of 28 February is still before it, so the completed-month count is zero and the elapsed-day remainder is 28.

This is why subtracting the displayed day numbers is not a complete check. “28 minus 31” does not explain how the anniversary moves across February. It is also why you should read the convention before comparing calculators that both describe their result as exact. They may be exact implementations of different declared calendar rules.

Use unambiguous dates for a repeatable check

A note such as “01/02” is difficult to verify without knowing whether its writer meant 1 February or 2 January. When sharing a fictional test case, write the month name and the complete year, as the examples above do. In the form itself, inspect each date control after entry or choose the date through its picker.

For a date-only calculation, a change in the reference day is a real change to the question. If you compare results on different days, set the same fixed reference date in both runs. Check the mode too: a birth date paired with an event date is an age-at-date task, while two birth dates are an age-gap task. The age calculator labels are there to keep those inputs distinct.

Three common input checks you can reproduce

You do not need a real person’s information to check how the form behaves. Use the fictional dates below with a fixed reference date. Each case checks a different input situation, so change the mode before entering the dates and read the result label as well as the main number.

ModeInputsExpected behaviour
Age from a date of birth19 October 2026 to 19 October 2026Zero years, zero months and zero days.
Age from a date of birth1 January 2027 to 19 October 2026A message says the birth date is after the reference date.
Time between two dates1 March 2026 to 1 January 2026The dates are swapped, with a note; the interval is two months and 59 days.

A zero result: identical dates have no elapsed interval between them. This age calculator therefore shows zero days, rather than counting the same calendar date as a full elapsed day. If another worksheet uses an inclusive count of named dates, that is a different question. Check its instructions before comparing the two totals.

A birth date after the reference: the date-of-birth mode does not turn this into a negative age. It asks you to correct the dates. Read both labels to see whether the reference date belongs to an earlier event or whether the wrong year was entered. If you intended an ordinary interval comparison, use the time-between-dates mode with the appropriate pair of dates.

A reversed interval: time-between-dates mode puts the earlier date first and explains that it has done so. Its answer is a non-negative interval. The swap does not mean that the original direction of a deadline, journey or financial transaction has been assessed. Retain that context in your own record if it matters to the task.

Know which question the age calculator answers

The form counts calendar dates, including weekends. It does not count business days, look up a public-holiday calendar or apply a school’s attendance rules. It also does not measure from an exact birth time, because there is no time-of-birth input. A result in hours is the stated conversion of elapsed calendar days, not a reconstruction of historical clock readings.

For ordinary date arithmetic, choose the mode and units that match the task. For a form governed by a prescribed calculation method, keep its own instructions beside the dates. A large, precise-looking total cannot decide whether that form wanted completed months, rounded months or another convention.

Describe an unexpected result clearly

When reporting a calculation problem, use a short, reproducible example: name the selected mode; give both fictional dates with month names; state the result shown; and explain the result or convention you expected. Include the browser if the problem concerns entering a date or displaying the form. This is more useful than a number without its inputs.

You can use the calculation-issue contact route. Keep personal records, identity documents and private client information out of the example. The checked cases on this page describe the behaviours tested here; they are not a claim that every possible date combination or receiving institution’s rules have been certified.

Calendar references

The U.S. Naval Observatory explains Gregorian leap-year rules. MDN documents UTC date handling in JavaScript. These references explain calendar and programming concepts; they do not prescribe the legal anniversary rule for a leap-day birthday. This tool’s month-end convention is described separately above.

How an exact age is worked out

This age calculator counts completed calendar months, splits them into years and months, then counts the remaining days. If the original day does not exist in the destination month, the anniversary is clamped to that month’s last day.

That convention makes 31 January to 28 February 2025 one month. In a leap year, 31 January to 28 February is 28 days because the month-end anniversary is 29 February. The total-days figure is elapsed calendar days; the start date is not counted twice.

Worked examples using this calculator’s convention
FromToResult
31 Jan 202528 Feb 20250 years, 1 month, 0 days
31 Jan 202428 Feb 20240 years, 0 months, 28 days
29 Feb 200028 Feb 202525 years, 0 months, 0 days
19 Oct 200019 Oct 202626 years, 0 months, 0 days; birthday today

Different institutions can prescribe different rules for month ends, leap days or rounding. Use the relevant school, assessment or legal instructions for eligibility decisions. This calculator reports a stated calendar convention; it does not determine legal age. Hours are days multiplied by 24, not elapsed hours from a recorded birth time.

What this calculator handles

Uneven month lengths. Month ends are calculated from the actual calendar, not from a fixed 30-day month.

Leap-day birthdays. In a common year this tool uses 28 February for both the completed-age calculation and the birthday line. On the anniversary itself it displays Today. Legal and institutional rules can differ.

Time zones. The age calculator works the same anywhere. The same two entered dates give the same result because the arithmetic uses UTC calendar dates. The default reference date is today in UTC; change it if your local date differs.

Past dates and future dates. You can also calculate age from date of birth to any other day. Change the reference date to calculate an age at a past event or a future appointment. If birth is after the reference date, the tool asks you to correct the dates.

Common questions

How do I calculate my exact age?

Enter your date of birth and leave the second field as today. The result is your age in completed years, completed months and remaining days, along with the same age expressed in total months, weeks, days and hours.

Why does another calculator give me a different number of days?

Check each tool’s month-end and leap-day convention, whether it rounds months and whether it counts the start date. Two valid conventions can give different year/month/day figures. The total elapsed-days figure is useful for comparison.

What happens with a 29 February birthday?

The calculation and birthday line both use 28 February in common years. This matches the tool’s month-end clamping rule. On that date the birthday line says Today. Check applicable rules separately when age affects legal rights or eligibility.

Can I work out the age gap between two people?

Yes — switch the drop-down to “age gap between two people” and enter both dates of birth. The order does not matter; if you enter them the other way round the tool swaps them and says so.

Is this the same as a chronological age calculator?

The arithmetic is the same, but assessment work needs the answer in a particular notation and usually at a specific test date. Our chronological age calculator returns years;months, decimal years and total months. Follow the particular assessment manual for rounding and scoring.

Is my date of birth stored or sent anywhere?

No. The calculation runs entirely in your browser. Nothing is transmitted to this site or to anyone else, and nothing is saved when you close the tab.

Updated 19 October 2026: corrected the birthday-today boundary, made leap-day anniversaries consistent, and added worked calendar examples. Published by Talentra Solutions. Report a calculation problem with the two dates and expected convention; please do not send personal records.