---
title: "Area Calculator"
method: GET
path: "/api/calc/area-calculator"
tags: ["Math"]
---

# Area Calculator

`GET /api/calc/area-calculator`

## Request

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

Area of a rectangle, square, triangle, circle, trapezoid, parallelogram or ellipse from your measurements, with the formula and the working shown.

## Query parameters

- `shape` 'rectangle' | 'square' | 'triangle' | 'circle' | 'trapezoid' | 'parallelogram' | 'ellipse': Shape
- `unit` 'none' | 'mm' | 'cm' | 'm' | 'km' | 'in' | 'ft' | 'yd' | 'mi': Unit
- `x` number: Length
- `y` number: Width
- `z` number

## 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)
