Skip to main content
All Articles
Financial Guide
6 min read July 2, 2026
Verified July 2026

How to Calculate DeFi Yield APY and What the Numbers Actually Mean

Most DeFi participants quote APY without understanding what drives it. The compounding frequency alone can shift your actual return by hundreds of basis points. Here is what the number actually measures and how to calculate it correctly.

How to Calculate DeFi Yield APY and What the Numbers Actually Mean

Key Takeaways

  • A protocol advertising 120% APR compounds to 231.4% APY when rewards reinvest daily. That gap is not a rounding error.
  • Ignoring impermanent loss on a $50,000 LP position can erase 15-30% of nominal yield during a 2x price divergence event.
  • Calculate net APY by subtracting gas costs, protocol fees, and impermanent loss estimates from the advertised rate before committing capital.
  • Tool: Run your DeFi yield projection with the CalcMoney Investment Calculator →

Put Your Money to WorkSPONSORED

Betterment builds and rebalances your portfolio automatically. No guesswork.

Interactive Calculator
Full screen
Loading Calculator
calcmoney.io/calculatorsOpen full screen

APR vs. APY: The Distinction That Costs Investors Real Money

Every DeFi protocol publishes a yield figure. Almost none of them publish the same kind of yield figure. Some display APR. Others display APY. Many display a blended rate that assumes daily reinvestment of rewards you may never actually reinvest.

APR, or Annual Percentage Rate, measures simple interest. It does not account for compounding. A 60% APR on $100,000 returns $60,000 in interest over one year, assuming no reinvestment.

APY, or Annual Percentage Rate, measures the actual return after compounding is applied. The same 60% APR, compounded daily, produces an APY of 82.2%. On $100,000, that is $82,200 returned versus $60,000. The difference is $22,200. That is not a theoretical gap. It is real money that either reaches your wallet or does not.

The formula connecting APR to APY is:

APY = (1 + APR/n)^n - 1

Where n equals the number of compounding periods per year.

At daily compounding (n = 365), a 60% APR becomes:

APY = (1 + 0.60/365)^365 - 1 = 0.8220 = 82.20%

At weekly compounding (n = 52):

APY = (1 + 0.60/52)^52 - 1 = 0.7915 = 79.15%

At monthly compounding (n = 12):

APY = (1 + 0.60/12)^12 - 1 = 0.7959 = 79.59%

Compounding frequency changes the outcome by as much as 3 percentage points at 60% APR. At 200% APR, the spread between monthly and daily compounding exceeds 130 percentage points. Protocol documentation rarely highlights which assumption the displayed number uses.

How DeFi Protocols Generate Yield

Understanding the calculation requires understanding where the yield originates. There are four primary sources, and each carries a different risk profile.

Trading Fee Revenue

Automated Market Maker protocols like Uniswap and Curve distribute a share of swap fees to liquidity providers. Uniswap v3 charges 0.05%, 0.30%, or 1.00% per swap depending on the pool tier. A pool processing $500 million in daily volume at the 0.30% tier generates $1.5 million in daily fees. Providers receive a proportional share of that $1.5 million based on their share of pool liquidity.

This yield is real, denominated in the tokens being traded, and scales directly with volume. It also fluctuates daily. The 30-day average fee APR on a high-volume ETH/USDC pool frequently differs from the 7-day rate by 20 percentage points or more.

Token Emissions

Protocols distribute native governance tokens to liquidity providers as an incentive to attract capital. These emission rewards are the primary driver of headline APY figures above 100%. They carry a risk that fee revenue does not: token price exposure. A protocol paying 180% APY in its native token delivers 0% real yield if that token loses all value before you claim and sell.

Lending Interest

Platforms like Aave and Compound pay depositors a portion of the interest collected from borrowers. These rates are lower and more stable than emission rewards. As of mid-2026, stablecoin lending rates on major platforms range between 4.2% and 11.8% APY depending on utilization rates. This yield sources from real borrower demand, which makes it more durable than token emissions.

Staking Rewards

Proof-of-stake networks pay validators and delegators for securing the chain. Ethereum staking currently yields approximately 3.5% to 4.1% APY. Liquid staking tokens like stETH or rETH pass this yield to holders automatically, enabling it to compound without active management.

Worked Example 1: Calculating Real Net APY on an LP Position

A liquidity provider deposits $80,000 into a volatile token/ETH pool on a mid-tier DEX. The protocol advertises 145% APY. The rate breaks down as follows: 35% in trading fees (APR), 110% in token emissions (APR), compounded daily.

Step 1. Convert APR components to APY.

Fee APY = (1 + 0.35/365)^365 - 1 = 41.9%

Emission APY = (1 + 1.10/365)^365 - 1 = 200.4%

Combined headline APY = 242.3%

Step 2. Apply gas and compounding transaction costs. To reinvest daily on Ethereum mainnet at an average gas cost of $4.20 per transaction, annual gas expenditure equals $4.20 x 365 = $1,533. On an $80,000 position, that represents a 1.9% drag.

Step 3. Estimate impermanent loss. The volatile token in this pair doubles in price over three months. The standard impermanent loss formula at a 2x price ratio produces a loss of approximately 5.72% relative to simply holding the tokens. On $80,000, that equals $4,576.

Step 4. Calculate net APY.

Gross APY: 242.3% Gas drag: -1.9% Impermanent loss (annualized from a 3-month event): -22.9% Net APY: 217.5%

The net figure is still substantial. But a participant who deploys $80,000 expecting 242.3% without accounting for these costs projects a first-year return of $193,840. The corrected projection at 217.5% returns $174,000. That is a $19,840 modeling error before considering token price risk on the emission rewards.

Worked Example 2: Stablecoin Yield Stacking

A more conservative participant allocates $200,000 across three stablecoin protocols to diversify smart contract risk. The allocation and rates:

  • $80,000 in Aave USDC at 6.4% APY
  • $70,000 in Curve 3pool at 4.9% APY
  • $50,000 in a newer protocol at 11.2% APY

Step 1. Calculate dollar returns per position over 12 months.

Aave: $80,000 x 0.064 = $5,120 Curve: $70,000 x 0.049 = $3,430 Newer protocol: $50,000 x 0.112 = $5,600

Step 2. Total gross return: $14,150

Step 3. Calculate blended APY: $14,150 / $200,000 = 7.075%

Step 4. Apply protocol risk adjustment. Smart contract exploits have historically cost liquidity providers across DeFi an estimated 0.3% to 0.8% of total value locked per year. Assigning a 0.5% annualized loss expectation to this portfolio reduces expected return by $1,000.

Adjusted net return: $13,150 on $200,000 = 6.575% net APY

This is a meaningful real return above Treasury yields, with meaningfully higher risk. The participant can compare this against the 4.9% currently available on 12-month T-bills to determine whether the 167 basis point premium justifies the additional exposure.

The Variables That Shift APY After You Deploy

DeFi yield is not fixed at entry. Three variables move it continuously.

Utilization rate. Lending protocol rates rise as more borrowers draw on available liquidity and fall as deposits increase without corresponding borrowing demand. A rate of 9.5% at deployment can drop to 4.1% within two weeks if a large capital inflow dilutes the pool.

Emission schedules. Most protocols reduce token emissions over time. A protocol currently emitting 1,000,000 tokens per week may step that down to 700,000 at week 26 and 400,000 at week 52. If token price holds steady, the APY from emissions drops by 60% over the year. Token price rarely holds steady during emission reductions.

Pool concentration. In Uniswap v3, concentrated liquidity positions earn fees only when the price trades within the defined range. A position set between $1,800 and $2,200 on ETH earns zero fees when ETH trades at $2,350. The advertised APY assumes the price remains in range. It frequently does not.

H3: The Correct Sequence for Evaluating a DeFi Yield Opportunity

Apply this sequence before allocating capital.

  1. Identify whether the displayed rate is APR or APY. Convert APR to APY using n = 365 for daily compounding.
  2. Decompose the yield into fee revenue and token emissions separately. Apply a discount to emission yield based on your price assumption for the reward token.
  3. Estimate impermanent loss using the price ratio you consider plausible over your holding period. The formula: IL = 2 x sqrt(price ratio) / (1 + price ratio) - 1.
  4. Subtract estimated gas costs for your reinvestment frequency.
  5. Compare the adjusted net APY against the risk-free rate plus a liquidity premium appropriate to your assessment of the protocol's smart contract maturity and audit history.

If the spread is not wide enough to justify the risk, the number on the screen is a distraction, not an opportunity.

Run the Actual Math Before You Commit

The analysis above involves five compounding variables at minimum. Changing your reinvestment frequency from daily to weekly shifts your APY. Changing your estimated price divergence by 50% shifts your impermanent loss estimate materially. Changing your hold period from 12 months to 6 months changes every annualized figure.

The CalcMoney Investment Calculator lets you input your principal, expected rate, compounding frequency, and time horizon to generate precise dollar projections. Use it to model the base case, then model the downside with a 40% reduction in APY to account for rate drift. The gap between those two projections represents your real uncertainty range.

Quoting an advertised APY at face value is not analysis. Running the numbers with your specific inputs, your realistic assumptions, and your actual costs is analysis. The calculator is built for exactly that.

You Might Also Like

Calculate your projected DeFi yield with real compounding inputs →
Featured Partner
FIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers

Affiliated. We may earn a commission.

OR

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators