Crypto Profit Calculator

Two units purchased at $25,000 and sold at $40,000 have a $30,000 price gain. Deducting $500 combined fees once leaves $29,500. With all fees allocated to disposal, net proceeds are $79,500 and return on the $50,000 purchase cost is 59%.

This arithmetic does not calculate tax due or identify the tax lot sold.

Crypto Profit Calculator: inputs

Calculated result
Net crypto gain or loss$29,500
Return on cost59.0%
Net sale proceeds$79,500

Crypto Profit Calculator: Crypto units sensitivity

Crypto Profit Calculator: Crypto units and Net crypto gain or loss5 calculations vary the “Crypto units” input while holding the other entered inputs constant.1.6$23,5001.8$26,5002$29,5002.2$32,5002.4$35,500

Crypto Profit: formula

Net crypto gain = sale proceeds − purchase cost − transaction fees

SEC Investor.gov: financial calculators · IRS: Digital-asset transaction FAQs

Crypto Profit: worked example

Crypto units2
Purchase price per disposed unit, before fees$25,000
Sale price per unit$40,000
Combined purchase and disposal fees$500
Of those fees, purchase fees$0.00
Net crypto gain or loss$29,500
Return on cost59.0%
Net sale proceeds$79,500

The fee allocation changes cost basis and net proceeds without changing the combined gain. Purchase fees cannot exceed combined fees. IRS digital-asset rules distinguish transaction types and allocable costs; a wallet transfer, exchange, fee paid in tokens and cash sale can require different records.

Do not treat an average across unrelated lots as the basis of a particular disposal.

Crypto Profit: changing Crypto units

Crypto unitsNet crypto gain or lossReturn on costNet sale proceeds
1.6$23,50058.8%$63,500
1.8$26,50058.9%$71,500
2 (example)$29,50059.0%$79,500
2.2$32,50059.1%$87,500
2.4$35,50059.2%$95,500

Crypto Profit: compare input ranges

InputTested fromToNet crypto gain or loss: low inputNet crypto gain or loss: high inputSwing
Sale price per unit$36,000$44,000$21,500$37,500$16,000 (54%)
Purchase price per disposed unit, before fees$22,500$27,500$34,500$24,500$10,000 (34%)
Crypto units1.82.2$26,500$32,500$6,000 (20%)
Combined purchase and disposal fees$450$550$29,550$29,450$100 (0.3%)
Of those fees, purchase fees$0.00$1.00$29,500$29,500$0.00

Crypto Profit: individual input comparisons

InputValueNet crypto gain or lossReturn on costNet sale proceeds
Crypto units1.6$23,50058.8%$63,500
1.8$26,50058.9%$71,500
2$29,50059.0%$79,500
2.2$32,50059.1%$87,500
2.4$35,50059.2%$95,500
Purchase price per disposed unit, before fees$20,000$39,50098.8%$79,500
$22,500$34,50076.7%$79,500
$25,000$29,50059.0%$79,500
$27,500$24,50044.5%$79,500
$30,000$19,50032.5%$79,500
Sale price per unit$32,000$13,50027.0%$63,500
$36,000$21,50043.0%$71,500
$40,000$29,50059.0%$79,500
$44,000$37,50075.0%$87,500
$48,000$45,50091.0%$95,500
Combined purchase and disposal fees$400$29,60059.2%$79,600
$450$29,55059.1%$79,550
$500$29,50059.0%$79,500
$550$29,45058.9%$79,450
$600$29,40058.8%$79,400
Of those fees, purchase fees$0.00$29,50059.0%$79,500
$0.00$29,50059.0%$79,500
$0.00$29,50059.0%$79,500
$1.00$29,50059.0%$79,501
$2.00$29,50059.0%$79,502

Crypto Profit: combined input changes

Crypto units / Purchase price per disposed unit, before fees$20,000$25,000$30,000
1.6$31,500$23,500$15,500
1.8$35,500$26,500$17,500
2$39,500$29,500$19,500
2.2$43,500$32,500$21,500
2.4$47,500$35,500$23,500

Crypto Profit: which assumptions move the result?

Crypto Profit: Net crypto gain or loss as Sale price per unit changesNet crypto gain or loss starts at $13,500. Moving Sale price per unit from $32,000 to $48,000 changes it to $45,500, with Crypto units 2; Purchase price per disposed unit, before fees $25,000; Combined purchase and disposal fees $500; Of those fees, purchase fees $0.00 kept fixed.$32,000$13,500$36,000$21,500$40,000$29,500$44,000$37,500$48,000$45,500
Chart quantityDisplayed settings
Sale price per unit$32,000 → $48,000
Net crypto gain or loss$13,500 → $45,500
Crypto units2
Purchase price per disposed unit, before fees$25,000
Combined purchase and disposal fees$500
Of those fees, purchase fees$0.00
Crypto Profit: Net crypto gain or loss as Purchase price per disposed unit, before fees changesNet crypto gain or loss starts at $39,500. Moving Purchase price per disposed unit, before fees from $20,000 to $30,000 changes it to $19,500, with Crypto units 2; Sale price per unit $40,000; Combined purchase and disposal fees $500; Of those fees, purchase fees $0.00 kept fixed.$20,000$39,500$22,500$34,500$25,000$29,500$27,500$24,500$30,000$19,500
Chart quantityDisplayed settings
Purchase price per disposed unit, before fees$20,000 → $30,000
Net crypto gain or loss$39,500 → $19,500
Crypto units2
Sale price per unit$40,000
Combined purchase and disposal fees$500
Of those fees, purchase fees$0.00

Crypto Profit: values and definitions

Quantity and definitionValue used
Crypto units2
Purchase price per disposed unit, before fees$25,000
Sale price per unit$40,000
Combined purchase and disposal fees$500
Of those fees, purchase fees$0.00
Net crypto gain or loss$29,500
Return on cost59.0%
Net sale proceeds$79,500

Disposed units, their acquisition cost and associated fees determine the cost basis used in the gain calculation. Combined fees cover acquisition and disposal once; the purchase-fee field allocates part of that total to acquisition cost. For $500 total fees with $200 on acquisition, enter 500 and 200, not 700.

Different purchase lots require their own basis records.

Common error: Tracking crypto gains as one blended average cost across all purchases rather than per transaction. Many tax jurisdictions require transaction-level basis reporting, and an averaged approach can produce a figure that doesn't match what's owed.

Investing & Returns calculators: P/E Ratio Calculator, PEG Ratio Calculator, Dividend Payout Ratio Calculator, Earnings Per Share (EPS) Calculator, Market Cap and Enterprise Value Calculator, Book Value Per Share Calculator.

Transaction fees on both the buy and sell side, plus network fees, can consume a meaningful share of a modest gain, and because many jurisdictions tax cryptocurrency transaction by transaction rather than in aggregate, the exact basis and proceeds on each individual trade matter far more here than in typical securities recordkeeping.

Keep purchase cost, sale proceeds and every fee recorded at the individual transaction level, not as one blended average, since tax filing generally requires that level of detail.

Estimate tax with the capital gains tax calculator, and use the tax-loss harvesting calculator for losses. The position size calculator helps decide how much of a portfolio to risk in a volatile asset. Keep a record of every transaction date and price, since reporting rules require them.

Does a positive gain equal my tax bill?

No. The result excludes tax rates, holding period, other gains and losses, filing status and any transaction-specific treatment.

Can I combine several purchase lots?

Only if the entered acquisition cost accurately represents the units disposed of under the applicable identification rules. Keep each original acquisition record.

Is selling crypto taxable?

In the US, yes. Digital assets are treated as property, so selling, swapping or spending them can create a taxable gain or loss.

Where do I find my crypto cost basis?

Use your exchange's transaction history or tax report, and add all purchases. If you moved coins between wallets, keep the original purchase records.

Do network fees count?

Fees paid to buy add to your cost basis and fees paid to sell reduce your proceeds, so both lower the taxable gain.