Stock Profit Calculator
See gain or loss on a closed trade
Enter shares, buy price, and sell price to get dollar profit and percent return. Optional commissions are subtracted.
Closed trade
Breakdown
What the calculator counted
Next check
A closed P/L number does not tell you if the next trade is still in an advancing stage.
How to use it
Enter the round trip
Add the share count, the price you paid, and the price you sold. Leave commissions at zero if you did not pay them.
- Works for whole or fractional shares
- Runs in the browser with no account
Read dollar profit and percent return
The result shows total cost, net proceeds, profit or loss in dollars, and return as a percent of what you spent.
- Same cost-minus-proceeds formula brokers use on a closed lot
- Link to Stage Analysis before the next add
How a stock profit calculator works
Profit is net proceeds minus total cost. Total cost is shares times buy price plus buy commission. Net proceeds are shares times sell price minus sell commission. Percent return is profit divided by total cost.
That number is a closed-trade score, not a reason to buy again. Check Stage Analysis if you are deciding whether the stock’s trend still supports the next trade.
Results are calculated from the numbers you enter, not generated by AI and not pulled from a brokerage account. This tool is not investment advice.
Frequently asked questions
How do I calculate stock profit?
Subtract what you paid (shares times buy price, plus buy commission) from what you received (shares times sell price, minus sell commission). Divide that difference by total cost to get percent return.
Does this include commissions?
Yes. Buy and sell commissions are optional. Leave them at zero if your broker charges no commission.
Is this the same as an average cost calculator?
No. An average calculator finds cost basis across several buys. This stock profit calculator measures a completed round trip: one buy price versus one sell price.
Can I use this for a short sale?
No. The math assumes you bought first, then sold. Shorts reverse that order and need a different treatment of proceeds and cost.
Is this investment advice?
No. The tool is for educational and informational use and does not recommend buying or selling a security.
Example trades
Stock Average CalculatorDCA CalculatorStock Stage AnalysisAll free tools