Stock Profit Calculator
This stock profit calculator shows the real profit or loss on a share trade after the costs that price-difference math ignores. Enter your buy price, sell price, and number of shares, then add broker commissions and capital gains tax to see your true net result.
It reports your net profit or loss, ROI, total invested, total received, and the break-even sell price — useful for any stock or share investor checking whether a closed trade really paid off or stress-testing a trade before placing the order.
How to Use the Calculator
Enter the trade details
Fill in the Buy Price (per share), the Sell Price (per share), and the Number of Shares you traded or plan to trade.
Add fees and tax
Under Fees & Commissions, enter a buy and sell commission as a percentage, a flat fee, or both, plus your Capital Gains Tax rate. Leave them at zero for a commission-free broker.
Or apply a preset
Tap a preset to fill the fees instantly: Zero Fee, Standard Broker (0.1% + 4.95 per trade), or Full Fees + Tax (standard fees plus 15% capital gains tax).
Read your results
The net profit or loss updates instantly, color-coded green for a gain or red for a loss. Check the ROI, total invested, total received, and break-even cards, then open the Cost Breakdown for the full picture.
Features
True Net Profit or Loss
Calculate the actual gain or loss on a trade after every cost, not just the gap between buy and sell price.
Buy & Sell Commissions
Set commission for buying and selling as a percentage, a flat fee per trade, or both combined.
Smart Capital Gains Tax
Tax applies only when the trade is a gain — a losing trade is never taxed, just like real tax rules.
ROI Percentage
See your return on investment as net profit divided by the total cost you actually put into the trade.
Break-even Sell Price
Find the minimum sell price that covers the buy price, buy commission, and sell commission so you don't lose money.
Invested & Received Summary
Quick cards show your total invested and the total amount received after commissions and tax.
Detailed Cost Breakdown
Expand a line-by-line view of buying costs, selling revenue, gross profit, tax, and final net profit.
One-Tap Broker Presets
Apply Zero Fee, Standard Broker, or Full Fees + Tax to load common fee structures in a single click.
Multi-Currency Support
Switch currency with the picker and every value and result reformats to match the symbol you choose.
Real-Time Results
Profit, ROI, and every metric recalculate as you type — there is no calculate button to press.
Frequently Asked Questions
How do I calculate stock profit?
Net profit is the net sale revenue minus your total buy cost, then minus any capital gains tax. The calculator does this for you: enter buy price, sell price, and share count, add your commissions and tax rate, and your net profit or loss appears instantly.
How is the stock profit percentage (ROI) calculated?
ROI is net profit divided by total buy cost, multiplied by 100. Total buy cost is the share purchase amount plus the buy commission, so the percentage reflects the return on what you actually spent — not just the headline price move.
How does the break-even price work?
The break-even price is the lowest sell price at which your net profit is zero. It accounts for the buy price, number of shares, buy commission, and sell commission. Sell above it and you are in profit; sell below it and you take a loss.
Why is tax zero when I have a loss?
Capital gains tax applies only to positive gains. If your gross profit (revenue minus all costs) is negative, the calculator charges no tax, mirroring how capital gains tax works in most jurisdictions.
What's the difference between gross profit and net profit?
Gross profit is your sale revenue minus all costs and commissions, before tax. Net profit is what you keep after capital gains tax is deducted from the gross profit — the final figure shown at the top of the results.
How do the commission fields work?
Enter a commission as a percentage of the trade value, a flat fee per trade, or both. For example, a broker charging 0.1% + 4.95 per trade uses both fields. Many modern brokers are commission-free, so you can leave these at zero.
Can I use this for options or futures trading?
This tool is built for straightforward stock buy-and-sell trades. You can use it to estimate profit on other instruments, but it does not model options premiums, margin requirements, or futures contract specifications.
No comments yet. Be the first to comment!