Crypto Cost Basis Calculator
Crypto cost basis tracking.
Calculate crypto cost basis per coin from purchase amount and transaction fees. Enter coins purchased and paid excl fees to size protocol returns.
What this tool does
This calculator computes your all-in cost basis per coin by combining the purchase price with transaction fees. Cost basis represents the total amount you paid per unit and forms the foundation for calculating capital gains or losses when you later sell or trade your holdings. The result is driven primarily by the number of coins acquired, the amount paid before fees, and the size of the transaction fees incurred. A typical scenario might involve tracking multiple purchases across different dates to build a weighted average cost basis for tax or portfolio accounting purposes. The calculator assumes fees are paid upfront and incorporated into your total investment; it does not model ongoing holding costs, price volatility, or the tax treatment of gains in your jurisdiction. The output illustrates your cost foundation for reference only.
Enter Values
People also use
Income
Capital Gains Tax Calculator
Calculate capital gains tax on a sale. See net proceeds after tax and effective return on cost basis. Enter sale price to see gross gain and tax owed.
Crypto
Crypto Dollar Cost Average Calculator
Calculate dollar cost averaging outcome in crypto across start and end prices. Enter amount and months to see final value and average cost per unit.
Crypto
Crypto Profit Calculator
Calculate crypto profit or loss after fees. Net gain, ROI percentage, and total fee drag. Enter units owned and buy price per unit to size protocol returns.
Formula Used
Spotted something off?
Calculations or display — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
Crypto cost basis: total amount paid (including transaction fees) divided by coins purchased. Critical for capital gains calculation when selling. Total cost = purchase amount + exchange fees + transfer fees. Many crypto investors miss fees, overstating gains and overpaying tax at sale.
0.5 BTC purchased for 20,000 + 150 exchange fee + 30 transfer fee = 20,180 total cost. Cost basis: 40,360 per BTC. Selling at 50,000/BTC: gain 9,640/BTC × 0.5 = 4,820 reportable gain. Without including fees: gain calculated as 5,000 - overstates by 180.
Crypto tax: capital gains on disposal. Annual exempt amount 3,000. Tax 18% (standard rate) or 24% (upper rate) on gains above. the tax authority allows multiple cost basis methods (FIFO, LIFO, average) but most use 'pooled' (average cost across same coin holdings). Track every transaction - the tax authority increasingly enforces crypto tax compliance.
A worked example
Try the defaults: coins purchased of 0.5, total paid of 20,000, transaction fees of 180. The tool returns 40,360.00. You can adjust any input and the result updates as you type — no submit button, no reload. That's the real power here: seeing how sensitive the output is to one or two assumptions.
What moves the number most
The result responds to Coins Purchased, Total Paid (excl fees), and Transaction Fees.
The formula behind this
Total cost = paid + fees. Cost basis per coin = total cost ÷ coins. Everything the calculator does is shown in the formula box below, so you can check the math against your own spreadsheet if you want.
Using this well
What this doesn't capture
Steady-rate math ignores real-world volatility. Actual returns are lumpy; sequence-of-returns risk matters most in drawdown; fees and taxes drag on compound growth; and behaviour changes in drawdowns can reduce outcomes below the projection. The number represents one scenario rather than a forecast.
(££20,000 + ££180) ÷ 0.5 = 40,360.00.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
This calculator computes your average cost basis per coin by combining the purchase price and transaction costs, then dividing by the number of coins acquired. Specifically, it adds the total amount paid for coins to any transaction fees incurred, then divides this combined total by the number of coins purchased. The result represents the average cost per unit. The model assumes all coins are acquired at the same effective price and treats transaction fees as part of the acquisition cost rather than a separate expense category. It does not account for timing differences between purchases, variations in fee structures across transactions, or the impact of subsequent trades or disposals on your overall position.
References
Frequently Asked Questions
Which fees to include?
Multiple purchases?
What about staking/airdrops?
Trading vs investment?
Related Calculators
Capital Gains Tax Calculator
Calculate capital gains tax on a sale. See net proceeds after tax and effective return on cost basis. Enter sale price to see gross gain and tax owed.
Crypto Dollar Cost Average Calculator
Calculate dollar cost averaging outcome in crypto across start and end prices. Enter amount and months to see final value and average cost per unit.
Crypto Profit Calculator
Calculate crypto profit or loss after fees. Net gain, ROI percentage, and total fee drag. Enter units owned and buy price per unit to size protocol returns.
More Crypto Calculators
Crypto
Crypto Dollar Cost Average Calculator
Calculate dollar cost averaging outcome in crypto across start and end prices. Enter amount and months to see final value and average cost per unit.
Crypto
Crypto Futures Calculator
Calculate crypto futures P&L, margin, and liquidation distance for leveraged trading. Enter contract size units and entry price to project staking yield.
Crypto
Crypto Investment Calculator
Crypto investment calculator. Enter amount, expected annual return, and years to see projected value and total return on your crypto position.
Crypto
Crypto Portfolio Calculator
Crypto portfolio calculator. Enter quantities and prices across multiple coins to see total value, allocation percentages, and concentration risk.
Crypto
Crypto Profit Calculator
Calculate crypto profit or loss after fees. Net gain, ROI percentage, and total fee drag. Enter units owned and buy price per unit to size protocol returns.
Crypto
Crypto Staking Calculator
Crypto staking calculator. Enter staked amount, APY, and compounding frequency to see rewards earned and final staked balance.
Explore Other Financial Tools
Budget
Cleaning Service Annual Cost Calculator
What a professional cleaner costs across the year from visit length, hourly rate, and visit frequency — monthly and annual totals.
Money Insights
Minimum Wage Mirror Calculator
Compare hourly wages to global averages. Calculate annual income and see earnings as a multiple of typical worldwide wages.
Cloud & Tech
Video Conferencing Cost Calculator
Calculate your video conferencing cost including per-user licences, room hardware, and support to see total annual organisational spend.