How do you calculate stock profit?
Subtract total cost (including fees) from sale proceeds.
Compute dollar profit, return percent, and net proceeds after optional trading fees.
Buy price, sell price, share count, and optional total fees (commissions + other costs).
How to use Stock Profit Calculator, plus the formulas and logic behind the results.
Stock profit compares sale proceeds to purchase cost after fees. Return percent uses net cost as the base.
Cost basis = Buy × Shares + FeesProceeds = Sell × SharesProfit = Proceeds − Cost basisReturn % = Profit ÷ (Buy × Shares + Fees) × 100Trade tips
Gross cost is buy×shares; fees are added to cost. Profit is proceeds minus total cost; percent uses that same cost base.
Does not model taxes, dividends, short sales, or margin interest.
Common questions about the calculation and how to interpret the estimate.
Subtract total cost (including fees) from sale proceeds.
Profit divided by purchase cost including fees, times 100.
No. Leave fees at zero if commissions are negligible.
This version models a long purchase then sale only.
No. Tax treatment depends on jurisdiction and holding period.
Yes, as long as the share count is positive.