Cost basis is the recorded cost of an asset, usually the purchase price plus buying costs such as commissions and fees. It is the figure you subtract from sale proceeds to work out a gain or loss. Keeping accurate cost basis records for every trade makes that calculation possible later.
Every profit or loss on a closed position is measured against what you paid. If the cost is recorded wrongly, the result is wrong too. Tax rules differ by country, so this guide covers the general idea rather than any specific tax treatment.
What cost basis includes
Cost basis usually starts with the price you paid for the asset. Many records also add the commission and fees paid to buy it. When an asset is split, received as a gift or affected by a corporate action, its basis may be adjusted under local rules. Some regions require specific methods for matching purchases to sales, such as first-in, first-out, so check the rules that apply to you.
A simple hypothetical
Hypothetical: you buy 100 shares at 20.00 and pay 5.00 in fees. Cost basis is (100 × 20.00) + 5.00 = 2,005.00. If you sell for 2,300.00 and pay 5.00 to sell, the gain before tax is 2,300.00 − 5.00 − 2,005.00 = 290.00. Leaving the buy fee out of the basis would overstate the gain.
What to record for each trade
- Date and time of each buy and sell.
- Asset, quantity and price per unit.
- Fees and commissions on each side.
- Any splits, transfers or other adjustments.
Keep records of partial closes as well as full closes, since each sale can have its own basis.
Keeping the records in your journal
Your trading journal is a useful place for this. Record each fill with its cost, and keep a running note of adjustments. Tradzy's journal can store entry and exit prices and fees, so you can reconcile your totals against broker statements. This is general information, not tax advice, so confirm the rules with a qualified professional in your country.
FAQ
What is cost basis in simple terms?
It is what you paid for an asset, usually the price plus the buying costs. It is the figure you subtract from the sale proceeds to get a gain or loss.
Do fees count toward cost basis?
Often yes. Commissions and some fees paid to buy an asset can be added to its cost basis, though the exact rules depend on where you live.
What happens if I do not track cost basis?
You may be unable to calculate gains and losses accurately, and you may have to rebuild records from broker statements, which takes time.
Is cost basis the same as breakeven?
Not exactly. Breakeven is the price at which a trade's profit is zero, usually including fees. Cost basis is the recorded cost used for gain and loss calculations.
Put This Into Practice
- Record one hypothetical buy with price, quantity and fees
- Calculate the cost basis and the gain after a hypothetical sale
- Store every fill and fee in your Tradzy journal alongside the trade
Start Free in TRADZY →
Educational content, not financial advice. Trading involves substantial risk of loss. Examples labelled hypothetical are invented for illustration.