Bid-Ask Spread, Slippage, Order Types, Fees and Break-Even: Interactive Calculators for PSX Traders
See what an order really costs. Walk a made-up order book to measure slippage, then turn a gross profit into net profit after fees, spread and capital gains tax. Two live calculators.
Two things quietly eat into trading returns: how your order is filled and what the trade costs once everything is counted. This guide has a live calculator for each. The first lets you buy or sell into a made-up order book and see slippage appear. The second turns a gross profit into a net one and finds the exact break-even sell price. It sits alongside the PSX beginner’s guide and the capital gains tax guide.
All numbers here are illustrative. They are not forecasts, a real order book or your broker’s rates.
The order book, the spread and slippage
Every listed share has an order book: a queue of buyers (bids) and sellers (asks) at different prices.
- The best bid is the highest price a buyer will pay. The best ask is the lowest price a seller will accept.
- The spread is the gap between them. The mid price is halfway. Buying at the ask and selling at the bid straight away loses you the spread.
- A market order says “fill me now”. It takes the shares waiting at the best price, then the next price, and so on until your order is filled. Each step is a worse price, and the average you pay is your real cost.
- A limit order says “only at this price or better”. It protects the price, but it may fill partly or not at all.
- Slippage is the gap between the price you expected and the average price you got.
Liquid shares have tight spreads and deep queues, so even a large order barely moves the price. Thin shares have wide spreads and small queues, so a modest order can walk through several prices.
Text version of Figure 1
| Price (Rs) | Shares for sale | Your order takes |
|---|---|---|
| 101.00 (best ask) | 3,000 | 3,000 |
| 101.50 | 2,000 | 2,000 |
| 102.00 | 4,000 | 3,000 |
| Average price you pay | Rs 101.50 |
Reading the chart
- The green staircase is buyers, the red staircase is sellers. The height is the cumulative number of shares waiting up to that price.
- The amber part is what your order uses. The blue line is the average price you pay.
- The lower chart shows why size matters. The bigger the order, the further the average price drifts from the mid price.
Stops, gaps and limits
- A stop-loss usually turns into a market order when triggered, so it can fill beyond your stop in a thin book.
- Price limits and halts can prevent an order from filling at all.
- Order types differ by broker. Check what your platform supports before you rely on one. See how to open an account with full-service brokers and digital and regional brokers.
Show the numbers behind the chart
| Price | Shares waiting | You take |
|---|
Fees, tax and the break-even price
A trade that looks like a profit on the screen can be a loss after costs. Per trade you typically pay:
- Brokerage commission to your broker, usually a percentage of the trade value, sometimes with a minimum.
- Other charges such as exchange, central depository, regulator fees and tax on commission. The exact items and rates depend on your broker and the current schedule.
- Spread and slippage, as above.
- Capital gains tax on the profit, collected through NCCPL. For a filer who bought on or after 1 July 2024 the rate is 15% whatever the holding period; older purchases may follow a tiered schedule. See the capital gains tax guide and filer vs non-filer withholding tax.
The break-even sell price. Costs are paid on both the buy and the sell, so you need the price to rise just to get back to zero. With a buy price B, a cost rate f per side and a slippage rate s per side, the break-even sell price is:
Break-even = B x (1 + s) x (1 + f) / ((1 - s) x (1 - f))
With the example costs (0.20% charges and 0.10% slippage per side) a Rs 100 buy needs a sell price of about Rs 100.60. Tax does not change that number because tax applies only to a profit, but it takes a share of everything above it.
Text version of Figure 2
| Step | Amount |
|---|---|
| Gross profit | +Rs 5,000 |
| Fees and charges | -Rs 410 |
| Spread and slippage | -Rs 205 |
| Pre-tax profit | +Rs 4,385 |
| Capital gains tax (15%) | -Rs 658 |
| Net profit | +Rs 3,727 |
Show the numbers behind the chart
| Step | Amount |
|---|
Putting it together
Frequent small trades are where costs hurt most, because the same round-trip cost is taken from a small gain each time. Check that your expected move is large compared with the round-trip cost, prefer limit orders in thin shares, split a large order if you must trade size, and compare brokers’ fee schedules. Size each position sensibly using the position sizing calculator and see the risk management guide. Unfamiliar terms are in the glossary.
Checklist
- How wide is the spread, and how many shares are waiting at the best price compared with my order?
- Would a limit order be safer than a market order for this share?
- What are my real commission and charges per side, from my contract note?
- What is my break-even sell price, and is my target comfortably above it?
- Which capital gains tax rule applies to this purchase, and am I on the filer list?
- If this is a stop-loss, what happens if the price gaps through it?
Educational content only, not investment advice or tax advice. Calculators use made-up order books and assumed rates and do not predict fills, costs or returns. You can lose money trading. Consider speaking to a licensed adviser before making decisions.
Frequently asked questions
What is the bid-ask spread?
It is the gap between the highest price a buyer is offering (the bid) and the lowest price a seller is asking (the ask). If you buy at the ask and sell at the bid straight away, the spread is what you lose. It is usually tight for heavily traded shares and wide for thinly traded ones.
What is slippage?
Slippage is the difference between the price you expected and the average price you actually got. It is larger when your order is big compared with the shares waiting in the order book, or when the price moves between your decision and your fill.
Should I use a market order or a limit order?
A market order prioritises getting filled and accepts the price. A limit order prioritises the price and accepts that it may not fill. For thinly traded shares, many investors prefer limit orders to avoid paying through several price levels. Which order types you can use depends on your broker's platform.
Will my stop-loss sell at my stop price?
Not necessarily. A stop-loss usually becomes a market order once triggered, so it can fill at a worse price if the price gaps or the book is thin. Price limits and halts can also stop an order filling at all.
What is a break-even sell price?
It is the sell price at which your net profit is zero after commissions, charges and spread. Capital gains tax applies only to a profit, so tax does not change the break-even level, but it does take a share of everything above it.
Does holding a share for longer reduce capital gains tax?
Only for older purchases. Under the rules summarised in our capital gains tax guide, filer purchases from 1 July 2024 pay 15% regardless of holding period, while purchases between 1 July 2022 and 30 June 2024 follow a tiered schedule. Check the current rule and your NCCPL statement.
Sources and further reading
Facts in this guide were last checked against these sources on 22 November 2026.
Found an error or an out-of-date detail? See our editorial policy or tell us.
About Sherjeel Islam
Sherjeel Islam is the founder and lead developer behind PakGains. With an extensive background in software engineering, database architecture, and enterprise data systems, he specializes in building real-time market tracking tools and analytical models for Pakistani investors. Sherjeel focuses on bridging the gap between raw market data and practical financial tools, writing in-depth guides on market indicators, cryptocurrency frameworks, and cross-border financial technology.
Keep reading
Disclaimer: The content on PakGains is for informational and educational purposes only and does not constitute financial, investment, legal, or tax advice. Financial markets, cryptocurrencies, and banking services involve inherent risk. Always conduct your own research or consult with a licensed financial professional before making financial decisions.