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%
Frequently Asked Questions about the Stock Profit Calculator
How is capital gains tax calculated on a stock trade?
Tax applies to your realized profit, which is sell price minus cost basis. The calculator multiplies your pre-tax profit by the rate you enter. In the US, long-term gains (held more than one year) are taxed at 0%, 15%, or 20% federally, while short-term gains use your ordinary income rate.
Why does the calculator not apply tax to a loss?
A capital loss generates a deduction, not a payment. Real-world rules allow you to offset other gains and deduct up to $3,000 against ordinary income, but those moves depend on your full tax situation, so the calculator simply sets tax owed to zero on losses.
What is the break-even sell price?
It is the per-share price where your proceeds match your cost basis. Below it you lose money; above it you start to profit. The formula is (cost basis plus sell commission) divided by shares.
How is annualized return different from CAGR?
Annualized return is your ROI divided by years held. CAGR (compound annual growth rate) is the steady annual rate that would have grown your starting balance to your ending balance over the same period. They differ because compounding matters: CAGR smooths big single-year moves.
Does this calculator include dividends?
No. It models a simple buy and sell of a single position. Add dividends to your sell price (and consider their separate tax treatment) if you want a fuller picture of total return.