---
title: "Paint Calculator"
method: GET
path: "/api/calc/paint-calculator"
tags: ["Everyday"]
---

# Paint Calculator

`GET /api/calc/paint-calculator`

## Request

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

A 12 × 12 ft room needs about 2 gallons for two coats. Enter room size, doors, windows and coats to get the wall area and the gallons or liters to buy.

## Query parameters

- `unit` 'ft' | 'm': Units
- `length` number: Room length (ft)
- `width` number: Room width (ft)
- `height` number: Wall height (ft)
- `coats` number: Coats
- `doors` number: Doors
- `windows` number: Windows
- `ceiling` 'yes' | 'no': Paint the ceiling too?
- `coverage` number: Coverage (sq ft per gallon) Leave blank for a typical 350 sq ft per gallon (10 m² per liter). Check the paint can.

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