Skip to content

What is net APY in DeFi lending and how does it work?

After you supply assets and take a loan, net APY is the supply interest you earn minus the borrow interest you pay, divided by your net worth: the value supplied minus the value borrowed. A position on SparkLend, an Aave V3-based money market, gives that number a practical use by combining both sides of a lending position. Net APY measures the return on your own money in the position, rather than on the full amount supplied.

On a lending dashboard, net APY sits near supply APY and borrow APY, but answers a different question. Supply APY describes earnings on deposits; borrow APY describes the cost of debt. Net APY weighs both amounts against the capital left after borrowing. APY means a one-year yield that includes compounding. The “net” calculation uses the displayed annual rates to estimate the position’s combined yield at current rates.

How do you calculate net APY in DeFi lending?

Calculate net APY by subtracting annualized borrowing costs from annualized supply earnings, then dividing by net worth. Express the result as a percentage: Net APY = (supplied value × supply APY − borrowed value × borrow APY) ÷ (supplied value − borrowed value). Value the supplied and borrowed assets in the same currency before using the formula. With no borrowing, net APY equals supply APY.

Say you supply $10,000 at 3% APY and borrow $5,000 at 5% APY. The supply side earns about $300 a year at the displayed rate, while the loan costs about $250. That leaves $50 on $5,000 of net worth, or 1% net APY. Dividing $50 by the $10,000 deposit would give 0.5%, but that treats borrowed money as though it were your own capital.

The net-worth denominator makes leverage matter. Borrowing can increase the amount supplied while leaving much less equity underneath it. The same rate change then has a larger effect on net APY: in the example, a rise in borrow APY from 5% to 6% consumes the remaining $50 and takes net APY from 1% to 0%. In a more heavily looped position with $9 borrowed for every $1 of net worth, a one-percentage-point rise in borrow APY cuts net APY by nine percentage points. A narrow spread between supply earnings and borrowing costs can turn sharply negative.

That sensitivity is the trade-off behind the useful single number. Net APY makes positions with different deposit and debt amounts easier to compare, yet leverage makes the number move quickly when rates change. For a skeptical borrower, the rate spread and the size of the debt relative to net worth matter more than a high displayed net APY at one moment.

Supply and borrow rates in Aave V3-based markets vary with utilization, the share of an asset’s liquidity in use. A position involving DAI or WETH can therefore show a different net APY as utilization changes the relevant rates. Treat the displayed figure as a snapshot. The formula also leaves out transaction gas and changes in token prices; price moves can change both your net worth and your position’s borrowing risk.

Borrowing may still make sense when the borrowed funds earn more elsewhere than the loan costs. That outside return belongs in your decision, but it is separate from the lending position’s net APY. When the borrowed funds produce no offsetting return, a lower net APY is the cost of keeping the loan open.

Why is my net APY negative?

Net APY is negative when annualized borrow interest exceeds annualized supply earnings. A higher borrow rate, a larger debt, or a lower supply rate can cause it. Compare the interest amounts in currency terms first: the percentage looks especially large when a loop leaves little net worth beneath the debt.

Does net APY include token rewards?

Net APY includes token rewards only when the dashboard explicitly adds incentives to its calculation. The interest-only formula above excludes them. Read any rewards label separately and check whether it states a token amount or an estimated annual percentage, since a reward token’s price can change the value you receive.