Annual Percentage Yield (APY)

The annualized rate of return on a deposit or investment that accounts for the effect of compound interest.

What Is Annual Percentage Yield (APY)?

Annual Percentage Yield (APY) measures the real rate of return earned on a deposit or investment over one year, taking the effect of compound interest fully into account. Unlike Annual Percentage Rate (APR), which expresses returns as simple interest, APY reflects the reality that earned interest is reinvested to generate additional returns — making it the more accurate measure of what you actually earn or owe.

In DeFi lending and yield farming, APY is the standard metric for comparing earning opportunities. Because crypto protocols compound interest far more frequently than traditional banks, the difference between APR and APY can be significant, and understanding this distinction is crucial for making informed financial decisions.

The Math Behind APY

The formula for APY is: APY = (1 + r/n)^n - 1, where r is the nominal interest rate (APR) and n is the number of compounding periods per year. The more frequently interest compounds, the higher the APY relative to the base APR.

Consider a 10% APR with different compounding frequencies. Compounded annually (n=1), the APY is exactly 10%. Compounded monthly (n=12), the APY rises to 10.47%. Compounded daily (n=365), it reaches 10.52%. In DeFi, where interest can compound every block — roughly every 12 seconds on Ethereum, giving over 2.6 million compounding periods per year — a 10% APR translates to an APY of approximately 10.52%, approaching the mathematical limit of continuous compounding.

This might seem like a small difference at moderate rates, but at higher rates the gap widens dramatically. A 100% APR compounded per block produces an APY of approximately 171.8%, nearly double the simple rate.

How APY Works in DeFi Lending

In lending protocols, interest accrues on both sides of the market. Lenders earn APY on assets they supply to the protocol's lending pools, while borrowers effectively pay APY on their outstanding debt. The protocol's interest rate model determines the base rate, and compounding transforms that base rate into the effective APY.

When you deposit assets into a lending pool, you receive interest-bearing tokens (like Aave's aTokens) that automatically increase in value as interest accrues. You do not need to manually reinvest your earnings — the compounding happens at the protocol level, built into the token's exchange rate. This is why the APY you see on a lending dashboard represents your true expected return without any additional action on your part.

APY in Yield Farming

Yield farming introduces additional complexity to APY calculations. A yield farming strategy might combine lending interest, trading fees from liquidity pools, and token reward incentives into a single headline APY figure. Each of these components may compound at different rates and have different risk profiles.

Reward token APY is particularly nuanced. If a protocol distributes its governance token as an incentive, the stated APY assumes the reward token maintains its current price. In reality, reward token prices are highly volatile — and large-scale farming often creates selling pressure that depresses the token's value, reducing the actual realized yield below the advertised APY.

Sophisticated yield farmers account for this by distinguishing between the base APY (from lending interest and trading fees, which is generally more sustainable) and the reward APY (from token emissions, which tends to decline over time as incentives are reduced or the reward token depreciates).

Why APY Fluctuates

DeFi APYs are almost always variable, and they can change dramatically over short periods. Several factors drive these fluctuations. Changes in borrowing demand directly affect lending rates — when more users borrow from a pool, the utilization rate increases, pushing APYs higher for lenders. Market-wide sentiment shifts can trigger waves of borrowing or repayment that move rates across the entire ecosystem.

Protocol governance decisions also impact APY. When a protocol's DAO votes to adjust incentive allocations, add new supported assets, or modify risk parameters, the resulting changes can redistribute yield across different pools and strategies.

APY as a Comparison Tool

APY is the most reliable metric for comparing earning opportunities across protocols and strategies. When evaluating where to deploy capital, always compare APY to APY — not APR to APY or vice versa. Be mindful of whether the advertised APY includes reward token incentives, as these represent a different risk profile than organic lending yield.

Also consider the sustainability of high APY figures. Extremely high APYs, particularly those above 20-50%, are almost always driven by temporary token incentives and tend to compress as more capital flows into the opportunity. The highest sustainable yields in DeFi lending typically come from markets with genuine organic borrowing demand rather than subsidized incentive programs.

Related Terms