ratio.

Find a tool

Browse all tools and categories β†—
MONEY CALCULATORS

Stock Profit Calculator

Estimate stock sale profit after purchase and sale fees and optional tax. Compare invested capital, sale proceeds and price scenarios, including foreign-currency shares.

Your stock position

01 / INPUT

Fractional shares are supported. Enter only the shares being sold.

Use your actual purchase cost per share and expected executable sale price. Live stock quotes and broker fee schedules are not fetched. This calculator covers a long stock holding, not short selling.

Purchase fee for the shares being sold
Sale fee

Enter fees separately only if your purchase price excludes them. Percentage fees apply to the share trade value. Fixed fees may use either currency.

Tax estimate

A percentage applies to positive profit after entered fees. A loss produces no automatic tax refund. Enter a tax amount directly when that better represents your situation. No country, account exemption or annual loss offset is assumed.

Loading stored reference data…

Daily exchange-rate data source β†—
Calculated on your device

POSITION ESTIMATE

Profit before tax

β€”

Total purchase cost
β€”
Purchase fee, included above
β€”
Sale proceeds after fee
β€”
Sale fee, deducted above
β€”
Profit before tax
β€”
Estimated tax
β€”
Profit after estimated tax
β€”
Cash received after estimated tax
β€”
Return
β€”
Break-even price before tax
β€”

Choose a tax method to estimate profit after tax.

Price scenarios

See how a different closing price changes the result while your other inputs stay fixed. These are scenarios, not forecasts.

Closing price and estimated profit
Closing price / rateProfit

How stock sale profit is calculated

The calculator keeps your original investment separate from cash received on sale. The amount returned to your account includes your original capital; only the difference is profit.

Purchase cost = shares Γ— purchase price Γ— purchase FX rate + purchase fee
Sale proceeds = shares Γ— sale price Γ— sale FX rate βˆ’ sale fee
Profit before tax = sale proceeds βˆ’ purchase cost
Profit after estimated tax = profit before tax βˆ’ entered or estimated tax

Worked example: fees and tax

Buy 100 shares at 1,000 each and sell at 1,300, in the same currency. With a purchase fee of 1,000 and a sale fee of 1,000, the investment is 101,000 and sale proceeds are 129,000. Profit before tax is 28,000. If you explicitly enter an illustrative tax rate of 20%, estimated tax is 5,600 and profit after tax is 22,400. The 20% example is not a country-specific tax rate.

Foreign shares and currency movements

When report currency differs from share currency, purchase and sale conversions are separate. This includes the effect of currency movement on the reported profit. Fixed fees in share currency use the corresponding purchase or sale conversion rate; fees already paid in report currency are entered directly.

Break-even price

The break-even price includes purchase and sale fees, at the entered FX conversion rates. It is calculated before tax. A percentage tax on positive profit does not create a tax refund at a loss. A separately entered tax amount can require a higher price to break even after tax.

Stock profit questions

Does this calculate my final tax bill?

No. A tax rate produces a simple estimate on positive profit after entered fees. You can instead enter a tax amount directly or explicitly choose no tax. Annual loss offsets, tax allowances, tax lots, withholding credits and account exemptions are not calculated. With tax unspecified, the highlighted result is before tax.

What if I bought shares at several prices?

Enter the applicable acquisition cost per share and purchase fees for the shares you plan to sell. This calculator does not choose an average-cost, FIFO or other tax-lot method for you. Avoid entering fees twice if they are already in your cost basis.

Can sale proceeds be negative?

Yes, if the entered sale fees exceed the sale value. This is displayed as a cost rather than silently clamped to zero.

Method references: Japan National Tax Agency: acquisition cost and sale fees; IRS: capital gains, losses and tax treatment. These explain why acquisition cost and tax assumptions matter; no local tax rate is automatically applied.

RELATED TOOL Β· MONEYFX Profit Calculator

Calculate forex position profit or loss for long and short trades, with fees, swap, account-currency conversion and optional tax.

RELATED TOOL Β· MONEYMulti-Currency Calculator

Add balances in different currencies, including debts. Convert the total and compare a table and currency chart.

RELATED TOOL Β· MONEYCurrency Converter

Convert an amount using automatic reference rates or your own exchange rate. Explore a conversion table and rate scenarios.

ADVERTISEMENT

A little space to keep the tools free.