Skip to content
ShopPos home

GST Calculator

By the ShopPos team · Reviewed

Add GST to a price, or take it out of a price that already includes it, and see the CGST and SGST (or IGST) as they would appear on a bill. Below the GST calculator is a profit margin calculator that works from your cost and your selling price.

Free to use, no sign-up. What you type stays in your browser.

GST calculator · Margin calculator · Price a sack or carton into packs

Add or remove GST

Common rates: Check the rate for your item with your accountant. You can type any other rate.

Enter an amount and the GST rate. The answer appears here as you type.

Profit margin and markup

Enter what an item costs you and what you sell it for. GST you collect from the customer is not your income, so the margin is worked out on the selling price before GST. GST you paid on the purchase counts as a cost only if you cannot claim it back.

Common rates:

Enter your cost, your selling price and the GST rate. The margin and markup appear here as you type.

A guide only, not tax advice. The rate that applies to an item depends on how it is classified, and rates can change. Confirm the GST rate and the input tax credit position with your accountant. Reviewed 2 November 2026.

How the numbers are worked out

  1. Add GST. The GST is the price times the rate divided by 100. Within a state it is split equally into CGST and SGST, each worked out to four decimals and then rounded to the paisa on its own. To another state it is one IGST amount.
  2. Remove GST. The price before GST is the price times 100 divided by 100 plus the rate, to four decimals. The GST is then worked out on that, as above.
  3. Whole bill. A GST invoice total may be rounded to the nearest rupee, and the difference is shown as the round-off. The calculator shows what this single amount would round to, if it were the whole bill.
  4. Margin and markup. Profit is the selling price before GST less your cost. Margin is the profit divided by the selling price, markup is the profit divided by the cost.

An example

A price of 1,000 rupees at 5% GST within the same state: CGST is 25.00, SGST is 25.00, the GST is 50.00 and the price with GST is 1,050.00. Going the other way, a price of 1,050.00 that includes 5% GST is 1,000.00 before GST plus 50.00 of GST. If that item cost you 800 rupees and you claim the GST on your purchase, your profit is 200.00, which is a margin of 20.0% and a markup of 25.0%.

Let the software do this on every bill

ShopPos keeps the GST rate on each item, prints the CGST and SGST on every line of the bill, and prepares your GSTR-1 and GSTR-3B figures from the bills. Try it free for 14 days, no card needed.

Start your 14-day free trial Ask us on WhatsApp

Related: bulk to retail price calculator, GST billing and accounts, buyer's guide for grocery and organic shops.

FAQ

Questions about GST and margin

How do I add GST to a price?

Multiply the price by the GST rate and divide by 100. That is the GST; add it to the price. For a price of 1,000 at 5%, the GST is 50 and the price with GST is 1,050. In the same state the 50 is split equally into 25 CGST and 25 SGST.

How do I take GST out of a price that already includes it?

Multiply the price by 100 and divide by 100 plus the rate. The result is the price before GST, and the rest is the GST. For 1,050 including 5%, the price before GST is 1,050 x 100 / 105 = 1,000 and the GST is 50.

When do I use CGST and SGST, and when IGST?

For a sale within one state the GST is split equally into CGST and SGST. For a sale to another state it is charged as IGST, at the full rate. The amount of tax is the same; the calculator shows it the way it appears on the invoice.

Why is the total a paisa different from what I expected?

The price before GST and each part of the GST are rounded to the paisa on their own, as ShopPos does on a bill, so the parts can differ from a price you typed by a paisa. The calculator tells you when this happens.

Which GST rate should I use?

The rate that applies to the item you are selling, as your accountant advises. The buttons show the rates in common use since the changes of 22 September 2025: 0%, 5%, 18% and 40%. Rates and the items they apply to can change, so confirm yours. You can type any other rate in the box.

What is the difference between margin and markup?

Markup is the profit as a share of your cost. Margin is the profit as a share of your selling price, before GST. A cost of 80 sold at 100 is a markup of 25% but a margin of 20%. GST collected on a sale is not your income, so the margin calculator leaves it out.

Does the calculator store or send what I type?

No. The calculation runs in your browser and nothing you type is sent to us. If you accept analytics cookies, we count that a calculator was used, without any of your figures.