The Crypto Tax Calculator is a free browser-based tool that estimates US federal tax across a set of cryptocurrency disposals, one transaction row at a time. The IRS treats digital assets as property, so every sale, swap, or spend is a disposal with a gain or loss, and the holding period decides the rate. You enter the purchase price per coin, sale price per coin, quantity, fees, and holding period for each lot, plus your other annual income and filing status. The tool returns total gain or loss, the short and long-term split, the rates applied, the investment surtax where relevant, and the losses available to offset gains.
What people use it for
Reconciling a year of scattered trades
Someone who traded across two exchanges and a self-custody wallet has a spreadsheet of disposals but no sense of the resulting tax. Adding each lot as a row produces a single total, and separating short-term from long-term makes visible how much of the bill comes from impatient trading rather than from the appreciation itself, which changes next year behaviour.
Planning a tax-loss harvest in December
A holder sitting on one badly underwater position and one profitable one wants to know whether selling both in the same year cancels most of the tax. Entering the pair shows the losses figure alongside the gains and makes the offsetting concrete before any transaction is signed, while there is still time in the tax year to act.
Testing whether to hold past the one-year line
A trader bought at a low price nine months ago and is deciding whether to sell now or wait out the remaining months. Entering the same lot twice, once marked short-term and once long-term, shows the rate difference in dollars, which for a large position is frequently the single biggest lever available anywhere in the return.
Checking exposure to the investment surtax
A software engineer with a high salary and a profitable crypto year wants to know why the estimate is larger than the headline capital gains rate suggests it should be. Entering the real salary triggers the extra 3.8% surtax line, which is a common and unwelcome surprise for earners above the statutory thresholds.
Worked examples
Input: One lot: bought 0.5 BTC at $30,000 per coin, sold at $60,000, fees $100, long-term, income $80,000, single
Result: Cost basis $15,100, proceeds $29,900, gain $14,800, long-term rate 15%, tax owed $2,220. Income is below the surtax threshold so no 3.8% is added, and the fees on both sides trimmed the taxable gain by $200.
Input: Two short-term lots: 2 ETH bought at $3,000 sold at $2,000 with $50 fees, and 1 ETH bought at $1,500 sold at $3,500 with $50 fees
Result: The first lot loses $2,100 and the second gains $1,900, so net short-term is minus $200 and tax owed is $0. The harvesting figure reports $2,100, the gross loss on the losing lot rather than the $200 net, so read it as raw material.
Input: One short-term lot: 1,000 tokens bought at $0.50, sold at $1.20, fees $25, income $60,000, single
Result: Cost basis $525, proceeds $1,175, gain $650, short-term rate 22%, tax owed $143. Held past a year at the same income the long-term rate would be 15%, which would cut the tax to $97.50 on an identical trade.
Written by Ahsan Mahmood. Last updated . This calculator runs entirely in your browser and produces estimates, not tax advice.