Skip to content
CalcWolf Finance Aktiengewinn-Rechner
Finance

Calculate Stock Profit & Loss

Enter buy price, sell price, and shares to see total profit, ROI, and capital gains tax estimate.

📅 Updated April 2026 Formula verified 📖 4 min read 🆓 Free · No sign-up

Calculating Stock Profit

Stock profit = (Sell Price × Shares - Sell Fees) - (Buy Price × Shares + Buy Fees). Buying 100 shares at $45 and selling at $72: ($72 × 100) - ($45 × 100) = $2,700 profit before taxes. Most brokers now charge $0 commission (Fidelity, Schwab, Robinhood), making the calculation simpler. Always factor in taxes — they significantly reduce your actual profit.

Capital Gains Tax

Short-term gains (held under 1 year) are taxed as ordinary income (10-37%). Long-term gains (held over 1 year) get preferential rates: 0% (income under $47K), 15% ($47K-$518K), or 20% (over $518K). Holding stocks for at least one year and one day can save 10-22% in taxes. This single rule is one of the most impactful tax strategies for individual investors.

⚡ CalcWolf Insight

Tax-loss harvesting — selling losing positions to offset gains — can save investors thousands annually. Unlike crypto, stocks ARE subject to the wash sale rule: you cannot rebuy the same stock within 30 days of selling at a loss. Buy a similar (not identical) fund instead.

Frequently asked questions
How do I calculate profit on stocks?
(Sell price - buy price) × shares - fees = profit. For 100 shares bought at $45 and sold at $72: ($72 - $45) × 100 = $2,700 profit before taxes and fees.
Do I pay taxes on stock profits?
Yes. Short-term gains (under 1 year) are taxed at your ordinary income rate (10-37%). Long-term gains (over 1 year) are taxed at 0%, 15%, or 20% depending on income. You only pay tax when you sell — unrealized gains are not taxed.
✓ Math logic verified against primary sources → See our verification process
Kevin Glover
Founder, CalcWolf · GLVTS · Blickr
All formulas sourced from primary references — IRS publications, peer-reviewed research, and official standards. Results are tested against independent reference calculators before publishing. Rates and brackets updated when official sources change. Editorial policy →
🐛 Report a Calculator Error
Found a bug or outdated data? Reports go directly to Kevin and are reviewed personally.