---
title: "Discount Calculator"
method: GET
path: "/api/calc/discount-calculator"
tags: ["Finance"]
---

# Discount Calculator

`GET /api/calc/discount-calculator`

## Request

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

Sale price and savings for any percent off, plus the true total when discounts stack: 25% off and then an extra 10% off is 32.5% in total, not 35%.

## Query parameters

- `price` number: Original price
- `currency` 'USD' | 'EUR' | 'GBP' | 'JPY' | 'CAD' | 'AUD' | 'CHF' | 'CNY' | 'INR' | 'PKR' | 'AED' | 'SAR' | 'NZD' | 'SGD' | 'HKD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'TRY' | 'ZAR' | 'BRL' | 'MXN' | 'KRW' | 'THB' | 'MYR' | 'IDR' | 'PHP' | 'BDT' | 'EGP' | 'NGN' | 'KWD' | 'QAR' | 'BHD' | 'OMR' | 'RUB': Currency
- `discount` number: Discount (% off)
- `extra` number: Extra discount (optional) (% off) Applied to the already-reduced price

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