Sri Lankan markets, rates, tax and research

Execution / Cost Basis

Average Cost CalculatorSri Lanka

Track a weighted average entry price across multiple CSE buy lots, then layer in brokerage, break-even exit, and target-sale analysis.

  1. 01Add the items
  2. 02Review the totals
  3. 03Act on the gap
Currency

Display label only. No exchange-rate conversion is applied.

Position build

Lot-by-lot cost basis

Add each buy lot separately so the weighted average cost reflects how the position was actually built.

Lot 1
LKR
Lot 2
LKR

Include more assumptions

Results include an editable 1.12% CSE transaction cost per side by default. Open Advanced to change it for another market and add fixed charges or a target sale.

LKR

Total shares

1,000

Total invested

LKR 52,582.40

Average cost

LKR 52.58

Unrealised P&L

LKR 4,768.00

Progression

Average cost after each lot

Useful when you want to see whether averaging down or averaging up improved the position basis.

Lot detail

Cost basis breakdown

Each row shows how much capital was committed to that lot and how much weight it carries in the overall position.

LotSharesPriceCostWeight
Lot 11,000LKR 52.00LKR 52,582.40100.0%

Continue the calculation

Useful next checks commonly used alongside Average Cost.

All calculators

The full guide

Weighted average cost for CSE investors — averaging down, real break-evens, and record-keeping

Reviewed and updated July 16, 2026 · Written for Sri Lankan investors and borrowers

Most Colombo Stock Exchange investors do not buy a position in one trade. You buy a lot this month, add on a dip three months later, and perhaps top up again after a rights issue. Your true cost per share is then a weighted average across every lot — and if you calculate it wrong, every profit-and-loss judgement you make afterwards is wrong too.

This guide walks through the weighted average method, shows why CSE transaction costs push your real break-even above your headline average, examines the psychology of averaging down, and explains which documents actually prove your cost basis when you need it.

How weighted average cost actually works

The weighted average is total money invested divided by total shares held — not the simple average of your purchase prices. Suppose you buy 500 shares of a CSE-listed company at Rs. 40.00 (Rs. 20,000) and later 300 shares at Rs. 32.00 (Rs. 9,600). You now hold 800 shares that cost Rs. 29,600 in total, so your weighted average is Rs. 37.00 per share.

Notice that the simple average of Rs. 40 and Rs. 32 is Rs. 36 — a full rupee lower than the truth. Because you bought more shares at the higher price, the higher lot carries more weight. On a large position, treating the simple average as your cost basis can make a losing position look like a winner.

The 1.12% that changes your real cost basis

Every CSE equity trade up to Rs. 100 million carries a total transaction cost of 1.12% of the trade value, charged on both purchases and sales. It is not just brokerage — it is a bundle of five components collected on your contract note.

In the example above, the first purchase actually cost Rs. 20,000 plus Rs. 224 in charges (Rs. 20,224), and the second cost Rs. 9,600 plus Rs. 107.52 (Rs. 9,707.52). Your true outlay is Rs. 29,931.52 for 800 shares — a real cost basis of Rs. 37.41 per share, not Rs. 37.00. For trades above Rs. 100 million, brokerage on the excess is negotiable with a 0.200% floor, bringing the total minimum on that portion to roughly 0.6125%.

CSE equity transaction costs on trades up to Rs. 100 million (each way)
ComponentRate
Brokerage0.640%
CSE fee0.084%
CDS fee0.024%
SEC cess0.072%
Share transaction levy0.300%
Total1.120%

Your break-even is higher than your average

To exit at break-even you must recover the buy-side costs and pay the sell-side costs. Selling 800 shares nets you the sale value minus 1.12%, so the break-even price solves: price times 800 times 0.9888 equals Rs. 29,931.52. That works out to about Rs. 37.84 — roughly 2.27% above the raw Rs. 37.00 average, which is exactly the round-trip cost drag on any CSE equity trade of this size.

This matters most for short-term trading. A quick 2% bounce that looks like a profit on your broker app is actually a small loss once both sets of charges are counted. The calculator above applies costs to each lot automatically so you always see the fee-adjusted break-even.

Averaging down: useful tool, dangerous habit

Averaging down — buying more as the price falls — lowers your average and means a smaller rebound gets you back to break-even. In the example, the Rs. 32 purchase pulled the average from Rs. 40 down to Rs. 37, so the stock needs to recover to about Rs. 37.84 rather than Rs. 40.45 for you to exit whole.

The danger is psychological. A falling price is sometimes the market correctly repricing deteriorating fundamentals, and averaging down then simply concentrates more of your capital in a weakening business. Before adding, ask whether you would buy this stock today if you held none of it. If the honest answer is no, you are rescuing your ego, not your portfolio. On smaller CSE counters, also check that you could realistically sell the enlarged position at quoted prices — thin order books can trap oversized holdings.

CDS statements versus contract notes: what proves your cost

Your Central Depository Systems (CDS) statement is the authoritative record of how many shares you own, but it shows holdings and movements — it is not designed to prove what you paid. The contract note your stockbroker issues for each trade is the document that records price, quantity, and every charge, and it is what you need to reconstruct a defensible cost basis.

Keep every contract note, including for rights issues, bonus shares, and odd-lot sales, because corporate actions change your per-share cost without any cash purchase. For individuals, gains on listed shares are currently covered by the share transaction levy inside the 1.12% rather than a separate capital gains tax — but rules change, so verify your position with a tax adviser, and good records make that conversation painless.

Record-keeping checklist

  • File every contract note (buys and sells) with trade date, price, and charges.
  • Reconcile quantities against your CDS statement after each settlement.
  • Recalculate your weighted average after every purchase, rights issue, or bonus issue.
  • Note the fee-adjusted break-even, not just the raw average, before planning an exit.

This guide is educational and reflects publicly available rules and market conventions at the review date. Tax rates, bank rates, and regulations change — verify current figures with the institution or the Inland Revenue Department before making a financial decision. Nothing here is financial, tax, or investment advice.

Interpret the number

Cost basis is more useful when it reflects execution reality

A clean weighted average is a good starting point, but active investors usually care about the executable break-even price after brokerage and exit friction, not only the pure purchase average.

Adding lots over time changes your average cost in a path-dependent way. Visualizing how that cost basis evolves by lot helps you understand whether averaging down is genuinely improving your position or simply increasing exposure.

This version keeps the quick weighted-average workflow while adding the more practical decision support most CSE investors actually need.

Read the glossary: capital gains

Before you act

Common questions

What is weighted average cost per share?

It is total invested capital divided by total shares owned. Each lot contributes in proportion to its size, so large lots have a bigger effect on the result than small ones.

Why calculate a break-even sell price?

Because selling friction can mean your true exit threshold is slightly above the average entry cost. Break-even price is the point where net sale proceeds approximately recover your full cost base.

Can I use this for rupee-cost averaging analysis?

Yes. Enter each recurring purchase as a separate lot and the calculator will show the combined weighted average entry price and resulting unrealised P&L.