Stocks Return and profit/loss calculator

How does a price change affect your return?

Enter purchase price, selling/current price and quantity to calculate profit/loss and return, whether sold or still held. Works for stocks, ETFs and crypto, including fractional quantities.

Calculation inputs

Display units
① Purchase details
② Price to compare

Use the current price if still held, or actual selling price if sold. Use the same currency as the purchase price. Prices are not fetched live.

Fees / taxes / dividends (optional)

Blank means 0 · Fees apply to both buying and selling

Enter rates for your account and market; no specific rate is assumed. Fees apply to both buying and selling. Selling tax applies to the sale amount. Enter selling tax only for an actual sale (realized return) . Leave blank for unrealized profit/loss on current holdings. Gross dividends are added to profit/loss.

Results update as you type. Use the result button to jump to the result.

Shared URLs include your inputs.

③ Profit/loss result

Enter purchase price, selling/current price and quantity to see profit/loss and return here.

Pin A, then change the selling/current price to compare with B.

Save up to 20 calculations in this browser. Reopen or delete them in Saved.

This calculator uses your inputs as A reference tool for calculating profit/loss and returnand does not recommend stocks, target prices, selling times or quantities. Results are estimates and may differ with execution prices, fees, taxes and exchange rates.

A/B comparison: change the price while keeping purchase conditions fixed

Assume you hold 10 shares bought at KRW 50,000, with fees, taxes and dividends all set to zero.

At a sale price of KRW 60,000, A shows a profit of KRW 100,000 and a return of +20%. Pin A and change the price to KRW 45,000 for B: a loss of KRW 50,000 and a return of −10%. The difference in profit/loss is KRW 150,000.

This comparison shows results at entered prices, not a forecast or a recommendation to sell. Unrealized profit/loss based on a current price is not locked in until sale. If you change shared conditions such as purchase price, quantity, fees, taxes or dividends, pin A again to compare on the same basis.

How profit/loss and return are calculated

Return is Profit/loss divided by invested capital. Enter fees, taxes and dividends for a closer estimate of realized results (optional, defaults to zero).

Invested capital = Purchase price × Quantity × (1 + fee rate / 100) Proceeds / valuation = Selling price × Quantity × (1 − fee rate / 100 − selling tax rate / 100) Profit/loss = Proceeds / valuation − Invested capital + Dividends Return = Profit/loss ÷ Invested capital × 100

Realized profit/loss: use the actual selling price; Unrealized profit/loss: use the current price. The formula is the same.

Example

Buying 10 shares at KRW 50,000 and selling at KRW 60,000 (excluding fees and taxes):

ItemValue
Invested capital50,000 × 10 = 500,000
Proceeds60,000 × 10 = 600,000
Profit/loss+100,000
Return+20%

Why results may differ from your broker

  • Fees / taxes: Defaults are zero. Buying/selling fees and transaction taxes reduce realized returns. Rates vary by market, account and date; enter your own rates for an accurate estimate.
  • Dividends: Enter total dividends received to add them to profit/loss for a total-return view. Dividend income tax is not applied.
  • Exchange rates for overseas stocks: Returns in KRW depend on exchange rates at purchase and sale. This calculator uses entered prices and does not apply exchange rates.
  • Capital gains tax: Capital gains tax, including for overseas stocks and major shareholders, is excluded and must be calculated separately.

Related calculators

Average cost calculator — After additional purchasesto calculate the average purchase price first, then enter it in this calculator.

Basis, data and updates

Calculations use only your inputs, without automatic market price updates. Identical inputs produce identical results. Changes to formulas and wording are listed below.

  • 2026-10-06 · Added an A/B example, interpretation and limitations.
  • 2026-08-27 · Initial release: profit/loss and return, optional fees, taxes and dividends; realized and unrealized results.

Frequently asked questions

How do realized and unrealized profit/loss differ?
The formula is the same. Use the actual selling price for a completed sale, or the current price for unrealized profit/loss.
Can I use this for US stocks and crypto?
Yes. Price and quantity work the same for stocks, ETFs and crypto, including fractional quantities. Use one currency; exchange rates are not included.
How is stock return calculated?
The basic formula is return (%) = (selling price − purchase price) ÷ purchase price × 100. Entered fees and transaction tax are deducted; dividends are added to profit/loss. For multiple purchases, use an average purchase price (available from the Average cost calculator).
Do fees and taxes affect the return?
Yes. Buying/selling fees and transaction tax reduce the net return. Enter your own rates. Actual brokerage settlement and tax filing results may differ.
Does this suggest a target price or when to sell?
No. This tool calculates profit/loss and return from your inputs. It does not suggest target prices, selling times or quantities, or recommend trades.