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

# Scientific Calculator

`GET /api/calc/scientific-calculator`

## Request

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

Type 2^10 + √144 × sin(30) the way you would write it and get each step back. Handles powers, roots, trig, logs, factorials, nCr and π in degrees or radians.

## Query parameters

- `expr` string: Expression Use + − × ÷ ^ ( ) ! %, π, e and functions like sin, cos, tan, sqrt, ln, log, nCr(5, 2). 2π and 3(4+1) multiply automatically.
- `angle` 'deg' | 'rad': Angle unit

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