How do you calculate stock profit?
Stock profit is net proceeds minus cost basis. Cost basis equals purchase price times shares plus buy fees. Net proceeds equals sale or current price times shares minus sell fees.
Return math
Calculate realized or unrealized stock profit, percentage return, fees, proceeds, cost basis, and annualized return when dates are available.
Free calculator
Results use the prices, shares, fees, and optional dates you enter. They are arithmetic outputs, not market forecasts.
Ticker lookup only preloads the sale/current price. Purchase price, shares, fees, and dates stay manual.
Profit = net proceeds - cost basis
Return % = profit / cost basis
Annualized return appears only when the sale date is after the purchase date and the cost basis is positive.
The calculator compares what you paid for a position with what the position is worth at a sale or current price. Fees are included so the result reflects the full cash cost and net proceeds you entered.
Cost basis = purchase price x shares + buy fees
Net proceeds = sale price x shares - sell fees
Profit = net proceeds - cost basis
If you bought 50 shares at $100 and the position is now worth $125 per share, the gross gain is $1,250. If you entered fees, the calculator adds buy fees to cost basis and subtracts sell fees from proceeds before calculating the final profit or loss.
Review AIQ Score, valuation, quality, momentum, risk and technical evidence.
Explore stock researchCompare factor evidence and risk context before treating a gain or loss as the whole story.
Compare stocksConnect price moves to trend, momentum, RSI, moving averages and volatility evidence.
Browse stock signalsRelated tools are selected for the stock profit calculator workflow.
Stock profit is net proceeds minus cost basis. Cost basis equals purchase price times shares plus buy fees. Net proceeds equals sale or current price times shares minus sell fees.
Yes. Buy fees are added to cost basis and sell fees are subtracted from proceeds, so the profit or loss reflects the fee inputs you enter.
Annualized return appears only when valid purchase and sale dates are entered, the sale date is after the purchase date, and the cost basis is positive.
Yes. Enter the current price as the sale/current price to calculate an unrealized gain or loss scenario.