brooder.tech

How to Calculate Real Yield After Fees, Inflation, and Token Emissions

The real yield from any DeFi position is what remains in your wallet after subtracting transaction fees, network costs, inflation from token emissions, and any losses from price movements of the assets you deposited. The number displayed as APY on a protocol's interface almost never accounts for these factors. To calculate what you actually earn, you must track each cost separately and net them against gross returns.

Why the displayed APY is misleading

Protocols advertise gross returns that assume no fees, no price changes, and no compounding costs. A typical liquidity pool might show 40% APY, but the number is calculated from trading fees plus liquidity mining rewards, expressed as if they compound continuously without friction. In practice:

Step 1: Calculate Gross Yield from Fees and Emissions

Start with the pool’s actual fee rate and your share of trading volume. For a Uniswap V3-style pool:

Add token emissions. If the protocol distributes 1000 tokens per day to all LPs and you hold 1% of the pool, you receive 10 tokens daily. Multiply by the current market price of that token.

Sum these two to get gross daily yield.

Step 2: subtract all costs

List every cost that reduces your balance:

Subtract these from gross yield. A pool showing 40% APY might net 15% after gas and fees on a small position.

Step 3: Adjust for Inflation from Token Emissions

The tokens you receive as rewards are often newly minted by the protocol. Their value depends on ongoing demand. If the protocol’s token supply inflates 50% per year and you earn tokens at the same rate, your purchasing power stays flat even if the dollar value of emissions looks high.

To adjust:

This is why high-emission farms often see token prices collapse over time. The yield you see today may be gone in three months.

Step 4: Account for Impermanent Loss

If you are providing liquidity in a volatile pair, calculate the loss from price divergence. Use the formula:

For a 50% price change in one asset, impermanent loss is about 5.6%. For a 200% change, it is about 20%. Subtract that from your net yield if you plan to withdraw after such a move.

Step 5: Convert to a Real Annual Return

After steps 1-4, you have a daily net figure. Multiply by 365 for a simple annual estimate. Then factor in compounding frequency:

The difference is significant. Daily compounding might add 0.5-2% to the annual return, but only if the gas cost of each reinvestment does not cancel the gain.

Practical Example

Suppose a USDC/ETH pool shows 35% APY. Trading volume is $10M daily, fee tier 0.30%, your share 0.5%. Gross fees = $10M × 0.003 × 0.005 = $150 daily. Token emissions give you 20 tokens at $1 each = $20 daily. Gross = $170.

Gas to harvest daily = $10. Performance fee = 10% of gross = $17. Net daily = $170 - $10 - $17 = $143. Annualized = $143 × 365 = $52,195 on a $100,000 deposit = 52.2% gross APY. But token inflation is 30% per year, so real emission value = $20 × (1/1.3) = $15.38. Adjust gross: $150 + $15.38 = $165.38. Subtract gas and fees: $165.38 - $10 - $16.54 = $138.84 daily. Annualized = 50.7%. If ETH drops 20% relative to USDC, add 5.6% impermanent loss, netting about 45% real return.

That is still high, but the assumptions (volume, your share, token price) change daily. The 35% APY label was off by a factor of 1.3.

What to track yourself

No calculator can give you a precise number because volume, fees, token prices, and gas fluctuate. The only reliable method is:

  1. Record your deposit date and amount.
  2. Track every harvest, reinvestment, and withdrawal transaction.
  3. At withdrawal, subtract all costs from your final balance.
  4. Divide by time held and annualize.

Use a spreadsheet or a tool like Zapper or DeBank to see your actual returns. The displayed APY is a starting point, not the answer.

Not financial advice. brooder.tech publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to defi yield