All calculators

Money

Stock Profit Calculator

Last updated: May 31, 2026

Written by Blake Boege

A stock profit calculator is a financial utility that determines net capital gains or losses from equity transactions. It computes total purchase costs (including buy fees), total net sale proceeds (subtracting sell fees), net profit or loss, return on investment (ROI), and the exact break-even share price necessary to recover transaction expenses.

Calculate your net stock trading profit or loss, Return on Investment (ROI), and break-even sale price while factoring in buy/sell commissions, fees, and capital gains tax brackets.

Quick Answer

Calculate net returns on your stock trades by factoring in purchase/sale prices, share counts, and commission fees. Features optional capital gains tax estimates.

$

e.g. 50.00

$

e.g. 65.00

e.g. 100

$

e.g. 5.00

$

e.g. 5.00

Stock P&L Breakdown

Total Net Profit

$1,490.00

ROI: 29.77% · Break-even sell price $50.10

Total Buy Cost$5,005.00
Total Sell Proceeds$6,495.00
Return on Investment (ROI)29.77%
Break-even Sell Price$50.10

ROI = Profit ÷ Total Buy Cost. Break-even is the price required to offset buy/sell commission fees and net $0.

Step-by-Step Breakdown

[1]Compute Total Purchase Cost:
[2] Gross Buy Cost = 100 shares × $50.00 = $5,000.00
[3] Total Buy Cost = $5,000.00 + $5.00 (fee) = $5,005.00
[4]Compute Total Sell Proceeds:
[5] Gross Sell Proceeds = 100 shares × $65.00 = $6,500.00
[6] Total Sell Proceeds = $6,500.00 - $5.00 (fee) = $6,495.00
[7]Calculate Net Profit/Loss:
[8] Net Profit = Total Sell Proceeds - Total Buy Cost
[9] Net Profit = $6,495.00 - $5,005.00 = $1,490.00
[10]Calculate Return on Investment (ROI):
[11] ROI = (Net Profit / Total Buy Cost) × 100%
[12] ROI = ($1,490.00 / $5,005.00) × 100% = 29.7702%
[13]Calculate Break-Even Price:
[14] Break-Even Sell Price = Buy Price + (Total Fees / Shares)
[15] Break-Even Sell Price = $50.00 + (($5.00 + $5.00) / 100) = $50.10
Was this helpful?

Examples

100 shares bought at $50, sold at $65, $5 fees each side

Net Profit = $1,490.00 (ROI: 29.77% · Break-even: $50.10)

50 shares bought at $200, sold at $195, $0 commission

Net Loss = -$250.00 (ROI: -2.50% · Break-even: $200.00)

10 shares bought at $1,000, sold at $1,200, $10 fees each side (Short-term, 22% Tax)

Net Profit = $1,980.00 · Estimated Tax = $435.60 · Net After Tax = $1,544.40

How it works

Your net return on a stock transaction is calculated using the following stages:

1. Total Buy Cost

Buy Cost = (Buy Price × Shares) + Buy Fee

2. Total Sell Proceeds

Sell Proceeds = (Sell Price × Shares) − Sell Fee

3. Net Profit / Loss

Net Profit = Sell Proceeds − Buy Cost

The Impact of Transaction Fees on Trading Returns

Even in the era of commission-free brokers, transactional fees, regulatory fees (like SEC and TAF fees), and contract exchange fees can erode trading profitability, particularly for high-volume or small-cap accounts. Finding your precise break-even point ensures you set profit targets that absorb both the entry and exit transaction overhead.

Related financial calculators

Analyze other investments and tax implications with these tools:

Related Calculators

More tools from Money

Frequently asked questions

To calculate stock profit, multiply the number of shares by the sell price, subtract any sell commissions/fees (giving you net proceeds), then subtract the total purchase cost (shares multiplied by buy price plus buy fees).

The break-even price is the share price at which you neither make nor lose money, accounting for all commissions and transaction fees. It is calculated as: Buy Price + (Total Buy Fees + Total Sell Fees) / Number of Shares.

In the United States, buy commissions are added to the cost basis of the stock (increasing your purchase cost), and sell commissions are subtracted from the sale proceeds (reducing your capital gain). This effectively reduces your taxable capital gains.

Capital gains are taxed based on how long you held the asset. Short-term capital gains (held one year or less) are taxed at ordinary income tax brackets (10% to 37%). Long-term capital gains (held more than one year) receive preferential tax rates of 0%, 15%, or 20% depending on your total income.