Stock Profit Calculator – Calculate Your Gain, Loss & ROI
Start typing to discover tools…

Stock Profit Calculator

Calculate the estimated profit or loss from a stock trade. Enter your buying price, selling price, number of shares, and trading fees to see total investment, sale proceeds, return percentage, ROI, and break-even price.

Enter Your Stock Trade

Add the purchase price, selling price, shares, and any fees paid on the transaction.

$
Price paid for each share.
$
Price received or expected for each share.
Fractional shares are supported.
$
Brokerage or transaction fee paid when buying.
$
Brokerage or transaction fee paid when selling.
$
Optional exchange, regulatory, platform, or other transaction fees.

What Is a Stock Profit Calculator?

A Stock Profit Calculator estimates the profit or loss produced by buying and selling shares at different prices.

The calculator includes the purchase price, selling price, number of shares, and transaction fees so you can see both the gross price gain and the estimated net trading result.

It also calculates return on investment, percentage price change, profit per share, total fees, and the approximate break-even selling price.

How the Stock Profit Calculator Works

1

Enter Buy Details

Add the purchase price, number of shares, and buying commission.

2

Add Selling Details

Enter the selling price and applicable selling or transaction fees.

3

Review Your Return

See net profit or loss, ROI, price change, fees, and break-even price.

Stock Purchase Cost

Total Purchase Cost = (Buy Price × Number of Shares) + Buy Fee

Net Sale Proceeds

Net Sale Proceeds = (Sell Price × Number of Shares) − Sell Fee

Stock Profit Formula

Net Profit / Loss = Net Sale Proceeds − Total Purchase Cost − Other Fees

Stock ROI Formula

ROI = Net Profit ÷ Total Purchase Cost × 100

Stock Profit Calculation Example

Suppose you purchase 50 shares at $100 each and later sell those shares for $125 each.

Buy Price: $100 per share

Sell Price: $125 per share

Shares: 50

Purchase Value: $5,000

Gross Sale Value: $6,250

Gross Price Gain: $1,250

Trading fees are then deducted to determine the estimated net profit and actual return on the money used to purchase the shares.

Gross Stock Profit vs. Net Stock Profit

Gross Profit

Gross profit looks only at the difference between the buying price and selling price multiplied by the number of shares.

Net Profit

Net profit also accounts for buying commissions, selling commissions, and other transaction fees.

Net profit therefore provides a more useful estimate of the financial result of the trade before any applicable taxes.

What Is the Break-Even Stock Price?

The break-even stock price is the approximate selling price per share required for your net trade result to equal zero after the fees entered.

Break-Even Price = (Purchase Value + Buy Fee + Sell Fee + Other Fees) ÷ Number of Shares

If your eventual sale price is higher than this amount, the calculator will generally show an estimated profit. If it is lower, the calculator will generally show an estimated loss.

Important: This calculator provides an informational estimate only. It does not include capital gains taxes, dividends, foreign exchange effects, bid-ask spreads, slippage, margin interest, short-selling costs, or every possible brokerage fee. Actual trading results may differ.

Stock Profit Calculator FAQs

Stock profit is calculated by subtracting the total purchase cost and trading fees from the net amount received when the shares are sold. This calculator includes both buying and selling fees in the estimate.
A basic formula is Stock Profit = Sale Proceeds - Purchase Cost - Trading Fees. If the result is negative, the trade represents an estimated loss instead of a profit.
Stock ROI measures the net profit or loss as a percentage of the total amount invested. It is calculated by dividing net profit by total purchase cost and multiplying by 100.
The break-even stock price is the approximate selling price per share needed to recover the original purchase cost and the trading fees entered into the calculator.
Yes. Brokerage commissions and other trading fees reduce net profit. Even small fees can affect returns, especially on smaller trades or when trading frequently.
No. Capital gains taxation depends on jurisdiction, holding period, account type, tax rules, and personal circumstances. This calculator focuses on trading profit or loss before tax.