Investment & Savings
Loans & Borrowing
Daily Money Tools
Wealth & Net Worth
Business Finance
Body & Weight
Nutrition & Diet
Fitness & Training
Pregnancy & Women
🐕 Dog Tools
🐈 Cat Tools
🐟 Fish & Aquarium
🦎 Other Pets
Pet Health & Costs
🎓 Academic Tools
📖 Productivity
⏰ Time & Date
🌍 Life & Travel
Pricing & Profit
Payroll & HR
Freelance & Self-Employed
💰 Finance
🏋 Health & Fitness
🐾 Pets & Animals
🎓 Lifestyle & Education
💼 Business
HomeAboutContact PrivacyTermsDisclaimer
Finance · Wealth & Net Worth · Free Calculator

Stock Profit
Calculator

Calculate your profit or loss on any stock trade. Factor in commissions, fees, dividends, and capital gains tax to see your true net return.

Trade Summary
Profit/loss breakdown for your stock trade
Total Cost
$5,000
Sale Revenue
$6,500
Net Profit
$1,500
ROI
+30.0%
Detailed Trade Breakdown
ItemAmount
// Finance · ShashaTools
Stock Profit Calculator
Currency:
Buy Price (per share) $50.00
Sell Price (per share) $65.00
Number of Shares 100
110k
// Advanced Options
Buy Commission $0
Sell Commission $0
Dividends Received $0
Total dividends received during holding period.
Capital Gains Tax Rate 0%
Short-term: 10-37%. Long-term (held 1+ yr): 0-20%.
// Results
Net Profit/Loss
$1,500
Gross Profit
$1,500
Total Fees
$0
Tax (Est.)
$0
ROI
+30.0%
Break-Even Price
$50.00
You made $1,500 on this trade (30% return)
How to Use This Calculator
Calculate profit, loss, and ROI on any stock trade with fees and tax
Simple Mode Quick P&L
1
Enter your buy price
The price per share when you purchased. If you bought at different prices, use your average cost basis (total spent divided by total shares).
2
Enter your sell price
The price per share when you sold (or the current price to see unrealized gain/loss). This is the market price, not including fees.
3
Enter number of shares
How many shares you traded. For fractional shares, use decimals (e.g. 10.5 shares).
4
See your profit or loss
Instantly see gross profit/loss, total cost, sale revenue, and ROI percentage. Green = profit, red = loss.
💡 Tip: To check unrealized gains on a stock you still hold, enter the current market price as the sell price. This shows what you would make if you sold today.
Advanced Mode True Net Profit
1
Add commissions
Enter buy and sell commissions separately. Most major brokers now charge $0, but some charge per-trade fees. Fees reduce your net profit.
2
Include dividends
Add total dividends received during your holding period. This gives you total return (capital gains + income), not just price appreciation.
3
Estimate capital gains tax
Short-term (under 1 year): 10-37% at your income tax rate. Long-term (1+ year): 0%, 15%, or 20%. Most pay 15% long-term. This shows after-tax profit.
4
Check break-even price
The minimum sell price to cover your costs (buy price + fees per share). Below this price, you lose money even before tax.
💡 Tip: Holding stocks longer than 1 year drops your tax rate from up to 37% to a maximum of 20%. On a $10,000 profit, that saves $1,700-$2,200 in taxes. Patience pays — literally.
// Recommended Investment Platforms

ℹ️ Affiliate disclosure: Some links below are affiliate links. We may earn a commission if you sign up, at no extra cost to you.

Fidelity
Zero-fee index funds, fractional shares, and powerful research tools.
Start Investing →
Vanguard
Pioneer of low-cost index investing. Lowest expense ratios.
Open Account →
Charles Schwab
Zero-commission trading, extensive research, and 24/7 support.
Get Started →
Empower
Free portfolio tracker across all your investment accounts.
Track Free →
// Related Calculators
💱
Crypto Profit Calculator
Calculate profit on cryptocurrency trades.
📈
Investment Return Calculator
Calculate annualized return (CAGR) over any period.
💰
Compound Interest Calculator
See how reinvested profits compound over time.
💯
Percentage Calculator
Calculate percentage gains and losses quickly.
// Complete Guide — Updated 2026

How to Calculate Stock Profit:
The Complete Guide

Buying and selling stocks is simple. Knowing exactly how much you made or lost — after fees, taxes, and dividends — is where most investors get confused. Your brokerage shows you a number, but is it your gross profit or net? Does it include dividends? What about the tax you owe? This guide gives you the real formulas and real scenarios so you always know your true profit.

The Stock Profit Formula

// Stock Profit Formula
Profit = (SellBuy) × Shares + DividendsFeesTax
($65 − $50) × 100 + $0 − $0 − $0 = $1,500 profit

Capital Gains Tax Rates (2026)

Holding PeriodTax RateOn $10,000 Profit
Short-term (< 1 year)10-37% (income rate)$1,000-$3,700
Long-term (1+ year) — low income0%$0
Long-term (1+ year) — most investors15%$1,500
Long-term (1+ year) — high income20%$2,000

💡 Key insight: The difference between short-term and long-term capital gains is enormous. On a $10,000 profit, a high earner pays $3,700 if they held less than a year vs $2,000 if they waited 366 days. That one extra day saves $1,700. Always consider the tax impact before selling.

Real-World Scenarios

Scenario 1: Simple Stock Trade. Marcus buys 200 shares of Apple at $175 ($35,000 total). Six months later, he sells at $195. Gross profit: ($195 - $175) × 200 = $4,000. ROI: 11.4%. Since he held less than a year, he owes short-term capital gains tax at his 24% bracket: $960. Net profit after tax: $3,040. If he had waited 6 more months for long-term treatment at 15%, he would owe $600 — saving $360.

Scenario 2: Dollar-Cost Averaging. Priya buys Tesla stock monthly: 10 shares at $240, 10 at $220, 10 at $260, 10 at $200. Total: 40 shares for $36,800. Average cost: $920/40 = $230/share. She sells all 40 at $280. Profit: ($280 - $230) × 40 = $2,000. ROI: 5.4%. Her DCA strategy protected her from buying everything at the peak ($260). Use our Investment Return Calculator to annualize her return.

Scenario 3: Dividend Stock. David holds 500 shares of Coca-Cola bought at $55 ($27,500). After 2 years, the price is $62. Capital gain: ($62 - $55) × 500 = $3,500. But he also received $1.84/share/year in dividends: 500 × $1.84 × 2 = $1,840 in dividends. Total return: $3,500 + $1,840 = $5,340 (19.4% ROI). Without dividends, his return looks like 12.7%. Dividends nearly doubled his true profit.

Scenario 4: Tax-Loss Harvesting. Elena sold Stock A for a $5,000 gain and Stock B for a $3,000 loss in the same year. She can offset: $5,000 gain - $3,000 loss = $2,000 net taxable gain. At 15% long-term rate, she owes $300 instead of $750. The loss on Stock B saved her $450 in taxes. She reinvests in a similar (but not identical) fund to maintain market exposure. Use our Percentage Calculator to quickly compute gain/loss percentages across your portfolio.

Common Stock Trading Mistakes

  • Ignoring tax impact. A 20% gain taxed at 37% short-term is really 12.6% net. Always factor in tax before celebrating profits.
  • Not counting fees. Even small fees add up. $5 per trade × 50 trades/year = $250 in fees eating into returns.
  • Forgetting dividends. Dividend stocks may look like underperformers by price alone, but total return tells the real story.
  • Selling winners too early. Studies show investors tend to sell winning stocks too quickly (locking in small gains) and hold losing stocks too long (hoping for recovery). This is called the disposition effect.
  • Not considering opportunity cost. A $5,000 profit sounds great, but if you held the stock for 5 years and an index fund returned 50% in the same period, you underperformed. Use our Compound Interest Calculator to compare against index fund benchmarks.
Capital Gains Tax Quick Ref
Short-term (<1yr)10-37%
Long-term (1yr+)0-20%
Most investors (LT)15%
Net investment tax+3.8%
Loss deduction limit$3,000/yr
US federal rates. State taxes may apply additionally.
// Frequently Asked Questions
Common Questions About Stock Profits
How do I calculate stock profit? +
Profit = (Sell Price - Buy Price) × Shares - Fees. Bought 100 shares at $50, sold at $65: ($65 - $50) × 100 = $1,500 gross profit. Subtract commissions and fees for net profit.
How do I calculate ROI on a stock? +
ROI = (Profit / Total Investment) × 100. Invested $5,000, profit $1,500: ($1,500 / $5,000) × 100 = 30% ROI. Factor in fees and dividends for accurate ROI.
What is the capital gains tax on stocks? +
Short-term (under 1 year): 10-37% at your income rate. Long-term (1+ year): 0%, 15%, or 20% depending on income. Most investors pay 15% long-term. Holding longer saves significant tax.
How do I calculate break-even price? +
Break-even = Buy Price + (Total Fees / Shares). Bought 100 shares at $50 with $10 fees: $50 + ($10/100) = $50.10. The stock must reach $50.10 just to cover your costs.
Should I include dividends in my profit? +
Yes. Total return = capital gains + dividends. A stock from $50 to $55 with $3 in dividends has 16% total return, not 10%. Dividends account for about 40% of long-term S&P 500 returns.
How do commissions affect stock profit? +
Most major brokers now charge $0 commission. If you do pay fees, they reduce profit on both buy and sell sides. On small trades, fees can significantly impact ROI.
What is realized vs unrealized gain? +
Unrealized = paper profit on stocks you still hold. Realized = profit locked in when you sell. Only realized gains are taxable. Unrealized gains can disappear if the stock drops.
How do I calculate profit on multiple purchases? +
Find your average cost: total spent divided by total shares. Bought 50 at $40 and 50 at $60 = $5,000 / 100 shares = $50 average. Profit = (Sell - $50) × 100.
How much tax do I owe on stock profits? +
Depends on holding period. Under 1 year: taxed at income rate (10-37%). Over 1 year: 0-20% capital gains rate. You can offset gains with losses (tax-loss harvesting) to reduce your bill.
Can I lose more than I invested? +
With regular purchases (no margin): maximum loss is 100% if the stock goes to zero. With margin trading or short selling, losses can exceed your investment. Never trade on margin without understanding the risks.