Free stock profit calculator. Calculate your total profit or loss from buying and selling stocks, including commissions, taxes, and percentage return.
The Stock Profit Calculator shows your profit or loss from buying and selling shares of stock. Enter your purchase price, sale price, number of shares, and any commissions or fees, and it computes the net gain or loss in both dollar and percentage terms.
Understanding profit after all direct costs matters more than looking at share price change alone. Brokerage commissions, regulatory fees, and estimated taxes can reduce what you actually keep from a trade.
This page is meant as a trade-result worksheet. It helps you quantify what a completed or hypothetical stock trade produced before moving on to broader portfolio or tax planning.
Knowing your exact net profit helps you evaluate trading performance honestly. By including commissions and an optional tax estimate, you see the real bottom line rather than a misleading gross figure.
Gross Profit = (Sell Price - Buy Price) x Shares Net Profit = Gross Profit - Total Commissions Tax Liability = max(0, Net Profit) x Tax Rate After-Tax Profit = Net Profit - Tax Liability Percentage Return = Net Profit / (Buy Price x Shares + Commissions) x 100
Result: Net Profit: $1,480 (29.5% return)
You bought 100 shares at $50 ($5,000) and sold at $65 ($6,500). Gross profit = $1,500. After $20 in commissions, net profit = $1,480. At a 15% estimated capital-gains tax rate, tax = $222 and after-tax profit = $1,258. The pre-tax return on the $5,020 cost basis is 29.5%.
Every investor should track the profit or loss on every trade. This discipline forces you to compare gross proceeds, transaction costs, and the actual dollars kept after the position is closed.
Even at commission-light brokers, costs still exist. Bid-ask spread, regulatory fees, and taxes can all reduce the amount you actually keep from a trade. For smaller positions or frequent trading, those frictions matter.
Dollar profit alone does not tell the full story. A $500 profit on a $50,000 position is 1%, while the same profit on a $2,000 position is 25%. Always evaluate trades on a percentage basis, and consider the time held. Use an annualized-return calculator when you need cross-period comparisons.
Last updated:
This page calculates gross profit from the difference between sell price and buy price, multiplies by the entered share count, then subtracts entered commissions or fees to show net profit. If you supply a tax rate, it applies that rate to positive net profit to show a simple after-tax estimate.
The tax field is user-driven and generic. It does not determine holding period, filing status, wash-sale adjustments, or jurisdiction-specific tax treatment.
Stock profit equals the sell price minus the buy price, multiplied by the number of shares, minus any commissions and fees. For example, buying 50 shares at $20 and selling at $25 with $10 in total commissions gives a profit of (25 - 20) x 50 - 10 = $240.
The calculator includes an optional tax-rate field so you can apply your own estimate. It is not a tax-preparation tool and does not determine your actual short-term or long-term capital-gains rate for you.
This calculator focuses on the buy-sell trade profit. If you received dividends while holding the stock, add them separately when you want a full total-return picture.
If you bought shares at different prices, use a cost-basis tool to determine the basis of the shares sold before plugging the result into this page as your effective buy price.
Yes. Any transaction costs charged by your broker that reduce sale proceeds or increase purchase cost should be included in the commissions/fees field if you want a cleaner net-profit estimate.
It depends on the holding period and the risk involved. A short trade and a multi-year investment should not be judged by the same raw percentage alone. Compare return, time held, and benchmark context together.
If the sell price is below the buy price, the calculator shows a negative profit. Capital losses can matter for tax planning, but the exact treatment depends on your broader capital-gain and loss position.
Share count changes the dollar gain or loss, but not the percentage return when all shares were bought and sold at the same prices with the same cost structure.