Stock and ETF trade profit
What is the profit or loss on this stock or ETF trade after fees?
Enter quantity and per-share prices, then fees separately. For foreign-currency trades, use the exchange rate on each transaction date.
Example inputs
- How many shares are you selling?
- 100 shares
- What is the adjusted purchase cost per share sold?
- $100
- What is the actual sale price per share?
- $120
- Additional purchase fees; do not count twice
- $0
- Total purchase and sale fees
- $0
Example: Total before-tax dollar profit or loss · $2,000.00
Demonstration only, not current terms or your eligibility. Other inputs use the form’s example settings.
Your inputs
Your result
Example · Trade scenarioBefore-tax net trading profit or loss at your entered sale price
US dollars · Holding-period trade scenario, not annualized
Includes entered purchase and sale fees and cash dividends. If you have not sold, this is an unrealized profit-or-loss scenario.
Before-tax profit on this trade
Key figures
- Purchase cost including fees
- $10,000.00
- Net sale proceeds
- $12,000.00
- Before-tax holding-period return
- 20 %
- Cash dividends
- $0.00
Result analysis
- Net sale proceeds
- $12,000.00
- Purchase cost including fees
- -$10,000.00
- Cash dividends
- $0.00
- Total for this calculation
- $2,000.00
The main result is before tax; entering 0 as the tax rate does not establish exemption. View after-tax and currency-conversion scenarios separately in the details.
Show calculation details
- Purchase cost including fees
- $10,000.00
- Net sale proceeds
- $12,000.00
- Price-change profit or loss
- $2,000.00
- Cash dividends
- $0.00
- Assumed tax
- $0.00
- Assumed after-tax dollar profit or loss
- $2,000.00
- After-tax profit or loss in Chinese yuan
- 14,000 CNY
- Before-tax holding-period return
- 20 %
Calculation basisFormula, assumptions & scope
Total profit or loss = shares × (sale price − adjusted purchase cost) − purchase and sale fees + cash dividends
- The return covers this holding period, not an annualized period. The yuan result also includes exchange-rate changes.
- Does not model wash sales, short sales, options, lot selection for partial sales, or automatic tax eligibility; losses do not automatically generate a refund.
IRS: investment income, expenses, and cost basis
Inputs used for this calculation
- How many shares are you selling?
- 100 shares
- What is the adjusted purchase cost per share sold?
- 100 USD
- What is the actual sale price per share?
- 120 USD
- Additional purchase fees; do not count twice
- 0 USD
- Total purchase and sale fees
- 0 USD
- How much in cash dividends did these shares pay while held?
- 0 USD
- Assumed tax rate on this profit
- 0 %
- Chinese yuan per dollar at purchase
- 7 CNY/USD
- Exchange rate for the sale and dividends
- 7 CNY/USD