Stock Profit Calculator

A share profit calculator subtracts what you paid from what you sold for, then takes out trading costs. For a long trade, gross profit is exit price minus entry price, times shares. Net profit is gross profit minus commissions, fees, slippage and borrow costs. Buy 100 shares at $10, sell at $12, and gross profit is $200.

The formula

How to use the stock profit calculator

Worked examples

A clean round trip. You buy 100 shares at $10.00 and sell all 100 at $12.00. Cost basis is $1,000, proceeds are $1,200, gross profit is $200 and the return is 20%. With a $0 commission broker and no slippage, net equals gross.

Two buys, one partial exit, real costs. You buy 100 shares at $10 and 100 more at $8, so your average entry is $9.00. You sell 50 at $11 for a $100 gross gain on those shares. Add $1 per order in commission (3 orders) and a penny of slippage per share and net profit drops to $94.50. The other 150 shares are still open, and the calculator shows the exit price that gets the whole trade back to even.

Where traders get this wrong

What this calculator cannot tell you

The calculator uses average cost for partial exits. Your broker may report gains using FIFO or specific lots, so the taxable figure on your 1099 can differ. It does not estimate taxes.

Use it with these calculators

Sources

Stock Profit Calculator questions

How do you calculate profit on shares?

Multiply shares sold by the difference between your exit price and your average entry price, then subtract commissions, fees and slippage. For a short, flip the price difference.

What is the difference between gross and net profit on a stock trade?

Gross profit only compares prices. Net profit also removes every trading cost. Net is the number that hits your account.

How do I find my break-even price on a stock?

Take your total cost including fees and divide it by your shares. That is the lowest exit price where a long trade stops losing money. The calculator solves it for you, with costs included.

Does this work for short selling?

Yes. Switch to short and the price math flips. You can also enter stock borrow cost, which long trades do not pay.

Does the calculator include taxes?

No. Tax depends on your holding period, your bracket and your state. Treat the result as pre-tax profit.

By the FullStack Alpha Editorial Team. Reviewed by Jay Rocco, Chief Editor. Educational tool, not financial advice.

The FullStack Alpha Network

Four sites, one standard. Tested tools, no paid rankings.