Stock Profit Calculator 2026
Use this free stock profit calculator to work out the profit on a stock trade, the return on your money, the break-even price, and the profit after tax — whether you went long or short. Enter your numbers below and the calculator shows your total cost instantly.
Keep going — these calculators pair with this one.
Put THIS calculator on YOUR site - no FigureQuick branding.
Stock trading blogs, brokerages, and finance educators embed this stock profit calculator on their own site, under their own brand.
The Complete Guide to Investing: Returns, Risk, and Growing Your Money
Definitions, formulas, worked examples, and every calculator in this cluster.
Investment CAGR Calculator
Measure the true annualized return of an investment — and how buying dips lowers your cost basis.
Dividend DRIP Calculator
Project your future monthly dividend income, yield on cost, and portfolio value with dividends reinvested.
Average Return Calculator
Turn a starting value, an ending value, and the years held into a total return, a simple average, and a CAGR.
Bond Calculator
Price a bond from its face value, coupon rate, years to maturity, and yield to maturity.
CD Calculator 2026
Work out what a certificate of deposit will be worth at maturity and how much interest it earns.
Be the first to rate this calculator
Unlock Pro ($4.99/mo)
Export unlimited client-ready CSV reports across all 242 calculators.
Subscribe to Pro ($4.99/mo) → 7-day money-back guaranteeHow it works
How to calculate stock profit
How do I calculate stock profit? Multiply the price difference by the number of shares, then subtract the commissions on both sides. Stock profit = (sell price − buy price) × shares − buy commission − sell commission. A stock profit calculator does that arithmetic for you — enter the buy and sell prices, the shares, and the commissions, and it shows the gross profit, the net profit, the return, and the break-even price. At 100 shares bought at $50 and sold at $65, with a $10 commission each way, the gross profit is ($65 − $50) × 100 = $1,500, and the net profit is $1,500 − $10 − $10 = $1,480. The full treatment, with the worked examples below, is this page — and to see what the profit behind a trade is worth as a return on the money you put in, see the ROI calculator.
What is the break-even price?
The break-even price is the sell price at which the trade makes exactly nothing — the commissions are covered and the profit is zero. Break-even sell price = (buy price × shares + buy commission + sell commission) ÷ shares, which is the buy price plus total commissions ÷ shares. At 100 shares bought at $50 with $10 of commission each way, the break-even is ($5,000 + $10 + $10) ÷ 100 = $50.20 — sell at $50.20 and the trade is flat; sell above it and it is a profit. When both commissions are $0, the break-even is exactly the buy price.
The profit at every sell price around the break-even — 100 shares bought at $50, $5 commission each way:
| Sell price | Net profit | Return |
|---|---|---|
| $40 | −$1,010.00 | −20.18% |
| $45 | −$510.00 | −10.19% |
| $50 | −$10.00 | −0.20% |
| $55 | $490.00 | 9.79% |
| $60 | $990.00 | 19.78% |
| $65 | $1,490.00 | 29.77% |
| $75 | $2,490.00 | 49.75% |
| $100 | $4,990.00 | 99.70% |
How to calculate ROI on a stock trade
ROI = net profit ÷ total cost × 100, where the total cost is the buy price × shares + the buy commission — the buy commission counts as capital committed, not as a cost subtracted after the fact. At 100 shares bought at $50 with a $10 buy commission, the total cost is $5,010, and a net profit of $1,480 is a return of $1,480 ÷ $5,010 = 29.54%. At $0 commission the same trade is $1,500 ÷ $5,000 = 30.00%. To calculate stock profit as a percentage, always divide by the total cost including the buy commission — dividing by the buy value alone overstates the return whenever a commission was paid. A stock gain calculator and a stock profit calculator answer the same question — the gain is the profit before commissions, the net profit is what is left after them. A stock profit margin calculator is a different tool: it measures a business's margin on sales, not a trade's profit.
What sell price you need for a target return — 100 shares bought at $50, $0 commission:
| Target return | Sell price | Profit |
|---|---|---|
| +5% | $52.50 | $250 |
| +10% | $55.00 | $500 |
| +20% | $60.00 | $1,000 |
| +50% | $75.00 | $2,500 |
| +100% | $100.00 | $5,000 |
Short selling — profit when the price falls
In a short sale the order is reversed: you sell first and buy back later, so the profit comes when the price falls. The arithmetic is the same — net profit = proceeds − cost, where the proceeds are the short-sale price × shares − the sell commission and the cost is the buy-back price × shares + the buy commission. Sell 100 shares at $65 and buy them back at $50, with a $5 commission each way: the proceeds are $6,495, the close cost is $5,005, and the net profit is $1,490 — a return of 29.77%. The break-even works the other way: break-even buy-back price = sell price − total commissions ÷ shares, so at $65 with $10 of total commission the trade is flat if you buy back at $64.90. In this calculator, set the position to "Short — I sold first": the sell price is the price you shorted at and the buy price is the price you bought back at. Short selling has theoretically unlimited risk — a long position can only lose what you paid, but a short position loses more the higher the price goes.
Capital gains tax on stock profit
Whether the profit is taxed as ordinary income or at the lower long-term rates depends on how long you held the stock. A gain on stock held for 1 year or less is short-term and taxed as ordinary income, at 10% to 37%. A gain on stock held for MORE than 1 year is long-term and taxed at 0%, 15%, or 20% by taxable income — for 2026, 0% up to $49,450 single / $98,900 married filing jointly / $66,200 head of household; 15% up to $545,500 / $613,700 / $579,600; 20% above those — plus a 3.8% net investment income tax over $200,000 of modified adjusted gross income ($250,000 joint). Pick the rate that applies in the tax rate field above and the calculator shows the tax and the profit after tax. For the full table, with your own income, see the capital gains tax calculator. Losses offset gains, and up to $3,000 a year of net loss ($1,500 if married filing separately) can offset ordinary income.
The wash-sale rule
If you sell at a loss and buy substantially identical stock within 30 days before or after the sale — a 61-day window including the sale date — the loss deduction is disallowed and the disallowed loss is added to the cost basis of the replacement shares. If the replacement shares are bought in an IRA, the loss is lost permanently. The rule also covers a spouse or a corporation you control buying the same stock, and dividend reinvestments can trigger it. This calculator flags it: whenever the result is a loss, it shows a wash-sale note under the figures.
Why commissions still matter at $0
Schwab, E*TRADE, Fidelity, and Vanguard all charge $0 commission on online U.S.-listed stock and ETF trades — so for a plain U.S. stock trade the commission fields will usually be $0, and the break-even is exactly the buy price. The fields still matter: options cost $0.65 a contract ($1.00 at Vanguard), and the $0 rate does not apply to OTC equities, transaction-fee mutual funds, futures, fixed income, or foreign-exchange trades — or to foreign brokers. And the tax math is the same whatever the commission: at 100 shares bought at $50 and sold at $65 with $0 commission, the profit is $1,500, the return is 30.00%, and the tax at 15% is $225, leaving $1,275. To see what the profit means per share of a company, see the EPS calculator.
Worked example: 100 shares bought at $50 and sold at $65, with a $10 commission each way — total cost $5,010.00, total proceeds $6,490.00, gross profit $1,500.00, net profit $1,480.00, return on investment 29.54%, break-even sell price $50.20, capital gains tax at 15% $222.00, profit after tax $1,258.00.
Sources: stock profit formulas as used by the ranking calculators (PayoffCalculator, CalculateLikeAPro, OnlyCalculators, TodayCalculator, SolveMath); 2026 long-term capital gains thresholds from IRS Rev. Proc. 2025-32, §4.03; holding period from 26 U.S.C. 1222(3); wash-sale rule from 26 U.S.C. §1091; loss offsets from 26 U.S.C. §1211(b); $0 commissions from Schwab and Money.com. The worked-example arithmetic is simple division, checked in Python.
Frequently asked questions
How do I calculate the profit on a stock?
Multiply the price difference by the number of shares, then subtract the commissions on both sides. At 100 shares bought at $50 and sold at $65, with a $10 commission each way, the gross profit is $1,500 and the net profit is $1,480.
How do I calculate the return on a stock trade?
Divide the net profit by the total cost, where the total cost is the buy price × shares + the buy commission. At a net profit of $1,480 on a total cost of $5,010, the return is 29.54%.
What is the break-even price on a stock trade?
The sell price at which the trade makes exactly nothing: (buy price × shares + buy commission + sell commission) ÷ shares. At 100 shares bought at $50 with $10 of commission each way, the break-even is $50.20.
Do commissions matter when they are $0?
For a plain U.S. stock trade they are usually $0 — Schwab, E*TRADE, Fidelity, and Vanguard all charge $0 commission on online U.S.-listed stock and ETF trades — so the break-even is exactly the buy price. The commission fields still matter for options ($0.65 a contract), futures, OTC equities, and foreign brokers.
How is stock profit taxed — short-term vs long-term?
A gain on stock held for 1 year or less is short-term and taxed as ordinary income, at 10% to 37%. A gain on stock held for more than 1 year is long-term and taxed at 0%, 15%, or 20% by taxable income — for 2026, 0% up to $49,450 single, 15% up to $545,500, and 20% above.
What is the wash-sale rule?
If you sell at a loss and buy substantially identical stock within 30 days before or after the sale, the loss deduction is disallowed and the disallowed loss is added to the cost basis of the replacement shares. If the replacement shares are bought in an IRA, the loss is lost permanently.
Can I calculate a loss on a stock?
Yes — enter a sell price below the buy price and the result is a negative net profit with a negative return. At 100 shares bought at $50 and sold at $40, with $5 of commission each way, the net profit is −$1,010.00, a return of −20.18%.
How does short selling work — profit when the price falls?
In a short sale you sell first and buy back later, so the profit comes when the price falls. Sell 100 shares at $65 and buy them back at $50, with a $5 commission each way: the proceeds are $6,495, the close cost is $5,005, and the net profit is $1,490.
What is the difference between gross profit and net profit?
Gross profit is the price difference × shares, before costs — ($65 − $50) × 100 = $1,500. Net profit is what is left after the commissions — $1,500 − $10 − $10 = $1,480. The return is always calculated on the net profit.
Methodology: total cost = buy price × shares + buy commission; total proceeds = sell price × shares − sell commission; gross profit = (sell price − buy price) × shares; net profit = proceeds − cost; return on investment = net profit ÷ total cost × 100; break-even sell price = (buy price × shares + buy commission + sell commission) ÷ shares; break-even buy-back price (short) = sell price − (buy commission + sell commission) ÷ shares; capital gains tax = net profit × tax rate on a positive gain only; wash-sale rule from 26 U.S.C. §1091. Maintained by Jacob Levy.
Last reviewed 2026-11-22 · Built by Jacob Levy, Founder of FigureQuick.com
← Back to all calculators