Stock Profit Calculator
Calculate profit, loss, and return on investment for any stock trade.
Stock Profit Calculator
Estimate trade math from buy price, sell price, shares, fees, dividends, and optional tax estimate.
More shares magnify gains and losses.
Buy price is your average cost per share.
Sell price is the exit price or current market value.
Buy fees increase cost basis.
Sell fees reduce sale proceeds.
Spreads, platform fees, or other costs.
Dividend income can affect total return if included.
Optional estimate only. Tax treatment varies by jurisdiction.
Estimated net profit
Estimated after fees and optional tax estimate, based on your inputs.
Return percentage
Net profit ÷ cost basis.
Total cost basis
Buy price × shares + buy fees.
Total sale value
Sell price × shares − sell fees.
Gross profit / loss
Before fees, dividends, and tax estimate.
Total fees
Buy, sell, and other fees.
Break-even sell price
Estimated price per share to break even.
Profit per share
Net profit ÷ shares.
Growth multiple
Sale proceeds ÷ cost basis.
Estimated tax
Optional tax estimate if entered.
Trade math estimate
Calculate profit, loss, return percentage, and break-even price from your inputs.
Fee-aware
Commissions, platform fees, and trading costs reduce net return.
Not advice
This calculator estimates trade math, not investment quality.
Dynamic Stock Profit Insights
What Stock Profit Means
Cost vs sale
Stock profit is the difference between sale value and cost basis.
Positive or negative
Profit can be positive or negative depending on price movement and costs.
Fees matter
Fees reduce net return and raise the break-even price.
Return percentage
Return percentage helps compare trades of different sizes.
Realized vs Unrealized Profit
Realized profit or loss
Realized profit or loss occurs after selling shares. Taxes may depend on jurisdiction and holding period.
Unrealized profit or loss
Unrealized profit or loss is the gain or loss on a position still held, using current market price.
Share Price, Quantity, and Fees
Cost basis
Total cost basis = buy price × shares + buy fees.
Sale value
Total sale value = sell price × shares − sell fees.
Quantity
More shares magnify gains and losses.
Average cost
Average cost matters if shares were bought at multiple prices.
Return Percentage vs Dollar Profit
Dollar profit
Dollar profit shows the absolute gain or loss in currency terms.
Return percentage
Return percentage shows profit relative to the cost basis, making trades easier to compare.
Taxes, Dividends, and Risk Notes
Dividends
Dividends can increase total return if included.
Taxes
Taxes can reduce after-tax profit, and tax treatment varies by jurisdiction.
Fees and spreads
Fees, spreads, and platform costs can reduce returns.
Market risk
Stock prices can fall as well as rise. This estimates math, not investment quality.
Stock Profit Formula
Cost Basis = Buy Price × Shares + Buy Fees
Sale Proceeds = Sell Price × Shares − Sell Fees
Gross Profit = (Sell Price − Buy Price) × Shares
Net Profit = Sale Proceeds − Cost Basis + Dividends
Return Percentage = Net Profit ÷ Cost Basis × 100
Break-Even Sell Price = (Cost Basis + Sell Fees − Dividends) ÷ Shares
Buy price is the average cost per share, sell price is the exit or market price, shares are the quantity, fees reduce net return, dividends can increase total return, and return percentage compares net profit with cost basis.
Frequently Asked Questions
Related tools