Stock Profit Calculator
Calculate profit or loss on a stock trade including commissions and an estimated capital gains tax.
Your numbers
- Gross profit
- $2,700
- Estimated tax
- $404
- Return on investment
- 50.81%
- Gross
- Fees
- Tax
- Net
How the stock profit calculator works
Gross profit = (sell โ buy) ร shares. Net = gross โ fees โ tax, where tax applies only to positive gains at the rate you enter.
Example
Using the default inputs (Shares: 100; Buy price: $45.00; Sell price: $72.00; Fees (total): $10.00; Capital gains tax rate: 15%), the calculator returns net profit of $2,287. Change any field above to see your own result and charts update instantly.
Good for these goals
Frequently asked questions
What tax rate applies?
Long-term gains (held over one year) are taxed at 0%, 15% or 20%; short-term gains are taxed as ordinary income.
Can losses offset gains?
Yes. Capital losses offset gains and up to $3,000 of ordinary income per year.
Related savings & investing calculators
All Savings & Investing โInflation
Future prices and shrinking purchasing power
Savings & InvestingRule of 72
How long to double your money
Savings & InvestingInvestment Fee
How fund fees erode long-term wealth
Savings & InvestingCompound Interest
Growth of savings with regular contributions
Savings & InvestingSavings Goal
Monthly savings needed to reach a target
Savings & InvestingCD
Certificate of deposit earnings and APY
Learn more
More Savings & Investing guides โDividend Investing Basics
How dividends work, what yield and payout ratio mean and how dividend reinvestment can accelerate long-term growth.
TaxesCapital Gains Taxes Explained
How capital gains are taxed in the US, with 0%, 15% and 20% long-term rates, the net investment income tax and waysโฆ
TaxesTax-Loss Harvesting
Learn how tax-loss harvesting works, the wash sale rule and how losses offset gains and up to $3,000 of ordinary income.
Estimates are for educational purposes only and are not financial, tax or legal advice. Results depend on your inputs and simplified assumptions; tax figures reflect 2026 federal rules and may differ from your situation. See our disclaimer. ยฉ 2026 FinanzCalc.