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:
- Every claim, harvest, or reinvestment costs gas, which can be $5-50 depending on network congestion.
- Token emissions are often paid in the protocol’s own governance token, which may lose value faster than it accrues.
- The underlying assets in the pool can move against each other, causing impermanent loss.
- The pool itself may charge entry, exit, or performance fees that are deducted from your deposit.
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:
- Find the pool's fee tier (e.g., 0.05%, 0.30%, 1.00%).
- Estimate your share of total liquidity in your price range.
- Multiply (daily volume) × (fee tier) × (your share) to get daily fee income.
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:
- Gas fees: Each harvest or reinvest transaction. If gas is $10 and you harvest daily, that’s $300 per month.
- Deposit and withdrawal fees: Some pools charge 0.1-1% on entry or exit.
- Performance fees: Vaults or yield aggregators often take 10-20% of profits.
- Spread and slippage: When you add or remove liquidity, the price may move against you.
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:
- Find the protocol’s annual inflation rate (from tokenomics docs or on-chain data).
- Divide your emission yield by (1 + inflation rate). If inflation is 50%, your real emission yield is two-thirds of the stated amount.
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:
- Impermanent loss ≈ 2 × sqrt(price ratio) / (1 + price ratio) - 1
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:
- If you harvest and reinvest daily, use the formula (1 + daily net rate)^365 - 1.
- If you harvest weekly, use (1 + weekly net rate)^52 - 1.
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:
- Record your deposit date and amount.
- Track every harvest, reinvestment, and withdrawal transaction.
- At withdrawal, subtract all costs from your final balance.
- 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.