DeFi APY from APR
Converts a DeFi protocol's quoted APR into the effective Annual Percentage Yield, accounting for how often returns are compounded.
What is DeFi APY?
DeFi protocols typically quote yields as an Annual Percentage Rate (APR) — a simple, non-compounded annualized rate. The actual Annual Percentage Yield (APY) is higher because most DeFi strategies auto-compound rewards: interest earned in each period is reinvested, generating returns on itself. The difference between APR and APY grows with both the rate and the compounding frequency. Daily compounding (n=365) is standard in yield-farming protocols, while some perpetual protocols compound every block (n=8,760+ per year). Understanding the distinction prevents yield comparisons across protocols from being misleading.
Formula
Worked Example
2024 (approximate supply rate)
Source: Aave Protocol Documentation (2024-01-01)
Calculate DeFi APY
Annual Percentage Rate as quoted by the protocol
365 = daily, 8760 = hourly, 52 = weekly, 12 = monthly, 1 = annual
APY
—