---
title: "Age Calculator"
method: GET
path: "/api/calc/age-calculator"
tags: ["DateTime"]
---

# Age Calculator

`GET /api/calc/age-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/age-calculator`
- Auth: none declared

Your exact age in years, months and days from your date of birth, plus total weeks and days, the weekday you were born and how long until your next birthday.

## Query parameters

- `birth` string, date: Date of birth (YYYY-MM-DD)
- `asOf` string, date: Age on date Leave empty to use today's date. (YYYY-MM-DD)

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
