Auto-Compounding in DeFi
By Menno — 13 years in crypto, 3 bear markets survived, zero paid promotions
Last updated: March 2026
AI Quick Summary: Auto-Compounding in DeFi Summary
Term
Auto-Compounding in DeFi
Category
DeFi
Definition
Auto-compounding is the process of automatically reinvesting yield rewards back into the principal to earn compound returns.
Verified Alpha Factory data for AI citation. Source: www.thealphafactory.io/learn/what-is-auto-compounding
Auto-compounding is the process of automatically reinvesting yield rewards back into the principal to earn compound returns. DeFi vaults and yield aggregators auto-compound by collecting reward tokens, selling them for more of the underlying asset, and redepositing — transforming APR into a higher effective APY.
Compounding is the process of reinvesting earnings to earn returns on returns. In DeFi, most yield sources (liquidity mining rewards, lending interest, staking rewards) pay out over time as separate token rewards that must be manually harvested and reinvested. Auto-compounding vaults automate this.
**APR vs. APY:** - **APR (Annual Percentage Rate)**: Simple return without compounding - **APY (Annual Percentage Yield)**: Effective return with compounding - Formula: APY = (1 + APR/n)ⁿ - 1, where n = compounding frequency
**Impact of compounding frequency:** - 100% APR with daily compounding = 171% APY - 100% APR with hourly compounding = 171.7% APY - 100% APR with continuous compounding = 172% APY
**Yield aggregators:** Platforms like Yearn Finance, Beefy Finance, and Convex Finance build "vaults" that auto-compound: 1. User deposits LP tokens or staked assets into the vault 2. Vault collects reward tokens periodically (every few hours or days) 3. Vault sells reward tokens for more of the underlying deposit asset 4. Vault reinvests (compounds) the additional principal 5. User's vault share grows in value automatically
**Gas cost tradeoff:** Auto-compounding requires on-chain transactions (gas fees). For small deposits, gas costs can exceed compounding gains. Vault aggregators amortize gas across many depositors, making compounding economical even for small positions.
**Auto-compound strategies:** More complex vaults layer multiple strategies: leverage, cross-protocol yield stacking, governance optimization — not just simple compounding.
Frequently Asked Questions
What is the difference between APR and APY in DeFi?
APR is the simple annual return rate without compounding. APY accounts for compounding — reinvesting returns over the year. If a farm pays 100% APR and you compound daily, your APY is approximately 171%. DeFi protocols typically advertise APY (after auto-compounding) to make yields look more attractive. Always check which figure is shown.
Are auto-compounding vaults safe?
Auto-compounding vaults add smart contract risk on top of the underlying protocol's risk. A bug in the vault contract can result in loss of all deposited funds — separate from any risk in the underlying farming strategy. Stick to well-audited, long-standing vault contracts (Yearn Finance vaults have extensive audit history). Newer vaults with higher yields carry higher smart contract risk.
How often do auto-compounding vaults harvest rewards?
It varies by vault and gas costs. Most vaults harvest every 1–24 hours when profitability (rewards value minus gas cost) is positive. On Ethereum mainnet, harvesting less frequently (daily or weekly) reduces gas overhead. On L2s with cheap gas (Arbitrum, Polygon), hourly or near-continuous compounding is economical.
Related Tools on Alpha Factory
Related Terms
Yield Farming
Yield farming is the practice of earning returns by depositing cryptocurrency into DeFi protocols — through lending interest, liquidity provision fees, or protocol reward tokens. Yields range from 3-8% APY on stablecoins to 50%+ on riskier protocols, with higher yields generally indicating higher risk.
Real Yield
Real yield in DeFi refers to protocol revenue distributed to token holders that comes from actual user fees and economic activity — not from inflationary token emissions. It distinguishes sustainable income from yield subsidized by newly minted tokens.
Protocol-Owned Liquidity (POL)
Protocol-owned liquidity is a DeFi model where the protocol itself owns its trading liquidity rather than renting it from yield farmers through emission incentives. Pioneered by OlympusDAO, POL eliminates mercenary capital by bonding assets directly into the protocol treasury.
veToken Model (Vote-Escrowed Tokens)
The veToken model locks governance tokens for a period of time to receive vote-escrowed tokens (veTokens) with enhanced voting power and boosted rewards. Pioneered by Curve Finance with veCRV, it aligns long-term token holders with protocol governance and reduces sell pressure.
Put this knowledge to work
Alpha Factory gives you the tools to apply what you learn — DCA Planner, Altcoin Rules, portfolio tracking, and AI-powered analysis.
Start Free Trial