Finance · Investing
Crypto / Stock Profit Calculator
Find out your profit, loss and ROI on any crypto or stock trade. Enter your buy price, sell price, quantity and optional fees for an instant breakdown — free and no sign-up.
How the profit calculator works
Calculating the real return on a trade is just four steps. This tool runs them automatically the moment you type:
- Total invested (cost) = buy price × quantity
- Sell value (proceeds) = sell price × quantity
- Fees = (cost + proceeds) × fee % ÷ 100
- Profit = proceeds − cost − fees
Your ROI (return on investment) is then your profit divided by your total cost, shown as a percentage. A green number means a gain; a red number means a loss after fees are taken out.
Worked example
| Step | Value |
|---|---|
| Buy 0.5 BTC at $20,000 | $10,000 cost |
| Sell 0.5 BTC at $28,000 | $14,000 proceeds |
| Fees at 0.1% (on $24,000) | $24 |
| Profit = 14,000 − 10,000 − 24 | $3,976 |
| ROI = 3,976 ÷ 10,000 | 39.8% |
Things to keep in mind
Fees add up on both sides
Most exchanges and brokers charge a fee when you buy and again when you sell. Entering your fee percentage gives a more honest picture, especially for high-frequency or large trades where a 0.1–0.5% fee can quietly erode your gains.
This is pre-tax profit
Your real take-home depends on capital gains tax, which varies by country, your income and how long you held the asset. The figures here are before any tax. Treat them as a planning estimate, not a final number.
Frequently asked questions
How do I calculate my crypto or stock profit?
Profit equals proceeds minus cost minus fees. Cost is buy price × quantity, proceeds are sell price × quantity. This calculator does the full math, including fees on both sides.
What is ROI and how is it calculated?
ROI is your profit divided by your total cost, shown as a percentage. Invest $1,000 and make $250 profit and your ROI is 25%. Negative ROI means a loss on your capital.
Does this include trading fees?
Yes. Enter your fee as a percentage and it's applied to both the amount invested and the amount received when selling, for a more realistic profit figure.
Can I use it for stocks too?
Yes. The math is identical for any asset bought and sold at a per-unit price — stocks, ETFs, crypto or commodities. Just enter price per unit and quantity.
Does it account for taxes?
No. This shows pre-tax profit and ROI only. Capital gains tax depends on your country, holding period and income. Consult a tax professional for your situation.
Understanding ROI versus total return
The single number this calculator returns — your ROI, or return on investment — is the cleanest way to compare two trades that involved different amounts of money. A $500 profit on a $1,000 position is a 50% ROI, while the same $500 profit on a $10,000 position is only a 5% ROI. The dollar gain is identical, but one trade used your capital far more efficiently. That is why seasoned investors talk in percentages rather than raw dollars: ROI normalizes results so a small position and a large one can be judged on the same scale.
ROI on its own does not tell you how long it took to earn that return, and time matters enormously. A 20% ROI earned over one month is wildly different from a 20% ROI earned over five years. To compare investments held for different periods, people often convert ROI into an annualized figure (sometimes called CAGR, the compound annual growth rate). This calculator reports the simple, period ROI for the trade you actually made, which is the figure most people want when they close a position and ask, "How did I do?"
Realized gains versus unrealized gains
There is an important distinction between a gain you have actually locked in and one that only exists on paper. A realized gain happens when you sell — the profit becomes real cash in your account. An unrealized gain (or paper gain) is the increase in value of an asset you still hold; it can shrink or vanish before you ever sell. This tool calculates a realized result based on a buy price and a sell price you supply, so it answers the question, "If I sold at this price, what would I actually walk away with?" Until you sell, any profit shown by a portfolio app is unrealized and can change minute to minute, especially with volatile assets like crypto.
How taxes can change the picture
The profit figure here is pre-tax. In many countries, including the United States, selling an asset for more than you paid can trigger capital gains tax, and the rate often depends on how long you held the asset before selling. In the US, assets held for one year or less are generally taxed as short-term capital gains at your ordinary income tax rate, while assets held longer than one year may qualify for lower long-term capital gains rates. This is a general overview, not tax advice — rates, holding-period rules and exemptions vary by country and change over time, so confirm the current rules for your jurisdiction or speak with a tax professional.
The practical takeaway is that two trades showing the same pre-tax ROI can leave you with very different amounts after tax, simply because of how long you held each position. Before you celebrate a large paper gain, it is worth estimating the tax you may owe so you are not surprised at filing time.
How fees quietly reduce your return
Trading fees feel small on a single transaction but compound quickly if you trade often. Consider the table below, which shows the same $5,000 position traded at three different fee levels:
| Fee per side | Total fees (round trip) | Effect on a $1,000 paper gain |
|---|---|---|
| 0.1% | $10 | $990 net |
| 0.5% | $50 | $950 net |
| 1.5% | $150 | $850 net |
A trader who buys and sells frequently can lose a meaningful share of their gains to fees alone. This is one reason long-term, low-turnover strategies tend to keep more of what they earn.
Strategies and concepts worth knowing
Dollar-cost averaging
Dollar-cost averaging means investing a fixed amount on a regular schedule — for example, $200 every month — regardless of the price. When prices are high your fixed amount buys fewer units; when prices are low it buys more. Over time this can smooth out your average entry price and remove the pressure of trying to time the market perfectly. It does not guarantee a profit and does not protect against loss in a falling market, but many long-term investors prefer it to making one large purchase at a single, possibly unlucky, moment.
Volatility and the risk of loss
Crypto and many growth stocks are volatile, meaning their prices can swing sharply in a short period. High volatility cuts both ways: it creates the possibility of large gains and the very real possibility of large losses, including losing your entire investment. This calculator can just as easily show a deep red loss as a green gain. Never invest money you cannot afford to lose, and treat any single tool — including this one — as a starting point for your own research rather than a recommendation to buy or sell.
Common misconceptions
- "A higher sell price always means a good trade." Not after fees and taxes. A modest gain can turn into a wash once both are subtracted.
- "ROI and profit are the same thing." Profit is a dollar amount; ROI is that profit relative to what you invested. Two trades with the same profit can have very different ROIs.
- "Unrealized gains are money I have." Until you sell, a paper gain is not cash and can disappear with the next price move.
- "Past returns predict future returns." They do not. A strong historical ROI offers no guarantee of repeating.
How to use this calculator wisely
- Run both an optimistic and a pessimistic sell price to see your potential gain and your potential loss before you trade.
- Always enter your real fee percentage — leaving it at zero overstates your return.
- Remember the result is pre-tax; set aside a portion of any gain for the tax you may owe.
- Compare ROI, not just dollars, when deciding between two positions of different sizes.
More frequently asked questions
What is the difference between short-term and long-term capital gains?
In the US, assets held one year or less are generally taxed as short-term gains at your ordinary income rate, while those held longer than a year may qualify for lower long-term rates. Rules differ by country and change over time, so check the current rules for your location or ask a tax professional.
Does a negative ROI mean I lost all my money?
No. A negative ROI means the trade ended below your cost. For example, a −20% ROI means you got back 80% of what you invested. You only lose everything if the asset goes to zero.
What is dollar-cost averaging?
It is investing a fixed amount on a regular schedule no matter the price. It can smooth your average entry price over time, but it does not guarantee a profit or prevent losses in a declining market.
Why is my exchange's profit figure different from this one?
Exchanges may calculate fees differently, use a different cost basis method (such as FIFO), or include staking and conversion costs. This tool uses a simple, transparent formula based only on the numbers you enter.
Is this calculator giving me investment advice?
No. It only does arithmetic on the figures you type. Nothing here is financial advice or a recommendation to buy or sell any asset. Investing involves risk, including the loss of principal.
Can I use it for partial coins or fractional shares?
Yes. The quantity field accepts decimals, so you can enter 0.25 BTC or 3.5 shares and the math works exactly the same way.