📊

Stock Profit Calculator

Calculate profit/loss from stock trades including fees

Trade Details

$
$
$

Trading fees when buying

$

Trading fees when selling

$

Total dividends while holding

Affects capital gains tax rate

%

Your marginal income tax bracket

Profit Analysis

Enter your trade details and click Calculate

Calculate your stock profit or loss

Understanding Stock Profits and Taxes

Capital Gains Tax Rates (US)

TypeHolding PeriodTax Rate
Short-TermLess than 1 yearYour ordinary income rate (10-37%)
Long-Term1 year or more0%, 15%, or 20%

Long-Term Capital Gains Rates (2025)

  • 0%: Taxable income up to ~$47,000 (single) or ~$94,000 (married)
  • 15%: Most taxpayers
  • 20%: High earners above ~$518,000 (single) or ~$583,000 (married)
  • +3.8%: Net Investment Income Tax for high earners

Cost Basis Methods

  • Specific Identification: Choose which shares to sell
  • FIFO: First In, First Out (default)
  • LIFO: Last In, First Out
  • Average Cost: Common for mutual funds

Tax-Efficient Strategies

  • Hold investments for 1+ year for lower rates
  • Harvest tax losses to offset gains
  • Use tax-advantaged accounts (IRA, 401k)
  • Consider donating appreciated stock to charity
  • Be aware of wash sale rules (30-day period)

Wash Sale Rule

If you sell a security at a loss and buy the same or substantially identical security within 30 days (before or after), the loss is disallowed. The disallowed loss is added to the cost basis of the replacement shares.

Disclaimer: This calculator is for informational purposes only and should not be considered financial, tax, or legal advice. Results are estimates based on the information provided and current tax laws. Consult a qualified professional for advice specific to your situation.

Need More Powerful Financial Tools?

MyMoneyTrends offers comprehensive financial planning with personalized insights.

Try MyMoneyTrends Free