---
title: "GST Calculator"
method: POST
path: "/api/v1/tools/gst-calculator"
tags: ["tools"]
---

# GST Calculator

`POST /api/v1/tools/gst-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/gst-calculator`
- Auth: HTTP bearer

Add GST to a base price or remove it from an inclusive one, at any rate including the Indian slabs of 5, 12, 18 and 28 percent. Returns the net, the GST and the gross, plus the CGST and SGST halves for an intra-state supply, split so the two halves add up to the tax exactly.

## Request body

- object
  - `amount` integer
  - `ratePercent` integer
  - `mode` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `mode` string
    - `ratePercent` integer
    - `net` integer
    - `gst` integer
    - `gross` integer
    - `cgst` integer
    - `sgst` integer

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

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