Skip to content

DeFi Yield Calculator

APR/APY + IL simulator + HODL vs LP compare, browser-only.

Share
APY (computed)
64.82%
Final balance
$16,481.57
Total earnings (365d)
$6,481.57
$16,481.57$10,000
All math runs in your browser. Wallet sizes, strategies, balances stay private.
6
Compound modes
Yes
IL simulator
Unlimited
Free uses per day
Browser
Runs in

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

Step 1
Plug in numbers
Principal, APR or APY, compounding frequency, time horizon. Two tabs: Yield + Impermanent Loss.
Step 2
See the math
Convert APR↔APY. Project growth day-by-day. See HODL vs LP comparison side by side.
Step 3
Read the chart
Yield curve over time. IL curve across price-change scenarios. Spot break-even fee rates.

Features

6 compound frequencies
Daily, weekly, monthly, quarterly, yearly, continuous (e^rt). Match what your protocol actually does.
APR ↔ APY converter
Two-way. 100% APR daily compound = 171% APY. Spot inflated marketing rates instantly.
Impermanent loss simulator
50/50 pool IL across price-change scenarios. The math protocols don't show you when you deposit.
HODL vs LP compare
Same starting capital, factor in fee earnings, see which strategy wins at given price moves.
Day-by-day projection
Yield curve over your chosen time horizon. See when compounding takes over from contributions.
Realistic for staking
Models continuous compounding for protocols that auto-compound on every block.
IL formula explained
Each result links to the math: 2*sqrt(r)/(1+r) - 1. Learn while you calculate.
Browser only
Your strategies, balances, numbers never leave your device. Pure browser math.

Why this calculator

Includes IL simulator

Most yield calculators stop at APR/APY. We add the impermanent loss math because it's the missing variable that bankrupts LP positions.

HODL vs LP comparison

Same capital, two strategies, side by side with fees. Decide whether to provide liquidity or just hold based on math, not vibes.

Continuous compounding

Most DeFi protocols compound on every block. We support continuous (e^rt) for accurate projections. Other tools only do yearly/monthly.

Browser-only

Your wallet sizes and strategies are private. Yield calculator websites that require email or a wallet connection see all of it.

Who uses it

DeFi farmers
Comparing pool APYs across Aave, Compound, Curve, Uniswap before deploying capital.
Yield strategists
Modeling auto-compounder vs manual claim, factoring gas.
Crypto fund analysts
Stress-testing LP positions at various market scenarios.
DeFi students
Learning what APR vs APY actually means and why IL is the silent killer.

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

FeatureMolixaAPY.comFinematicsDeFi Pulse
APR ↔ APY converterYes (6 freq)Yes (4 freq)YesYes
Continuous compoundingYesNoNoNo
IL simulatorYesNoEducational onlyNo
HODL vs LP comparisonYesNoNoNo
Day-by-day chartYesNoNoNo
Free, no signupYesYes (ads)Yes (ads)Yes
Browser-onlyYesServerServerServer

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 calculator
Built and reviewed bySaqib Zahoor, WeboTech Studio
Last updated:

The 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.