Stock Profit Calculator
Calculate total cost, total proceeds, profit or loss, ROI, break-even price, and per-share result.
Important Note : This calculator estimates trade profit or loss from buy price, sell price, shares, and commissions. It does not include taxes, dividends, slippage, or time-weighted returns.
Use this Stock Calculator to estimate stock trade profit or loss, ROI, break-even sell price, total buy cost, total sell proceeds, and per-share return. It is useful for investors who want a quick before-and-after view of how share price changes and commissions affect the final result.
Reviewed by: AjaxCalculators Editorial Team
Last updated: April 24, 2026
Method source: Standard trade-profit and ROI relationships using shares, buy price, sell price, and transaction commissions
Editorial standards: AjaxCalculators Editorial Policy
What This Stock Calculator Calculates
This calculator estimates:
- Total buy cost
- Total sell proceeds
- Net buy price per share
- Net sell price per share
- Profit / Loss
- ROI
- Break-even sell price per share
- Profit / Loss per share
The live tool supports multiple currencies and lets you enter commissions either as a fixed amount or as a percentage. The last commission field you edit becomes the source used for calculation.
How the Stock Calculator Works
1) Total Buy Cost
The starting investment is based on:
Total buy cost = (shares × buy price per share) + buy commission
If you enter commission as a percentage, the commission is calculated from the trade value instead of entered directly as a fixed amount.
2) Total Sell Proceeds
The exit value is based on:
Total sell proceeds = (shares × sell price per share) − sell commission
This reflects the money left after selling costs are deducted.
3) Profit or Loss
The core trade result is:
Profit / Loss = total sell proceeds − total buy cost
If the number is positive, the trade made money. If the number is negative, the trade lost money.
4) ROI
ROI is usually measured as net return divided by the cost of the investment:
ROI = profit / total buy cost × 100
This makes it easier to compare outcomes as percentages rather than just currency amounts.
5) Break-Even Sell Price Per Share
The break-even sell price is the minimum sell price per share needed to cover the original cost and the selling costs.
That means the calculator works backward from total buy cost and sell-side commission to find the no-profit, no-loss price level.
Why Commissions Matter
A trade can look profitable on the surface but still underperform once fees are included.
For example, buying at a low commission and selling at another commission changes:
- net buy price per share
- net sell price per share
- profit / loss
- ROI
This is why a commission-aware stock profit calculator is more useful than a simple buy-price vs sell-price comparison.
Assumptions and Important Notes
- This calculator is a stock profit / return calculator, not a stock valuation tool.
- It estimates trade outcome from share count, prices, and commissions.
- It does not include taxes, dividends, currency conversion effects, slippage, borrowing costs, or annualized returns unless you handle those separately.
- ROI here is a simple trade-level return, not a time-adjusted performance measure.
- Break-even sell price depends on the entered sell-side commission method.
Worked Example
Suppose you buy 100 shares at $20 per share with a $10 buy commission, then sell at $24 per share with another $10 sell commission.
Step 1: Find total buy cost
Buy value = 100 × 20 = $2,000
Total buy cost = 2,000 + 10 = $2,010
Step 2: Find total sell proceeds
Sell value = 100 × 24 = $2,400
Total sell proceeds = 2,400 − 10 = $2,390
Step 3: Find profit
Profit = 2,390 − 2,010 = $380
Step 4: Find ROI
ROI = 380 ÷ 2,010 × 100 ≈ 18.91%
Step 5: Find profit per share
Profit per share = 380 ÷ 100 = $3.80
How to Use This Stock Calculator
- Select the currency you want to use.
- Enter the number of shares.
- Enter the buy price per share.
- Enter either buy commission amount or buy commission %.
- Enter the sell price per share.
- Enter either sell commission amount or sell commission %.
- Click Calculate to view total cost, proceeds, ROI, break-even price, and profit/loss outputs.
How to Interpret the Result
Total buy cost is your true entry cost including fees.
Total sell proceeds is your money out after sell-side fees.
Profit / Loss is the net cash result of the trade.
ROI shows the return relative to your total buy cost.
Break-even sell price per share shows the minimum exit price needed to avoid losing money after commissions.
Practical Uses of a Stock Calculator
- estimate trade profit before placing an order
- compare different exit prices
- see how commissions affect ROI
- find a break-even sell price per share
- review the outcome of a completed trade
References
- AjaxCalculators live Stock Calculator
- Investopedia: ROI definition and formula as return divided by cost of investment
- Investopedia: ROI as net return divided by investment cost, with limitations of simple ROI
Related Calculators
- Inflation Calculator
- Interest Rate Calculator
- Credit Card Interest Calculator
- Margin & VAT Calculator
Disclaimer: This calculator is for educational and planning use only. It estimates stock trade profit or loss from prices, shares, and commissions, but it does not replace tax advice, investment advice, or full portfolio-performance analysis.