DeFi APY Calculator — Aave & Compound Stablecoin Yield
Calculate your stablecoin lending yield on Aave V3 and Compound V3 with daily compounding. Enter amount, APY %, and days — see earnings and final value instantly.
- Data verified · June 2026
- Edited by Martín Rodríguez
- Formula verified by automated tests
- Private — runs on your device
See step-by-step calculation
See this calculation step by step
See period-by-period detail
How to use this calculator
Follow this tool’s steps, then review its formula, assumptions, and limits below.
When to use this calculator
- Estimate USDC supply yield on Aave V3 (Ethereum mainnet, Base, Arbitrum, Optimism) before depositing
- Compare Compound V3 USDC market APY vs a Marcus or Wealthfront HYSA for idle cash allocation
- Model stablecoin treasury management for a US LLC or solo prop — DAI in sDAI vault vs USDC on Aave
- Forecast monthly accrual for IRS Schedule B / Form 8949 record-keeping (no 1099 is issued by DeFi protocols)
- Compare DeFi stablecoin APY vs ETH liquid staking (Lido stETH ~3.2%, Rocket Pool rETH ~3.0%) on a risk-adjusted basis
- Evaluate whether L1 gas costs ($15–40 per Aave deposit/withdraw on Ethereum) eat your yield on small positions
- Stress-test net APY after assuming a 24% federal marginal bracket plus state income tax (CA 9.3%, NY 6.85%)
DeFi vs HYSA: APY Ranges & Key Risk Factors by Platform (mid-2026)
| Platform | Asset | APY Range (mid-2026) | Compounding | FDIC / Insurance | Smart Contract Risk |
|---|---|---|---|---|---|
| Aave V3 Ethereum | USDC | 4.8%–6.2% | Per-block (~2.6M/yr) | None | Yes (audited; Euler $197M exploit 2023) |
| Compound V3 | USDC | 4.5%–5.8% | Per-block (~2.6M/yr) | None | Yes (audited; Cream $130M exploit 2021) |
| Morpho Blue (curated vaults) | Stablecoins | 6%–8% | Per-block (~2.6M/yr) | None | Yes (isolated markets, curator risk) |
| Sky Protocol (sDAI) | DAI | ~5%–6% (variable) | Continuous | None | Yes (smart contract + DAI depeg risk) |
| HYSA (Marcus, Wealthfront, SoFi) | USD | 4.0%–4.5% | Daily / Monthly | FDIC up to $250K | None |
Fuente: Aave V3 Docs, Compound V3 Docs, DeFi Llama, intro de la calculadora (hacecuentas.com, datos de mayo–junio 2026). Tasas DeFi flotan en tiempo real; verificar en app.aave.com y defillama.com/yields antes de operar.
How it works
The APY Formula: Compound vs Simple Interest
The canonical compounding formula is APY = (1 + r/n)^n − 1, where r is the nominal annual rate and n is the number of compounding periods per year. Aave and Compound effectively compound per block (roughly every 12 seconds on Ethereum post-Merge), so n is on the order of 2.6M — close enough to continuous compounding that the APY ≈ e^r − 1. This calculator models daily compounding (n=365), which is standard for APY comparisons.
Why APY beats APR: At 5% APR you get ~5.13% APY; at 10% APR you get ~10.52% APY. Always compare APY to APY.
Common APY Reference Table: $1,000 Principal over 1 Year
| APY | 30 days | 90 days | 180 days | 365 days |
|---|---|---|---|---|
| 3% | $2.47 | $7.40 | $14.89 | $30.45 |
| 5% | $4.11 | $12.33 | $24.83 | $51.27 |
| 6% | $4.93 | $14.82 | $29.84 | $61.83 |
| 8% | $6.56 | $19.74 | $39.77 | $83.00 |
| 10% | $8.22 | $24.69 | $49.80 | $105.17 |
| 15% | $12.33 | $37.18 | $75.28 | $161.80 |
| 20% | $16.44 | $49.70 | $100.93 | $221.40 |
All values in USD for a $1,000 principal, using daily compounding.
How Aave and Compound Set Rates: The Kinked Interest Rate Model
Both protocols use a utilization-based kinked model. Utilization = total borrowed / total supplied. Below an optimal utilization (typically 80–90% for stablecoins), the borrow rate climbs gently. Above the kink, the rate jumps steeply to penalize over-borrowing and protect lender liquidity. The supply APY is the borrow APY times utilization, minus a reserve factor (Aave keeps 10–20%, Compound 7–15%). This is why USDC rates spike during volatile weeks — leveraged traders borrow stables to short ETH, utilization climbs past the kink, and suppliers earn the spike. Morpho Blue improves on this by isolating markets and letting curators (Gauntlet, Steakhouse, MEV Capital) optimize the curve per asset.
Supply vs Borrow: You're the Bank
When you deposit USDC on Aave V3, you receive aUSDC (a rebasing token whose balance grows). On Compound V3, you receive cUSDCv3 (non-rebasing; the underlying balance grows via exchange rate). Borrowers post collateral (ETH, wBTC, wstETH) and pay the borrow APY. The protocol takes a cut into the reserve; the rest flows to suppliers. Your supply APY = borrow APY × utilization × (1 − reserve factor). No counterparty risk in the traditional sense — the smart contract enforces over-collateralization (typically 75–82.5% LTV for ETH).
Gas Reality: L1 vs L2
An Aave supply transaction on Ethereum mainnet runs $15–40 in gas at 20–40 gwei. A withdrawal is similar. On a $1,000 position earning 6% APY, that's $60/year minus $30–80 round-trip — your effective yield collapses. Use L2s for positions under ~$10K: Aave V3 is deployed on Arbitrum, Base, Optimism, Polygon, and Avalanche. Gas on Base or Arbitrum is typically $0.10–0.50 per transaction. Compound V3 lives on Ethereum, Polygon, Arbitrum, Base, and Optimism. Bridging USDC via Circle's CCTP (native USDC bridge) is the cleanest way to move funds — avoid wrapped USDC variants.
The Risks Nobody Caps for You
US Tax Treatment (IRS)
The IRS has not issued DeFi-specific guidance beyond Notice 2014-21 (treats crypto as property). In practice, CPAs and tax software (CoinTracker, Koinly, TokenTax) treat interest accrued on supplied stablecoins as ordinary income at fair market value when earned, reported on Schedule 1 (Other Income) or Schedule B. Each rebase or claim is a taxable event. There is no 1099-INT — the burden is on you to track. If you later sell the underlying USDC for USD, that's a separate capital gains calculation (usually zero gain for stablecoins). At a 24% federal + 6% state marginal rate, a 6% APY nets ~4.2% after-tax — still beating a 4.5% HYSA after-tax (~3.15%), but not by the headline gap.
Tools You Actually Need
This calculator is an estimate. Always read the protocol docs (docs.aave.com, docs.compound.finance) before depositing, verify the contract address against the official site, and never sign a transaction you don't understand.
Worked Example: $1,000 at 6% APY for 365 Days
Frequently asked questions
What is the formula to calculate DeFi APY earnings?
What is the current Aave USDC APY in 2026?
APY vs APR on Aave — what's the difference?
Aave V3 vs Compound V3 — which gives better yield?
Is DeFi stablecoin yield taxable in the US?
DeFi APY vs high-yield savings account (HYSA) — which earns more after tax?
Will gas costs eat my DeFi yield?
What happens if Aave gets hacked?
Can I withdraw from Aave or Compound at any time?
What about COMP and AAVE token rewards on top of the base APY?
Sources & references
Methodology & trust
Finance calculator with its formula verified automatically against Aave V3 Documentation — Interest Rate Model and Risk Parameters, per our editorial policy and methodology.
Updated: June 2026. Parameters are verified periodically against the cited sources.
Calculations run 100% in your browser. We do not store or transmit your data.
Indicative results. For critical decisions, consult a professional.
Rodríguez, M. (2026). DeFi APY Calculator — Aave & Compound Stablecoin Yield. Hacé Cuentas. https://hacecuentas.com/en/apy-defi-aave-compound
Content licensed under CC-BY 4.0 — reuse it citing the source with a link to Hacé Cuentas.