# Gst Calculator

> Calculate GST (Goods and Services Tax) for a given amount in India. Use this when the user asks about GST, CGST, SGST, IGST, or tax on an invoice/purchase amount.

- Skill: `vivekxai/gst-calculator` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add vivekxai/gst-calculator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vivekxai/gst-calculator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Finance & Business
- Author: vivekxai (https://skillmd.com/u/vivekxai)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/vivekxai/gst-calculator

---


# GST Calculator

Computes GST on a taxable amount at the standard Indian slabs (5%, 12%,
18%, 28%). For intra-state transactions the tax is split evenly between
CGST and SGST; for inter-state transactions the full rate is charged as
IGST.

## Arguments

Pass an `input` object with:

- `amount` (number, required) — the base (taxable) amount in INR, before tax.
- `rate` (number, required) — the GST rate as a percentage. Must be one of 5, 12, 18, or 28.
- `transaction_type` (string, optional) — either `"intra-state"` (splits tax into CGST+SGST) or `"inter-state"` (charged as IGST). Defaults to `"intra-state"`.

## Example

```
echo '{"amount": 50000, "rate": 18, "transaction_type": "intra-state"}' | python script.py
```

