Stock Profit Calculator

Free stock profit calculator. Calculate your total profit or loss from buying and selling stocks, including commissions, taxes, and percentage return.

$
$
$
%
Net Profit
+$1,500.00
+0.30% return
After-Tax Profit
+$1,275.00
+0.26% after tax
Total Cost
$5,000.00
100 shares @ $50.00 + $0.00 fees
Total Revenue
$6,500.00
100 shares @ $65.00
Gross Profit
$1,500.00
Before commissions and taxes
Price Change
+$15.00/share
+0.30%
Tax Liability
$225.00
At 0.15% capital gains rate
Break-Even Sell Price
$50.00
Minimum sell price to cover cost + fees
Planning notes, formulas, and examples

About the Stock Profit Calculator

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.

When This Page Helps

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.

How to Use the Inputs

  1. Enter the purchase (buy) price per share.
  2. Enter the sale (sell) price per share.
  3. Enter the number of shares traded.
  4. Enter total commissions or fees paid (buy + sell combined).
  5. Optionally enter your own estimated capital-gains tax rate.
  6. View your gross profit, net profit, and percentage return.
  7. Adjust inputs to model different entry or exit prices.
Formula used
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

Example Calculation

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%.

Tips & Best Practices

  • Always include both buy-side and sell-side commissions for an accurate profit calculation.
  • Use this calculator to evaluate potential trades before executing by testing different sell prices.
  • Factor in any dividend income separately if you want a total-return view rather than just trade profit.
  • Compare percentage return and holding period together before judging whether a trade was strong.
  • Track all trades consistently so you can review patterns in your entries, exits, and costs.
  • Use a separate tax calculator if you need jurisdiction-specific capital-gains planning.

Getting Started with Stock Profit Tracking

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.

The True Cost of Trading

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.

From Profit to Performance

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.

Sources & Methodology

Last updated:

Methodology

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.

Sources

Frequently Asked Questions

  • 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.