Finance Calculator

Stock Profit Calculator

Compute dollar profit, return percent, and net proceeds after optional trading fees.

Enter trade details

Buy price, sell price, share count, and optional total fees (commissions + other costs).

$
$
$
Clear

About this calculator

How to use Stock Profit Calculator, plus the formulas and logic behind the results.

Tool description

Stock profit compares sale proceeds to purchase cost after fees. Return percent uses net cost as the base.

How to use

  1. Enter the purchase price per share and number of shares.
  2. Enter the sale price per share.
  3. Add optional total fees for the round trip.
  4. Select Calculate to view profit and return percent.

Formulas & reference

  • Cost basis = Buy × Shares + Fees
  • Proceeds = Sell × Shares
  • Profit = Proceeds − Cost basis
  • Return % = Profit ÷ (Buy × Shares + Fees) × 100

Trade tips

  • Fees reduce net return
  • Negative profit = loss
  • Fractional shares are supported
  • Educational estimate only

Calculation logic

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.

Stock Profit Calculator FAQ

Common questions about the calculation and how to interpret the estimate.

How do you calculate stock profit?

Subtract total cost (including fees) from sale proceeds.

How is return percent defined?

Profit divided by purchase cost including fees, times 100.

Are fees required?

No. Leave fees at zero if commissions are negligible.

Does this handle shorts?

This version models a long purchase then sale only.

Are taxes included?

No. Tax treatment depends on jurisdiction and holding period.

Can shares be fractional?

Yes, as long as the share count is positive.