728Γ—90

πŸ“ˆ Stock Profit Calculator

Calculate profit or loss on a stock trade from buy price, sell price, and shares.

Total fees for both buy and sell (most brokers are now $0)
Short-term: 10–37% Β· Long-term: 0%, 15%, or 20%
πŸ“Ž Embed This Calculator

Free to embed. Courtesy of JustCalculators.app.

<iframe src="https://justcalculators.app/financial/stock-profit-calculator.html" width="100%" height="600" frameborder="0" loading="lazy"></iframe>
728Γ—90

Stock Profit and Capital Gains Tax

Stock profit = (Sell Price Γ— Shares) βˆ’ (Buy Price Γ— Shares) βˆ’ Commissions. If held over one year, gains are taxed at preferential long-term capital gains rates: 0% (up to $47,025 taxable income, single 2024), 15% (most middle-income earners), or 20% (highest earners). Short-term gains are taxed as ordinary income at your marginal rate.

The 1-Year Holding Period Rule

Waiting just one extra day to cross the 1-year mark can save significant taxes. On a $10,000 gain, the difference between short-term (22% rate = $2,200 tax) and long-term (15% rate = $1,500 tax) is $700 saved by holding one more day. High-income investors benefit even more from the 20% vs 37% difference.

People Also Ask

Do I pay tax on stock gains if I don't sell?

No β€” the IRS taxes realized capital gains (from selling) not unrealized gains (on paper). You can hold a stock that has tripled in value for decades with no tax owed. Tax is only due when you sell (or when you receive dividends or distributions).

Can stock losses offset gains?

Yes β€” capital losses offset capital gains dollar for dollar. If you have $5,000 in gains and $3,000 in losses, you owe tax on only $2,000. Up to $3,000 in net capital losses can also be deducted against ordinary income each year, with any remaining losses carried forward to future years.

stock profit calculatorcapital gainsstock trade profitbuy sell calculatorinvestment gain 2026