Crypto Cost Basis Calculator
Crypto cost basis tracking.
Calculate crypto cost basis per coin from purchase amount and transaction fees. Enter coins purchased and amount paid to find your per-coin cost basis.
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.
Quick answer: with the default values, the result is $40,360.00 (Cost Basis per Coin). Adjust the values below for your own figures.
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 to see net gain after fees.
Formula Used
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. Missing fees overstates the gain and can inflate the tax due 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.
In most jurisdictions, selling or trading crypto is a disposal that can trigger a capital gain or loss, measured against the cost basis. Tax rules, allowances, and rates vary widely by country and change over time, so this tool does not model them. Several accounting methods exist for matching disposals to acquisitions, including first-in-first-out, last-in-first-out, and average (pooled) cost, where an average cost per unit is applied across holdings of the same coin. Keeping a record of every acquisition and disposal, fees included, is what makes any of these methods possible to apply accurately.
A worked example
With 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
This is a simplified model that holds its assumptions constant. Real outcomes vary with market conditions, costs, taxes, and timing, so the figure is best read as one scenario rather than a forecast.
(£20,000 + £180) ÷ 0.5 = $40,360.00.
Inputs
| Total Cost (incl fees) | $20,180.00 |
|---|---|
| Coins Purchased | 0.5000 |
| Transaction Fees | $180.00 |
| Effective Fee % | 0.90% |
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.
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 to see net gain after fees.
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 and entry price to see your liquidation price.
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 to see net gain after fees.
Crypto
Crypto Staking Calculator
Crypto staking calculator. Enter staked amount, annual rate, and compounding frequency to see rewards earned and the final staked balance.
Explore Other Financial Tools
Financial Health
Travel Points Value Calculator
Calculate cents-per-point value from a reward redemption against cash price. Enter points used and taxes paid to see cents per point.
Green & Sustainable Finance
Home Office Energy Cost Calculator
Calculate annual energy cost of working from home including computer, lighting, heating, and other equipment use across the working day.
Income
Estimated Quarterly Tax Calculator
Estimate quarterly tax payments for self-employment income, plus the annual total and monthly reserve those quarterly payments imply.
Spotted something off?
Calculations or display — let us know.