Lending Protocol APY Calculator
Calculate net APY from DeFi lending protocols like Aave or Compound, accounting for supply APR, borrow APR, token rewards, compounding frequency, and health factor.
Inputs
Results
Overall net APY (%)
2.98%
How to Use This Calculator
- Enter your Deposit Amount ($) and the Supply Base APR % from the lending protocol's dashboard.
- Add the Supply Reward APR % for token incentives (e.g., COMP, AAVE rewards) on top of the base rate.
- Set Compounds per Year — 365 for daily, 8,760 for hourly compounding.
- If borrowing, enter the Borrow Amount ($) and Borrow APR % to calculate your net position.
- Review Net APY, Projected Earnings, and Health Factor — keep Health Factor above 1.5 to avoid liquidation risk.
How the result changes with Supply base APR (%)
| Supply base APR (%) | Overall net APY (%) |
|---|---|
| 20 | 22.07% |
| 70 | 101.18% |
| 130 | 266.02% |
| 180 | 502.23% |
What each input means
- Deposit amount ($)
- Amount deposited as collateral/supply.
- Supply base APR (%)
- Base interest rate earned on supplied assets (from protocol).
- Supply reward APR (%)
- Additional token rewards (e.g., COMP, AAVE) earned on supply.
- Compounds per year
- How often interest compounds (365 = daily, 8760 = hourly).
- Borrow amount ($)
- Amount borrowed against your collateral. Set to 0 for supply-only.
- Borrow APR (%)
- Interest rate paid on borrowed assets.
- Borrow reward APR (%)
- Token rewards earned for borrowing (can offset borrow cost).
- Time period (months)
- Investment time horizon in months.
What each result means
- Overall net APY (%)
- Net annualized return on deposited capital after borrow costs.
- Total supply APY (%)
- Supply APY including base interest and token rewards.
- Supply base APY (%)
- Compounded base supply APY (from APR).
- Net borrow cost APY (%)
- Borrow APY minus borrow rewards. Positive = net cost.
- Net earnings ($)
- Total earnings minus borrow costs over the time period.
- Supply earnings ($)
- Total interest and rewards earned from supplying.
- Reward earnings ($)
- Earnings from token rewards on supply.
- Net borrow cost ($)
- Total borrow interest minus borrow rewards.
- Loan-to-Value (%)
- Borrow amount as percentage of collateral. Keep below liquidation threshold.
- Health factor
- Liquidation risk indicator. Below 1.0 = liquidation. Above 1.5 recommended.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersDeposit amount ($) = 10000, Supply base APR (%) = 3, Supply reward APR (%) = 2, Compounds per year = 365 = 8 input(s) provided
- Calculate Overall net APY2.982 = 2.982%
- Calculate Total supply APYTotal supply APY = supplyApy + supplyRewardApy5.0453 = 5.0453%
- Calculate Supply base APYSupply base APY = (pow(1 + (supplyAprPct / 100) / compoundFrequency, compoundFrequency) - 1) * 1003.0453 = 3.0453%
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Flash Loan Calculator
Size a flash loan arbitrage opportunity by calculating net profit after protocol fees, DEX fees, gas costs, and slippage. Determine break-even spreads and daily/monthly profit projections.
Crypto AdvancedDeFi Protocol Risk Score Calculator
Score a DeFi protocol's risk level (0-100) based on TVL, audits, protocol age, admin key setup, timelock, oracle diversity, bug bounty, and insurance coverage.
DeFi & CryptocurrencyYield Farming APY Calculator
Convert APR to actual APY based on compounding frequency. See how daily, weekly, or monthly compounding affects your DeFi yield farming returns.
Investing & RetirementAPY Calculator
Turn a nominal rate + compounding frequency into effective annual yield.
Crypto AdvancedValidator Node Cost Calculator
Estimate the costs and profitability of running a Proof-of-Stake validator node, including hardware, bandwidth, electricity, staking rewards, and slashing risk.
More in Investing & Retirement.