# Age calculator

Work out an exact age in years, months and days on a given date, plus the next birthday.

- Endpoint: `POST https://setget.net/v1/tools/age-calculator` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `age-calculator`
- Page: https://setget.net/tools/age-calculator

## Inputs

- `birth_date` (required, string): Date of birth.
- `on` (required, string): The date to work out the age on, usually today.

## Example

```json
{"input":{"birth_date":"1990-05-15","on":"2026-03-05"}}
```

Result:

```json
{"years":35,"months":9,"days":18,"total_months":429,"total_weeks":1868,"total_days":13078,"born_on":"Tuesday","birthday_today":false,"next_birthday":"2026-05-15","next_birthday_weekday":"Friday","days_until_birthday":71,"turning":36}
```

**How are people born on 29 February handled?** In years without a 29 February the birthday is counted on 28 February. Some countries use 1 March in law, so check local rules if it matters.

**Why do I have to send the "on" date?** So the same request always gives the same answer. Send today's date for a current age.
