DeCrypto Markets

Learn: DeFi

What is the difference between APY and APR in crypto?

APR is the simple yearly rate, with no compounding. APY includes compounding: APY = (1 + APR / n)^n - 1 for n compounds a year. The same 20% APR becomes about 22.1% APY when compounded daily. Compare yields on one basis, then ask what each part is paid in: fees, or newly minted reward tokens.

How it works

Two numbers describe the same yield in two ways. An APR (annual percentage rate) is simple: 20% APR on 1,000 pays 200 over a year if you never reinvest. An APY (annual percentage yield) assumes every payment is reinvested and earns too, so it is always at least as high as the APR. The more often interest compounds, the bigger the gap.

This matters because yield pages mix the two. A farm showing an APY looks better than one showing the same APR, even when it pays exactly the same. The first step of any comparison is to put both on one basis. DeCrypto Markets converts everything back to APR: APR = n x ((1 + APY)^(1/n) - 1).

The second step is more important: where does the yield come from? Fee income is paid by people who use the pool or the loan. Emissions are rewards paid in a token the protocol mints. If that token's supply keeps growing and demand does not, its price tends to fall, and the rewards are worth less than their headline when you sell them. A yield nobody can explain is a warning.

The exact rule the games grade by

The rules the games use: APY = (1 + APR / n)^n - 1, and continuous compounding gives e^APR - 1; to compare, convert back with APR = n x ((1 + APY)^(1/n) - 1). Emissions: rewards arrive evenly while the reward token's price changes by c over the year, so rewards sold as they arrive keep a share c / ln(1 + c) of their headline value. Dilution: supply growth g at a flat market cap gives c = 1 / (1 + g) - 1. Real yield = fee APR + realised emissions APR, simple, not compounded.

Step by step

  1. Read whether the headline is an APR or an APY, and how often it compounds.
  2. Convert every yield to APR so you compare like with like.
  3. Split each yield into fee income and reward emissions, using the protocol's own figures.
  4. For the emissions, estimate the reward token's supply growth g, and the price change it implies at a flat market cap: c = 1 / (1 + g) - 1.
  5. Multiply the emissions APR by c / ln(1 + c), the share of value the rewards keep if you sell them as they arrive.
  6. Real yield = fee APR + realised emissions APR. Then ask what risks pay for it.

Worked example

Compounding, and what is left of a headline yieldA 20% APR compounded yearly to continuously, then a 48% headline farm: 8% from fees and 40% from emissions whose token supply grows 50% a year.20% APR as an APYYearly20.00%Monthly21.94%Weekly22.09%Daily22.13%Continuous22.14%A 48% APR farm: fees, then emissionsHeadline48%Realised40.88%Sold as they arrive, the emissions realise 32.88%, not 40%: real yield 40.88%.
Top: one APR at several compounding frequencies. Bottom: a headline farm before and after the reward token dilutes.

Compounding first. A 20% APR is 20.00% APY when paid once a year, 21.94% when compounded monthly, 22.09% weekly, 22.13% daily, and 22.14% with continuous compounding. The extra comes only from reinvesting; the underlying rate is the same.

Now a farm advertising 48% APR: 8% from trading fees and 40% from reward tokens. Shown as a daily-compounded APY, the same farm would read 61.56%.

The reward token's supply grows 50% over the year. If its market cap stays flat, its price changes by 1 / 1.5 - 1 = -33.33%. Rewards sold as they arrive keep a factor of c / ln(1 + c) = 0.8221 of their headline value.

So the emissions really pay 32.88%, not 40%, and the real yield is 8% + 32.88% = 40.88%, against a headline of 48% APR and 61.56% APY.

Takeaway: Put yields on one basis, then strip them: the farm advertised as 61.56% APY really pays 40.88%, and only if the fees and the pool itself hold up.

Common mistakes

  • Comparing an APY with an APR. An APY already includes compounding. Comparing it with another farm's APR flatters it. Convert both to the same basis first.
  • Treating reward tokens like cash. Rewards paid in a token whose supply keeps growing are worth less when you sell them than the headline assumes. The faster the supply grows, the bigger the gap.
  • Assuming the rate will last. A yield is a rate measured over a short recent window. It can change daily. An APY extrapolates that window to a year with compounding, which makes a short-lived rate look like a promise.
  • Not asking who pays. Fees are paid by users. Emissions are paid by new supply. Borrowed money adds a liquidation. A payout that nothing covers is paid by new deposits, and that always ends. If you cannot name the source, you may be the source.

What this does not tell you, and what can go wrong

The emissions model here is a simplification: it assumes the reward token's market cap stays flat while supply grows, and that you sell rewards as they arrive. Real prices move for many other reasons, in both directions, and nothing here predicts them. The point of the model is the direction of the effect, not a forecast.

Real yield is not risk-free yield. Even fee income comes with impermanent loss in a liquidity pool (see the formula), smart contract risk, the risk that a lending market's borrowers default, and the risk that the platform itself fails. Very high advertised yields usually mean high risk, heavy emissions or both. Many high-yield schemes in crypto have collapsed, and some were frauds from the start.

Questions people ask

Is APY always higher than APR?

For the same positive rate, yes, unless interest compounds only once a year, in which case they are equal. The more often it compounds, the higher the APY. The difference is small at low rates and large at high ones: 100% APR compounded daily is about 171% APY.

What is real yield in DeFi?

In DeCrypto Markets, real yield is the part of a yield that survives scrutiny: fee income, plus reward emissions valued at what they are really worth after dilution. Some protocols use the phrase to mean yield paid only from revenue, with no new tokens. Either way, the question is what pays it.

Why do farms show APY instead of APR?

Because APY is the bigger number, and it is accurate only if you reinvest every payment at the same rate for a whole year. Rates in DeFi rarely stay still for a week, so an APY is an extrapolation. Converting back to APR is the honest comparison.

How do I convert APY to APR?

Use APR = n x ((1 + APY)^(1/n) - 1), where n is the number of compounds a year. For example, a 22.13% APY compounded daily is 365 x (1.2213^(1/365) - 1), about 20% APR. For continuous compounding, APR = ln(1 + APY).

Practise it

Reading about a rule is not the same as applying it. These games generate a fresh simulation each round, ask you to make the call first, and grade you against the same rule.

APY Reality

APR or APY, emissions or fees. Rank farms by what they really pay, then Decrypt each headline.

What it teaches

The Yield FarmerBoss

Ever-higher APYs, one offer per round. Find where each yield actually comes from before you deposit.

What it teaches