What is the DeFi Yield Calculator?
A yield calculator that converts between APR and APY across 6 compounding frequencies, projects your earnings over any time period, and includes an impermanent loss simulator for 50/50 liquidity pools. Compares HODL vs LP returns with fee income factored in. The math protocols don't show you upfront.
Most yield calculators only convert APR to APY and stop there. We add impermanent loss math (the 2*sqrt(r)/(1+r)-1 formula every LP user should know), HODL-vs-LP comparison with fee earnings, and a day-by-day yield simulation chart. Browser-only, unlimited, no signup.
How it works
Features
Why this calculator
Most yield calculators stop at APR/APY. We add the impermanent loss math because it's the missing variable that bankrupts LP positions.
Same capital, two strategies, side by side with fees. Decide whether to provide liquidity or just hold based on math, not vibes.
Most DeFi protocols compound on every block. We support continuous (e^rt) for accurate projections. Other tools only do yearly/monthly.
Your wallet sizes and strategies are private. Yield calculator websites that require email or a wallet connection see all of it.
Who uses it
Real use cases
- A DeFi pool advertises '120% APR' but you suspect it's APY mislabeled. Plug in 120 APR, daily compound -you get 232% APY. If that's not what they're showing, the protocol is fudging numbers.
- You're considering a Uniswap v2 ETH/USDC LP at 30% APR fees. Plug in $10K, simulate ETH up 50% -net return is +27% (+30% fees - 3% IL). Worth it.
- Same scenario but ETH up 200% -net return is +12% (+30% fees - 18% IL). Just holding ETH would have been +100%. Liquidity providing was the worse choice.
- You're picking between two stablecoin yield strategies. One claims 8% APY weekly compound, the other 7.5% APY daily. They're nearly identical APR -pick the one with lower gas / better security.
- Your auto-compounder vault claims 50% APY. Math says daily compounding at 40% APR equals 49% APY -sounds about right. If they claim 50% APY at weekly compound, the underlying APR has to be 38%.
- You want to know break-even fee rate for an LP position. Use the IL chart to find IL at your expected price-change range, then enter that as the minimum fee % needed.
Compared with other tools
| Feature | Molixa | APY.com | Finematics | DeFi Pulse |
|---|---|---|---|---|
| APR ↔ APY converter | Yes (6 freq) | Yes (4 freq) | Yes | Yes |
| Continuous compounding | Yes | No | No | No |
| IL simulator | Yes | No | Educational only | No |
| HODL vs LP comparison | Yes | No | No | No |
| Day-by-day chart | Yes | No | No | No |
| Free, no signup | Yes | Yes (ads) | Yes (ads) | Yes |
| Browser-only | Yes | Server | Server | Server |
Frequently asked questions
Is the DeFi yield calculator free?▾
Yes. Unlimited use, no signup, no daily cap. APY/APR math, yield simulation, and impermanent loss all run in your browser. APY.com and Finematics are free but ad-supported and miss the IL simulator; we ship both.
What's the difference between APR and APY?▾
APR is the simple annual rate. APY accounts for compounding within the year. A pool advertising 100% APR with daily compounding is actually 171% APY. Always check which one a protocol shows you, the difference is huge for high-rate pools.
What is impermanent loss?▾
When you provide liquidity to a 50/50 pool, the AMM rebalances your tokens as their prices change. If one token doubles while the other stays flat, you end up with less of the appreciating token than if you'd just held both separately. The dollar value gap is impermanent loss.
Is impermanent loss really impermanent?▾
Only if prices return to the original ratio. If a token 10x's and stays there, your LP position permanently underperforms a simple HODL. The 'impermanent' name is misleading. Many LP providers lose money to IL even after fees.
What compounding frequency should I assume?▾
Most DeFi protocols compound on every block (effectively continuous). Pick 'continuous' for that. For staked tokens with explicit reward intervals (Cosmos validators, Rocket Pool, etc.), pick the actual interval.
Are the yield numbers real?▾
The math is correct. The inputs are your responsibility. Most DeFi APRs change daily based on pool TVL, reward emissions, and gas-cost overhead. Plug in current numbers from the protocol's UI and re-run.
How do I read the IL chart?▾
X-axis is the price change of one token relative to the other. Y-axis is impermanent loss percent. The curve is symmetric around 0% (no change = no IL). At ±50% change, IL is about 5.7%. At 4x (300% change), IL is 20%.
What about gas fees?▾
Not modeled directly. For high-frequency yield strategies on Ethereum L1, gas can wipe out small positions. Add a fixed gas cost in your spreadsheet for realistic projections. L2s (Arbitrum, Optimism, Base) have negligible gas.
Can I model auto-compounding strategies?▾
Yes via the daily compounding option. Yearn-style auto-compounders harvest rewards and re-deposit, which mathematically equals daily compounding at most protocols. Use the daily setting to approximate.
Is my data sent anywhere?▾
No. The calculator is pure browser math. Your wallet balances, your strategies, your numbers stay on your laptop. We don't even know you're using the calculator.
Calculate yields and IL now
APR/APY converter, day-by-day chart, IL simulator, HODL vs LP. Free unlimited.
Open the yield calculatorThe DeFi Yield Calculator page is built, reviewed, and maintained by the Molixa team. We use the tool we ship and update the docs when the behavior changes.
Related Crypto Tools
Crypto Tax Calculator
CSV import, FIFO/LIFO/HIFO compare, Form 8949, US/UK/CA/AU. No SaaS fee.
Wallet Address Validator
15 chains, auto-detect, subtype identification, burn warnings.
NFT Metadata Generator
ERC-721 + ERC-1155, traits builder, CSV bulk, IPFS-ready.
Token Contract Generator
ERC-20/721/1155 + OZ v5 + 9 extensions + gas estimates.
Popular Tools
AI Content Detector
Check if text was written by AI with a sentence-by-sentence heatmap.
YouTube Video Summarizer
Turn any YouTube video into clear notes with chapters, quotes, chat, and flashcards.
PDF Summarizer
PDF summarizer with page citations, multi-doc compare, and domain templates.
AI Text Rewriter
Paraphrase in 10 modes with diff view, freeze words, and brand voice training.
AI Math Solver
Free math solver with step-by-step solutions, photo upload, and 4 learning modes.
Watermark Remover
Brush over a watermark or object and remove it cleanly with AI. Pro/Plus.