Age Difference Calculator (Two Birth Dates)
Enter Person A and Person B's birth dates; the tool returns the full calendar gap (X years Y months Z days), totals in days / weeks / months, and the older person's percent age lead today. Answers the most-searched "how much older / younger am I?" question for partners, siblings, friends and twins.
Pick two valid birth dates.
Age gap
—
Older person’s lead today
—
Calculated as (older lived days ∕ younger lived days) − 1; this percentage shrinks slowly as both age.
Total days
—
Total weeks
—
widget.ad.totalMonths
—
Formula
gap = |A − B|; % lead = (older person's lived days ∕ younger person's lived days) − 1
- · The tool automatically detects which person is older; order of entry does not matter.
- · "X years Y months Z days" uses the standard datediff borrow algorithm: if days < 0 borrow the actual length of the previous month; if months < 0 borrow 12.
- · Total-days and total-weeks are absolute values; total-months = years × 12 + months.
- · "% lead" reports how much older the older person is relative to the younger — 30 vs 25 = 20 %. The percentage slowly shrinks as both age, even though the absolute gap is fixed.
- · Dates are parsed in the local calendar. Feb-29 birthdays borrow 28 or 29 depending on whether the borrowed month is in a leap year — matching the Gregorian convention.
- · The "% lead" panel refreshes against today's local-timezone date, so the figure ticks down (very slowly) over time.
Frequently asked
We are 5 years apart but my partner's birthday is still six months away — does the tool show 4 or 5?
Both forms are shown; pick whichever you need: (a) The main panel breaks down "X years Y months Z days" — so "4 years 6 months 0 days" is clear at a glance. (b) The total-days / total-months row gives the absolute span, independent of which calendar block you fall into. Use years for "completed birthdays," totals for "elapsed time."
What does "older person's lead today" mean — and why does it shrink over time?
Example: today the older person is 30 and the younger 25, so 30 ⁄ 25 − 1 = 20 % (the older has lived 20 % more days). Twenty years later they are 50 vs 45 → 50 ⁄ 45 − 1 ≈ 11.1 %. The absolute gap (5 years) is unchanged, but the relative % must shrink because the denominator (the younger's age) keeps growing. The metric is widely used in statistics, actuarial work and demographics to remind us that an "age gap" feels different at different life stages.
Can I enter two future dates, or have A born before B?
Yes — the gap itself is just the absolute distance between two dates, so either A or B can be in the past, present or future, and order does not matter. However, the "% lead" calculation requires both birth dates to be in the past (since "lived days" is undefined for someone not yet born); that single panel will show "—" otherwise.
Related tools
Age Calculator
From your date of birth, get exact age, Chinese nominal age (虛歲), days lived and days to next birthday.
Date Difference Calculator
Enter any two dates to get the calendar gap, working days, weekend days, plus year/month/day breakdown and total weeks/months.
Time Zone Converter
Pick your local and target cities to convert a given clock time across time zones.
Date Add / Subtract Calculator
Add or subtract years, months, weeks and days from a start date to get the resulting date and weekday.
Business Days Calculator
Count the working days between two dates (excluding weekends) — or add N business days to a start date to find the deadline.
Pregnancy Due Date Calculator
Estimate the due date from your last menstrual period (LMP) using Naegele's rule, plus current gestational week, trimester and key pregnancy milestones.
Time Card Calculator (clock-in / clock-out / break)
Enter clock-in/clock-out times and break minutes to get total hours worked and gross pay — overnight (graveyard) shifts handled automatically.
Day of Year & Week Number Calculator
Pick any date to see which day of the year (1–366), ISO 8601 week number, weekday, and how many days from the start and end of the year.
Day of the Week Calculator (Any Date)
Enter any Gregorian date (past or future) to instantly find the day of the week — useful for birthdays, anniversaries and historical events.
Unix Timestamp ↔ Date Converter
Convert a Unix timestamp (seconds or milliseconds since 1970-01-01 UTC) to UTC, Hong Kong time and RFC 1123 HTTP date — and back. Built for debugging log files, API responses and database fields.
Easter Date Calculator
Pick a year and the Computus algorithm returns Easter Sunday plus Ash Wednesday, Palm Sunday and Good Friday.
Moon Phase Calculator
Enter any date to compute the lunar phase (new, first quarter, full, last quarter …), moon age in days and illuminated fraction.
Chinese Zodiac & Lunar Age Calculator
Find your Chinese zodiac animal, stem-branch element, zodiac year and lunar (nominal) age from any birth date.
Western Zodiac Sign Calculator
Enter your birth date to see your Western zodiac sign (Aries, Taurus, Gemini…) along with its element, modality and opposing sign.
Birthstone Calculator
Pick a birth month to instantly see the modern and traditional birthstones, the birth flower, the spanning zodiac signs and a colour swatch — handy when choosing jewellery or birthday gifts.
Julian Day Number Calculator
Convert a Gregorian calendar date to its Julian Day Number (JDN) and Modified Julian Day (MJD) — used in astronomy, history, and cross-calendar date math.
ISO 8601 Week Number Calculator
Enter any date and compute its ISO 8601 week number, ISO year and weekday — using the Monday-first / first-week-contains-Jan-4 rule.
Time Between Two Times Calculator
Enter two clock times (HH:MM[:SS]) and instantly see the difference in hours, minutes and seconds — with overnight-shift handling and decimal-hour output.
Hong Kong Statutory Annual Leave Calculator
Enter years of service and see the statutory paid annual leave entitlement under the HK Employment Ordinance §41AA.
Half-Birthday Calculator
Enter your date of birth to see when your next half-birthday falls, how many days away it is, and your current half-age (e.g. 33.5 years).
Daylight Hours (Sunrise / Sunset) Calculator
Enter a latitude, longitude and date to get the local sunrise, sunset, solar noon and total daylight hours using the NOAA solar position formula.
Countdown to Date Calculator
Enter a target date and get an instant breakdown of days, weeks, months, hours and minutes remaining — or elapsed for past dates.
Jet Lag Recovery Time Calculator
Enter the number of time zones crossed and direction of travel (eastward or westward) to estimate how many days you typically need to fully adjust to the destination, based on sleep-medicine rules of thumb.
Decimal Hours ↔ HH:MM:SS Converter
Convert between HH:MM:SS and decimal hours both ways — built for payroll, timesheets and lab notebooks.
Generation Calculator (Birth Year)
Enter a birth year to classify yourself by the Pew Research generation cohorts — Greatest, Silent, Boomer, Gen X, Millennial, Gen Z, Gen Alpha or Gen Beta.
Time Adder & Subtractor (HH:MM:SS)
Add or subtract any number of HH:MM:SS durations with automatic carry — handy for totalling video lengths, training sessions or race splits.
Year / Quarter / Month / Week Progress Calculator
Pick any date to see what percentage of the year, quarter, month and week has elapsed and how many days remain — handy for yearly goals, OKR check-ins and progress reports.
Date Format Converter (ISO 8601 / US / EU / JP / Unix)
Pick a date and see it instantly formatted in ISO 8601, RFC 2822, US (MM/DD/YYYY), EU (DD/MM/YYYY), Japanese (YYYY年MM月DD日), Unix timestamp and a dozen other common formats.
Friday the 13th Date Finder
List every Friday the 13th in a given year (or range) and show how many days remain until the next one.
Nth Weekday of the Month Calculator
Pick a month, year, weekday and occurrence (including "last") to get the date — handy for scheduling monthly meetings, paydays and rule-based holidays such as US Thanksgiving (4th Thursday of November).
Weekday Count in Date Range Calculator
Enter a start and end date and instantly see how many Mondays, Tuesdays, … Sundays fall inside the range, plus weekday vs weekend totals — useful for scheduling, payroll, rent and contract counts.
Time to Retirement Calculator
Enter your birth date and target retirement age; the tool returns the exact years, months, days and total days remaining until retirement, plus the calendar date you will retire — useful for financial and life planning.
Sunrise & Sunset Calculator
Enter latitude, longitude and date; the tool applies the NOAA solar position algorithm to return local sunrise, sunset and solar-noon times, plus the length of the day — essential for photography, outdoor activities, agriculture and solar-energy planning.
Fiscal Quarter Calculator (custom fiscal-year start)
Enter a date and your fiscal-year start month; the tool reports the calendar quarter (Q1–Q4), the fiscal quarter and fiscal-year label, the quarter's start/end dates and the percentage of the quarter elapsed — useful for SEC filings, government budgets and SaaS subscription planning.
Working Hours per Year Calculator (with hourly / daily rate)
Enter weekly hours, annual leave days and public holidays; the tool returns net annual working hours after leave and converts a yearly salary into hourly, daily and monthly rates — useful for freelancers, contractors and HR cost planning.
Equinox & Solstice Date Calculator
Enter a Gregorian year and the tool returns the dates and UTC times of the spring equinox, summer solstice, autumn equinox and winter solstice using Jean Meeus’ astronomical formulas — useful for gardening, festival planning, photography and the Chinese solar-term calendar.
Planetary Age Calculator (Your Age on Other Planets)
Enter your birth date; the tool returns your age on Mercury, Venus, Mars, Jupiter, Saturn, Uranus and Neptune using each planet's orbital period — a popular STEM / classroom / museum tool that turns abstract astronomy into a fun, personal number.
Conception Date Estimator
Enter the estimated due date or the last menstrual period (LMP); the tool applies the Naegele rule in reverse to estimate the conception date and fertile window (5 days before to day of ovulation), supporting due dates derived from ultrasound CRL — useful for prenatal planning and medical records.
Hijri (Islamic) ⇄ Gregorian Calendar Converter
Enter a Gregorian date or a Hijri (Islamic) date; the tool converts between the two using the tabular Umm al-Qura algorithm (also known as the Kuwaiti algorithm) — useful for Islamic festivals (Ramadan, Hajj, Eid), cross-cultural documents and historical records.
Palindrome Date Calculator
Enter a date and a format (DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD, etc.); the tool tells you whether it is a palindrome date (reads the same forwards and backwards, e.g. 22/02/2022) and lists the next five upcoming palindrome dates. A fun tool for picking wedding dates, anniversaries or other "perfectly symmetric" days.
Next Leap Year Calculator
Enter a starting year; the tool lists the next 5 leap years (Gregorian rule: divisible by 4 but, if divisible by 100, must also be divisible by 400), each with its distance in years from the start, plus the most recent prior leap year. Useful for project deadlines, birthday-on-Feb-29 planning and calendar trivia.
Year Fraction Calculator (Day-Count Conventions: ACT/365, ACT/360, 30/360)
Enter two dates; the tool simultaneously reports the year fraction t under the four most-used day-count conventions (ACT/ACT, ACT/365 Fixed, ACT/360, 30/360 ISDA). Foundational for bond accrued interest, interest-rate swaps, annuities and insurance actuarial calculations.