Calcoid

Stock Profit Calculator

Calculate your net profit, ROI, and capital gains tax on a stock trade. Includes commissions, break-even sell price, and annualized return.

Stock trade details

Provide a holding period to see annualized return and CAGR.

Net profit after tax

$2,116.50

Return on cost basis: 42.29%

Cost basis
$5,005.00
Gross proceeds
$7,495.00
Pre-tax profit
$2,490.00
Tax owed
$373.50
Break-even sell
$50.10
Annualized return
42.29%
CAGR
42.29%

Stock Profit Examples

Examples use 100 shares bought at $50 with no commissions or taxes, so the price change is easy to isolate.

Sell PriceCost BasisGross ProceedsPre-Tax ProfitROI
$40.00$5,000.00$4,000.00-$1,000.00-20%
$45.00$5,000.00$4,500.00-$500.00-10%
$50.00$5,000.00$5,000.00$0.000%
$60.00$5,000.00$6,000.00$1,000.0020%
$75.00$5,000.00$7,500.00$2,500.0050%

Frequently Asked Questions about the Stock Profit Calculator

How is capital gains tax calculated on a stock trade?
The calculator multiplies your pre-tax profit (gross proceeds minus cost basis) by the tax rate you enter, then subtracts the result to give after-tax net profit. The default rate is 15%, which matches the federal long-term rate for most US filers. Short-term gains (held one year or less) are taxed as ordinary income, so use your marginal rate instead. This is an estimate; your actual liability depends on your full tax picture.
Why does the calculator not apply tax to a loss?
A capital loss produces no tax owed on that trade. In reality you can use a loss to offset other gains or deduct up to $3,000 against ordinary income, but applying those rules requires your full-year tax picture. The calculator stays in scope: it sets tax to zero whenever pre-tax profit is zero or negative.
What is the break-even sell price?
The break-even sell price is the per-share price at which your gross proceeds exactly equal your cost basis. The formula is (cost basis + sell commission) / shares. Selling above that price produces a profit; below it you take a loss.
How is annualized return different from CAGR?
The calculator computes both. Annualized return is arithmetic: it divides your after-tax ROI by the number of years held, so a 30% total return over 3 years shows as 10%/year regardless of compounding. CAGR is the steady annual rate that would grow your cost basis to the same after-tax ending value over the same period, accounting for compounding. For longer holds the gap between the two widens.
Does this calculator include dividends?
No. It models a single buy-and-sell of one position with no dividend income. If dividends matter for your trade, add the total dividends received to your sell-side proceeds before running the numbers, and note that qualified dividends carry their own tax rate separate from capital gains.

Related Calculators

More calculators in "Finance"

See all 219 calculators in "Finance"