GoldWallet中文

Stock and ETF trade profit

What is the profit or loss on this stock or ETF trade after fees?

Your inputs

Your inputs

Loading platforms…

Fill in the actual transaction, balance and deposit and withdrawal records; the advanced parameters will still participate in the calculation after being closed.

$
Enter adjusted cost per share for the shares sold; for $200, enter 200. If purchase fees are included in this basis, do not deduct them again as fees.
$
Enter the actual sale price per share; for $280, enter 280. This is not the current quote for shares still held.
shares
Enter shares actually sold in this transaction; for 100, enter 100. Include only this lot and apply any split adjustments to the cost basis.
$
Enter trading fees not included in prices; for $10, enter 10. If purchase fees are listed separately in advanced options, do not enter them again here.
Advanced settings5 inputs
$
Enter purchase fees allocated to the shares being sold; for $5, enter 5. Do not include fees already incorporated in per-share basis.
$
Enter dividends received on these sold shares during the holding period; for $100, enter 100. Do not enter the entire account's dividends.
%
Enter a manual tax-rate scenario for this profit; for 15%, enter 15. Holding-period treatment, wash sales, and loss-deduction eligibility are not automatically determined.
CNY/USD
Enter Chinese yuan per dollar at purchase; if $1 = ¥7, enter 7. Do not use the reciprocal; unentered currency-conversion fees are not included automatically.
CNY/USD
Enter Chinese yuan per dollar at sale; if $1 = ¥7.2, enter 7.2. Dividends also use this rate; check actual rates separately for different payment dates.

Your result

Example · Trade scenario

Before-tax net trading profit or loss at your entered sale price

$2,000.00

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 − purchase cost including fees + cash dividends
Net sale proceeds − purchase cost including fees + cash dividendsNet sale proceeds $12,000.00;Purchase cost including fees -$10,000.00;Cash dividends $0.00;Total for this calculation $2,000.00. Shared dollar scale; the line marks zero.$12K-$10K$0.00$2KShared zero baseline · USD
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