Crypto Profit Calculator
Calculate your cryptocurrency trading gains, losses, and tax implications. Currently calculating in US Dollar.
Crypto is taxed as property. Short-term: income tax rate. Long-term (1+ year): 0-20%.
Net Profit After Tax
+$6,358
+42.36% net return
Total Invested
$15,010
Total Revenue
$22,490
Gross Profit
+$7,480
+49.83% return
Taxes Owed
$1,122
at 15% rate
| Coin | Buy Price | Sell Price | Qty | Cost Basis | Proceeds | Gross P/L | Tax | Net P/L |
|---|---|---|---|---|---|---|---|---|
| BTC | $30,000 | $45,000 | 0.5 | $15,010 | $22,490 | +$7,480 | $1,122 | +$6,358 |
| Total | $15,010 | $22,490 | +$7,480 | $1,122 | +$6,358 | |||
What is a Crypto Profit Calculator?
A crypto profit calculator computes your net gain or loss on one or more cryptocurrency trades, after accounting for trading fees on both the buy and sell side and applying a capital gains tax rate to your gross profit. It gives you four critical numbers for every trade: cost basis (total amount invested including buy fees), proceeds (sale revenue minus sell fees), gross profit (the raw gain before tax), and net profit (what you actually keep after tax).
Crypto trading fees are often overlooked but compound significantly across many trades. A 0.1% fee on both sides of a trade costs 0.2% of the position each time — a trader making 50 round trips per year pays 10% of their position in fees alone, before tax. This calculator makes those costs explicit by tracking buy and sell fees separately per trade and deducting them from your proceeds before calculating taxable gain.
The tax rate field is intentionally flexible. Enter your estimated short-term rate (your ordinary income marginal bracket, 10%–37%) for crypto held under one year, or your estimated long-term rate (0%, 15%, or 20% for most people) for crypto held over one year. If you have multiple trades with different holding periods, you can run the calculator in separate sessions for each cohort to get the most accurate after-tax picture.
Disclaimer: This calculator provides estimates for educational purposes only. Cryptocurrency tax law is complex, evolves rapidly, and varies by jurisdiction. Consult a qualified tax professional for personalized advice.
How to Use This Calculator
Set Your Tax Rate
Enter the capital gains tax rate that applies to your situation. Use your ordinary income marginal rate for short-term trades (held under 1 year) — typically 22%–32% for most earners — or 15% for long-term gains. You can also set it to 0 to see gross profit without tax.
Enter Your Trade Details
For each trade, enter the coin or token ticker, the price you paid per coin (buy price), the price you sold at (sell price), and the quantity of coins. Add any exchange fees you paid at purchase and at sale separately — these are deducted from your proceeds.
Add Multiple Trades
Click Add Trade to model your entire trading history for a tax year. Each trade is calculated independently, and the results panel shows totals across all trades including a per-coin comparison chart and a portfolio allocation breakdown.
Read the Results
The banner shows your total net profit after fees and tax. The summary cards break out total invested, total revenue, gross profit, and taxes owed. The Trade Details table gives a row-by-row breakdown so you can identify which positions drove your returns.
How Crypto Profit Is Calculated
Every trade runs through the same five-step calculation:
1. Cost Basis (Total Buy Cost)
Cost Basis = (Buy Price × Quantity) + Buy Fee
2. Proceeds (Net Sale Revenue)
Proceeds = (Sell Price × Quantity) − Sell Fee
3. Gross Profit / Loss
Gross P/L = Proceeds − Cost Basis
4. Tax Owed (on profitable trades only)
Tax = Gross P/L × Tax Rate (only when Gross P/L > 0)
5. Net Profit After Tax
Net Profit = Gross P/L − Tax
Worked example: You buy 0.5 BTC at $30,000 with a $10 buy fee, then sell at $45,000 with a $10 sell fee. Cost basis = ($30,000 × 0.5) + $10 = $15,010. Proceeds = ($45,000 × 0.5) − $10 = $22,490. Gross profit = $22,490 − $15,010 = $7,480. At a 15% long-term rate, tax = $7,480 × 0.15 = $1,122. Net profit = $7,480 − $1,122 = $6,358. Net return = $6,358 ÷ $15,010 = 42.4%.
Example Crypto Trade Calculations
Strategies to Maximize Crypto After-Tax Returns
Hold for more than one year
The single most impactful tax optimization. Crypto held over one year qualifies for long-term capital gains rates (0%, 15%, 20%) instead of ordinary income rates (up to 37%). On a $10,000 gain for a 22% bracket filer, that is $700 in tax savings — just by waiting past the one-year mark.
Harvest crypto losses before year-end
Unlike stocks, cryptocurrency is currently not subject to the IRS wash-sale rule. This means you can sell a losing position to realize a tax loss, immediately repurchase the same coin, and still deduct the loss — a strategy called "crypto tax-loss harvesting." The wash-sale exemption for crypto may change in future legislation, so check current rules each year.
Match each trade fee to its transaction
Exchange fees on the buy side increase your cost basis, reducing taxable gain. Fees on the sell side reduce your proceeds, also reducing taxable gain. Failing to track fees correctly causes you to overstate gains and overpay tax. Enter buy and sell fees separately in this calculator to account for them properly.
Use specific lot identification (Spec ID)
When you hold multiple lots of the same coin bought at different prices, you can choose which specific lot to sell. Selecting your highest-cost lot first minimizes the taxable gain on that sale. Not all exchanges support this by default — check your exchange settings and elect Spec ID before your first sale of the tax year.
Track every taxable event, including swaps
Every crypto-to-crypto swap is a taxable event — trading ETH for SOL triggers a gain or loss on the ETH position at the time of the swap, valued at the USD price of the SOL received. This surprises many traders. DeFi swaps, staking rewards received, and NFT purchases with crypto are all taxable events that must be reported.
Keep exchange statements and wallet records
The IRS requires you to report every taxable crypto transaction. Major exchanges issue Form 1099-DA starting in 2025. For transactions on decentralized exchanges or smaller platforms with no 1099, you are still legally required to self-report. Use crypto tax software (Koinly, CoinTracker, TaxBit) to aggregate cross-exchange history automatically.
How the IRS Taxes Cryptocurrency
The IRS first clarified its position on cryptocurrency taxation in Notice 2014-21, stating that virtual currency is treated as property for U.S. federal tax purposes. Every disposal — whether selling for dollars, trading for another coin, spending on goods, or gifting above the annual exclusion — is treated as a sale of property, triggering a capital gain or loss equal to the difference between the fair market value at disposition and your adjusted cost basis.
What is a taxable event vs. a non-taxable event? Taxable events include: selling crypto for fiat currency, trading one cryptocurrency for another (the swap is a taxable sale of the first coin at its USD value at time of swap), using crypto to purchase goods or services, and receiving crypto as income (mining, staking rewards, airdrops, and payment for services are taxed as ordinary income at receipt). Non-taxable events include: buying crypto with fiat, transferring crypto between wallets you own, gifting crypto below the annual exclusion ($18,000 per recipient in 2024), and receiving crypto as a gift (the recipient inherits the donor's cost basis).
Staking rewards and DeFi income: In 2023, the IRS in Jarrett v. United States confirmed that newly created tokens from proof-of-stake validation are taxable as ordinary income at their fair market value when received, not when sold. DeFi lending interest, liquidity pool fees, and yield farming rewards follow the same principle. These income amounts become your cost basis in the received tokens, so when you later sell them, you only owe capital gains on appreciation above that basis — but the income tax at receipt is unavoidable.
The 2025 broker reporting change: Starting with the 2025 tax year (reported in 2026), centralized cryptocurrency exchanges are required to issue Form 1099-DA reporting your cost basis and proceeds to both you and the IRS — similar to stock broker reporting. This significantly increases the IRS's ability to match crypto transactions to tax returns. If you have unreported prior-year crypto gains, the IRS Voluntary Disclosure Program may be relevant.
Short-Term vs. Long-Term Tax on a $10,000 Crypto Gain (2024)
| Taxable Income (Single) | Short-Term Rate | Short-Term Tax | Long-Term Rate | Long-Term Tax | Savings |
|---|---|---|---|---|---|
| Under $47,025 | 12% | $1,200 | 0% | $0 | $1,200 |
| $47,025–$100,525 | 22% | $2,200 | 15% | $1,500 | $700 |
| $100,525–$191,950 | 24% | $2,400 | 15% | $1,500 | $900 |
| $191,950–$518,900 | 32–35% | $3,200–$3,500 | 15% | $1,500 | $1,700–$2,000 |
| Over $518,900 | 37% | $3,700 | 20% | $2,000 | $1,700 |
For authoritative IRS guidance on cryptocurrency taxation, see IRS Digital Assets guidance and IRS Notice 2014-21, which established that virtual currency is taxed as property. The IRS also publishes annual FAQs on virtual currency transactions covering staking, forks, and DeFi.
Frequently Asked Questions
Is trading one cryptocurrency for another a taxable event?
Yes. The IRS treats every crypto-to-crypto swap as a sale of the first asset and a purchase of the second at its fair market value in USD at the time of the trade. For example, if you swap 1 ETH (worth $3,000) for SOL, you have a taxable sale of 1 ETH at $3,000. If your cost basis in that ETH was $2,000, you have a $1,000 capital gain — even though you never received any dollars. The SOL has a new cost basis of $3,000.
Do I owe tax on crypto I just hold and never sell?
No. Simply buying and holding cryptocurrency is not a taxable event. Tax is only triggered at the moment of disposal — selling, trading, spending, or gifting above the annual exclusion. Unrealized gains (the increase in value while you still hold the asset) are not currently taxable in the United States. However, staking rewards, mining income, and DeFi yield received are taxable as ordinary income when received, even if you have not sold them.
What is the wash-sale rule and does it apply to crypto?
The wash-sale rule (IRS Section 1091) disallows a capital loss deduction if you sell a security at a loss and repurchase a substantially identical security within 30 days. As of 2024, the IRS has not extended the wash-sale rule to cryptocurrency — crypto is classified as property, not a security. This means you can sell Bitcoin at a loss, immediately repurchase Bitcoin, and still deduct the loss. Congress has periodically proposed extending the wash-sale rule to crypto, so check current law before year-end planning.
How do I calculate profit if I bought the same coin multiple times at different prices?
Use the cost basis method your exchange applies. The IRS allows FIFO (first shares bought are first shares sold) as the default, or Specific Identification if you designate which lot you are selling at the time of sale. Most U.S. crypto exchanges default to FIFO. Highest-cost-first (HIFO) is not an IRS-approved method on its own, but Specific Identification effectively lets you achieve the same result by designating your highest-cost lot. Use our Stock Average Price Calculator to compute a blended cost if you need a simple weighted average.
Are transaction fees tax deductible for crypto?
Yes, in two ways. Fees paid to acquire an asset (buy fees, gas fees, transfer fees to move coins to an exchange before purchase) are added to your cost basis, reducing taxable gain when you sell. Fees paid at disposal (sell fees, gas fees on the swap or sale transaction) reduce your proceeds, also reducing taxable gain. Neither type is deducted as a separate expense — both are factored directly into the gain/loss calculation. This is handled automatically in this calculator through the buy fee and sell fee fields.
What tax rate should I use in this calculator?
For crypto held less than one year, use your ordinary income marginal tax rate: 10%, 12%, 22%, 24%, 32%, 35%, or 37% depending on your income bracket and filing status. For crypto held more than one year, use your long-term capital gains rate: 0% (if your taxable income is under $47,025 single / $94,050 married), 15% (most earners), or 20% (incomes over $518,900 single). If your income exceeds $200,000 (single) or $250,000 (married), add an additional 3.8% for the Net Investment Income Tax (NIIT).
Related Calculators
Crypto Tax Calculator
Estimate full crypto tax liability by year
Capital Gains Tax Calculator
Federal capital gains tax with all asset types
Stock Average Price Calculator
Weighted average cost basis across purchases
ROI Calculator
Calculate return on any investment
Investment Calculator
Project portfolio growth over time
Stock Profit Calculator
Calculate profit and return on stock trades