Hack the Hydra

Age calculator

Type a date of birth as YYYY-MM-DD to see the exact age today, or set an "as of" date to calculate the age on any other day. Nothing is sent anywhere.

🔒 Private by design: the conversion runs in this browser tab. Nothing is uploaded.

Age calculator is a free online tool by Hack the Hydra. Enter a birth date and get the exact age in years, months and days, total days lived, the weekday of birth and days to the next birthday. Free and private.

100% freeNo upload: runs in your browserNo sign-up
Age calculator: the tool with a sample file converted

How the age is counted

Full years are counted first, then the remaining full months, then the remaining days. Each month is counted from the same day of the month; when that day does not exist (for example 31 in February), the month ends on the 1st of the next month. For someone born on 29 February, the next birthday in a non-leap year is shown as 1 March, which is how many countries treat it.

Why use an "as of" date

Many forms ask for your age on a given date: the cut-off for a school year, a competition, a pension or insurance rule, or the start of a contract. Enter that date to get the answer without doing the calendar maths by hand. It also works for future dates, such as the age a child will have on the first day of school.

Time zones and precision

Only calendar dates are used, with no time of day, so the result does not change with time zones. Today is read from your device clock. The total days figure is the exact number of calendar days between the two dates.

Example

Age of someone born on 15 May 1990, calculated as of 10 November 2026.

Input

1990-05-15

Output

Age: 36 years, 5 months, 26 days
Total: 13,328 days (1,904 weeks)
Born on a Tuesday
Next birthday: in 186 days (2027-05-15)

How to use

  1. Type the birth date as YYYY-MM-DD, for example 1990-04-23.
  2. Optionally enter an "as of" date to get the age on a past or future day.
  3. Read the age, total days and next birthday below.

FAQ

Is my birth date stored or sent?

No. The calculation runs in your browser and nothing is saved.

What date format is accepted?

Year-month-day with dashes, such as 2001-12-31. Invalid dates like 2001-02-30 are rejected.

Can I calculate the age on a future date?

Yes, enter that date in the "as of" box.

Does it count leap years?

Yes. The days lived are exact calendar days, including every 29 February between the dates.

Guides

More free converters

PDF to Markdown converterOCR PDF: scanned PDF to textImage to text (OCR)Word (DOCX) to Markdown converterExcel & CSV to Markdown tablesHTML to Markdown converterPowerPoint (PPTX) to Markdown converterJSON to Markdown tablePDF to text converterExcel to JSON converterMarkdown to HTML converterMerge PDF filesSplit PDF: extract pagesRotate PDFJPG to PDF converterPDF to JPG converterImage converter: PNG, JPG, WebPCompress image: JPG and WebPQR code generatorWord counterCase converterJSON formatter and validatorBase64 encode and decodeURL encoder and decoderUUID v4 generatorStrong password generatorLorem ipsum generatorJSON to CSV converterRemove duplicate linesUnix timestamp converterJSON to YAML converterText diff checkerImage resizerPercentage calculatorHash generator (SHA-256, SHA-1, SHA-512)Color converter: HEX, RGB, HSLDays between dates calculatorYAML to JSON converterUnit converterJWT decoderBinary, hex, decimal and octal converterRoman numeral converterRegex testerCron expression explainerPDF to Markdown for ChatGPTPDF to Markdown for ClaudePDF to Markdown for RAG pipelinesPDF to Markdown for ObsidianPDF to Notion (via Markdown)Screenshot to textFrench OCR: image to textCSV to Markdown tableGoogle Docs to MarkdownJPG / JPEG to text (OCR)PNG to text (OCR)CSV to JSON converterPNG to JPG converterJPG to PNG converterWebP to PNG converter