# Is it possible to withdraw your cost basis from an investment to minimize capital gains taxes?

Say you invest \$10,000. In a couple of months, that \$10,000 investment is now worth \$50,000. You decide you want to take out your initial investment of \$10,000 back into cash and let the remaining \$40,000 ride for a year in the investment.

Is the \$10,000 cash you took back subject to short-term capital gains tax? Or, does it make sense that no taxes are owed on that money since it is your cost-basis?

## 1 Answer

Generally it is advisable to mention what country you're asking about, as tax laws differ.

To the best of my knowledge, however, this particular issue is handled consistently in every tax jurisdiction I'm familiar with.

You invested X, it appreciated and is now worth X + Y. In your example, X = \$10,000 and Y = \$40,000. Total X + Y = \$50,000.

When you withdraw an amount, say A (in your example A = \$10,000), it is considered a withdrawal of both the earnings and the original capital, in proportion to the total of your account.

Taxable portion of the withdrawal is proportional to the earnings. Lets mark it T.

``````T = X - A * X/(X+Y)
``````

In your example, T = \$10,000 - \$10,000 * \$10,000/\$50,000 = \$8,000. I.e.: 80% of the withdrawal will be attributed to earnings and would be taxable (short term in your case, if you're in the US), and 20% to the original capital.

This will keep the proportion of the remained the same - 20% of the remaining amount will be attributed to the original capital (accidentally, it will be \$8,000), and the remaining 80% will be attributed to the earnings. The withdrawn amount attributed to the capital (\$2,000), and the remaining amount attributed to the capital (\$8,000) will equal exactly to the invested amount.

• In this case the OP has a location in his profile. Best if he mentions it, but we can fix. – Chris W. Rea Dec 3 '13 at 13:13
• Another way to look at this is to think of shares of stock. If the initial purchase was 1000 shares at \$10, and you now have 1000 shares at \$50, there's no way to withdraw \$10K without selling 200 shares at \$50. You pay capital gains on the gains on each share (\$40*200 = \$8000). – Rick Goldstein Dec 3 '13 at 20:25