APY / APR Calculator
What's the Difference Between APR and APY?
APR (Annual Percentage Rate) is the simple annual interest rate without accounting for compounding. It represents the base rate of return before compounding effects are applied.
APY (Annual Percentage Yield) is the effective annual rate that includes compounding. Because interest earns interest over time, APY is always equal to or greater than APR for the same nominal rate.
For example, a 10% APR compounded daily yields an APY of approximately 10.52%. The more frequently interest compounds, the greater the difference between APR and APY.
How Compounding Frequency Affects Returns
The compounding frequency determines how often earned interest is reinvested. Higher frequency means your interest starts earning interest sooner, creating a snowball effect.
In traditional finance, the difference between compounding frequencies is modest. In DeFi, however, with rates often exceeding 20-100%+, the compounding effect becomes much more significant.
DeFi Yield Farming Considerations
When evaluating DeFi yields, remember that displayed APY assumes auto-compounding. If rewards are not automatically reinvested, you are effectively earning APR, not APY. Manual compounding incurs gas fees which can significantly reduce net returns, especially on Ethereum mainnet.
Many protocols use auto-compounders (vaults like Yearn, Beefy, or Convex) that reinvest rewards on your behalf, amortizing gas costs across all vault depositors. These typically compound anywhere from once per day to multiple times per hour.
Always compare yields on an APR basis when auto-compounding is not available, and factor in gas costs, slippage, and protocol fees.
Real Yield vs Token Emissions
Real yield comes from actual protocol revenue—trading fees, borrowing interest, or liquidation proceeds. This yield is sustainable because it is backed by real economic activity.
Token emissions are inflationary rewards paid in the protocol's native token. While they can boost displayed APY dramatically (sometimes 1,000%+), they dilute the token supply. If the token price declines, your actual return in USD terms can be significantly lower—or even negative.
A protocol offering 8% APY from real fees is generally more attractive long-term than one offering 200% APY from token emissions, unless you have strong conviction the emitted token will appreciate.
Common APY/APR Traps
1. Ignoring impermanent loss: High APY on liquidity pools does not account for impermanent loss (IL). A pool showing 50% APY with 30% IL means your effective return is only ~20%.
2. Unstable rates: DeFi rates are highly variable. A 100% APY today may drop to 5% tomorrow as more capital enters the pool. Advertised rates are snapshots, not guarantees.
3. Lock-up periods: Some protocols require staking locks (30-365 days). High APY is less attractive if you cannot exit when market conditions change.
4. Smart contract risk: Higher yields often come from newer, less audited protocols. A 200% APY means nothing if the protocol gets exploited. Always verify audit reports and consider diversifying across protocols.
5. Confusing APR and APY: Protocols may advertise the higher of the two to appear more attractive. Always confirm which metric is displayed and whether auto-compounding is included.