How to Calculate Real APY in DeFi: Beyond the Headline Number
By Jorge Rodriguez — Yield Strategies
Why DeFi headline APY is almost never what you actually earn, and the layers that eat into it
A step-by-step formula for calculating real net APY across lending, LP, and vault positions
The tools and on-chain data sources that give you accurate yield tracking without guesswork
Introduction
You saw 180% APY. You deposited. Thirty days later, your statement shows something closer to 22%. The math never added up, and nobody warned you why it would not. Knowing how to calculate real APY in DeFi is the skill that separates depositors who understand what they hold from those who learn the hard way. The **headline APY** on a protocol interface is not a yield guarantee. It is a snapshot of current reward rates, annualized under ideal conditions that rarely persist beyond the first week of a position. Between the advertised figure and what lands in your wallet sit four distinct deduction layers: fees, token emission decay, impermanent loss, and the gap between APR and APY. Each layer reduces what you actually earn. Together, they can cut a stated 85% yield to something closer to 42% in a moderately favorable scenario, and substantially lower in a poor one. This article works through every layer with concrete formulas and a step-by-step worked example, so you can calculate your **real net APY** before committing capital rather than after. The [Lince Yield Tracker](https://yields.lince.finance/tracker) pulls realized yield data from on-chain positions across protocols and chains, but the analytical framework for understanding the gap is yours to build first. This guide covers all four deduction layers with the math laid out at each step.
Why Headline APY in DeFi Is Almost Never What You Earn
The **headline APY** displayed on a protocol interface uses one specific method: take the current reward rate at this exact moment, annualize it across a full year, and display that figure. It is a projection of a snapshot. It is not a forecast of what you will receive over any meaningful holding period. Three mechanisms drive the gap between what is advertised and what is actually delivered. **Reward dilution from TVL growth** is the most immediate. A pool distributes a fixed number of tokens per block to all liquidity providers proportionally. When a protocol launches with $2M in TVL and a $100K weekly reward budget, a $10,000 deposit captures roughly 0.5% of rewards, annualizing to an attractive yield. By week three, yield farmers have pushed TVL to $8M. The same $10,000 deposit now captures 0.125% of that same reward budget. Yield per dollar has dropped 75% without any change to the protocol interface number or the emission schedule. **Reward token price decay** compounds the dilution. Emission rewards are paid in the protocol's native token, priced at current market rate when the APY figure is calculated. Most incentive tokens face constant selling pressure as yield farmers convert rewards to stablecoins. Historically, many farm tokens lose 50% to 80% of their USD value within the first 60 days of a launch. A 150% APY denominated in a token that loses 70% of its value delivers a realized return far below what the headline implied. This mechanism explains [why DeFi yields decay so fast](/blog/yield-strategies/yield-sustainability-defi) across most incentivized pools, even when the protocol itself is functioning correctly. **Emission schedule tapering** is the third factor. Most protocols step down their emission budgets on a fixed schedule. A pool starting at 100K tokens per week that cuts by 10% every four weeks sees reward APY fall even with flat TVL. The combined effect: a pool advertising 180% APY in week one might realistically deliver 20% to 40% annualized to a 30-day holder, before fee deductions, IL, or gas. Add those layers and the real number falls further. The following sections construct the full calculation step by step.
APY vs APR in DeFi: Why the Difference Matters Before Anything Else
Before applying any deduction formula, confirm which metric you are actually comparing. Protocols use APR and APY interchangeably in their interfaces, but they mean different things. Comparing a 60% APR position to a 60% APY position without conversion is comparing two different numbers at face value. **APR (Annual Percentage Rate)** is the annualized return without accounting for compounding. A 60% APR position that you never reinvest returns 60% over the year on the initial principal. **APY (Annual Percentage Yield)** accounts for the compounding of returns. The more frequently you reinvest earned yield, the higher your effective annual return above the base APR. The conversion formula: ``` APY = (1 + APR / n) ^ n - 1 ``` Where n equals the number of compounding periods per year. A 60% APR compounded daily (n = 365): ``` APY = (1 + 0.60 / 365) ^ 365 - 1 = 82.2% ``` The gap between 60% APR and 82.2% APY is 22 percentage points at daily compounding. At higher base rates, the divergence widens further. **Two practical scenarios where this matters directly:** • Auto-compounding vaults quote APY because they compound multiple times per day, automatically reinvesting harvested rewards without user action. Manual farming positions typically quote APR because you harvest and reinvest on your own schedule. A vault's 80% APY and a farm's 80% APR are not directly comparable without conversion to the same base. [How auto-compounding vaults change your effective APY](/blog/yield-strategies/auto-compounding-vaults-explained) covers how harvest frequency shapes realized compounding returns. • [Lending protocol APY](/blog/defi-protocols/supply-borrow-apy-defi-explained) has its own compounding mechanics tied to block-level interest accrual and utilization rates. Lending yields are almost always quoted as APY with compounding already embedded in the displayed figure. Always identify which metric a protocol displays before running any cross-platform comparison. Misidentifying APR as APY (or vice versa) introduces a 20-plus percentage point error at rates common in DeFi, which makes any subsequent formula work unreliable.
DeFi Yield After Fees: The Four Cost Layers That Eat Your Return
Once you have a gross yield baseline expressed in APY terms, the next step is subtracting every explicit cost layer between gross and net. For most DeFi positions, four categories of fees apply simultaneously, and they are almost never displayed together on a single interface. **Protocol fees** are charges levied directly by the smart contract or vault operator. Performance fees take a percentage of yield generated, most commonly 10% to 20% in managed vaults. Management fees are annualized percentages of your total position size, charged continuously regardless of whether the vault generates positive returns, typically 1% to 2% per year. Some protocols also charge deposit or withdrawal fees at entry and exit. These costs exist in documentation but often require a documentation search to find all of them. **Gas fees** are network transaction costs paid on every on-chain interaction: deposit, reward claim, reinvestment, rebalancing, withdrawal. Gas is set by the network, not the protocol, and it does not scale with position size. This creates a fundamentally different cost structure depending on chain selection. For a $2,000 position on Ethereum mainnet harvesting weekly at $8 per transaction: • Annual gas spend: $8 x 52 = $416 • Gas as percentage of position: 416 / 2,000 = 20.8% annual drag On Solana or a major L2, the same 52 harvests cost under $5 total. A [full breakdown of how these costs interact with position size across chains](/blog/yield-strategies/hidden-fees-defi) covers the math in detail. The [Ethereum gas documentation](https://ethereum.org/en/developers/docs/gas/) explains how network fees are priced per transaction. For a position with 30% gross APY, a 15% performance fee, a 2% management fee, and 3% annualized gas: after performance fee: 25.5%; after management fee: 23.5%; after gas: 20.5% fee-adjusted APY. The combined formula: ``` Fee-Adjusted APY = Gross APY - (Gross APY x Performance Fee) - Management Fee - Annualized Gas Rate ```  Positions under $5,000 on Ethereum mainnet face disproportionate gas drag. Running the gas calculation at your actual position size and intended harvest frequency before depositing is not optional at that scale.
Token Emission Decay: Why That Reward APY Will Be Lower Tomorrow
Most DeFi yield blends two components: native yield from protocol activity (trading fees, interest payments, liquidation proceeds) and emission-based rewards paid in incentive tokens. The native component is relatively stable over time. The emission component decays, often rapidly, within the first 30 to 60 days of a new pool or incentive program. **How emission rewards work:** Protocols allocate a fixed token budget per block or epoch to liquidity providers in a given pool, distributed proportionally by share of total liquidity. The reward APY displayed at launch reflects the ratio of that token budget to current TVL, priced at the moment of calculation. Two decay vectors reduce that ratio almost immediately after launch. **TVL dilution** is the primary mechanism. When high advertised APY attracts new depositors, the fixed reward budget gets divided across more total liquidity. A pool distributing $50K per week across $1M TVL yields 2.6% weekly per dollar. At $5M TVL with the same $50K weekly budget, weekly return per dollar drops to 0.52%. APY falls 80% from TVL growth alone, with no change to the emission schedule. **Reward token price decay** compounds the TVL effect. Emission rewards paid in a protocol's native token face persistent selling pressure as yield farmers harvest and convert to stablecoins. Farm tokens commonly lose 50% to 80% of their USD value within the first 60 days of a launch as early depositors exit their positions and sell. A pool paying 120% APY in tokens that fall 70% in price delivers a dramatically lower USD return than the headline implied. **How to model decay in your calculation:** Apply a conservative decay factor to the emission reward component only. For most incentivized pools without historical data, assume 30% to 50% reduction in the reward APY over a 30-day holding period as a baseline. For pools with on-chain history available, use the actual emission schedule and TVL trajectory to refine the estimate. Native yield from trading fees or lending interest is more durable than emissions and should anchor any position analysis. A pool with 10% in native fees and 70% in emissions requires a much larger decay discount than one with 80% native yield at an identical headline number. [Sustainable vs. emission-based yield](/blog/yield-strategies/yield-sustainability-defi) covers how to identify which component dominates a given pool.
Impermanent Loss and APY: How Price Divergence Erodes Your LP Returns
For liquidity provider positions, the APY calculation requires one more deduction not shown on any protocol dashboard: impermanent loss. It is not a fee charged by any party. But from a net yield perspective, it functions exactly like one. **What impermanent loss is:** When you deposit two assets into an AMM liquidity pool at a given ratio, the protocol's constant-product mechanism automatically rebalances your position as prices move. If one asset appreciates significantly relative to the other, your LP position ends up holding more of the cheaper asset and less of the appreciating one compared to a simple hold of both. The gap between your LP position value and the equivalent hold value is the impermanent loss. **Converting IL to a yield deduction:** Express IL as a percentage of position value for your holding period, then subtract it from your fee APY for the same period. ``` IL-Adjusted APY = Fee APY - IL% ``` **Worked example:** A 50/50 ETH/USDC pool. ETH rises 100% from the entry price. Using the standard constant-product AMM formula: ``` IL for 2x price move = 2 * sqrt(2) / (1 + 2) - 1 = approximately -5.7% ``` If the pool's trading fee APY is 8%: ``` IL-Adjusted APY = 8% - 5.7% = 2.3% ``` Not the 8% shown on the interface. The position is profitable, but barely. A 3x price move on the same pool pushes IL to approximately 13.4%, which flips a pool with 8% fee APY to a net loser. **Thresholds for volatile pairs:** For LP positions on non-correlated asset pairs to generate a positive real return, fee APY must exceed expected IL by a meaningful margin. A practical rule of thumb: for a 2x expected price move, require at least 8% to 10% fee APY as a minimum threshold. For a 3x move, require at least 16%. **Concentrated liquidity positions** (Uniswap v3, Orca Whirlpools on Solana) generate higher fee APY by focusing liquidity within a narrower active price range. The tradeoff is that if price exits that range, the position stops earning fees entirely and faces maximum directional exposure. The [full impermanent loss breakdown](/blog/risk-management/impermanent-loss-explained-math-solana-lp-strategies) covers IL calculation across price scenarios and pool types in detail. **Stablecoin pairs** sidestep most IL because the paired assets price-track closely. The tradeoff is a lower APY ceiling, since fee income on stable pools is lower. 
The Real APY Formula: A Step-by-Step Calculation for DeFi Positions
Every deduction layer is now defined. The complete formula for real APY in any DeFi position assembles them into a single calculation: ``` Real APY = [(1 + Gross APY) x (1 - Fee Rate) x (1 - Decay Factor) x (1 - IL Rate)] - 1 ``` **Variable definitions:** • **Gross APY:** Advertised yield converted to APY if the protocol quotes APR. Include both base yield and emission reward components before any deductions. • **Fee Rate:** All explicit fees expressed as a fraction applied to gross yield. Sum of performance fee percentage, annualized gas cost as a percentage of position size, and management fee. • **Decay Factor:** Expected percentage reduction in the emission reward component over your holding period. Apply only to the incentive portion, not to native fee yield. Conservative baseline: 0.30 to 0.50. • **IL Rate:** Impermanent loss as a percentage of position value over the expected holding period. Zero for lending positions, single-asset vaults, or staking. Use the AMM formula for LP positions based on expected price divergence. **Worked Example: ETH/USDC LP vault on a mid-tier chain** | Variable | Value | Notes | |---|---|---| | Advertised APY | 85% | Protocol homepage | | Base fee APY (trading fees) | 18% | From pool analytics | | Reward APY | 67% | Token emissions | | Management fee | 2% | Vault operator | | Performance fee | 15% on rewards | Vault operator | | Annualized gas cost | 3% | $8 per harvest, weekly, $2,000 position | | Decay factor (30 days) | 40% on reward APY | Historical rate for this pool | | IL estimate (30 days) | 6% | ETH moved +35% from entry | **Step-by-step:** Step 1. Adjust reward APY for emission decay: 67% x (1 - 0.40) = 40.2% adjusted reward APY Step 2. Recalculate gross APY after decay: 18% base + 40.2% adjusted reward = 58.2% adjusted gross Step 3. Deduct performance fee from reward portion only: 40.2% x 0.15 = 6.03% taken by vault. Net reward APY: 34.17% Step 4. Combined gross before gas and management: 18% + 34.17% = 52.17% Step 5. Deduct management fee: 52.17% x (1 - 0.02) = 51.13% Step 6. Deduct annualized gas: 51.13% - 3% = 48.13% Step 7. Deduct IL: 48.13% - 6% = **42.13% Real APY** Advertised: 85%. Delivered: approximately 42%. This is a relatively favorable scenario. A position with a smaller size on Ethereum mainnet, a higher decay rate, or a larger price move would compress the real yield further. The formula's value is knowing that 42% number before you deposit, not after 30 days of holding. For a complete breakdown of how [DeFi yield risks](/blog/risk-management/defi-yield-risks-explained) interact with this calculation, and how leverage amplifies every deduction layer simultaneously, the [leveraged yield farming risks guide](/blog/risk-management/leveraged-yield-farming-risks) covers the full mechanics. 
Tools for Tracking Real DeFi Yield: What to Use and What to Look For
Running the formula before entry is a start. The inputs shift continuously as TVL grows, reward token prices move, and pool fee revenue fluctuates with volume. A calculation done at entry can be significantly off within two weeks. Tracking the key variables over the holding period is what turns a one-time estimate into an ongoing position management practice. **What to monitor in real time:** • TVL in your pool: rising TVL dilutes emission rewards; falling TVL concentrates them back • Reward token price: the USD value of emission yield changes with every market trade • Pool fee revenue: base yield from trading activity fluctuates directly with protocol volume • Gas spend history: critical for smaller positions on EVM chains to quantify the running drag • Your actual position value versus a simple hold of the same assets: this is the real-time IL check **On-chain data sources:** Pool contracts emit events for every deposit, withdrawal, and fee collection. [The Graph](https://thegraph.com) subgraph queries give you precise fee income and TVL history at the block level for most major DeFi protocols. Chain explorers provide gas cost history for individual transactions and wallet-level spend tracking. **What to look for in a yield tracker:** Realized yield and unrealized yield should be separated, because mark-to-market gains are not the same as accrued fee income. IL should be tracked independently of fee income, not bundled into a single net position value. Multi-chain coverage matters for portfolios spread across chains. Historical return data (not the trailing APY) is what lets you evaluate whether a position is performing in line with your pre-entry estimate. The [Lince Yield Tracker](https://yields.lince.finance/tracker) pulls realized APY data directly from on-chain positions, separating fee income from IL and showing net returns after both. Comparing tracker output against your own formula estimate is the fastest way to calibrate how accurate your decay and IL assumptions were in practice. Most yield aggregators surface gross APY only. No single tool currently nets out every layer simultaneously, which is why running the calculation manually remains valuable even when tracking tools are available.
FAQs
### What is real APY in DeFi? Real APY is the annualized yield you actually receive after deducting all fee layers, accounting for reward token price decay, and subtracting impermanent loss from LP positions. It is almost always lower than the headline APY displayed on protocol interfaces. For most positions, the gap between advertised and realized yield represents 30% to 70% of the stated number, depending on the strategy type, chain, and market conditions during the holding period. ### Why is my DeFi APY lower than advertised? Headline APY is calculated using current reward rates and token prices, annualized as a point-in-time snapshot. Three forces erode it in real time: TVL growth dilutes emission rewards as more depositors enter the pool; reward token prices decline from selling pressure as farmers exit; and explicit fee layers reduce gross yield before any return reaches your wallet. The combination means a 150% headline APY at pool launch can deliver 20% to 40% annualized to a 30-day depositor in realistic conditions. ### How do I calculate impermanent loss impact on APY? Convert your impermanent loss percentage to cover the same time period as your APY measurement and subtract it directly from your fee-based APY for that period. For a 2x price move on a standard 50/50 AMM pool, IL is approximately 5.7%. If the pool's trading fee APY is 8%, the IL-adjusted return is 2.3%. For the full formula across different price divergence scenarios and pool types, see the [full impermanent loss breakdown](/blog/risk-management/impermanent-loss-explained-math-solana-lp-strategies). ### What is a realistic DeFi APY after all deductions? It varies significantly by strategy type and chain selection. Stablecoin lending on established protocols typically nets 4% to 12%. Stablecoin LP positions net 8% to 20%. Volatile LP positions show wide variance, often delivering 10% to 40% net on yields that were originally advertised at much higher headline figures. The worked example in this article shows an 85% headline delivering 42% real APY under moderately favorable conditions on an ETH/USDC vault. Less favorable scenarios, smaller position sizes, or higher-gas chains compress that ratio further. ### Is APR or APY better for comparing DeFi yields? APY is more useful because it accounts for compounding frequency. But the comparison is only meaningful when compounding frequency is consistent across the positions being compared. A vault quoting APY with daily auto-compounding and a farm quoting APR with weekly manual harvesting are not directly comparable without converting both to the same base. Always confirm which metric a protocol is displaying before making cross-platform yield comparisons. ### How does token emission decay affect my real APY? Emission rewards decay through two simultaneous channels: TVL growth dilutes the fixed reward budget across more liquidity providers, and reward token prices fall from ongoing sell pressure. For most incentivized pools without pool-specific historical data, applying a 30% to 50% reduction to the emission portion of APY over a 30-day holding period is a reasonable conservative estimate. Apply this decay factor only to the emission-based yield component, not to native fee yield from trading activity or lending interest, which is more stable. ### How do gas fees affect DeFi yield on small positions? Gas is a flat cost that does not scale with position size, which creates very different economics by chain. On Ethereum mainnet, a weekly harvest cycle across 12 months can total $400 to $800 in gas spend. On a $2,000 position earning 20% gross APY, that represents 20% to 40% of gross yield consumed by network fees alone. On Solana or Arbitrum, the same harvest frequency costs under $5 total for the year, reducing gas drag to near zero. For positions below $10,000 on high-gas chains, gas is often the single largest deduction in the full real APY calculation.
Conclusion
Headline APY is the starting number. Real APY is what reaches your wallet. Four deduction layers create the gap between those two figures: the APR-to-APY conversion difference, explicit fee stacks from protocol and gas costs, emission reward decay driven by TVL growth and token price decline, and impermanent loss for LP positions. In a moderately favorable scenario, those layers convert an 85% headline into 42% real yield. In worse conditions, including smaller position sizes, higher-gas chains, or aggressive price moves, the ratio is sharper. The formula works in both directions: it confirms which positions are worth entering at your actual size and hold period, and it identifies when a headline is far enough ahead of likely real return that no entry makes sense. Run the calculation before you deploy, not after. Every input is available from on-chain data. Use the [Lince Yield Tracker](https://yields.lince.finance/tracker) to cross-reference realized APY from live positions against your pre-entry estimate. The gap between formula and tracker output is the calibration signal that sharpens every subsequent deposit decision.