
{"id":249759,"date":"2026-11-10T12:00:20","date_gmt":"2026-11-10T12:00:20","guid":{"rendered":"https:\/\/mycryptomania.com\/?p=249759"},"modified":"2026-11-10T12:00:20","modified_gmt":"2026-11-10T12:00:20","slug":"how-crypto-gains-are-calculated-for-us-tax-filers","status":"publish","type":"post","link":"https:\/\/mycryptomania.com\/?p=249759","title":{"rendered":"How Crypto Gains Are Calculated for US Tax Filers"},"content":{"rendered":"<h4><em>The IRS now gets a form from your exchange. Here is exactly how crypto tax software calculates capital gains, so the number on your return is the number you actually\u00a0owe.<\/em><\/h4>\n<p><strong>How Crypto Gains Are Calculated for US Tax\u00a0Filers<\/strong><\/p>\n<p>The IRS now knows you sold that Bitcoin. Do you know what you\u00a0made?<\/p>\n<p>For years, crypto taxes ran on the honor system. You bought, swapped, sold, and staked across five platforms and two wallets, then guessed in April. That era is over. Since 2025, custodial exchanges and brokers issue <strong>Form 1099-DA<\/strong>, a new IRS form that reports your digital asset sales straight to the government.<\/p>\n<p>Here is the catch that trips up thousands of self-directed investors: that form shows what you <em>received<\/em>, not what you <em>paid<\/em>. If you copy its numbers onto your return without checking, you can report a gain far larger than the one you really had, and\u00a0overpay.<\/p>\n<p>This guide breaks down <strong>how crypto gains are calculated for US tax filers<\/strong>, step by step, and shows <strong>how crypto tax software calculates capital gains<\/strong> behind the dashboard. By the end, you will be able to sanity-check any software report, spot errors before the IRS does, and keep better records all\u00a0year.<\/p>\n<h3><strong>The Quick Answer: How Are Crypto Gains Calculated?<\/strong><\/h3>\n<p><strong>Crypto capital gain = proceeds (what you received, in US dollars) minus cost basis (what you paid, including fees).<\/strong><\/p>\n<p>The IRS treats crypto as property, not currency. Every sale, swap, or purchase of goods with crypto is a taxable disposal. Crypto tax software calculates your gain by matching each disposal to the specific purchase lot it came from, pricing both in USD at the moment they happened, and labeling the result short-term or long-term based on how long you held the\u00a0asset.<\/p>\n<p>That is the whole engine. Everything below is how the details\u00a0work.<\/p>\n<h3><strong>Why This Matters More in\u00a02026<\/strong><\/h3>\n<p>Two changes make accurate calculations more important than\u00a0ever.<\/p>\n<p><strong>1. Form 1099-DA has arrived:<\/strong> For transactions in 2025, brokers report gross proceeds only. Cost basis reporting phases in for digital assets acquired on or after January 1, 2026, and then only for assets bought and held at the same broker. The first basis-inclusive forms arrive in early 2027. Assets you transferred in from elsewhere often show a blank or zero basis, which means you must establish it yourself using your own\u00a0records.<\/p>\n<p><strong>2. Wallet-by-wallet tracking is now required:<\/strong> Under IRS guidance, you can no longer pool all your coins into one universal cost basis. Since January 1, 2025, basis must be tracked separately for each wallet and account. Decentralized and non-custodial platforms are generally exempt from issuing 1099-DAs, but your gains on them are still taxable and still your job to\u00a0report.<\/p>\n<p>The result: the form your exchange sends is a starting point, not an answer. Reconciling it is where good software earns its keep, and where informed DIY investors save real\u00a0money.<\/p>\n<h3><strong>What Counts as a Taxable Crypto\u00a0Event?<\/strong><\/h3>\n<p>Before any math happens, software has to decide which transactions create gains or losses. For US filers, these generally do:<\/p>\n<p><strong>Selling crypto for US\u00a0dollars<\/strong><strong>Swapping one crypto for another<\/strong> (for example, ETH to\u00a0SOL)<strong>Spending crypto<\/strong> on goods or\u00a0services<strong>Paying network fees in crypto<\/strong>, which counts as a small\u00a0disposal<\/p>\n<p>These generally do <strong>not<\/strong> trigger a capital gain on their\u00a0own:<\/p>\n<p><strong>Buying crypto with\u00a0dollars<\/strong><strong>Moving crypto between your own\u00a0wallets<\/strong><strong>Holding, however large the unrealized gain<\/strong><\/p>\n<p>Income events are a separate category. Staking rewards, mining income, and airdrops are generally taxed as <strong>ordinary income<\/strong> at their fair market value when you receive them. That value then becomes the cost basis for those coins, so a later sale produces a capital gain or loss measured from that point. Good software tracks both\u00a0layers.<\/p>\n<h3><strong>Short-Term vs. Long-Term: The Holding Period\u00a0Rule<\/strong><\/h3>\n<p>Every gain gets a label, and the label drives your tax\u00a0rate.<\/p>\n<p>Higher earners may also owe the 3.8% Net Investment Income Tax. State taxes vary and apply on\u00a0top.<\/p>\n<p>The gap between those rates is why <em>which<\/em> coins you sell matters as much as <em>how many<\/em>. Selling a lot you have held for 13 months can cost far less than selling one you bought three weeks\u00a0ago.<\/p>\n<h3><strong>How Crypto Tax Software Calculates Capital Gains, Step by\u00a0Step<\/strong><\/h3>\n<p>Whether you use CoinTracker, Koinly, CoinLedger, TaxBit, or another tool, nearly all of them follow the same pipeline. Understanding it helps you catch problems.<\/p>\n<h4><strong>Step 1: Import every transaction<\/strong><\/h4>\n<p>The software pulls data from exchange APIs, CSV files, and public blockchain addresses. This is the most error-prone step, because missing data is the number one cause of wrong tax reports. One forgotten exchange can break the whole chain of cost\u00a0basis.<\/p>\n<h4><strong>Step 2: Classify each transaction<\/strong><\/h4>\n<p>The software labels every entry as a buy, sell, swap, transfer, income, gift, or fee. Transfers between your own wallets should be matched and excluded from gains. When the software cannot tell a transfer from a sale, it often guesses wrong, and you will see an \u201cunmatched\u201d or \u201cmissing basis\u201d\u00a0warning.<\/p>\n<h4><strong>Step 3: Price everything in\u00a0USD<\/strong><\/h4>\n<p>The IRS wants dollar values. For each transaction, the software looks up the fair market value at the time it occurred. A swap of ETH for SOL is valued in dollars on both sides, because you are treated as selling one asset and buying the\u00a0other.<\/p>\n<h4><strong>Step 4: Build cost basis\u00a0lots<\/strong><\/h4>\n<p>Each purchase becomes a <strong>lot<\/strong>: an amount of coin, a date, and a cost basis in USD. Fees paid to acquire the coin are added to basis. When you later sell, the software must decide which lot you are selling. This is where your accounting method comes\u00a0in.<\/p>\n<h4><strong>Step 5: Match disposals to\u00a0lots<\/strong><\/h4>\n<p>Using your chosen method (covered below), the software subtracts the sold amount from your lots, calculating proceeds minus basis for each piece. A single sale can span several lots, and each piece may have a different gain and holding\u00a0period.<\/p>\n<h4><strong>Step 6: Label and total the\u00a0results<\/strong><\/h4>\n<p>Each matched piece is marked short-term or long-term, then totaled. Losses offset gains, and net capital losses can generally offset up to $3,000 of other income per year, with any remainder carried\u00a0forward.<\/p>\n<h4><strong>Step 7: Generate tax\u00a0forms<\/strong><\/h4>\n<p>The output is typically <strong>Form 8949<\/strong> (the line-by-line list of disposals) and <strong>Schedule D<\/strong> (the summary), plus income reports for staking or mining. You reconcile Form 8949 with any Form 1099-DA you received, adjusting basis where the broker\u2019s form shows blank or incorrect data.<\/p>\n<h3><strong>A Worked Example: Same Sale, Two Different Tax\u00a0Bills<\/strong><\/h3>\n<p>Here is a simplified, hypothetical example (fees ignored for clarity).<\/p>\n<p>You own two lots of ETH in the same\u00a0wallet:<\/p>\n<p><strong>Lot A:<\/strong> 1 ETH bought January 2024 for\u00a0$2,000<strong>Lot B:<\/strong> 1 ETH bought August 2026 for\u00a0$2,800<\/p>\n<p>In November 2026 you sell 1 ETH for\u00a0$3,200.<\/p>\n<p>FIFO produces a bigger gain, but it is taxed at the lower long-term rate. Specific identification produces a smaller gain, taxed at a higher short-term rate. Depending on your bracket, either could leave you with the lower bill. For example, at illustrative rates of 15% long-term and 24% short-term, the FIFO tax is roughly $180 and the specific-ID tax is roughly\u00a0$96.<\/p>\n<p>This is exactly why the method matters, and why you should never accept a software default without understanding it.<\/p>\n<h3><strong>Cost Basis Methods: FIFO, HIFO, and Specific Identification<\/strong><\/h3>\n<p><strong>FIFO (first in, first out)<\/strong> assumes you sell your oldest coins first. It is the IRS default if you do not identify specific units, and it is simple and defensible. It often produces larger gains in rising markets, but frequently long-term ones.<\/p>\n<p><strong>Specific identification<\/strong> lets you choose exactly which lots to sell, as long as you can document your choice at the time of the sale. This unlocks tax strategies, but it demands precise, contemporaneous records.<\/p>\n<p><strong>HIFO (highest in, first out)<\/strong> is a popular form of specific identification that sells your highest-cost lots first to minimize the current-year gain. It can reduce taxes now, though it may leave you holding lower-basis coins for\u00a0later.<\/p>\n<p>Remember that with wallet-by-wallet rules, the lots available are limited to those held in the specific wallet or account where the sale happens. A cheap lot sitting in your cold wallet cannot be used to offset a sale on your exchange unless it has been moved\u00a0there.<\/p>\n<h3><strong>Where Crypto Tax Software Gets It\u00a0Wrong<\/strong><\/h3>\n<p>Software is only as good as its inputs. Watch for these common failure\u00a0points:<\/p>\n<p><strong>Missing transactions:<\/strong> A forgotten exchange or old wallet creates sales with no matching purchase, so basis defaults to zero and your gain is overstated.<strong>Misread transfers:<\/strong> If a move between your wallets looks like a sale, the software invents a\u00a0gain.<strong>Wrong prices on illiquid tokens:<\/strong> Obscure coins may lack reliable historical pricing, so values need manual\u00a0review.<strong>DeFi complexity:<\/strong> Liquidity pools, wrapped tokens, bridges, and lending positions are often categorized inconsistently across\u00a0tools.<strong>Duplicate imports:<\/strong> Importing both an API connection and a CSV can double-count the same\u00a0trades.<strong>Blind trust in Form 1099-DA:<\/strong> A blank basis is not an error you must accept. You can report your own basis on Form 8949 if you have the records to support\u00a0it.<\/p>\n<h3><strong>Your Pre-Filing Crypto Tax Checklist<\/strong><\/h3>\n<p>Import every exchange, wallet, and DeFi account you used, including old and closed\u00a0onesResolve every \u201cmissing basis\u201d and \u201cunmatched transfer\u201d warningConfirm your cost basis method and that it can be defended with\u00a0recordsCompare software totals against each Form 1099-DA and note differencesSpot-check your three biggest trades by\u00a0handSave reports, wallet addresses, and screenshots for at least three\u00a0yearsReview realized gains <em>before<\/em> year-end, while you can still act on\u00a0them<\/p>\n<p>That last item is the one most investors skip, and it is the most valuable.<\/p>\n<h3><strong>Tax Reports Look Backward. Portfolio Management Looks\u00a0Forward.<\/strong><\/h3>\n<p>Tax software tells you what already happened. The harder question is how to manage exposure and diversify going forward, without turning your trading life into a second\u00a0job.<\/p>\n<p>That is the gap tools like <a href=\"https:\/\/hyperlyx.co\/\"><strong>Hyperlyx AI<\/strong><\/a> aim to fill. Hyperlyx AI is an investment assistant built to help investors and traders run crypto and stock strategies on automation, so they can spread risk across asset classes and keep exposure in\u00a0check.<\/p>\n<p>As AI agents increasingly ask for access to bank accounts and wallets, security concerns are growing, and for good reason. <a href=\"https:\/\/hyperlyx.co\/plan\">Hyperlyx AI<\/a> takes a different approach: it works independently, <strong>without requiring you to connect your wallets or bank accounts<\/strong>. You keep custody of your funds and your\u00a0keys.<\/p>\n<p>A practical way to think about it: let a tax tool document the past, and let an assistant like Hyperlyx AI help you structure the future. Either way, remember that automated trading still creates taxable events, so the record-keeping habits in this article apply no matter how your trades are\u00a0placed.<\/p>\n<h3><strong>Frequently Asked Questions<\/strong><\/h3>\n<h4><strong>How is crypto taxed in the\u00a0US?<\/strong><\/h4>\n<p>The IRS treats cryptocurrency as property. Selling, swapping, or spending it creates a capital gain or loss equal to your proceeds minus your cost basis. Gains on assets held one year or less are taxed as ordinary income, and gains on assets held longer are taxed at lower long-term rates.<\/p>\n<h4><strong>How does crypto tax software calculate capital\u00a0gains?<\/strong><\/h4>\n<p>It imports your transactions, classifies each one, prices it in USD, builds cost basis lots from your purchases, matches each sale to a lot using your chosen method, and labels the result short-term or long-term. It then produces Form 8949 and Schedule\u00a0D.<\/p>\n<h4><strong>Do I owe tax if I only swap one crypto for\u00a0another?<\/strong><\/h4>\n<p>Yes, generally. A crypto-to-crypto swap is treated as selling the first asset and buying the second, so it can trigger a taxable gain or\u00a0loss.<\/p>\n<h4><strong>Is moving crypto between my own wallets\u00a0taxable?<\/strong><\/h4>\n<p>No, a transfer between wallets you own is not a taxable sale. It must be recorded correctly, though, because wallet-by-wallet tracking now determines which cost basis lots are available.<\/p>\n<h4><strong>What if my Form 1099-DA shows no cost\u00a0basis?<\/strong><\/h4>\n<p>That is common, especially for 2025 transactions and for assets transferred in from elsewhere. You can report your own cost basis on Form 8949, provided you keep records that support\u00a0it.<\/p>\n<h4><strong>Can I deduct crypto\u00a0losses?<\/strong><\/h4>\n<p>Yes. Capital losses first offset capital gains. If losses exceed gains, generally up to $3,000 can offset other income each year, with the remainder carried forward. Rules for specific situations, such as wash sales, have been evolving, so confirm the current treatment for your tax\u00a0year.<\/p>\n<h4><strong>Which cost basis method is\u00a0best?<\/strong><\/h4>\n<p>There is no universal answer. FIFO is simple and the default, while specific identification (including HIFO) can lower your current-year tax but requires careful documentation. The right choice depends on your income, holding periods, and\u00a0records.<\/p>\n<h3><strong>The Bottom\u00a0Line<\/strong><\/h3>\n<p>Crypto taxes are no longer a guessing game, and the IRS is no longer working blind. Understanding how crypto tax software calculates capital gains turns your tax report from a mystery into something you can verify: proceeds minus basis, matched lot by lot, wallet by wallet, labeled by holding\u00a0period.<\/p>\n<p>The investors who come out ahead are not the ones with the fanciest tools. They are the ones who keep clean records, understand the method behind the math, and review their numbers before the deadline, not\u00a0after.<\/p>\n<p><strong>If this saved you from a tax headache, please give it a clap and repost it.<\/strong> Someone in your network is sitting on a Form 1099-DA right now, wondering why the numbers look wrong. Sharing this takes five seconds and might save them hundreds of dollars. Follow for more guides on crypto, taxes, and smarter investing.<\/p>\n<p><a href=\"https:\/\/medium.com\/coinmonks\/how-crypto-tax-software-calculates-capital-gains-8849da63130a\">How Crypto Gains Are Calculated for US Tax Filers<\/a> was originally published in <a href=\"https:\/\/medium.com\/coinmonks\">Coinmonks<\/a> on Medium, where people are continuing the conversation by highlighting and responding to this story.<\/p>","protected":false},"excerpt":{"rendered":"<p>The IRS now gets a form from your exchange. Here is exactly how crypto tax software calculates capital gains, so the number on your return is the number you actually\u00a0owe. How Crypto Gains Are Calculated for US Tax\u00a0Filers The IRS now knows you sold that Bitcoin. Do you know what you\u00a0made? For years, crypto taxes [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":249760,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-249759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-interesting"],"_links":{"self":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/249759"}],"collection":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249759"}],"version-history":[{"count":0,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/249759\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/media\/249760"}],"wp:attachment":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}