CHAOSLESS · MAGAZINE

Finance without the noise.
Capital. People. Decisions.

MarketsDelayed
US DOLLAR INDEX—S&P 500 · SPY—NASDAQ 100 · QQQ—GOLD—BITCOIN—EUR/USD—
Architectural detail in warm light
TERM

What is cost basis, and how do you calculate it?

Your gain is only as accurate as your record of what you paid.

READING / TERM
Quick answer

Cost basis is the original value of an asset for tax purposes: usually the purchase price plus fees and commissions. When you sell, your gain or loss is the sale proceeds minus the cost basis. Basis can change — reinvested dividends add to it, some returns of capital reduce it. In the US, brokers report basis for many securities and, from 2026, for covered crypto; for everything else, the records are yours.

What it means

Basis is the number the IRS subtracts from what you sold for. A higher, documented basis means a smaller taxable gain.

How to calculate it

Cost basis = purchase price + fees and commissions

Gain or loss = sale proceeds − cost basis − selling costs

When you bought at different prices, the method matters: specific identification, first-in-first-out (FIFO), or average cost for mutual funds.

An example

Amount
Bought 10 shares at $100$1,000
Commission$5
Cost basis$1,005
Sold for$1,400
Capital gain$395

Why it matters to you

If you can't show your basis, the gain may be treated as the full sale amount. For crypto moved between wallets and exchanges, brokers often don't have it at all.

What you can do

FAQ

Does basis include fees?

Yes. Purchase fees are added to basis; selling fees reduce your proceeds.

What is the basis of an inherited asset?

In the US, usually its value on the date of death ("stepped-up basis").

How do you calculate cost basis for crypto?

The same way as stock: purchase price plus fees, tracked per lot. When you sell, the method — first in, first out or specific identification — decides which lots are sold. Since 2025 the basis is tracked wallet by wallet and exchange by exchange, and brokers now report it on Form 1099-DA. See crypto taxes in 2026.

Sources

This article is for information only and is not investment, tax or legal advice. Figures are given with their source and date.

Continue reading

The next chapter

01 / 04
Crypto · 5 minutes

How is crypto taxed in the US — and what does Form 1099-DA change?

Covered vs noncovered assets, wallet-by-wallet basis, stablecoins, tax rates and what to keep yourself.

Open the story ↗︎
An independent view on money
CHAOSLESS / GLOSSARY

Keep questioning what's possible.

MORE: GLOSSARY ↗︎