How to calculate age, without losing the leap days
Calendar birthdays and elapsed seconds answer different questions. Choose the one your task needs.
Free toolAge CalculatorSee your age in days, minutes and seconds. Explore life in numbers, find your next milestone and make a keepsake poster.See your life in numbersCount birthdays for calendar age
Your age in years is the number of completed birthday anniversaries. Add full months and leftover days for a more detailed calendar age.
- Find the last birthday on or before the calculation date. The year difference gives completed years.
- Count full monthly anniversaries after that birthday. Clamp a missing day to the last date of its month.
- Count calendar days from the last monthly anniversary to the calculation date.
Floi measures each monthly anniversary from the last birthday, rather than repeatedly adding one month. That avoids a short February permanently shifting later anniversaries.
Worked example: 1 January 2000 to 2 November 2026
The calendar age is 26 years, 10 months and 1 day. The actual interval contains 9,802 calendar days.
| Part | Calculation |
|---|---|
| Completed years | 1 January 2000 to 1 January 2026: 26 birthdays. |
| Completed months | 1 January to 1 November 2026: 10 monthly anniversaries. |
| Leftover days | 1 November to 2 November 2026: 1 day. |
| Calendar days | 26 × 365 + 7 leap days + 305 days in 2026 = 9,802. |
Use clock time for hours, minutes and seconds
Subtract the birth timestamp from the target timestamp. Divide the elapsed milliseconds by 1,000 for seconds, then by 60 for minutes.
A calendar date alone does not identify an instant. You need a time and timezone too. Assuming midnight is useful, but it does not make an unknown birth time exact.
Calendar days
Count date boundaries. The birth date starts at zero, and the following date is one day later.
Elapsed days
Divide elapsed seconds by 86,400. A day with a daylight-saving change can contain 23 or 25 hours.
Decimal years
Divide by a stated year length. A 365.25-day Julian year is a useful unit, but it is not a birthday calendar.
Floi’s device timezone means your device’s current named timezone applied to both timestamps. It does not infer where you were born. Use UTC for a shared clock basis, or set the appropriate device timezone before entering local birth details.
Agree on the rule for leap-day birthdays
A 29 February birthday needs a convention in years without that date. Floi lets you choose 28 February or 1 March.
The choice changes the calendar age and countdown near the anniversary. It does not create or remove an elapsed day. Legal age rules depend on the jurisdiction and purpose; this calculator does not decide them.
Month ends need a rule too
Floi clamps an anniversary to the last available day of a short month. The next monthly anniversary still uses the original anchor day.
| Dates | Floi’s calendar result | Reason |
|---|---|---|
| 31 January to 28 February 2025 | 1 month, 0 days | February has no 31st, so its anniversary is the 28th. |
| 31 January to 30 March 2025 | 1 month, 30 days | The second anniversary is 31 March. It has not arrived. |
| 31 January to 31 March 2025 | 2 months, 0 days | The second monthly anniversary uses the original 31st. |
| 29 February 2000 to 28 February 2001 | 1 year, 0 months, 0 days with the 28 February rule | With the 1 March rule, it is 0 years, 11 months and 30 days. |
Tested date examples
These synthetic calculations were checked on 2 November 2026. UTC and midnight were used unless a row says otherwise.
| Input | Observed result |
|---|---|
| 1 Jan 2000 to 2 Nov 2026 | 9,802 days; 235,248 hours; 14,114,880 minutes; 846,892,800 seconds. |
| Birth: 1 Jan 2000 at 12:30. Target: 2 Jan 2000 at midnight | 1 calendar day; 11 elapsed hours and 30 minutes. |
| 8 to 9 March 2026, America/New_York | 1 calendar day; 23 elapsed hours during the spring clock change. |
| 1 to 2 November 2026, America/New_York | 1 calendar day; 25 elapsed hours during the autumn clock change. |
| 10,000 days after 1 Jan 2000 | 19 May 2027. |
| 1 billion seconds after 1 Jan 2000, 00:00 UTC | 9 September 2031, 01:46:40 UTC. |
Method: the executable checks in scripts/check-age-calculator.mjs compare calendar arithmetic, UTC timestamps and named-timezone behaviour. The first row also matched Calculator.net and The Calculator Site in Chrome. The milestone dates matched Timeanddate. These examples verify the stated rules, not every legal definition of age.
Count what happened. Label what you assume.
Dates can tell you how many Mondays occurred. They cannot tell you how much coffee you drank or how often your heart beat.
A life-statistics card is more useful when it keeps that distinction visible. A count can be exact under a calendar rule. A scenario applies an assumption, and its answer should carry that assumption.
| Statistic | Honest interpretation |
|---|---|
| Mondays, leap days, Friday the 13ths | Calendar occurrences within a stated interval. Floi excludes the birth date and includes the target date. |
| Heartbeats and breaths | Elapsed minutes × a chosen constant rate. Your real rate varies with age, sleep, activity and many other factors. |
| Time asleep | Elapsed 24-hour days × assumed sleep hours. This does not reconstruct a lifetime of changing sleep. |
| Lunar cycles | Elapsed 24-hour days ÷ 29.5. This is an approximate span of phase cycles, not a count of moons you saw. |
| Age on another planet | The same elapsed duration divided by the planet’s mean orbital period. It changes the unit, not your body. |
Why the space figures are approximate
Space comparisons use mean periods and speeds. They are useful for perspective, while an actual orbital path needs a more detailed astronomical model.
- NASA’s Earth fact sheet gives 365.256 days for a sidereal orbit and 29.78 km/s for mean orbital speed.
- NASA’s Mars fact sheet gives 686.980 days for a sidereal orbit.
- NASA’s Jupiter fact sheet gives 4,332.589 days for a sidereal orbit.
- NASA’s Moon phase explanation distinguishes the roughly 29.5-day phase cycle from the roughly 27.3-day orbit.
Make a birthday poster people can read
Give one number the headline, then let the other statistics support it. Keep the snapshot date and approximation marks visible.
- Choose days for an unexpected angle, years for a birthday, or seconds for a sense of scale.
- Use portrait for a feed post, square for a compact card or story for a tall phone image.
- Keep the full calendar age and source assumptions readable. A striking image still needs context.
- Review the saved PNG before sharing. Exact age plus the snapshot date may reveal a birth date, even when it is not printed explicitly.
Floi’s age calculator makes all ten poster layouts locally. Use the social post maker for a separate birthday greeting, or put your memories together in a photo collage.