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.
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.
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.
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.
Gross profit only compares prices. Net profit also removes every trading cost. Net is the number that hits your account.
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.
Yes. Switch to short and the price math flips. You can also enter stock borrow cost, which long trades do not pay.
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
You are here
A directory of 200+ AI stock tools, filterable by category and price.
Editorial
Editorial reviews, deep dives and Alpha Scores for AI stock tools.
Read the reviewsTrading Bots
AI trading bots, broker APIs, backtesting and paper trading news.
See the trading botsTool Finder
Interactive finders and educator workflows that match you to AI trading tools.
Find your tool