To calculate crypto profit, subtract your total purchase cost from your total sale proceeds. For a simple example, if you buy 0.5 coins at $20,000 each and later sell them at $25,000 each, your gross profit is $2,500 before fees, taxes, and other costs. The calculation is educational only: actual results depend on the asset, execution prices, trading fees, spread, transfer costs, and applicable tax rules.
The basic crypto profit formula
A straightforward profit calculation has three main steps:
- Calculate the total cost of the purchase.
- Calculate the total value received from the sale.
- Subtract the purchase cost from the sale proceeds.
The basic formulas are:
Total purchase cost = quantity purchased × buy price

Total sale proceeds = quantity sold × sell price
Gross profit or loss = total sale proceeds − total purchase cost
If the result is positive, the position has a gross profit before costs. If the result is negative, the position has a gross loss. This calculation works for Bitcoin, Ethereum, stablecoins, and other cryptoassets, although the practical details may differ depending on the platform and transaction.
A simple buy-price-to-sell-price example
Assume the following fictional numbers:

- Amount purchased: 0.5 coins
- Buy price: $20,000 per coin
- Sell price: $25,000 per coin
- Fees and taxes: excluded from the first calculation
First, calculate the purchase cost:
0.5 × $20,000 = $10,000
Next, calculate the sale proceeds:
0.5 × $25,000 = $12,500
Now subtract the purchase cost from the sale proceeds:
$12,500 − $10,000 = $2,500 gross profit
The position increased by $2,500 in dollar terms before trading fees, network costs, taxes, and any difference between the displayed price and the actual execution price. These numbers are not current market data and should not be treated as a prediction or expected return.
How to calculate percentage return
Dollar profit shows the amount gained or lost, but percentage return shows the result relative to the original purchase cost. The basic return-on-investment formula is:
ROI percentage = (profit ÷ original purchase cost) × 100
Using the example:
($2,500 ÷ $10,000) × 100 = 25%
The gross ROI is therefore 25% before costs. A 25% price increase does not always produce exactly a 25% net return because fees and other expenses reduce the result. Similarly, a small price movement can produce a different outcome when leverage, borrowing costs, or complex products are involved. This article focuses on a basic spot purchase without leverage.
Why fees change the result
Many beginners compare only the buy price and sell price. That can overstate the actual result. A trading platform may charge a fee when you buy, when you sell, or both. A wallet transfer may also involve a network fee or a platform withdrawal charge. The exact amount and structure can change by provider, account level, payment method, network, and transaction conditions, so verify current details directly with the relevant provider.
For a more realistic calculation, use:
Net profit = sale proceeds − purchase cost − purchase fees − sale fees − other transaction costs
Suppose the fictional example includes a total of $60 in combined trading and transfer costs. The adjusted result would be:
$12,500 − $10,000 − $60 = $2,440 net profit before taxes
The resulting net ROI would be:
($2,440 ÷ $10,000) × 100 = 24.4%
The $60 cost in this illustration is an assumption, not a statement about any exchange or network. Use the actual fee shown in your transaction history or the provider's current fee schedule. You can also use a Crypto Fee Calculator to organize fee assumptions before comparing outcomes.
Market price is not always your execution price
The price displayed on a chart is not necessarily the price at which your order fills. This distinction matters because crypto markets can move quickly, especially during periods of high activity or limited liquidity.
Slippage is the difference between the expected price and the actual execution price. A market order may fill across several price levels. A limit order gives you more control over the minimum or maximum price, but it may not fill at all. The spread between the bid and ask can also affect the amount you receive.
For a practical review, compare the following figures in your transaction records:
- The quoted price before placing the order
- The actual average fill price
- The quantity bought or sold
- The fee charged by the platform
- Any network or withdrawal cost
These details help explain why a calculator using rounded prices may not match the final amount in your account.
What happens when you sell only part of a position?
You do not need to sell an entire position to calculate profit. If you sell part of your holdings, calculate the cost basis assigned to the quantity sold and compare it with the sale proceeds.
For example, imagine buying 1.2 coins at an average cost of $10,000 per coin and later selling 0.3 coins at $13,000 per coin. The sale proceeds are:
0.3 × $13,000 = $3,900
Using the simplified average-cost assumption, the purchase cost assigned to the sold quantity is:
0.3 × $10,000 = $3,000
The simplified gross profit is:
$3,900 − $3,000 = $900
This example assumes that the average cost method is appropriate for the calculation. Actual recordkeeping may require you to identify which units were sold under the rules that apply to your situation and the records maintained by your platform. Tax treatment is time-sensitive and can depend on jurisdiction, transaction history, and individual circumstances. Do not treat a general calculator result as tax advice; consult current primary government guidance or a qualified tax professional when necessary.
How to handle multiple purchases
Many people buy the same asset more than once at different prices. In that situation, a single buy price may be misleading. You can calculate an average purchase price using:
Average cost per coin = total amount invested ÷ total quantity purchased
Assume a fictional investor makes two purchases:
- Purchase one: 0.4 coins for $8,000
- Purchase two: 0.6 coins for $15,000
The total invested is $23,000, and the total quantity is 1 coin. The simplified average cost is therefore:
$23,000 ÷ 1 = $23,000 per coin
If the entire coin is later sold for $27,000, the simplified gross profit is $4,000 before costs. If only part is sold, the cost assigned to that sale depends on the accounting method and records used. Keep purchase confirmations, sale confirmations, fee records, wallet transfers, and dates in an organized file.
Profit is different from account balance
Your account balance can rise or fall even when you have not sold anything. That change is generally an unrealized gain or loss. A gain becomes realized when you sell or otherwise dispose of the asset, although the practical and tax implications depend on the transaction and applicable rules.
Consider the difference:
- Unrealized profit: the current estimated value is above your recorded purchase cost, but the asset is still held.
- Realized profit: the asset was sold or exchanged, and the proceeds can be compared with the relevant cost basis.
A displayed portfolio value is also not the same as cash that can be withdrawn. Selling may involve fees, spread, market impact, settlement procedures, or limits imposed by a provider. Current platform policies and market conditions should be checked before making a transaction.
Using a crypto profit calculator
A calculator can reduce arithmetic errors, especially when you need to compare several scenarios. Enter the quantity, buy price, sell price, and any known fees. If the tool includes a fee field, use the fee amount or rate shown by your provider rather than a generic assumption.
The Crypto Profit Calculator can help estimate gross and adjusted results from your inputs. Treat the output as an estimate based on those inputs, not as a guarantee of what a future trade will produce. For assets priced in different currencies, a Crypto Converter can help with unit conversions, but exchange rates are time-sensitive and should be checked before relying on the result.
A practical checklist before interpreting the result
- Confirm the exact quantity purchased and sold.
- Use the actual average execution price when available.
- Separate the displayed market price from the filled order price.
- Include purchase fees, sale fees, transfer costs, and other known expenses.
- Identify whether the calculation is gross, net before taxes, realized, or unrealized.
- Check whether multiple purchases require an average-cost or transaction-specific calculation.
- Keep records that support every input.
- Verify current fee schedules, platform policies, and applicable tax or regulatory information with primary sources.
Important risks to keep in mind
A past price movement does not establish that the same movement will happen again. Cryptoassets can experience substantial volatility, and prices may change between placing an order and receiving a fill. Liquidity, outages, custody problems, wallet mistakes, scams, and security incidents can also affect the practical outcome.
Calculations are useful for understanding a transaction, but they do not predict future prices or remove risk. This article is for general education, not personalized investment, trading, legal, or tax advice. Before acting, evaluate your own circumstances, confirm information from current primary sources, and consider getting professional advice where appropriate.
The central idea is simple: start with quantity multiplied by the buy price, compare that cost with quantity multiplied by the sell price, and then subtract real transaction costs. Once you distinguish gross profit, net profit, ROI, and unrealized value, a buy-price-to-sell-price comparison becomes much easier to interpret.




Comments
0No comments yet. Be the first to share a helpful note or question.
Leave a Comment
Your email address will not be published. Comments are reviewed before appearing on the site.