DeFi Yield Calculator
Compound interest, APR↔APY conversion, impermanent loss modeling, and gas-adjusted net returns. All math runs in your browser — no data sent anywhere.
Inputs
Set 0 for L2 aggregators (gas amortized). For manual ETH mainnet, try $20.
Projected Returns
APR ↔ APY Converter
Impermanent Loss Estimator
For equal-weight LP positions. Enter the price change of one asset (other held constant).
+50 means asset B went up 50%; -30 means it dropped 30%.
Yield Calculator FAQ
What's the difference between APR and APY in DeFi?
APR (Annual Percentage Rate) is the simple annual rate. APY (Annual Percentage Yield) accounts for compounding — when rewards are reinvested, your effective return grows. Daily compounding turns a 7.76% APR into an 8.00% APY.
How often do DeFi aggregators compound?
Yearn and Beefy auto-compound 2-8 times per day on Ethereum L2 (Arbitrum, Base) and weekly on mainnet due to gas costs. Manual compounding on ETH mainnet costs $15-50 per tx, so it's only profitable for positions over $50,000.
What is impermanent loss (IL)?
IL is the value difference between holding assets vs providing them as liquidity to an AMM pool. When asset prices diverge, the LP position underperforms simple holding. The loss becomes "permanent" once you withdraw. Use the estimator above to model it before depositing.