Crypto / Stock Profit & Loss Calculator
Work out your profit or loss on a trade — free, instant.
Knowing Your Actual Profit or Loss, Not Just a Gut Feeling
Watching a stock or crypto position's price move up and down doesn't tell you the actual dollar or percentage profit or loss until the math accounts for quantity, fees, and both entry and exit prices together — a position that "feels" profitable based on price alone can look different once the full calculation is done. This tool takes your buy price, sell price, and quantity to calculate exact profit or loss, both in absolute terms and as a percentage.
The Calculation Behind the Numbers
Profit or loss in absolute terms is simply (sell price − buy price) × quantity, giving the actual currency amount gained or lost on the position. The percentage return is calculated as that same profit or loss divided by the total original investment (buy price × quantity), multiplied by 100 — a figure that matters separately from the absolute number, since a large percentage gain on a small position and a small percentage gain on a large position can produce identical absolute dollar profits, information that's easy to conflate without seeing both figures side by side.
A Worked Example
Buying 50 shares at $20 each ($1,000 total investment) and selling at $24 each ($1,200 total) produces an absolute profit of $200, and a percentage return of 20% ($200 profit divided by the original $1,000 investment). Compare that against buying 500 shares at $2 each (also $1,000 total) and selling at $2.40 (also $1,200 total) — mathematically the identical $200 absolute profit and 20% return, despite involving a completely different price range and share count, illustrating how the percentage return, not the raw share price movement, is what actually determines relative investment performance.
Why the Percentage Figure Matters More Than It First Seems
Comparing two different trades or investments purely by their absolute profit can be misleading if the original investment sizes differed — a $500 profit on a $10,000 investment (5% return) represents meaningfully worse relative performance than a $500 profit on a $2,000 investment (25% return), even though the absolute dollar profit is identical in both cases. The percentage figure normalizes for investment size, making genuinely fair performance comparisons possible across positions of very different scale.
Where This Calculation Actually Gets Used
Someone reviewing a completed trade to understand its actual performance, beyond just noticing the price went up or down. An investor comparing the relative performance of several different trades made at different times and sizes, using percentage return as the common comparison metric. Someone preparing figures for personal tax record-keeping, needing an accurate calculated profit or loss figure for each closed position. Traders doing quick mental math validation before committing to a position, checking what a hypothetical exit price would mean for their return.
What This Calculation Doesn't Include
This provides the core price-based profit or loss calculation; it doesn't automatically factor in trading fees, spreads, or taxes, which vary by platform and jurisdiction and would need to be subtracted separately from the calculated gross profit to arrive at a true net figure. For a complete picture of actual take-home profit, factor in your specific platform's fee structure and your jurisdiction's tax treatment of trading gains on top of this calculation.
Calculated Instantly, Privately
The calculation runs with client-side JavaScript the moment you enter your values — your trading details, which may represent sensitive financial information, are never transmitted to a server during the calculation. This tool provides a mathematical calculation only, not financial or investment advice.
Does this include trading fees or commission in the profit calculation?
No — this calculates gross profit or loss based on buy price, sell price, and quantity alone; subtract your platform's specific fees separately for a true net figure.
Why is percentage return sometimes more useful than the absolute dollar amount?
Percentage return normalizes for the size of the original investment, allowing fair comparison between trades of very different sizes, while absolute profit alone can be misleading when comparing differently sized positions.
Can I use this for a loss, not just a profitable trade?
Yes — entering a sell price lower than your buy price correctly calculates a negative result, representing a loss, using the same underlying formula.
Does this account for taxes owed on trading profits?
No — tax treatment of trading gains varies significantly by jurisdiction and holding period; this calculates gross profit only, not any tax liability that may apply.
Is this financial advice on whether to buy or sell?
No — this is a mathematical calculation tool for analyzing a completed or hypothetical trade, not investment advice; trading decisions should be made based on your own research and risk tolerance.
Related Finance Tools
- SIP & Investment Return Calculator
- Simple & Compound Interest Calculator
- Sales Tax / GST Calculator
- Inflation Calculator
- Salary / Take-Home Pay Calculator
- Savings Goal Calculator
Browse all Finance on ToolNest.