Capital Gains on Crypto
Capital Gains on Crypto
Capital gains form the core of crypto taxation. When you sell cryptocurrency for more than you paid, the difference is your capital gain. When you sell for less, you realize a capital loss. Understanding how gains and losses are calculated, reported, and taxed is essential to managing your tax liability and planning transactions strategically.
The Mechanics of Capital Gain Calculation
A capital gain is the profit from selling a capital asset. The calculation is straightforward: sale proceeds minus cost basis equals gain or loss. But the simplicity of this formula masks the complexity that emerges when you own multiple tranches of the same asset, when basis is uncertain, or when you must convert between assets.
Basis, also called cost basis or adjusted basis, is what you paid for the asset plus certain costs or adjustments. If you bought one Bitcoin for 25,000 dollars, your initial basis is 25,000 dollars. If you later paid a 500-dollar fee to transfer it, your adjusted basis becomes 25,500 dollars. If you bought fractional Bitcoin through multiple purchases, you track basis separately for each purchase.
Sales proceeds are what you receive when you sell, valued at fair market value on the sale date. If you sold one Bitcoin on an exchange for 45,000 dollars, your proceeds are 45,000 dollars, even if the exchange withheld 1% as a platform fee (the fee is a cost that may be deductible separately, but proceeds are the amount received).
The gain is the difference: 45,000 dollars minus your adjusted basis of 25,500 dollars equals a 19,500-dollar gain. If you later sold other Bitcoin that you bought for 50,000 dollars at 45,000 dollars, you would recognize a 5,000-dollar loss. Gains and losses are reported together on your tax return, with losses offsetting gains.
Identifying Your Cost Basis
Determining cost basis becomes complex in two scenarios: when you acquire crypto through non-purchase means (mining, staking, airdrops) and when you purchase the same asset multiple times and need to decide which purchase you are selling.
Basis from non-purchase acquisitions is fair market value at the time received. If you mined one Bitcoin when Bitcoin was worth 35,000 dollars, your basis in that Bitcoin is 35,000 dollars—the fair market value on the date of receipt. This becomes important later: if you mined cheap during bear markets and sold during bull markets, your gains are the difference between today's price and the historical price on the mining date. Many miners fail to track this, failing to recognize that their basis was set years ago.
Identifying which unit you sold is called the "identification method." When you own multiple batches of the same asset, you need a consistent method to determine which batch you are selling. The most common methods are First-In-First-Out (FIFO), specific identification, and average cost.
FIFO assumes you sell the oldest units first. If you bought Bitcoin in three separate transactions (100 dollars, 200 dollars, 300 dollars per unit), and you later sell one Bitcoin, FIFO assumes you sold the one from the first purchase (100-dollar basis). FIFO tends to maximize gains in rising markets (because your oldest, cheapest purchases are treated as sold) and minimize gains in declining markets.
Specific identification allows you to choose which units you sell. If your three purchases have different bases and you want to minimize this year's gain, you identify the highest-basis unit as the one you sold. Specific identification requires contemporaneous documentation—you must elect your method at the time of sale, not retroactively at tax time.
Average cost averages the basis across all holdings of an asset. If you bought 10 Bitcoin at varying prices with a total basis of 200,000 dollars, average cost would be 20,000 dollars per Bitcoin. Average cost is popular for traders with many small transactions and is the default method on some platforms.
The IRS requires consistency: you cannot use FIFO one year, then switch to specific identification the next. And you must document your method carefully. Many crypto traders fail to specify their identification method and implicitly use FIFO, missing opportunities to optimize tax outcomes through higher-cost-basis identification.
Unrealized vs. Realized Gains
This distinction is fundamental to tax planning. An unrealized gain is the profit on an asset you still own. A realized gain is the profit on an asset you have sold or disposed of. Only realized gains are taxable.
This is why the popular refrain "just hold" carries tax implications. As long as you hold your Bitcoin and do not sell, trade, or spend it, your gains are unrealized. You owe no tax, even if your holdings are worth millions. The moment you sell (or trade, or spend), the gain becomes realized, and you owe tax.
This creates a timing question: when should you realize gains? The answer depends on your circumstances, expectations, and overall tax situation. If you believe an asset will appreciate further, holding delays taxation (a benefit due to the time value of money—taxes paid later are less burdensome than taxes paid today). If you believe an asset will decline, selling locks in current gains, protecting them from further appreciation that would be fully taxable.
This also explains why portfolio rebalancing is tax-expensive in crypto. If you own Bitcoin worth 100,000 dollars (with a 20,000-dollar basis) and want to rebalance to 50% Bitcoin, 50% Ethereum, you must sell 50,000 dollars of Bitcoin, realizing an 80,000-dollar gain. That is immediately taxable, even though your total portfolio value hasn't changed. In taxable accounts, rebalancing always realizes gains on appreciated positions.
How Gain/Loss Offsetting Works
Realized gains and losses are netted together. If in one year you realize 100,000 dollars of capital gains and 30,000 dollars of capital losses, your net capital gain is 70,000 dollars.
Capital losses can also offset ordinary income, but only up to 3,000 dollars per year. If your net capital loss exceeds 3,000 dollars, the excess carries forward indefinitely, offsetting future capital gains or ordinary income (up to 3,000 dollars per year) in subsequent years. This creates a tax planning opportunity: if you have large unrealized losses, you may want to realize them in a year when you have large gains, or spread the realization over multiple years to utilize the 3,000-dollar annual loss deduction.
The order in which you recognize gains and losses matters strategically. If you have a choice between realizing a 50,000-dollar gain or a 20,000-dollar loss in the current year, realizing the loss first uses it to offset other gains you may have or will generate, creating a net gain of only 30,000 dollars. But this is a simplification—sophisticated tax planning requires modeling multiple scenarios across multiple years.
Long-Term vs. Short-Term Capital Gains
The distinction between long-term capital gain (LTCG) and short-term capital gain (STCG) is crucial because they are taxed at different rates. Long-term gains receive preferential rates; short-term gains are taxed as ordinary income.
A long-term capital gain arises when you sell an asset held for more than one year. The preferential rates are 0%, 15%, or 20% depending on your total income. These rates are dramatically lower than the ordinary income rates, which can be up to 37%.
A short-term capital gain arises when you sell an asset held for one year or less. Short-term gains are taxed as ordinary income at your marginal tax rate. For high-income taxpayers, this can mean a 37% federal rate, plus state income tax, plus the 3.8% Net Investment Income Tax, totaling 40%+ on short-term gains.
The difference is enormous. A 100,000-dollar long-term capital gain for a high-income taxpayer might generate 20,000 dollars of federal tax (at 20% rate). The same 100,000-dollar short-term gain would generate 37,000 dollars or more. This 17,000-dollar difference creates a powerful incentive to hold assets longer than one year.
The holding period is measured from the acquisition date (the date you received or purchased the asset) to the disposition date (the date you sold or disposed of it). The purchase date counts as day zero; day one is the day after purchase. So if you buy on January 1, you must hold until January 2 of the following year to achieve long-term status (not January 1, which is exactly one year).
Crypto-Specific Complications
Crypto markets are characterized by high volatility and rapid trading, which creates tax headaches. Many traders hold positions for less than one year, meaning all their gains are short-term. The tax burden can consume 30%+ of trading profits, yet many traders do not account for this when evaluating their returns.
Trading frequency and aggregate gains compound the problem. If you actively trade and make 10 trades per month, you have 120 trades per year. If only 10 of those trades generate gains, and each gain is short-term, you might realize substantial short-term capital gains while losses from other trades offset them. But at year-end, you must report the net gains, all taxed as short-term.
The crypto-to-crypto problem is that traders often fail to account for tax on intermediate trades. You buy Bitcoin for 10,000 dollars, trade it for Ethereum, trade Ethereum for Solana, and sell Solana for 25,000 dollars. The final gain is 15,000 dollars, but the two intermediate trades might have created gains that are taxable in the year they occurred, even though you haven't exited to fiat currency. Tracking this across dozens of trades on decentralized exchanges with poor record-keeping is a nightmare.
Timing of exchanges affects your holding period. If you buy Bitcoin on January 1 and trade it for Ethereum on December 31 of the same year (364 days later), your Bitcoin holding period is less than one year. But your Ethereum holding period started on December 31. If you sold Ethereum on January 1 of the next year, you would have long-term status on the Ethereum (based on holding from January 1 of Year 2 to January 1 of Year 3), even though you only held it for one day. The holding period resets with each asset acquisition.
Planning for Capital Gains Efficiency
Strategic planning can reduce your capital gains tax burden. One approach is to bunch gains and losses together. If you have small unrealized gains across many positions and large unrealized losses in a few positions, realizing the losses and gains together creates a net loss that offsets ordinary income, while maintaining your overall exposure.
Another approach is to defer realization. If you believe a position will appreciate, holding it for more than one year qualifies you for long-term treatment, saving potentially 20% or more in tax. The time value of money (paying taxes later rather than sooner) also favors deferral.
A third approach is to use a retirement account. If you trade actively within a 401(k) or IRA, you do not recognize gains until you withdraw. This allows unlimited trading without annual tax consequences. For active traders, using tax-deferred accounts is far more efficient than trading in taxable accounts.
How Gains Are Reported
Capital gains are reported on IRS Form 8949 (Sales of Capital Assets), which lists each transaction with its acquisition date, basis, sale date, proceeds, and gain or loss. Form 8949 flows into Schedule D (Capital Gains and Losses), which nets long-term and short-term gains and losses separately and produces the net capital gain or loss for the year.
The IRS cross-references Form 8949 with Form 1099-B reports issued by exchanges and brokers, which report all covered transactions. If your Form 8949 does not match the exchange's 1099-B, the IRS initiates an inquiry. Many crypto taxpayers are surprised to receive a letter requesting explanation for discrepancies. Keeping accurate records and matching them to the exchange data is essential.
Key Takeaways
Capital gains arise from selling crypto for more than you paid. Cost basis is what you paid plus adjustments. When you own multiple batches of the same asset, choose a consistent identification method (FIFO, specific ID, or average cost) to minimize taxes. Only realized gains are taxable; unrealized gains are tax-free. Long-term capital gains (held over one year) receive preferential tax rates; short-term gains are taxed as ordinary income. Strategic planning—such as realizing losses, deferring gains, or using retirement accounts—can substantially reduce capital gains tax. All transactions must be reported on Form 8949 and reconciled with broker statements.
Understanding capital gains mechanics is essential for crypto investors. The difference between long-term and short-term treatment can mean tens of thousands of dollars in tax savings. Proper basis tracking and identification methods protect you from overpaying tax and position you to respond effectively to IRS inquiries.
External References
- IRS Publication 544: Sales of Assets
- IRS Form 8949: Sales of Capital Assets
- Treasury Department: Capital Gains and Losses