< Back to IRS

Freya Thomsen

How are taxes calculated on partial stock or crypto profit withdrawals?

So I understand the basics of long vs short term capital gains, but I'm struggling with one specific situation that I can't seem to find a clear answer for. Let's say I invest $2500 in a stock or cryptocurrency, and through some lucky timing it doubles in value to $5000. If I decide to take out just $2500 (so essentially the amount I initially put in), do I have to pay taxes on that partial withdrawal? Or is it more like I wouldn't pay taxes until I withdraw beyond my initial investment? For example, if I withdraw $2500 in 2025, and then later withdraw the remaining $2500 in 2026 (assuming the value stays the same), which tax year would I actually owe taxes on the $2500 profit? I'm trying to plan my finances and figure out if I can take some money out without triggering a tax bill this year. Any clarification would be super helpful!

When you sell any portion of an investment, the IRS considers it a taxable event based on the cost basis of the specific shares or units you're selling. You can't simply withdraw your "initial investment" tax-free without proper accounting. Let me explain with your example: You invest $2500 and it grows to $5000. If you sell half of your holdings ($2500 worth), you're actually selling half of your shares/units, which have a cost basis of $1250 (half of your initial investment). So the $2500 you receive breaks down as $1250 return of your original investment and $1250 of taxable profit. In your scenario, if you sell $2500 worth in 2025, you'd pay taxes on $1250 of gains in that tax year. If you sell the remaining $2500 in 2026, you'd pay taxes on the other $1250 of gains in that tax year. Remember, how much you pay depends on whether it's short-term (held less than a year) or long-term capital gains, and your overall income level.

0 coins

Wait, so you're saying I can't just take out my original money without paying taxes? What if I specifically sell the exact units I bought first? Couldn't I use FIFO or something to avoid this?

0 coins

You're right to bring up FIFO (First In, First Out), which is the default method the IRS assumes unless you specifically identify which shares you're selling at the time of sale. However, even with specific identification, you're still selling a portion of your total holdings, not "just your initial investment." With FIFO, you'd be selling your oldest shares first, which means you'd realize the largest gains if your investment has generally trended upward over time. If you want to minimize your current tax bill, you might prefer LIFO (Last In, First Out) or specifically identifying your highest-cost shares to sell, but you need to clearly document this at the time of the transaction.

0 coins

After struggling with this exact same question for months, I finally found an amazing solution with https://taxr.ai - it literally saved me hours of confusion about my crypto taxes. I was in a similar situation with my BTC investments where I took out partial amounts across multiple years and was getting conflicting advice about which portions were taxable. The tool analyzed my trading history and clearly showed exactly what portion of each withdrawal was considered taxable gain vs return of principal. What I especially liked was that it showed me the tax differences between FIFO, LIFO and specific identification methods, so I could see which approach would be most advantageous for my situation. The platform generates proper documentation you can use if the IRS ever questions your calculations.

0 coins

How does it work with multiple exchanges and wallets? I've got crypto spread across Coinbase, Binance and some cold storage. Does it pull all that together somehow?

0 coins

I heard these crypto tax tools are only good for major coins like Bitcoin and Ethereum. I've got a bunch of alt coins and some NFTs - would it handle those properly or just get confused?

0 coins

It handles multiple exchanges really well - you can connect your accounts directly or upload CSV files from different platforms. I had stuff scattered across three exchanges plus a hardware wallet, and it imported everything without issues. For alt coins and NFTs, it actually does better than I expected. I have some pretty obscure tokens from 2021, and it found pricing data for almost everything. For the few it couldn't price automatically, there's a way to manually enter values. It's especially helpful for NFTs where you can input your purchase and sale prices if you have those transactions.

0 coins

Just wanted to update here - I tried out taxr.ai after seeing the recommendation and it actually solved my similar issue! I had a mix of stock and crypto partial sales that I was totally confused about calculating. The visualization really helped me understand my cost basis - turns out I was calculating everything wrong and would have majorly messed up my taxes. It showed me that I had about $3400 in capital gains I hadn't accounted for properly from partial sales last year, but also found some losses I could harvest to offset about $1200 of it. For me the specific identification method saved a ton compared to just using FIFO. Definitely worth checking out if you're confused about partial investment sales like I was!

0 coins

If you're having trouble getting clear answers from the IRS about your specific situation, I highly recommend using https://claimyr.com to get through to an actual IRS agent. I was in tax limbo for weeks with a somewhat similar capital gains reporting question. I kept calling the standard IRS number and either got disconnected or was told the wait would be 2+ hours. After trying Claimyr, I got connected to a real person in about 20 minutes who walked me through exactly how to report my partial sales correctly. They have a pretty good demo video at https://youtu.be/_kiP6q8DX5c that shows how it works. The agent explained that with my specific tax situation, I needed to file a special form for my crypto sales that I had no idea about, which could have caused major headaches if I'd filed incorrectly.

0 coins

How does this even work? I thought the IRS phone system was just permanently broken. Is this like paying to cut in line or something?

0 coins

This seems sketchy AF. Why would I pay a third party just to talk to the IRS? If they have some "special way" to get through, that feels like gaming the system that should be equally accessible to everyone. I'm supposed to believe they have some magic solution the rest of us don't know about?

0 coins

It's actually not cutting in line - they use an automated system that continually redials and navigates the IRS phone tree until a line opens up, then it calls you to connect. It's the same as if you sat there redialing yourself for hours, just automated. It's definitely not sketchy - they don't interact with the IRS on your behalf at all. They simply save you from having to manually redial hundreds of times. When they get through, they connect you directly with the IRS agent. The IRS never knows you used a service, it's just like you called normally but without the endless busy signals and disconnects.

0 coins

I need to eat my words from my earlier comment. After getting another CP2000 notice about unreported crypto gains (second one this year!), I was desperate and tried Claimyr. It actually worked exactly as advertised. After weeks of trying to get through to the IRS myself with no luck, I got connected in about 25 minutes. The agent was able to pull up my account and confirm that I needed to use Form 8949 with specific codes for my partial sales, and explained exactly how to calculate the cost basis. Turns out I was doing my partial withdrawal reporting completely wrong for the last 2 years. The agent even put a temporary hold on collections while I submit the corrected paperwork. Definitely worth it for the peace of mind alone.

0 coins

Another method you could use is specific identification of the shares/coins. I'm assuming your investment platform or exchange gives you records of each purchase. When you sell, you can specify WHICH shares you're selling. So in theory, you could sell the exact shares you purchased for $2500, thus having $0 gain. But you need good records and you MUST identify which specific shares you're selling at the time of the transaction. However, for crypto, the IRS guidance isn't super clear on specific identification, so you might want to consult with a tax pro first.

0 coins

Does this work for all investment types? Like is it the same process for stocks and crypto, or are the rules different?

0 coins

The rules are similar but not identical. For stocks, specific identification is well established - you just need to tell your broker which lots you want to sell at the time of the transaction and keep documentation. For crypto, it's more complicated because the IRS hasn't given super clear guidance. Most tax experts recommend keeping extremely detailed records of acquisition dates, costs, wallet transfers, etc. if you want to use specific identification. Without that level of documentation, the IRS will likely default to FIFO (first-in, first-out), which usually results in higher taxes if your early purchases were at lower prices.

0 coins

I tried to do this last year with Ethereum and totally messed up my taxes. I thought I was just taking out my initial investment of $4300 but my accountant explained that because I had bought in at different price points over time, I couldn't just consider it a withdrawal of my original funds. We had to go back and calculate the average cost basis of all my purchases, and then figure out what percentage of my total ETH I sold. Ended up having to pay taxes on about $1850 of gains I didn't think I had lol. Lesson learned.

0 coins

Did you use any particular software to track this? I've been using a spreadsheet but it's getting unwieldy with all my different purchases.

0 coins

This is such a common misconception that trips up so many people! The key thing to understand is that when you sell ANY portion of an investment, you're not withdrawing your "original money" - you're selling a percentage of your total holdings. Think of it this way: if you buy 100 shares of a stock for $25 each ($2500 total) and they double to $50 each, you now have $5000 worth of stock. If you sell 50 shares at $50 each (getting $2500), you're not getting your "original investment" back - you're selling half your position, which has a cost basis of $1250 (50 shares × $25 original cost) and realizing $1250 in taxable gains. This applies regardless of whether it's stocks, crypto, or other investments. The IRS doesn't care that the dollar amount you're withdrawing equals your original investment - they care about the cost basis of what you're actually selling. For your tax planning purposes, if you sell $2500 worth in 2025, you'll owe taxes on the gains portion in that tax year. The exact amount depends on your cost basis calculation method (FIFO, LIFO, or specific identification if you have proper documentation).

0 coins

This explanation really clicked for me! I was making the same mistake as the original poster - thinking I could just take out my "principal" without tax consequences. Your stock example makes it crystal clear that selling 50% of your holdings means 50% of the cost basis and 50% of the gains, regardless of what dollar amount that equals. I'm curious though - is there any legitimate way to minimize the tax impact when you need to access some of your investment gains? Like timing the sales across different tax years or using tax-loss harvesting from other positions?

0 coins

Great question! There are definitely several legitimate strategies to minimize tax impact when accessing investment gains: **Timing strategies:** - If you're close to the one-year mark, waiting for long-term capital gains rates (typically 0%, 15%, or 20% vs ordinary income rates for short-term) - Spreading sales across multiple tax years to stay in lower tax brackets - Timing sales in years when your overall income is lower **Tax-loss harvesting:** - Selling losing positions to offset gains from your profitable sales - Be careful of the wash sale rule (can't buy back the same security within 30 days) - This can be especially effective if you have a diversified portfolio with some winners and losers **Other considerations:** - If you have both taxable and tax-advantaged accounts, consider which account to draw from first - For crypto specifically, some people use the specific identification method to sell their highest-cost-basis coins first (though you need excellent records) - Consider charitable giving of appreciated assets if you're philanthropically inclined The key is planning ahead rather than making reactive decisions. A tax professional can help model different scenarios based on your specific situation, especially if you have significant gains involved.

0 coins

Mei Lin

This is incredibly helpful! I've been sitting on some crypto gains for months trying to figure out the best way to access them without getting hammered on taxes. The timing strategy makes a lot of sense - I bought most of my positions about 10 months ago, so waiting a couple more months to hit that one-year long-term capital gains threshold could save me a significant amount. I'm especially interested in the tax-loss harvesting approach. I have a few positions that are down from where I bought them. Would it make sense to sell those at a loss in the same tax year that I take profits from my winning positions? And does the wash sale rule apply to crypto the same way it does to stocks?

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,095 users helped today