About the Stock Profit Calculator
This calculator shows the numbers for a single stock trade. You enter number of shares, buy and sell price per share, buying and selling fees, and an optional tax rate. The tool runs in your browser so your inputs stay local and nothing needs uploading. Results update instantly as you type and you can copy a result or share a link that reopens with the same numbers. The tool works in USD, GBP, EUR, NGN, AED, SAR and INR. It uses a simple, transparent method: total cost equals shares times buy price plus buy fees, sale proceeds equal shares times sell price minus sell fees, and profit is sale proceeds minus total cost. This makes it quick and private for traders, investors, tax students and anyone checking a single trade.
How to use it
- 1Enter number of shares and pick a currency.
- 2Type buy price per share and buying fees.
- 3Type sell price per share and selling fees.
- 4Add a tax rate if you want profit after tax.
- 5Copy or share the link to reopen these numbers.
Worked example
Inputs: 100 shares, buy price 10.00 USD, sell price 12.00 USD, buying fees 5.00 USD, selling fees 5.00 USD, tax on gain 20%. Results: Total cost = 100*10.00 + 5.00 = 1,005.00 USD. Sale money = 100*12.00 - 5.00 = 1,195.00 USD. Profit = 1,195.00 - 1,005.00 = 190.00 USD. Return on investment = 190.00 / 1,005.00 * 100 = 18.91%. Profit after tax = 190.00 - 190.00*0.20 = 152.00 USD. Break-even sell price = (100*10.00 + 5.00 + 5.00) / 100 = 10.10 USD.
The formula
Total cost = shares x buy price + buying feesSale money = shares x sell price - selling feesProfit = sale money - total costReturn = profit / total cost x 100Break-even price = (shares x buy price + all fees) / sharesProfit after tax = profit - max(0, profit) x tax_rateSource: TradingCalcs stock profit/loss calculator - formulas and notesIRS Publication 544 - Sales and Other Dispositions of Assets. Last checked 7 November 2026.
What it is good for
- You see profit and ROI instantly as you type, no calculate button.
- You can pick USD, GBP, EUR, NGN, AED, SAR or INR for all numbers.
- The tool runs in your browser so inputs do not leave your device.
- It models a single trade only and does not include dividends or per-share vs per-trade fee toggles.
- Tax results are estimates; use your country tax guides for final tax figures.
Questions people ask
How does the calculator find profit?
It computes total cost as shares times buy price plus buying fees, sale proceeds as shares times sell price minus selling fees, and profit as sale proceeds minus total cost.
Does the calculator include tax?
You can enter a tax rate to estimate tax on the gain. Tax calculations are simple estimates; follow your local tax rules and official guides for exact reporting.
What is the break-even price?
Break-even sell price equals the total of your cost and all fees divided by the number of shares. That shows the sell price that gives zero profit before tax.
Can I use this for crypto or forex trades?
Yes. The math is asset-agnostic if you treat units as shares and enter fees in the same currency. Watch different fee types like spreads and per-lot charges.
Do results update automatically?
Yes. Results update instantly as you type. There is no calculate button.
Can I save or share my numbers?
Yes. You can copy a result or create a link that reopens the page with your inputs prefilled for later review or sharing.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.