Key takeaways: APY is APR with compounding added. The formula is (1 + APR ÷ n)n − 1, where n is the number of compounding periods per year. Compounding matters most at high rates: 100% APR becomes about 171% APY with daily compounding, while 10% APR only becomes about 10.5%.
How do you convert APR to APY?
To convert APR to APY, divide the APR by the number of compounding periods in a year, add 1, raise the result to the power of the number of periods, then subtract 1. For a 20% APR compounded daily: (1 + 0.20 ÷ 365)365 − 1 = 22.13% APY. The calculator above does this for you.
The same formula is used for savings accounts. The SEC's Investor.gov compound interest calculator applies it to traditional deposits. DeFi simply compounds far more often.
APR to APY conversion table
| APR | Monthly | Weekly | Daily |
|---|---|---|---|
| 5% | 5.12% | 5.12% | 5.13% |
| 10% | 10.47% | 10.51% | 10.52% |
| 20% | 21.94% | 22.09% | 22.13% |
| 50% | 63.21% | 64.48% | 64.82% |
| 100% | 161.30% | 169.26% | 171.46% |
Figures are calculated with the formula above, before fees and gas.
Why is the APY in DeFi so much higher than APR?
DeFi APY looks much higher than APR when the base rate is high and rewards are reinvested often. Compounding adds little at 5% but a lot at 100%. Some platforms advertise the compounded APY even when you must claim and reinvest by hand, so you only earn it if you actually compound.
Auto-compounding vaults exist to close that gap. They harvest and reinvest for every depositor at once, splitting the gas cost. Our guide to yield optimizers explains how they work and what they charge.
What does this calculator leave out?
- Changing rates. Farm APRs fall as more liquidity arrives and when incentives end.
- Reward token prices. If rewards are paid in a token that drops 50%, your real yield halves.
- Impermanent loss. Liquidity pool positions can lose value against holding. Check it with the impermanent loss calculator.
- Gas and withdrawal fees. Small deposits on expensive networks can lose most of their yield to transaction costs.
For the bigger picture on where these rates come from, read yield farming explained.
Frequently asked questions
What is the difference between APR and APY in crypto?
APR is the simple yearly rate with no compounding. APY includes the effect of reinvesting earnings, so it is always equal to or higher than APR. A 50% APR compounded daily becomes about 64.8% APY. DeFi platforms often show APY, which makes their rates look higher than a simple APR.
How often should I compound?
More frequent compounding raises APY, but the gains shrink quickly. At 20% APR, monthly compounding gives 21.94% APY and daily gives 22.13%. On networks with high gas fees, compounding a small position often can cost more than it earns, which is why vaults pool deposits.
Is the APY shown by DeFi platforms guaranteed?
No. DeFi APYs are calculated from current fees and rewards and change constantly. Reward token prices can fall, more liquidity can dilute the rate, and incentives can end. Treat an advertised APY as a snapshot, not a promise.
How do vault performance fees affect APY?
Most auto-compounding vaults take a performance fee from the rewards they harvest, the percentage is set by each platform. A fee taken from rewards lowers the effective APR before compounding. Enter the fee in the calculator to see the net APY.