Stock Target Sell Price Calculator: After-Tax Net Return Math

PublishedToolTarget Sell Price Calculator

Contents
  1. Why "a few % above my buy price" gets you the wrong number
  2. How to work it out by hand, no calculator needed
  3. Common points of confusion
  4. The bottom line
  5. Frequently asked questions

If you want to sell a stock at a target return or a target profit amount, the simple formula (sell price − buy price) / buy price won't give you an accurate per-share sell price. You have to subtract the fee you paid when buying and the fees and transaction tax taken out when selling at each step of the calculation. Only then do you get a sell price that matches the net return that actually shows up in your account.

This post walks through that calculation structure formula by formula, explains how target return mode and target profit amount mode are computed differently, and covers the conditions under which the calculation becomes impossible.

Summary ① The simple (sell price − buy price) / buy price leaves out the buy fee, the sell fee, and the transaction tax entirely, so it always comes out higher than your real net return. ② Target return mode multiplies the total purchase cost—including the buy fee—by your target %, giving the target proceeds. Target profit amount mode simply adds your target amount to the total purchase cost. ③ If the sell fee rate plus the transaction tax rate adds up to more than 100%, the net proceeds ratio of the sale falls to zero or below, so you can't divide your way to a sell price and an error is shown.

Why "a few % above my buy price" gets you the wrong number

A lot of investors set their target sell price along the lines of "I'll sell when it's up 10% from my buy price." The benchmark they use is usually (sell price − buy price) / buy price.

The problem is that this formula doesn't reflect the fee you paid to buy, or the fees and transaction tax taken out when you sell. Only the price gain over your buy price goes into the math. The costs that actually leave your pocket are missing from it entirely.

As a result, even when you check that the price rose by your target % and then sell, the net return that actually lands in your account is lower than that. If your goal is "a gain of X%," first figure out whether that X% is before or after fees and taxes. Otherwise your math won't line up.

How to work it out by hand, no calculator needed

The calculation has four steps, and following them by hand gives you the same result.

Step 1: Find the total purchase cost

Total purchase cost = purchase price × quantity × (1 + buy fee rate/100)

The buy fee is part of your cost, so the money you actually put in is larger than "purchase price × quantity" by the amount of that fee.

Step 2: Find your target proceeds (K)

This is where the two modes split.

  • Target return mode: K = total purchase cost × (1 + target return/100)
  • Target profit amount mode: K = total purchase cost + target profit amount

Target return mode multiplies the total purchase cost by a percentage. Target profit amount mode adds a fixed amount to the total purchase cost. In both modes, the base is the total purchase cost including the buy fee, not the purchase price.

Step 3: Find the net proceeds ratio when you sell

Net proceeds ratio = 1 − sell fee rate/100 − transaction tax rate/100

When you sell, the sell fee and the transaction tax each come out of the sale proceeds at their own rates. What's left after subtracting both is the share of the sale proceeds you actually keep.

Step 4: Find your target sell price

Target sell price per share = K ÷ (quantity × net proceeds ratio)

That's the per-share price you need to sell at to hit your target.

Check it with an example

Let's run some example numbers. Actual fee and tax rates vary by broker and product, so always check your own trade records.

  • Purchase price 10,000 won, quantity 100 shares

  • Buy fee rate 0.1%, sell fee rate 0.1%, transaction tax rate 0.2% (example figures)

  • Target return mode, target return 10%

  • Step 1: total purchase cost = 10,000 × 100 × 1.001 = 1,001,000 won

  • Step 2: K = 1,001,000 × 1.10 = 1,101,100 won

  • Step 3: net proceeds ratio = 1 − 0.001 − 0.002 = 0.997

  • Step 4: target sell price = 1,101,100 ÷ (100 × 0.997) ≈ 11,044 won

What the example tells you

Compare this with the simple formula and the gap shows up right away. (11,044 − 10,000) / 10,000 ≈ 10.44%, so the simple formula makes it look like a 10.44% gain. But your real net return after fees and taxes is the 10% you targeted. That's why two formulas produce different numbers for the same sell price.

Check it with our tool.

Target Sell Price Calculator

Enter your buy price, share count, buy and sell commission rates, and transaction tax rate, and the tool instantly works out your target sell price per share, net profit, and net return.

Common points of confusion

When you follow the formulas yourself, a few spots tend to trip people up. Here they are in a table.

Point of confusionHow it actually works
Is (sell price − buy price) / buy price the same as net return?No. It leaves out the buy fee, the sell fee, and the transaction tax entirely, so it always comes out higher than your actual net return
Is the target return based on the purchase price?No. It's based on the total purchase cost including the buy fee (purchase price × quantity × (1 + buy fee rate/100))
Does the target sell price change if I hold more shares?In target return mode, quantity cancels out of the formula and has no effect on the target sell price. In target profit amount mode, the more shares you hold, the lower the per-share target price you need
What happens if the fee rate plus the tax rate is over 100%?The rates subtracted from the sale proceeds add up to more than 100%, so the net proceeds ratio drops to zero or below, and the division can't produce a value, so an error is shown

The third row makes sense once you work through the algebra. In the target sell price formula for target return mode, the quantity in the total purchase cost in the numerator and the quantity in the denominator cancel each other out.

In target profit amount mode, though, your target is a fixed amount in won that has nothing to do with quantity, so it doesn't cancel. The same target amount requires a different per-share price depending on how many shares you hold.

The bottom line

  • (Sell price − buy price) / buy price leaves out fees and taxes entirely, so it always comes out higher than your actual net return.
  • The base for the calculation is not the purchase price but the total purchase cost including the buy fee.
  • Target return mode multiplies the total purchase cost by a percentage; target profit amount mode adds an amount to the total purchase cost.
  • The per-share sell price comes from dividing your target proceeds by "quantity × net proceeds ratio at sale."
  • If the sell fee rate plus the transaction tax rate exceeds 100%, the net proceeds ratio drops to zero or below and the calculation becomes impossible.
Target Sell Price Calculator

Enter your buy price, share count, buy and sell commission rates, and transaction tax rate, and the tool instantly works out your target sell price per share, net profit, and net return.

Frequently asked questions

Should I pick target return or target profit amount?

If you like managing your gains in percentage terms, go with target return. If you think in terms of exactly how much money you want to make, go with target profit amount. Either way, the result is after fees and taxes.

Why doesn't the return I see match the sell price from the calculation?

This calculation works backward from the money you'd actually receive after the buy fee, the sell fee, and the transaction tax are all deducted. The simple (sell price − buy price) / buy price doesn't subtract any of those costs, so the two numbers differ.

Why am I getting an error message?

If the sell fee rate plus the transaction tax rate adds up to more than 100%, the net proceeds ratio of the sale drops to zero or below and the formula can't produce a sell price. Check first that you entered your values as percentages.

Does the target sell price change if I own more shares?

Not in target return mode. Quantity appears in both the numerator and the denominator and cancels out. In target profit amount mode, the target is a fixed amount that doesn't depend on quantity, so the more shares you hold, the lower the per-share price needed to reach the same target amount.

This article was adapted from our Korean original. Read the Korean original

Related articles

  1. Stress Test Score: How PSS-10 Totals and 3 Levels WorkLearn how the PSS-10 stress test adds up to a 0–40 score, why items 4, 5, 7, and 8 are reverse scored, and how 13 and 26 split the three levels.
  2. Karvonen Formula: Calculate Target Heart Rate Zones From HRRThe Karvonen formula finds target heart rate from your age and resting heart rate in three steps, with a worked example and the %HRR vs %HRmax difference.
  3. Temperature Difference Converter: Celsius, Fahrenheit, KelvinLearn why temperature differences convert differently from absolute readings, see the math behind the offset cancellation, and convert intervals without mistakes.
  4. Time Difference Calculator: GMT Offsets and Daylight SavingTime differences change when daylight saving starts. Learn to read GMT offsets, half- and quarter-hour zones, and compare cities live.
  5. Time Difference Calculator: UTC Offsets and Date ChangesConvert Seoul time to New York, London, Tokyo and other cities, and see why daylight saving shifts the offset and can move the date by a day.
  6. Tip Calculator: How to Split the Tip and Per-Person AmountEnter the bill, party size, and tip rate, and the tip calculator shows the tip, total, and per-person amount right in your browser. Formulas included.

Related tools