โ‚ฟ Crypto P&L ๐Ÿ“Š DCA Cost Basis โš–๏ธ FIFO/LIFO/HIFO ๐Ÿ’ฐ Short vs Long-Term Tax โšก Leverage P&L ๐ŸŽฏ Stop-Loss/Take-Profit ๐Ÿ“„ PDF Report

๐Ÿ‡บ๐Ÿ‡ธ Crypto Profit & Loss Calculator: P&L, IRS Taxes & DCA (2026)

Realized Profit & Loss (P&L) ยท DCA Weighted Average Cost Basis ยท FIFO/LIFO/HIFO IRS Tax Lot Accounting ยท Short vs. Long-Term Capital Gains Tax Rates ยท Margin & Leverage Liquidation P&L ยท Multi-Asset Crypto Portfolio Tracker ยท Break-Even Price & ROI ยท Stop-Loss Risk/Reward (R/R) Ratio ยท Crypto Exchange Maker/Taker Fees ยท CPA-Ready PDF Tax Reports

โ‚ฟ Trade Details
$
$
%
%
๐Ÿ“Š DCA Multi-Buy Tracker UNIQUE
Enter each buy separately to compute your weighted average cost basis โ€” the true break-even price for your DCA strategy.
$
$
$
$
โš–๏ธ FIFO / LIFO / HIFO Comparison UNIQUE
2025 IRS rule: per-wallet cost basis tracking required. Choose the method that minimizes your tax bill.
$
๐Ÿ’ฐ Short vs. Long-Term Tax Analyzer UNIQUE
$
$
%
๐Ÿ—‚๏ธ Multi-Coin Portfolio Dashboard UNIQUE
BTC
$
$
ETH
$
$
SOL
$
$
โšก Leverage / Margin P&L UNIQUE
โš ๏ธ Leveraged trading carries extreme risk. A position can be fully liquidated. Use this calculator to understand your exact exposure BEFORE entering a trade.
$
$
$
%
๐ŸŽฏ Break-Even + Target Price Solver
$
%
%
๐ŸŽฏ Stop-Loss / Take-Profit Risk/Reward Planner UNIQUE
$
$
$
$
$
๐Ÿ’ฑ Exchange Fee Comparison UNIQUE
$
๐Ÿ“„ PDF Trade Report Generator
2025 IRS crypto rules: per-wallet cost basis tracking required per IRS.gov Digital Assets. This calculator is for estimation purposes only โ€” not tax advice. Consult a licensed CPA for crypto tax filing.
โ‚ฟ

Interactive Crypto Calculator Modules (How It Works)

A complete guide to all 5 modules โ€” inputs, formulas, and how to read every result

โ‚ฟ Real-Time P&L ๐Ÿ“Š DCA ยท FIFO/LIFO/HIFO ๐Ÿ’ฐ IRS Tax Rules โšก Leverage Engine ๐ŸŽฏ Risk/Reward ยท Fees ยท PDF
โ‚ฟ
What it calculates Profit/Loss, ROI, DCA weighted cost basis, FIFO/LIFO/HIFO tax, short/long-term capital gains, leverage liquidation, break-even, stop-loss R/R, exchange fees
๐Ÿ“‹
Tax standard used 2026 IRS rules โ€” per-wallet cost basis tracking, short-term (<1yr) vs. long-term (>1yr) capital gains rates, net investment income tax
โšก
No data required No sign-up, no live price feed โ€” enter your own buy/sell prices, quantities, fees, and dates for instant precise results
โ‚ฟ

Tab 1 โ€” Single Trade Crypto P&L & ROI Calculator

Core Module
๐Ÿ“ฅ What to Enter

This tab calculates your exact profit or loss on any single crypto trade โ€” accounting for buy fees, sell fees, and the tax classification based on your holding period.

1
Select Cryptocurrency & Quantity

Choose from BTC, ETH, SOL, BNB, XRP, ADA, DOGE, AVAX, DOT, MATIC, LINK, or enter a custom coin. Enter the number of coins/tokens purchased (supports decimals โ€” e.g. 0.00345 BTC).

2
Enter Buy & Sell Prices

Enter the price per coin at time of purchase and the current or target sell price. These are per-unit USD prices โ€” the calculator multiplies by quantity automatically.

3
Add Exchange Fees (Buy & Sell %)

Enter the exchange trading fee percentage for both buy and sell sides (e.g., Coinbase 0.6%, Binance 0.1%, Kraken 0.26%). Fees are applied to the total trade value โ€” they directly raise your break-even price and reduce net profit.

4
Set Buy & Sell Dates (for Tax Classification)

Enter the purchase date and sale/current date. The calculator computes holding period in days. If held >365 days โ†’ Long-Term Capital Gains (0%, 15%, or 20%). If โ‰ค365 days โ†’ Short-Term (ordinary income rates up to 37%).

โ‚ฟ P&L Formulas
Cost Basis = (Buy Price ร— Qty) ร— (1 + Buy Fee%)
Exit Value = (Sell Price ร— Qty) ร— (1 โˆ’ Sell Fee%)
P&L = Exit Value โˆ’ Cost Basis
ROI = (P&L / Cost Basis) ร— 100%
Break-Even = Cost Basis / (Qty ร— (1 โˆ’ Sell Fee%))
Break-Even Price is the minimum sell price at which you neither profit nor lose after all fees are deducted. It is always higher than your buy price when fees are non-zero.
๐Ÿ“Š How to Read the Results
Profit / Loss Hero Card
Shows total net P&L in dollars. Green gradient = profit, red gradient = loss. The subtitle shows percentage ROI and tax classification (Short-Term / Long-Term).
Cost Basis & Exit Value
Cost Basis = total invested including buy fee. Exit Value = sale proceeds after sell fee. P&L = the difference. Both are gross of tax.
Break-Even Price
The exact per-coin price you must sell at to recover your full investment including all fees. Shown in the orange .ri.cr card โ€” always higher than buy price.
Target Price Table
Shows 7 profit target rows: +25%, +50%, +100%, +150%, +200%, +300%, +500% โ€” with the exact sell price and total profit needed to hit each target.
Tax Classification Alert
Below results, a colored alert box shows whether your gain is Short-Term (red โ€” taxed as ordinary income) or Long-Term (green โ€” preferential 0/15/20% rates). Holding period in days is displayed.
P&L Breakdown Chart
Horizontal bar chart showing Cost Basis vs. Exit Value vs. Fees as proportional segments โ€” visually shows how much of your gross return is consumed by fees.
โš ๏ธ Fee Impact: On a 0.6% buy + 0.6% sell fee structure, a $10,000 trade loses $120 to fees before any market movement. For high-frequency traders, fee optimization via Tab 5 can recover significant profit.
๐Ÿ“Š

Tab 2 โ€” DCA Weighted Average & IRS Cost Basis (FIFO/HIFO)

Tax Strategy
๐Ÿ“ฅ What to Enter

Two tools in one tab: a Dollar-Cost Averaging tracker that computes your weighted average cost basis across multiple purchases, and a FIFO/LIFO/HIFO cost basis comparison for tax optimization.

1
DCA: Enter Multiple Buy Lots

Click “+ Add Buy Lot” to add as many purchase entries as needed. Each lot has: Quantity (coins), Buy Price ($), Fee (%), and Buy Date. The calculator supports unlimited lots โ€” model your entire DCA history.

2
Enter Current Market Price & Sell Fee

Input today’s market price and your exchange’s sell fee %. The calculator computes weighted average cost, total invested, current portfolio value, unrealized P&L, and break-even price across all lots combined.

3
FIFO/LIFO/HIFO: Enter Separate Lots

In the lower card, enter each buy lot with quantity, price, date, and fee. Enter the sell quantity and sell price. The calculator shows the P&L and tax liability under all three IRS-recognized accounting methods side-by-side.

4
Read the Cost Basis Comparison Table

The results table shows Proceeds, Cost Basis, Gain/Loss, and Tax Owed columns for FIFO, LIFO, and HIFO. The row with the lowest tax is highlighted in green โ€” this is your optimal method for this specific sale.

๐Ÿ“Š DCA & Cost Basis Formulas
Weighted Avg Cost = ฮฃ(Price_i ร— Qty_i) / ฮฃ(Qty_i)
Total Invested = ฮฃ(Price_i ร— Qty_i ร— (1 + Fee_i%))
Unrealized P&L = (Current Price โˆ’ Avg Cost) ร— Total Qty
FIFO = sell oldest lots first (lowest cost basis in bull market)
LIFO = sell newest lots first (highest cost, lowest gain)
HIFO = sell highest-cost lots first (minimizes taxable gain)
๐Ÿ’ก IRS Note (2025โ€“2026): Per-wallet cost basis tracking is required. You must specifically identify which lots you are selling. HIFO is legal but requires adequate documentation. Consult a crypto CPA. Source: IRS.gov โ€” Digital Assets
๐Ÿ“Š How to Read the Results
DCA Results Hero
Shows Weighted Average Cost (your true DCA price), Total Coins Held, Total Invested, and Current Portfolio Value. The hero card turns green if current price is above your average cost, red if below.
Lot-by-Lot Breakdown Chart
Bar chart showing each buy lot’s price relative to the weighted average line. Bars below the average line = lots that are “underwater.” Visual confirmation of how your DCA strategy is performing.
FIFO / LIFO / HIFO Comparison Table
Three columns showing for each method: Proceeds (same for all), Cost Basis (varies by method), Gain/Loss, and Estimated Tax Owed. The lowest-tax method row is highlighted with a green โœ… badge.
Tax Savings Highlighted
The difference in tax between the worst and best method is shown as a “Tax Savings” figure. In bull markets with multiple lots at different prices, HIFO consistently produces the lowest tax bill.
โœ… Pro Tip: In a rising market where you bought at multiple prices, HIFO almost always produces the lowest taxable gain by selling your most expensive lots first โ€” minimizing the spread between sale price and cost basis.
๐Ÿ’ฐ

Tab 3 โ€” US Capital Gains Tax Analyzer (Short vs. Long-Term)

IRS 2026 Rules
๐Ÿ“ฅ What to Enter

Two modules: a full crypto capital gains tax calculator applying 2026 IRS rates, and a multi-coin portfolio tracker computing overall P&L and asset allocation.

1
Tax: Enter Trade Details & Filing Status

Enter Buy Price, Sell Price, Quantity, fees, buy date, sell date, and your 2026 filing status (Single, Married Filing Jointly, Married Filing Separately, Head of Household). The calculator applies the correct short-term or long-term rate for your income bracket.

2
Enter Annual Income for Tax Bracket

Input your total annual income (excluding crypto gains). This determines your marginal federal income tax rate for short-term gains and your long-term capital gains rate (0%, 15%, or 20%). The 3.8% Net Investment Income Tax (NIIT) applies above $200K single / $250K joint.

3
Portfolio: Add Multiple Coins

Click “+ Add Coin” to build your portfolio. Enter each coin’s name/symbol, quantity held, average buy price, and current price. The tracker computes P&L, ROI, and portfolio weight for each position and the total portfolio.

4
Read Portfolio Allocation Pie Chart

The doughnut chart shows each coin’s share of total portfolio value. Positions are color-coded green (profit) or red (loss) in the coin rows below the chart.

๐Ÿ’ฐ IRS 2026 Capital Gains Tax Rates
Short-Term (<1yr) = Ordinary income tax rate (10%โ€“37%)
Long-Term (โ‰ฅ1yr) = 0% / 15% / 20% (by income bracket)
NIIT Surcharge = +3.8% if income > $200K (single) / $250K (MFJ)
Net After-Tax P&L = Gross Gain โˆ’ Estimated Tax
IRS treats crypto as property (Rev. Rul. 2023-14, Notice 2014-21). Every sale, trade, or exchange is a taxable event. Staking rewards and airdrops are ordinary income at receipt FMV. Source: IRS Digital Assets
๐Ÿ“Š How to Read the Results
Short-Term Tax Estimate
Displayed in a red .ri.lo card. Shows estimated federal tax owed if the gain is short-term. This is the worst-case scenario โ€” taxed at your ordinary income marginal rate.
Long-Term Tax Estimate
Displayed in a green .ri.hi card. Shows estimated federal tax at the preferential long-term rate. The difference vs. short-term tax shows exactly how much you save by holding 1+ year.
Holding Strategy Alert
If your holding period is between 300โ€“365 days, a gold warning box shows exactly how many days remain to achieve long-term status and the estimated dollar savings from waiting.
Portfolio Summary
Shows Total Invested, Current Value, Total P&L ($), and Total ROI (%). Each coin row has a green profit badge or red loss badge. The allocation doughnut chart visualizes position sizing.
Net After-Tax P&L
The bottom-line figure: gross gain minus estimated federal tax. This is your true take-home profit. Note: state taxes (CA up to 13.3%, NY up to 10.9%) are not included โ€” add them separately.
๐Ÿšจ Reminder: Crypto-to-crypto trades (e.g., swapping BTC for ETH) are taxable events under IRS rules โ€” even without converting to USD. Each swap triggers a capital gain or loss on the asset disposed of.
โšก

Tab 4 โ€” Margin & Leverage P&L: Liquidation Price Engine

High Risk
๐Ÿ“ฅ What to Enter

This tab calculates profit/loss on leveraged/margin crypto positions, including the exact liquidation price, funding rate cost, and a full risk assessment for any leverage ratio.

1
Enter Position Size & Leverage Ratio

Enter your account collateral (margin/capital in $), leverage multiplier (1xโ€“125x), and position direction (Long or Short). Position size = Collateral ร— Leverage. Be aware: higher leverage โ†’ liquidation price is closer to entry.

2
Set Entry Price & Target/Stop Prices

Enter entry price, target exit price, and stop-loss price. The calculator computes leveraged P&L at each price point and plots them in the scenario chart.

3
Add Funding Rate & Exchange Fee

For perpetual futures, enter the 8-hour funding rate (positive = longs pay shorts; negative = shorts pay longs). Enter the exchange taker fee %. Over multi-day holds, funding costs can significantly erode leveraged returns.

4
Read the Break-Even Module Below

The lower section calculates the spot (non-leveraged) break-even price. Enter spot buy price, quantity, buy fee %, and sell fee % to instantly see the exact minimum sell price needed to cover all costs.

โšก Leverage & Liquidation Formulas
Position Size = Collateral ร— Leverage
Leveraged P&L = (Exit โˆ’ Entry) / Entry ร— Position Size
Liq. Price (Long) = Entry ร— (1 โˆ’ 1/Leverage)
Liq. Price (Shrt) = Entry ร— (1 + 1/Leverage)
Funding Cost = Position Size ร— Rate ร— (Hours/8)
Break-Even (Spot) = Buy Price ร— (1+BuyFee%) / (1โˆ’SellFee%)
๐Ÿšจ At 10ร— leverage: A 10% adverse move wipes your entire collateral. At 20ร— leverage, just a 5% move triggers liquidation. This calculator does not provide trading advice โ€” leveraged crypto trading carries extreme risk of total loss.
๐Ÿ“Š How to Read the Results
Liquidation Price (Red Card)
Shown prominently in a red .ri.lo card. For a long position, this is the price at which your entire margin is lost and the exchange forcibly closes your position. Distance from entry to liquidation = 1/Leverage ร— 100%.
Leveraged P&L Hero
Shows gross leveraged P&L at your target price and at your stop price. The hero card turns green for profit, red for loss. Effective ROI on collateral is shown โ€” this can exceed 100% (or -100%) due to leverage.
Liquidation Distance Bar
A horizontal progress bar visualizes how far the current price is from the liquidation price as a percentage. Green = safe zone, amber = caution (<20% buffer), red = danger (<10% buffer). Updates in real-time as you adjust inputs.
Funding Rate Cost Over Time
Shows cumulative funding rate cost for 1 day, 3 days, 7 days, and 30 days at the current rate. For perpetual futures held long-term, funding costs can exceed the leveraged P&L if the rate is unfavorable.
Leverage Risk Assessment
A color-coded risk label based on leverage level: ๐ŸŸข Low (1โ€“5ร—), ๐ŸŸก Medium (6โ€“10ร—), ๐ŸŸ  High (11โ€“20ร—), ๐Ÿ”ด Extreme (>20ร—). The assessment also shows the maximum adverse % move before full liquidation.
โš ๏ธ Leverage is not taxed differently: Leveraged crypto gains are still classified as short or long-term capital gains based on position holding period. Liquidation events are taxable โ€” the loss may be deductible. Consult a crypto CPA.
๐ŸŽฏ

Tab 5 โ€” Trading Exchange Fees, Risk/Reward & PDF Export

Pro Tools
๐Ÿ“ฅ What to Enter

Three tools in one tab: a Stop-Loss & Take-Profit Risk/Reward analyzer, an exchange fee comparison across major platforms, and a professional PDF report generator for your trade records.

1
R/R Analyzer: Entry, Stop & Target

Enter your entry price, stop-loss price, and take-profit target price. The calculator computes Risk (entry to stop in $), Reward (entry to target in $), and the Risk/Reward Ratio. Professional traders target โ‰ฅ1:2 R/R minimum.

2
Set Account Size & Risk % per Trade

Enter your total trading capital and the % you’re willing to risk on this trade (standard: 1โ€“2%). The calculator tells you the exact dollar amount at risk and the position size you should trade to stay within your risk limit.

3
Fee Comparison: Enter Your Trade Size

Enter your trade amount in USD. The exchange fee comparison table automatically calculates the dollar fee charged by Binance (0.1%), Coinbase Advanced (0.6%), Kraken (0.26%), OKX (0.1%), Bybit (0.1%), and KuCoin (0.1%) for that exact trade size.

4
PDF: Enter Trade Details & Generate

Enter coin name, trade ID/TXID, analyst name, and portfolio label. Click “Generate Full P&L PDF.” The PDF pulls results from Tab 1 and the Tax module and formats them into a professional report โ€” suitable for tax records, accountants, or portfolio reviews.

๐ŸŽฏ Risk/Reward Formulas
Risk = (Entry Price โˆ’ Stop Price) ร— Qty
Reward = (Target Price โˆ’ Entry Price) ร— Qty
R/R Ratio = Reward / Risk
Position $ = (Account ร— Risk%) / (Entry โˆ’ Stop) ร— Entry
Win Rate needed to break even = 1 / (1 + R/R Ratio)
โœ… Example: With a 1:3 R/R ratio, you only need to be right 25% of the time to break even โ€” meaning 3 losses and 1 win produces net zero. At 1:2, you need a 33% win rate.
๐Ÿ“Š How to Read the Results
R/R Ratio Display
The large R/R display card shows the ratio as “1 : X.XX” โ€” green background for โ‰ฅ2 (good), gold for 1โ€“2 (acceptable), red for <1 (poor โ€” risk exceeds reward). The minimum for professional traders is 1:2.
Risk Dollar Amount & Position Size
Shows: Max Loss ($) if stop-loss is hit, Maximum Position Size in USD to stay within your risk % per trade, and Coins to Buy for that position. Prevents over-sizing a position relative to account capital.
Exchange Fee Comparison Table
Ranks 6 major exchanges by total round-trip fee (buy + sell) for your entered trade size. Green row = cheapest option. The “Annual Cost” column shows cumulative fee impact for active traders (assuming 250 trades/year).
Break-Even Win Rate
The minimum win percentage your strategy needs to be profitable over many trades. At 1:3 R/R, break-even win rate = 25%. If your historical win rate exceeds this, the strategy has positive expected value (EV > 0).
PDF Report Contents
The generated PDF includes: trade summary (coin, entry/exit, fees), P&L breakdown table, holding period & tax classification, short-term vs. long-term tax comparison, and IRS disclaimer. Saved as crypto-pl-report-2026.pdf.
๐Ÿ“‹ Fee Insight: On a $10,000 trade, Coinbase Advanced charges $60 (0.6%) vs. Binance $10 (0.1%) โ€” a $50 difference per trade. For a trader doing 250 trades/year, that’s $12,500 in additional fees annually. The fee comparison table makes this visible instantly.
๐Ÿ”ฌ
Calculation Methodology

All P&L calculations use exact decimal arithmetic. Tax rates applied per 2026 IRS brackets. FIFO/LIFO/HIFO use lot-level cost tracking per IRS per-wallet rules. Leverage liquidation formula matches exchange standard (cross-margin basis).

๐Ÿ“š
Authoritative References

Crypto tax treatment per IRS Notice 2014-21 & Rev. Rul. 2023-14. Capital gains rates per IRS Topic 409. Cost basis rules per IRS Pub 550.

โš ๏ธ
Disclaimer

For educational purposes only. Not tax, financial, or investment advice. Crypto markets are highly volatile. Leveraged trading involves risk of total loss. Consult a licensed CPA or financial advisor for personalized guidance.

๐Ÿ“Š

Real U.S. Crypto Trading Examples: Tax-Loss Harvesting to DCA

Step-by-step worked calculations using live May 2026 market prices โ€” BTC, ETH, SOL, BNB & XRP DCA strategy

โ‚ฟ Bitcoin โ—ˆ Ethereum โ—Ž Solana โฌก BNB โœ• XRP DCA
๐Ÿ“Š All examples use real market prices from Aprilโ€“May 2026 sourced from Fortune, StatMuse, and Changelly. Click “Try in Calculator” to pre-fill Tab 1 with each example’s values.
01
โ‚ฟ Bitcoin (BTC) โ€” Long-Term Holder Profit
Bought Jan 2024 ยท Sold Apr 30, 2026 ยท Coinbase (0.6% fee)
โœ… PROFIT
CoinBitcoin (BTC)
Quantity0.5 BTC
Buy Price$42,000
Sell Price$76,316
Buy Fee0.6%
Sell Fee0.6%
Buy DateJan 15, 2024
Sell DateApr 30, 2026
๐Ÿ“ Step-by-Step P&L Calculation
1Cost Basis: (0.5 ร— $42,000) ร— (1 + 0.006) = $21,000 ร— 1.006 = $21,126 total invested including Coinbase fee.
2Exit Value: (0.5 ร— $76,316) ร— (1 โˆ’ 0.006) = $38,158 ร— 0.994 = $37,929.05 after sell fee.
3Net P&L: $37,929.05 โˆ’ $21,126 = +$16,803.05 profit. ROI = $16,803.05 / $21,126 = +79.53%.
4Tax: Held 836 days > 365 โ†’ Long-Term Capital Gains. At 15% LTCG rate: estimated federal tax = $16,803.05 ร— 0.15 = $2,520.46. Net after-tax = $14,282.59.
Net Profit
+$16,803.05
+79.53% ROI ยท Long-Term (836 days) ยท Est. 15% LTCG Tax
Total Profit
+$16,803.05
After all fees
ROI
+79.53%
Break-Even Price
$42,253
After all fees
Total Fees Paid
$353.68
Buy $126 + Sell $228.95
Tax Classification
Long-Term โœ…
836 days held
Est. Federal Tax (15%)
$2,520.46
Net after-tax: $14,282
๐Ÿ’ก Key Insight: By holding 836 days (over 1 year), this investor qualifies for the 15% long-term capital gains rate instead of the 37% short-term rate โ€” saving approximately $3,696 in federal taxes on this single trade. Source: Fortune โ€” BTC Price Apr 30, 2026
02
โ—ˆ Ethereum (ETH) โ€” Short-Term Loss (Tax-Loss Harvesting)
Bought Nov 2025 ยท Sold Apr 30, 2026 ยท Kraken (0.26% fee)
๐Ÿ“‰ LOSS
CoinEthereum (ETH)
Quantity3 ETH
Buy Price$3,200
Sell Price$2,265
Buy Fee0.26%
Sell Fee0.26%
Buy DateNov 10, 2025
Sell DateApr 30, 2026
๐Ÿ“ Step-by-Step P&L Calculation
1Cost Basis: (3 ร— $3,200) ร— (1 + 0.0026) = $9,600 ร— 1.0026 = $9,624.96 total invested including Kraken fee.
2Exit Value: (3 ร— $2,265) ร— (1 โˆ’ 0.0026) = $6,795 ร— 0.9974 = $6,777.33 after sell fee.
3Net P&L: $6,777.33 โˆ’ $9,624.96 = โˆ’$2,847.63 loss. ROI = โˆ’29.59%. ETH fell from $3,200 to $2,265 โ€” a $935/coin decline.
4Tax-Loss Harvest: Held 171 days โ†’ Short-Term. The $2,847.63 realized loss can offset short-term gains from other trades, saving tax at your marginal rate (e.g., at 24%: saves $683.43 in taxes). But beware the 30-day wash-sale rule for identical securities โ€” crypto currently exempt per IRS, but DOGE Act proposed to change this.
Net Loss
โˆ’$2,847.63
โˆ’29.59% ROI ยท Short-Term (171 days) ยท Loss Offsets Other Gains
Total Loss
โˆ’$2,847.63
After all fees
ROI
โˆ’29.59%
Break-Even Price
$3,208.32
After all fees
Tax Classification
Short-Term โš ๏ธ
171 days held
Tax Savings (24%)
$683.43
Loss offsets gains
โš ๏ธ Tax-Loss Harvesting: This realized loss of $2,847.63 can be used to offset capital gains from BTC, SOL, or other profitable trades in 2026 โ€” reducing your overall tax bill. After selling, you can immediately repurchase ETH (no wash-sale rule for crypto currently). Source: Fortune โ€” ETH Price Apr 30, 2026
03
โ—Ž Solana (SOL) โ€” Short-Term Swing Trade
Bought Feb 2026 ยท Sold May 1, 2026 ยท Binance (0.1% fee)
โœ… PROFIT
CoinSolana (SOL)
Quantity50 SOL
Buy Price$68.00
Sell Price$84.59
Buy Fee0.1%
Sell Fee0.1%
Buy DateFeb 14, 2026
Sell DateMay 1, 2026
๐Ÿ“ Step-by-Step P&L Calculation
1Cost Basis: (50 ร— $68.00) ร— (1 + 0.001) = $3,400 ร— 1.001 = $3,403.40 including Binance fee.
2Exit Value: (50 ร— $84.59) ร— (1 โˆ’ 0.001) = $4,229.50 ร— 0.999 = $4,225.27 after sell fee.
3Net P&L: $4,225.27 โˆ’ $3,403.40 = +$821.87 profit. ROI = +24.15% in just 76 days โ€” Solana moved from $68 to $84.59/coin.
4Tax Warning: Held only 76 days โ†’ Short-Term Capital Gains. At a 22% marginal rate, estimated tax = $821.87 ร— 0.22 = $180.81. Net after-tax profit = $641.06. Waiting until Aug 2026 (365+ days) would qualify for 15% LTCG instead.
Net Profit
+$821.87
+24.15% ROI ยท Short-Term (76 days) ยท Est. 22% Tax = $180.81
Gross Profit
+$821.87
After all fees
ROI
+24.15%
Break-Even Price
$68.14
After all fees
Tax (22% ST)
$180.81
Short-term ordinary income
Net After-Tax
$641.06
If sold today
๐Ÿ’ก Hold vs. Sell Decision: If you wait until Aug 14, 2026 (365 days from buy), the gain qualifies for 15% LTCG (saving $57.53 at the same price). But SOL at $84.59 now vs. uncertainty later โ€” the calculator helps you model this exact tradeoff. Source: Changelly โ€” SOL Price May 1, 2026
04
โฌก BNB โ€” Break-Even Trade & Fee Impact Analysis
Bought Jan 2026 ยท Sold Apr 30, 2026 ยท OKX (0.1% fee)
๐Ÿ“‰ SMALL LOSS
CoinBNB
Quantity10 BNB
Buy Price$780
Sell Price$618.11
Buy Fee0.1%
Sell Fee0.1%
Buy DateJan 5, 2026
Sell DateApr 30, 2026
๐Ÿ“ Step-by-Step P&L Calculation
1Cost Basis: (10 ร— $780) ร— 1.001 = $7,800 ร— 1.001 = $7,807.80. BNB was at $780 in January 2026 before retreating to $618 by April.
2Exit Value: (10 ร— $618.11) ร— 0.999 = $6,181.10 ร— 0.999 = $6,174.92 after OKX sell fee.
3Net P&L: $6,174.92 โˆ’ $7,807.80 = โˆ’$1,632.88 loss. ROI = โˆ’20.91%. BNB fell $161.89/coin from January peak to April 2026.
4Break-Even Reality Check: The break-even price is $780.78 โ€” just $0.78 above the original buy price due to the low 0.1% OKX fee. This shows why choosing a low-fee exchange matters: on Coinbase (0.6%), break-even would be $789.49 โ€” requiring a $8.71 higher price just to avoid a loss.
Net Loss
โˆ’$1,632.88
โˆ’20.91% ROI ยท Short-Term (115 days) ยท Break-Even = $780.78
Total Loss
โˆ’$1,632.88
After all fees
ROI
โˆ’20.91%
Break-Even Price
$780.78
vs. $789.49 on Coinbase
OKX Fee Savings
$47.40
vs. Coinbase 0.6% round-trip
Tax Classification
Short-Term โš ๏ธ
115 days held
๐Ÿ“‹ Fee Comparison on This $7,800 Trade: OKX at 0.1% = $15.59 round-trip fees. Coinbase at 0.6% = $93.60 round-trip fees. The difference of $47.40 in fees = money you never recover regardless of price movement. Use Tab 5’s Exchange Fee Comparison for any trade size. Source: Digrin โ€” BNB April 2026
05
โœ• XRP โ€” Dollar-Cost Averaging (DCA) 3-Buy Strategy
3 separate buys Oct 2025โ€“Feb 2026 ยท Current price May 1, 2026 ยท Binance 0.1%
๐Ÿ“‰ UNDERWATER
๐Ÿ“Š 3 DCA Buy Lots (Tab 2 Input)
LotDateQty (XRP)PriceFeeTotal Cost
Lot 1 Oct 1, 2025 2,000 XRP $2.20 0.1% $4,404.40
Lot 2 Dec 15, 2025 3,000 XRP $1.50 0.1% $4,504.50
Lot 3 Feb 10, 2026 5,000 XRP $1.10 0.1% $5,505.50
TOTAL โ€” 10,000 XRP Wtd Avg: $1.44 โ€” $14,414.40
๐Ÿ“ DCA Weighted Average Calculation
1Total Invested (incl. fees): $4,404.40 + $4,504.50 + $5,505.50 = $14,414.40 across 3 lots.
2Weighted Average Cost: (2,000ร—$2.20 + 3,000ร—$1.50 + 5,000ร—$1.10) / 10,000 = ($4,400 + $4,500 + $5,500) / 10,000 = $1.44/XRP. DCA averaging worked โ€” brought the $2.20 entry down to $1.44.
3Current Portfolio Value: 10,000 ร— $1.38 ร— (1 โˆ’ 0.001) = $13,800 ร— 0.999 = $13,786.20 (current price May 1, 2026 = $1.38/XRP per Changelly).
4Unrealized P&L: $13,786.20 โˆ’ $14,414.40 = โˆ’$628.20 unrealized loss. ROI = โˆ’4.36%. Break-even = $1.443/XRP โ€” only $0.063 above current price. A small recovery to $1.45 puts this position in profit.
Unrealized P&L (Holding)
โˆ’$628.20
โˆ’4.36% ROI ยท Wtd Avg Cost $1.44 ยท Break-Even $1.443 ยท Current $1.38
Total Invested
$14,414.40
Incl. all Binance fees
Wtd Avg Cost
$1.44/XRP
DCA entry price
Unrealized Loss
โˆ’$628.20
If sold at $1.38 today
Break-Even Price
$1.443/XRP
Need +$0.063 from here
Portfolio Value
$13,786.20
At current $1.38
๐Ÿ’ก DCA Power: If this investor had put all $14,414 into XRP at the first buy price of $2.20, they’d own only 6,551 XRP at a cost of $2.20/coin โ€” a loss of $5,368 vs. the DCA’s loss of only $628. DCA reduced the loss by $4,740 by averaging down through the 2025โ€“2026 correction. Source: Changelly โ€” XRP May 1, 2026 = $1.37โ€“$1.39
๐Ÿ“Š Side-by-Side Summary โ€” May 2026
Example Coin Buy Price Sell Price Net P&L ROI Tax Type Est. Tax
01 โ‚ฟ BTC $42,000 $76,316 +$16,803 +79.53% Long-Term โœ… $2,520 (15%)
02 โ—ˆ ETH $3,200 $2,265 โˆ’$2,848 โˆ’29.59% Short-Term โš ๏ธ โˆ’$683 saved
03 โ—Ž SOL $68.00 $84.59 +$822 +24.15% Short-Term โš ๏ธ $181 (22%)
04 โฌก BNB $780 $618.11 โˆ’$1,633 โˆ’20.91% Short-Term โš ๏ธ โˆ’$359 saved
05 โœ• XRP DCA $1.44 avg $1.38 โˆ’$628 โˆ’4.36% Unrealized None yet
โœ… Best performer: BTC long-term hold (+79.53%). Tax-loss harvesting on ETH and BNB losses offsets BTC and SOL gains. Data: Fortune ยท StatMuse ยท Changelly ยท Digrin ยท Aprilโ€“May 2026.
๐ŸŽ“

5 Expert Strategies to Maximize After-Tax Crypto Profits

Advanced strategies used by institutional crypto traders, certified crypto CPAs, and portfolio managers โ€” applied directly to this calculator

โšก Expert Level ๐Ÿ“‹ IRS 2026 Rules ๐Ÿ’ผ Institutional Practice
01
Harvest Crypto Losses to Offset Your Winning Trades โ€” Tax-Free
The most powerful and underused strategy for active crypto investors in 2026
๐Ÿ’ฐ Tax Strategy โ–ฒ

Unlike stocks, crypto has no wash-sale rule (as of 2026) โ€” meaning you can sell a losing position, realize the loss for tax purposes, and immediately rebuy the same coin the next second. This makes crypto tax-loss harvesting more powerful than in any other asset class.

๐Ÿ“Œ Real 2026 Scenario
โŒ Without Harvesting
BTC Gain taxed
$16,803
22% ST tax = $3,697 owed
โœ… With ETH Loss Harvest
Net taxable gain
$13,955
ETH loss $2,848 offsets BTC gain

By realizing the ETH loss of $2,847.63 in the same tax year as the BTC gain of $16,803, the net taxable gain falls to $13,955. At 22% short-term rate: tax saved = $626.49. After immediately rebuying ETH, you still hold the position โ€” with a new, lower cost basis.

โš ๏ธ 2026 Legislative Watch

The proposed Digital Asset Anti-Money Laundering Act and several Congressional bills may extend wash-sale rules to crypto. Harvest losses aggressively in 2026 while the window remains open. Consult a crypto CPA before year-end. Source: IRS.gov โ€” Digital Assets

โšก How to Apply in This Calculator
1Run every loss trade through Tab 1 (P&L Calculator) to get the exact realized loss amount after fees โ€” this is the figure you report to the IRS.
2Use Tab 3 (Tax Analyzer) to model the tax savings at your marginal rate. Enter your annual income to see the exact dollar benefit of the realized loss.
3The Tax Classification alert in Tab 1 results shows whether a loss is short-term (offsets ST gains at your full marginal rate) or long-term (only offsets LT gains at the lower rate).
4Stack harvested losses throughout the year โ€” set a calendar reminder each quarter to review underwater positions and consider harvesting before Dec 31.
๐Ÿ“ Tax Offset Rules (IRS 2026)
โœ…
Short-term losses first offset short-term gains (taxed at 10โ€“37%). Remaining losses then offset long-term gains.
โš–๏ธ
Long-term losses first offset long-term gains (0โ€“20%). Remaining losses then offset short-term gains.
โš ๏ธ
Net capital loss of up to $3,000/year can offset ordinary income. Excess carries forward to future years indefinitely.

Most retail crypto investors use FIFO (First-In, First-Out) by default โ€” it’s the IRS default if you don’t specifically identify lots. In a bull market where you bought at progressively lower prices over time, FIFO sells your cheapest lots first, maximizing your taxable gain. HIFO (Highest-In, First-Out) is almost always the optimal strategy.

๐Ÿ“Œ BTC Lots โ€” Same Sale, 3 Different Tax Bills

You own 3 BTC lots (bought at $30K, $50K, $70K). You sell 1 BTC at $76,316.

FIFO
Sells $30K lot
Gain: $46,316
Tax (22%): $10,189
LIFO
Sells $70K lot
Gain: $6,316
Tax (22%): $1,390
HIFO โœ…
Sells $70K lot
Gain: $6,316
Tax (22%): $1,390

HIFO saves $8,799 in taxes vs. FIFO on this single sale. HIFO and LIFO are identical here (same highest lot), but HIFO is always guaranteed to produce the lowest tax โ€” LIFO only works if newest = highest price, which isn’t always true in DCA strategies.

โš ๏ธ Documentation Required: To use HIFO or specific lot identification, you must maintain records of each lot โ€” exchange, date, price, quantity. The IRS requires you to specifically identify which lots you’re selling at the time of sale. Keep CSV exports from every exchange as proof.
โšก How to Apply in This Calculator
1Go to Tab 2 โ€” DCA + FIFO/LIFO/HIFO. Enter all your buy lots for a coin with date, quantity, price, and fee.
2Enter your sell quantity and sell price. Click “Calculate Cost Basis.” The comparison table shows your exact tax bill under FIFO, LIFO, and HIFO side-by-side.
3The green โœ… row automatically highlights the method with the lowest tax owed โ€” that is your optimal strategy for this sale.
4Before any large sale, always run this comparison first. The savings scale dramatically on large positions โ€” $8,799 saved on a single BTC sale in the example above.
๐Ÿ“ When Each Method Wins
HIFO โ†’ Best in bull markets (highest cost = lowest gain)
LIFO โ†’ Best if newest lots are highest cost
FIFO โ†’ Best in bear markets (oldest = cheapest = bigger loss)
SPEC โ†’ Specific ID: manually pick any lot you want

Dollar-Cost Averaging (DCA) is misunderstood by most retail investors as a “buying strategy.” It is fundamentally a risk management technique that eliminates the single largest source of retail crypto losses: attempting to time the market. No professional trader consistently times the bottom โ€” DCA removes the need to.

๐Ÿ“Œ Lump Sum vs. DCA โ€” XRP 2026
โŒ Lump Sum at $2.20
6,551 XRP at $1.38
โˆ’$5,368
All-in Oct 2025 = disaster
โœ… DCA 3 Buys
10,000 XRP at $1.44 avg
โˆ’$628
Saves $4,740 vs lump sum

The DCA approach produced $4,740 better outcome than the lump-sum entry because it captured lower prices at $1.50 and $1.10 as XRP corrected. The weighted average of $1.44 is far closer to the break-even point โ€” only a 4.36% gain needed to profit vs. 59.4% gain needed from the $2.20 lump-sum entry.

๐Ÿฆ Institutional DCA Principle

Hedge funds and institutional crypto desks use TWAP (Time-Weighted Average Price) and VWAP (Volume-Weighted Average Price) execution algorithms โ€” the institutional equivalent of DCA. They never enter full positions at once. The retail equivalent is a structured DCA schedule: fixed dollar amount, fixed interval (weekly/monthly), regardless of price.

โšก How to Apply in This Calculator
1Go to Tab 2 โ€” DCA Multi-Buy Tracker. Add each buy separately โ€” one lot per week or month of your DCA schedule.
2Enter current market price. The Weighted Average Cost result is your true DCA break-even price โ€” the only price that matters for profitability.
3The bar chart shows each lot’s price relative to the weighted average line โ€” lots below the line are dragging your average down (good when price was falling, bad when rising).
4Model future DCA buys by adding “Lot X” at current price โ€” instantly see how one more buy at today’s price changes your average cost and break-even.
๐Ÿ“ DCA Optimization Rules
โœ…
Fixed interval, fixed dollar: $500/week regardless of price โ€” removes emotion, captures all price levels proportionally.
โšก
Dip-weighted DCA: Increase buy size on drops >15% โ€” the weighted average falls faster, reducing break-even price.
โš ๏ธ
Never average into a broken coin: DCA works for blue-chip crypto (BTC, ETH). Do not DCA into fundamentally damaged projects โ€” it just increases your loss.

Crypto is the most volatile major asset class โ€” BTC regularly moves 10โ€“20% in a single day, and altcoins can drop 30โ€“50% within hours. High leverage in a volatile market is mathematically near-certain to eventually result in liquidation. Professional crypto traders use maximum 2โ€“3ร— leverage even for high-conviction setups.

๐Ÿ“Œ Liquidation Distance by Leverage Level
LeverageMove to Liq.BTC @ $76K needs to drop toRisk Level
2ร—โˆ’50%$38,000๐ŸŸข Low
3ร—โˆ’33%$50,987๐ŸŸข Moderate
5ร—โˆ’20%$61,053๐ŸŸก High
10ร—โˆ’10%$68,684๐Ÿ”ด Extreme
20ร—โˆ’5%$72,500๐Ÿ”ด Suicidal
50ร—โˆ’2%$74,787๐Ÿ’€ Certain Loss

At 10ร— leverage, a normal BTC 10% candle wicks you to liquidation โ€” these happen regularly. At 50ร—, a 2% move against you equals total loss of margin. BTC dropped 8.7% in one hour on April 7, 2026 per StatMuse data โ€” wiping 10ร— longs in minutes.

โšก How to Apply in This Calculator
1Go to Tab 4 โ€” Leverage P&L. Before entering any leveraged position, input your leverage ratio and entry price โ€” read the Liquidation Price (red card) first.
2Check the Liquidation Distance Bar. If the current price is within 15% of liquidation, reduce your leverage or add collateral.
3Use the Risk Assessment card to verify your leverage level is Green or Yellow before entering. Never enter at Red/Extreme leverage levels without a clear and defined exit plan.
4Model the Funding Rate Cost before multi-day holds โ€” at 0.03% per 8h (typical BTC perp), a 30-day hold at 10ร— costs 2.7% of position size in funding alone.
๐Ÿšจ The 1% Rule: Never risk more than 1โ€“2% of your total trading capital on a single leveraged trade. Use Tab 5’s R/R Analyzer + position sizing tool to calculate the exact position size that limits your risk to your 1% threshold โ€” regardless of leverage level. A $50,000 account should never have more than $500โ€“$1,000 at risk per trade.
โšก Safe Leverage Formula
Max Leverage = 1 / (Max tolerable loss % ร— 2)
Example: 10% tolerable loss = 1/(0.10ร—2) = 5ร— max
Position $ = (Account ร— Risk%) / (Entry โˆ’ Stop) ร— Entry

Unlike gains and losses โ€” which depend on price movements you cannot control โ€” exchange fees are a guaranteed, certain, avoidable cost. Every percentage point in fees is a permanent drag on your P&L that compounds across every trade, every year. Professional traders treat fee optimization as the first step in any strategy, not an afterthought.

๐Ÿ“Œ Annual Fee Drag: 250 Trades at $10,000 Each
Exchange Taker Fee Per $10K Trade Annual (250 trades)
Coinbase Adv. 0.60% $120.00 $30,000
Kraken 0.26% $52.00 $13,000
Binance 0.10% $20.00 $5,000 โœ…
OKX / Bybit / KuCoin 0.10% $20.00 $5,000 โœ…

Switching from Coinbase (0.6%) to Binance (0.1%) on 250 trades/year at $10,000 each saves $25,000 annually โ€” guaranteed, regardless of market direction. That is $25,000 in certain profit, not dependent on price prediction.

โšก How to Apply in This Calculator
1Go to Tab 5 โ€” Exchange Fee Comparison. Enter your typical trade size in USD โ€” the table instantly computes the exact dollar fee on Binance, Coinbase, Kraken, OKX, Bybit, and KuCoin.
2Read the Annual Cost column โ€” this is the compounded annual drag of your current exchange. If that number shocks you, it should. Switch to a lower-fee platform immediately.
3In Tab 1 P&L Calculator, always enter your actual buy and sell fee %. See the Total Fees Paid result card โ€” most investors are surprised by how much fees consume on small-margin trades.
4Maker vs. Taker: Use limit orders (maker) instead of market orders (taker). Most exchanges charge 0.02โ€“0.05% for makers vs. 0.10% for takers โ€” saving 50โ€“80% on fees by being patient with order entry.
๐Ÿ“ Fee Reduction Tactics
โœ…
Hold exchange native tokens: BNB on Binance gives 25% fee discount. OKB on OKX gives similar discounts. Holding these directly reduces your taker fee.
๐Ÿ’ก
VIP tier trading: Most exchanges drop fees significantly for high-volume traders โ€” Binance drops to 0.02% taker at VIP 5 (>$20M monthly volume).
โš ๏ธ
Hidden fees to watch: Withdrawal fees, deposit fees, spread on instant buy features, and conversion fees between stablecoins โ€” all erode P&L and are not captured in the taker rate alone.
โœ… Break-Even Price Reality Check: Every fee you pay raises your break-even price. On a $10,000 BTC trade at 0.6% buy + 0.6% sell, your break-even is 1.2% above your buy price before the trade even starts. Switching to 0.1% fees means your break-even is only 0.2% above buy price โ€” a 6ร— improvement in starting position.
Ready to put these strategies into practice? Tab 1 for P&L ยท Tab 2 for DCA + HIFO ยท Tab 3 for Tax optimizer ยท Tab 4 for Leverage risk ยท Tab 5 for Fee comparison + R/R
โ“

Crypto P&L FAQs: IRS Taxes, Capital Gains & Leverage

25 most-searched questions about crypto profit/loss, taxes, DCA, FIFO/HIFO, leverage & fees โ€” answered with IRS-verified sources

25 Questions IRS 2026 Rules Google Rich Results
25 questions ยท FAQ schema enabled for Google rich results