Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Brokerage and Charges explained: formula, worked example and common mistakes

Work out the net of an equity trade after every charge, see each charge itemized on the buy and sell sides, and find the break-even sell price. Free, no sign-up, your numbers stay local.

Updated

What the brokerage calculator works out

An equity trade carries a stack of charges beyond the brokerage itself: the securities transaction tax, the exchange transaction charge, the regulator’s turnover fee, GST on the taxable heads, stamp duty and the depository charge. The calculator itemizes every one of them on the buy and sell sides, totals them, and finds the break-even sell price at which the net result is exactly zero.

You type the segment, the exchange, the buy and sell prices and the quantity. Every charge rate is a field you can override; a blank field means the stored statutory figure for the segment and exchange.

The formula

Per side s in {buy, sell}:

turnover_s    = price_s × qty
brokerage_s  = min(turnover_s × bRate, bCap)          (no cap when bCap = 0)
stt_s        = turnover_s × sttRate_s
exchange_s   = turnover_s × txn
regulator_s  = turnover_s × sebi
gst          = gstR × Σ_s (brokerage_s + exchange_s + regulator_s)     (STT and stamp carry no GST)
stamp        = turnover_buy × stampRate               (buy side only)
dp           = delivery ? dpFlat + (dpGst ? gstR × dpFlat : 0) : 0       (sell side only)
charges      = Σ brokerage + Σ stt + Σ exchange + Σ regulator + gst + stamp + dp
gross        = (sell − buy) × qty
net          = gross − charges

Break-even sell price: the S with net(S) = 0. Brokerage is capped per order, so the sell charges are piecewise linear in S; the page solves it by bisection.

A worked example

The page opens on this run: 100 shares bought at 100 and sold at 110, delivery, with the stored statutory rates and a zero brokerage.

buy turnover  = 100 × 100 = 10,000
sell turnover = 110 × 100 = 11,000
brokerage     = 0 (the stored default; type your broker''s rate to override)
STT           = 10,000 × 0.1% + 11,000 × 0.1% = 21.00
exchange      = (10,000 + 11,000) × 0.003% = 0.63
regulator     = (10,000 + 11,000) × 0.0001% = 0.021
GST           = 18% × (0 + 0.63 + 0.021) = 0.117
stamp duty    = 10,000 × 0.015% = 1.50
depository    = 15 + 18% × 15 = 17.70
total charges = 40.97
gross         = (110 − 100) × 100 = 1,000
net           = 1,000 − 40.97 = 959.03
break-even    = 100.40

The headline reads: net 959.03 on 100 shares after 40.97 of charges; break-even sell price 100.40. The itemized table shows each charge on the buy and sell sides, so the cost stack is visible and not a black box. The break-even sits 0.40 above the buy price, which is the move the trade must clear to net zero.

What changes the answer

  • The segment. Intraday drops the depository charge, lowers the STT to the sell side only at 0.025%, and lowers stamp duty to 0.003%. The same trade run as intraday carries 11.25 of charges and nets 988.75, with a break-even of 100.11 — much closer to the buy price, because the charges are smaller.
  • The brokerage. It is your broker’s own price. The default is zero; type your broker’s rate and cap and the page applies them. A capped brokerage flattens the sell charges at higher prices, which the break-even search handles by bisection.
  • The quantity. Most charges scale with turnover, so they move in proportion. The depository charge is flat per scrip per day, so it weighs more on a small trade than a large one.
  • The exchange. Each exchange sets its own transaction charge; the page stores one figure per exchange. Pick the exchange and the stored figure applies, or type your own in the advanced field.

When to use it, and when not to

Use it before you place a trade to see the cost stack and the break-even; use it after a trade to reconcile a contract note. The itemized table is the working, and every rate is a field, so a figure that differs from the stored default can be typed in.

It does not work out capital-gains tax, because the page stores no tax rules; the net figure is the gain before tax. It does not model margin funding, pledging or any product-specific charge beyond the ones named. And it works the arithmetic unrounded, so a real contract note that rounds per line can differ by a few paise.

Common mistakes people make

1. Forgetting the depository charge on delivery. It is flat per scrip per day on the sell side, with GST applied. On a small trade it is a noticeable share of the costs; on a large trade it is lost in the brokerage and the tax.

2. Treating GST as applying to every charge. GST applies to brokerage, the exchange charge and the regulator fee only. STT and stamp duty carry no GST, and adding it to them overstates the tax.

3. Reading the break-even as the profit price. The break-even is the price at which net is zero — the trade makes nothing there. A profit needs a price above it, by the margin you want.

4. Using the delivery figures for an intraday trade. The two segments carry different STT, stamp duty and depository figures. A same-day square-off is intraday; a position held overnight is delivery, and the charges reflect that.

5. Expecting the contract note to match to the paisa. Notes round each charge to the nearest paisa under their own rules. The page works unrounded, so the two can differ by a few paise; the differences net out across the lines.

6. Leaving the brokerage at zero when your broker charges. The default is zero, which suits a zero-brokerage broker. If yours charges a percent or a flat fee, type it in the advanced fields, or the net figure will overstate the gain by the brokerage.

Frequently asked questions

How is GST applied to the charges on a trade?

GST is charged on brokerage, the exchange transaction charge and the regulator fee only. On a 21,000 combined turnover the exchange and regulator charges come to 0.651, so 18 percent GST is 0.117. Adding GST to a securities transaction tax of 21.00 would wrongly add 3.78.

Why does the depository charge weigh more on a small trade?

It is a flat 15 plus 18 percent GST, or 17.70, whatever the size. On a sell turnover of 11,000 that is about 0.16 percent; on 110,000 it falls to about 0.016 percent. Most other charges scale with turnover, so only this one makes small trades dearer per unit.

How does a brokerage cap work on a large order?

The cap limits brokerage per order. At 0.03 percent, a 60,000 order pays 18, but a 100,000 order would pay 30 and is held to a cap of 20. Because each side is capped on its own turnover, larger sell prices flatten the brokerage part of the charges.

What is the cost of treating an intraday trade as delivery?

On a 10,000 buy and 11,000 sell, delivery securities transaction tax is 21.00 and stamp duty is 1.50, together 22.50. Intraday taxes only the sell side at 0.025 percent, 2.75, with stamp duty of 0.30, together 3.05. Delivery also adds the depository charge. Pick the right segment.

How does this page differ from the stock profit and loss calculator?

The stock profit and loss calculator asks you to type every charge rate and stores none. This page stores the statutory heads for the segment and exchange as dated, editable defaults, itemizes them on both sides, and solves the break-even sell price. Choose it when you want the statutory stack filled in for you.

How do I check a contract note against this page?

Enter the same prices, quantity, segment and exchange, then type your broker's rate and cap in the advanced fields. Compare the itemized lines with the note. Totals agree within a few paise once rounding is allowed for. A larger gap on one line usually means a typed rate differs from the one the broker applied.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Brokerage and Charges Calculator”. Updated 2026-11-12. https://investmentmathcalculator.com/guides/brokerage-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.