PennyCompass

DeFi Yield Tax Calculator

Free DeFi yield tax calculator. Compute ordinary-income tax on interest from lending (Aave, Compound), LP fees, and yield-farming rewards.

Published

Estimate tax on DeFi yield (lending, LP, farming), treated as ordinary income at receipt.

Total tax owed

Total DeFi income

Your breakdown

Updates live as you type
Yield source Value at receipt

DeFi yield is income the day it lands, not the day you cash out

The protocols feel like a savings account, but the tax treatment is closer to a paycheck. When you earn lending interest on Aave or Compound, collect trading fees as a liquidity provider, or harvest governance tokens from a yield farm, the IRS generally treats the value received as ordinary income at its fair market value on the date you gain control of it. That mirrors the staking-rewards position the IRS set out in Revenue Ruling 2023-14, where rewards are income upon receipt. This calculator sums those receipts and applies your marginal rate to estimate the income tax owed.

The crucial word is ordinary. Unlike a long-term capital gain, DeFi yield does not get the preferential 0%, 15%, or 20% rate. It is taxed alongside your wages at rates that climb to 37% federally for 2026. A trader in the 24% bracket who pulls $10,000 of farming rewards owes the same kind of tax as if they had earned an extra $10,000 of salary.

Three income streams, one ordinary-rate bill

The tool adds your lending interest, LP fees, and farming rewards into a single income figure and multiplies by your marginal rate. The streams are treated identically for income purposes even though they come from very different mechanics under the hood.

A $10,000 yield year at a 32% rate

Take an investor in the 32% bracket who, over the year, receives $3,000 of interest from lending stablecoins, $2,000 of fees as a liquidity provider, and $5,000 of farming rewards. The calculation rolls up like this.

The $10,000 splits into three slices that each contribute to one $3,200 income-tax bill. The wedges below show how the streams combine before the rate is applied.

The second tax event nobody plans for

Recognizing yield as income is only the first taxable event. The tokens you received now carry a cost basis equal to that income amount, and when you later sell or swap them you trigger a separate capital gain or loss on any move in price since receipt. Receive a reward token worth $500 and sell it later for $700, and you owe income tax on the original $500 plus capital gains tax on the $200 of appreciation. The most painful version is a reward token that drops after you book it as income: you can owe tax on value that has since collapsed, with only a capital loss to soften the blow later.

A word on impermanent loss

Liquidity providers often ask whether impermanent loss reduces their taxable yield. It does not, at least not directly. The fees you earn are income when received regardless of what happens to the pool's value. Impermanent loss only becomes a deductible capital loss when you actually withdraw from the position and realize it. Until you pull your liquidity, the loss is on paper and gives you nothing on your return.

Who is this calculator for?

Active DeFi participants who need a quick read on the income-tax side of their yield before filing. It does not attempt to track per-token basis or the later capital gains, so pair it with detailed transaction records or crypto tax software for the full Schedule D and Schedule 1 picture.

How do I value rewards received in a volatile token?

Use the fair market value in US dollars at the moment of receipt, which means the date and time you gained the ability to transfer or sell the tokens. For high-frequency rewards that drip continuously, many filers reasonably use a daily closing price. Document your method and apply it consistently across the year.

Is DeFi yield subject to self-employment tax?

Generally no for a passive investor. Lending interest and LP fees from simply holding positions are investment income, not self-employment income. The line can blur if your activity rises to the level of a trade or business, for example running validator infrastructure as an enterprise. If you are operating at that scale, get advice from a CPA who works with digital assets.

Frequently asked questions

How is DeFi yield taxed?
Per IRS guidance: DeFi yield (lending interest, LP fees, farming rewards) is generally ordinary income at FMV when received. Later sale of the received tokens creates separate capital gain/loss.
What about impermanent loss?
IL is realized as capital loss when you withdraw from the LP. Until then it's unrealized. Some advanced positions create wash-sale-like issues; consult a CPA familiar with DeFi.
How is liquidity pool income taxed compared to lending interest?
Both are taxed as ordinary income at fair market value when received. Lending interest is the simpler case: each interest receipt is income at the USD value on that date, and the cost basis of the received tokens is set to that same amount. LP income carries more complexity. Entering and exiting a liquidity pool can itself be a taxable event, because the IRS may treat depositing tokens as a disposition. Impermanent loss is a realized capital loss when you exit the pool, not before, so it cannot offset the fee income you recognized along the way.
Can DeFi yield be deferred or reduced through any legal mechanism?
There is no simple deferral. Unlike stock appreciation, which is unrealized until you sell, DeFi yield is taxable when it hits your wallet regardless of whether you convert it to USD. A few strategies can reduce the net tax cost: claiming yield in a lower-income year lowers the marginal rate applied; donating appreciated crypto to a donor-advised fund gives a charitable deduction at fair market value without triggering capital gains on the appreciation; and holding yield-generating positions inside a self-directed IRA can shelter the income, though very few custodians currently support DeFi protocols. None of these eliminate the tax, and some require careful structuring, so review them with a CPA before acting.

Related calculators

Embed this calculator on your site (free)

Paste this code into your page. The calculator stays up to date automatically and links back to PennyCompass.

Calculator by PennyCompass