Formula: Gregorian Calendar Year-Month-Day Borrowing Algorithm
- Y₁, M₁, D₁: Birth year, month (1–12), and day (1–31)
- Y₂, M₂, D₂: Target evaluation year, month, and day
Rounding: Exact integer calendar arithmetic with zero timezone drift.
Find exact age in years, months, and days, plus total weeks, days, hours, day of the week born, and next birthday countdown.
Rounding: Exact integer calendar arithmetic with zero timezone drift.
Compute exact chronological age from June 15, 1995 to October 17, 2026.
Dividing by 365.25 gives an approximate decimal, which can be off by 1–2 days around month boundaries. Calendar borrowing matches legal and civil age definitions.
Set the as-of date to your next birthday and read the total days line. For the default birth date of 15 June 1995, today's 11,447 days plus the 241 day countdown gives the total on the 32nd birthday. Every birthday adds 52 weeks and 1 day to the count in a common year, and one more day when a 29 February falls in between.
Keep your birth date and move the as-of date until the total days line shows exactly ten thousand. It usually lands about 27 years and 4 months after birth. For a birth on 8 February, the calculator shows that mark on 26 June twenty-seven years later, and for the default birth date it fell on 31 October four years before the default as-of date.
No. The hours line is the total days multiplied by 24, counted from midnight to midnight. For the default that is 274,728 hours. If you were born in the afternoon, your true age in hours is lower by the hours between midnight and your birth time, and the page has no box for entering that time.
Because most spans are not a whole number of weeks. The default is 11,447 days, which is 1,635 full weeks and 2 days. The leftover will be zero only when the as-of date falls on the same weekday you were born. Thursday births on a Thursday as-of date always give a clean week count.
Yes. Enter the date of birth and today's date, and read the weeks line, which gives full weeks and leftover days. Doctors and parents often track the first months that way. If you were given a gestational or corrected age for a premature baby, that uses a different starting date, so ask the care team which date to enter.
The page counts whole calendar months plus leftover days, not average months. For the default that is 31 years times 12 plus 4, so 376 months, with 2 days left over. Months vary from 28 to 31 days, so a decimal month figure would depend on which average you chose and could not be checked against a calendar.
Count each 29 February that falls after your birth date and on or before the as-of date. Between 15 June 1995 and 17 October 2026 there are eight. The total days figure already includes them, which is one reason it does not equal your age in years multiplied by 52 weeks and 1 day. Being born on a 29 February does not count as one.
The year, month and day count follows the usual civil rule that you gain a year on the anniversary of your birth date, which is how most forms ask for age. Edge cases near month ends and leap days can be handled differently by different bodies, so for anything with legal weight, read the form's own definition and check it against your documents.
The page does not try to guess. It shows a message saying the birth date must be on or before the as-of date and produces no age. Swap the two boxes and the result appears. Entering the same date in both gives zero years, months and days, which is a quick way to confirm the form is working.
A common year has 52 weeks and 1 day, so each birthday moves one weekday later. A leap year has one more day, so a birthday after a 29 February moves two. The default birth date was a Thursday, and the countdown shows the next birthday in the year after the default as-of date landing on a Tuesday.
Count whole months to the most recent anniversary, using the last day of the month when the 31st does not exist, then add the days since. The calculator returned 31 years, 1 month and 0 days for 31 January 1995 to 28 February 2026, 1 month and 1 day on 1 March, and exactly 31 years and 2 months on 31 March 2026, a full two months later.
The default asks how old someone born on 15 June 1995 is on 17 October 2026, and returns 31 years, 4 months and 2 days. You can check that the way a person would, by counting forward from the birth date in whole steps.
First the years. From 15 June 1995, the 31st birthday falls on 15 June 2026, and the 32nd has not arrived yet, so the year count is 31. Then the months. Stepping forward from 15 June 2026 one month at a time reaches 15 July, 15 August, 15 September and 15 October, four whole months, with 15 November still in the future. That leaves the days from 15 October to 17 October, which is 2.
That forward count is exactly what the page means by year and month borrowing. When the target day is earlier in the month than the birth day, a month has not completed, so one month is given back and its days are added to the day count. The day before the 31st birthday, 14 June 2026, comes out as 30 years, 11 months and 30 days for that reason.
The result does not depend on time of day or time zone. Both dates are treated as whole calendar days, so being born late in the evening does not shift anything.
The second half of the result restates the same span as a single count. The default is 11,447 days, 1,635 weeks and 2 days, and 274,728 hours.
The day total is easy to rebuild. Thirty-one ordinary years of 52 weeks and 1 day each, plus one extra day for every 29 February in the span, plus the days in the leftover four months and two days. Between mid June 1995 and October 2026 there are eight leap days, one in each leap year from the year after the birth up to and including the most recent one. Leave them out and you would be eight days short.
Weeks are the day total divided by seven: 1,635 full weeks with 2 days over. Hours are the day total times 24, which is why the figure is always a multiple of 24. It counts from midnight on the birth date to midnight on the as-of date, so it ignores the actual hour you were born. If you know your birth time, your true age in hours differs by up to a day's worth either side.
The months line works in calendar months rather than days, so it reads 376 months and 2 days: 31 years times 12, plus 4. That is why it does not equal the day total divided by 30, a shortcut that drifts by about half a day for every month counted.
Because the page gives a total day count, it is a quick way to find round-number birthdays that never appear on a calendar. The most popular is the ten thousand day mark, which lands at about 27 years and 4 months of age. I checked it with a birth date of 8 February and an as-of date of 26 June twenty-seven years later: the calculator shows exactly ten thousand days, with the calendar age reading 27 years, 4 months and 18 days.
For the default birth date of 15 June 1995, ten thousand days fell on 31 October, four years before the default as-of date. The default as-of date, at 11,447 days, is already well past it.
Other milestones follow the same logic. One thousand days arrives at about 2 years and 9 months, a thousand weeks at about 19 years and 2 months, and twenty thousand days at about 54 years and 9 months. A billion seconds is a little under 32 years; for the default birth date it falls in February of the year after the default as-of date.
To find the exact date for any of these, move the as-of date until the total days line hits your target. Since the page counts whole days from midnight, the milestone is the date the line first shows the round number.
The awkward cases come from birth days that do not exist in every month. Someone born on 31 January cannot have a monthly anniversary on 31 February, so the calculator has to decide when the month ticks over.
It uses the anniversary method: when the birth day is missing from a month, that month's last day counts as the anniversary. Born 31 January 1995 and checked on 28 February 2026, the page returns 31 years, 1 month and 0 days. The next day, 1 March 2026, it returns 31 years, 1 month and 1 day, and on 31 March 2026 it returns 31 years and 2 months exactly. For someone born 31 March 1995, the age on 30 April 2026 is 31 years and 1 month, with no days over.
You can confirm these by counting forward the same way as the default. From 31 January, one month on lands on the last day of February, because February has no 31st, and every day after that adds one to the day count until 31 March completes the second month.
Conventions do differ on these edge dates. Some systems wait until the day after a short month ends before counting the month as complete. If a date like this decides an eligibility question, check which convention the organisation uses.
Leap-day birthdays only have a real anniversary once every four years, so in the other three the calculator has to pick a stand-in. It uses 28 February, the last day of February in a common year, for both the age and the countdown.
I tested a 29 February birth with an as-of date of 27 February 2026: the age reads 11 months and 29 days past the last birthday, and the countdown says the birthday is 1 day away. Move the as-of date to 28 February 2026 and the whole year completes, with 0 months and 0 days, and the countdown line reads 'Today!' The two lines agree, so a leap-day baby is a year older on 28 February in a common year.
In a leap year the real 29 February is used. Laws differ on which date a leap-day birth reaches an age in a common year, with some places using 1 March, so if the answer matters for a licence, a contract or a benefit, check the rule where you live.
The headline also names the day of the week you were born. For the default it is Thursday, 15 June 1995, and the as-of date, 17 October 2026, is a Saturday. Both are worked out from the Gregorian calendar, so they are right for any date after the calendar was adopted where you live.
The countdown line says the next birthday is 241 days away and falls on a Tuesday. Counting forward from 17 October 2026: 14 days left in October, then 30, 31, 31, 28, 31, 30 and 31 for November through May, and 15 in June. That sums to 241, and since February has 28 days next year, no leap day is involved.
The weekday follows from that count. Two hundred and forty one days is 34 weeks plus 3 days, and 3 days after a Saturday is a Tuesday. You can use the same trick for any future birthday: a birthday moves forward one weekday each ordinary year and two after a 29 February. On the birthday itself the countdown line simply reads 'Today!' and the summary sentence says it is your birthday.
The as-of box is not just for today. Most age rules are tied to a fixed date: age on 1 September for school entry, age on the closing date for a job advert, age on 1 January for a sports category, or age at retirement. Enter that date rather than today's, or you will answer the wrong question.
Read the rule's wording closely. 'Under 31' on the closing date means 30 years, 11 months and 30 days is fine and the 31st birthday is not. 'Not more than 31' usually means up to the day before the 32nd birthday. The calculator gives the exact span; deciding which side of a boundary counts is a matter for the rule itself.
For historical questions, such as how old a relative was on a wedding date, enter that past date as the as-of date. The page will refuse an as-of date before the birth date with a message rather than producing a negative age, so a swapped pair of dates is easy to spot.
If you want the gap between two dates that are not a birth, such as the length of a tenancy, the related date difference calculator is the better tool, because it also counts business days.
If another calculator gives a different answer for the same dates, the cause is usually one of three things. The first is decimal years: some tools divide total days by 365.25 and round, which can tip the result a day or two either way near a birthday. The page explains why it avoids that.
The second is the month-end convention covered above, which affects anyone born on the 29th, 30th or 31st. The third is time zones. An app that stores dates as timestamps can shift a date by one when you are travelling or near midnight. This page works in pure calendar dates, so the default always returns 31 years, 4 months and 2 days, whoever runs it and wherever they are.
It also does not do any other age reckoning, such as counting a newborn as one year old or adding a year at each new year. The page notes that it does not calculate Korean traditional age, so for that you would need a dedicated rule.