Skip to main content
Thrive is live on Product Hunt.Check us out (opens in a new tab)

5 Free Tools • No Signup Required

DeFi Calculators

Essential DeFi tools for calculating yields, impermanent loss, gas costs, and comparing staking options. Optimize your DeFi strategy with data-driven decisions.

What DeFi Calculators Solve

Decentralized finance offers incredible yield opportunities, but the risks are equally significant. That "500% APY" farm might look amazing until impermanent loss, gas costs, token depreciation, or smart contract exploits eat all your profits. DeFi rewards those who calculate, not those who FOMO.

Most DeFi users lose money because they chase advertised yields without understanding the true costs. They don't calculate impermanent loss before providing liquidity, don't factor gas costs into their break-even analysis, and don't realize that reward token inflation often outpaces their yields. By the time they withdraw, they've lost money despite "earning" high APY.

Smart DeFi investors calculate real returns after accounting for ALL costs and risks. These tools help you model LP positions, estimate gas costs, compare staking options, and understand exactly what you're getting into before deploying capital. Learn comprehensive strategies in our DeFi trading guide.

Calculate Real Yields

APY after fees, gas, and compounding

Understand IL Risk

Know your downside before LPing

Optimize Gas Costs

Find break-even points for transactions

Jump to Calculator

01

APR to APY Calculator

Full page

Convert advertised APR to effective APY with daily, weekly, or monthly compounding. Essential for comparing Aave, Lido, and LP reward rates.

APR to APY Converter

Compare advertised APR vs effective APY after compounding. Essential when evaluating Aave, Compound, Lido, and LP reward rates.

Input APR

12.00%

Effective APY

12.75%

Compounding Boost

+0.75%

365× per year

Track live DeFi yields

Thrive monitors your lending, staking, and LP positions with real-time APY and health alerts

02

Health Factor Calculator

Full page

Calculate health factor, LTV, and liquidation price for DeFi lending on Aave, Compound, and Morpho.

DeFi Health Factor Calculator

Model your Aave, Compound, or Morpho position. Health factor below 1.0 triggers liquidation.

ETH on Aave v3 ≈ 82.5%

Health Factor

1.65

LTV

50.0%

Max Borrow

$8K

Liq. Price

$2K

Drop to Liq.

-39.4%

Liquidation alerts

Get notified before your DeFi positions hit dangerous health factors

03

LP Break-Even Calculator

Full page

See whether trading fees offset impermanent loss. Know your break-even fee APR before providing liquidity.

LP Break-Even Calculator

See whether trading fees offset impermanent loss. Enter pool fee APR from Uniswap, Curve, or your DEX analytics dashboard.

Net vs Holding

+$117

LP beats holding

Impermanent Loss

-2.02%

Fees Earned

$370

Break-Even Fee APR

10.2%

IL Cost

-$253

LP performance tracking

Thrive tracks IL, fees, and net yield across all your liquidity positions

04

Uniswap V3 IL Calculator

Full page

Calculate impermanent loss for concentrated liquidity positions with custom price ranges. Compare V3 IL vs full-range V2.

Uniswap V3 IL Calculator

Concentrated liquidity IL for a custom price range. Compare V3 IL vs equivalent full-range (V2) IL.

V3 Impermanent Loss

-2.32%

-$247 vs holding

LP value

$10K

HODL value

$11K

V2 full-range IL

-0.22%

Capital efficiency

~2.5x

V3 LP tracking

Thrive monitors concentrated liquidity positions, range status, and IL in real time

05

Liquid Staking Comparison

Full page

Compare stETH, rETH, sfrxETH, and cbETH net APY after protocol fees, with optional LSTfi stacking.

Liquid Staking Comparison

Compare net APY after protocol fees for stETH, rETH, sfrxETH, and cbETH, with optional LSTfi stacking on Aave or Curve.

#ProtocolNet APYAnnual ($)Annual (ETH)
1Frax Ether(sfrxETH)6.86%$2K0.6864 ETH
2Lido(stETH)5.65%$2K0.5650 ETH
3Rocket Pool(rETH)4.72%$2K0.4720 ETH
4Coinbase(cbETH)3.75%$1K0.3750 ETH

Track LST yields in Thrive

Monitor stETH, rETH, and restaking positions with live APY and health alerts

06

Leveraged Yield Loop Calculator

Full page

Model supply-borrow-redeposit loops on Aave and Morpho. See effective leverage, net APY, and health factor.

Leveraged Yield Loop Calculator

Model supply → borrow → re-supply loops on Aave or Morpho. See effective leverage, net APY, and health factor.

Net APY on your capital

-1.98%

20 loops · 3.99x effective leverage

Total collateral

$40K

Total debt

$30K

Health factor

1.10

Net yield ($/yr)

-$198

Loop position monitoring

Track leveraged DeFi positions and get health factor alerts before liquidation

07

Stablecoin Depeg Risk Calculator

Full page

Calculate depeg severity and IL for USDC/DAI and other stable pairs before providing liquidity.

Stablecoin Depeg Risk Calculator

Model USDC/DAI, USDT/DAI, or other stable pairs. See depeg severity and pool IL when pegs diverge.

Pool risk level

medium

Max depeg: 0.200%

Token A depeg

-0.200%

Token B depeg

0.100%

IL vs hold

-0.000%

IL ($)

-$0

Stablecoin monitoring

Thrive tracks peg deviations and alerts you on depeg risk across your LP positions

08

Gas Break-Even Calculator

Full page

Is the yield worth the gas? See if your deposit covers Ethereum transaction costs for your holding period.

DeFi Gas Break-Even Calculator

Is the yield worth the gas? Estimate whether your deposit covers Ethereum mainnet transaction costs.

Net profit after gas

-$2

Gas: $35 (0.01000 ETH) · Yield: $33

Days to break even on gas

32

Min deposit for profit

$5K

Gas price alerts

Thrive notifies you when gas hits your target before you transact

09

Yield Strategy Calculator

Full page

Compare different DeFi yield strategies including staking, lending, LP farming, and yield aggregators. Calculate returns with daily, weekly, or monthly compounding.

Strategy APYs are representative examples for comparison, verify current rates on each protocol before depositing.

ETH Staking

Native ETH staking through liquid staking protocols. Low risk, consistent yield from network validation rewards.

low risk
APY Breakdown3.5% Total
Base Yield3.5%

✅ This is real yield from protocol revenue, not token emissions.

Final Value (12mo)

$10,356

Total Earnings

+$356

Avg Monthly

$30

Compounding Advantage

With daily compounding, effective APY is 3.6% , you earn $6 more than simple interest ($350).

Available on:LidoRocket PoolCoinbase

Track your DeFi yields

Thrive monitors your positions and calculates real returns

10

Impermanent Loss Calculator

Full page

Interactive IL calculator with visual slider and value comparison. See exactly how price divergence affects your LP position vs simply holding.

Impermanent Loss Calculator

Enter token prices at deposit and now for a 50/50 liquidity pool. IL is computed from the relative price change between the pair.

$1.50
$0.25$4.00

Impermanent Loss

-2.02%

Pair ratio changed +50.0% from deposit

-$101 vs holding

HODL Value

$5K

LP Value (excl. fees)

$5K

IL Reference

1.25x price change:

0.6% IL

1.5x price change:

2.0% IL

2x price change:

5.7% IL

5x price change:

25.5% IL

Track LP positions

Monitor impermanent loss across all your liquidity positions

11

Liquidity Pool Simulator

Simulate liquidity pool positions and see how your LP tokens perform under different market scenarios. Understand fees, rewards, and IL impact.

LP Fee Calculator - Uniswap V2

Full range liquidity, simple

Fee Tier:0.3%
Your Share:0.1000%
IL Risk:MEDIUM

Daily Pool Fees

$3,000

Your Daily Fees

$3.00

Yearly Fees

$1,095

Fee APY

10.9%

Reality Check

This 10.9% APY is from fees alone. Factor in impermanent loss, a 50% price divergence causes ~5.7% IL. Fees must exceed IL for profit.

Track your LP positions

Thrive monitors fees, IL, and net returns across all your pools

DeFi Calculator Examples

See how these calculators help you make informed DeFi decisions:

Example 1: Yield Comparison

Principal: $10,000

Option A: 12% APR (no compound)

Option B: 10% APY (daily compound)

Gas per compound: $5

After 1 Year:

Option A: $11,200

Option B: $11,052 (after $1,825 gas)

Option A wins (gas kills B)

Always factor gas into yield calculations

Example 2: Impermanent Loss Analysis

LP Position: $10,000 ETH/USDC

ETH Entry: $2,000

ETH Exit: $3,000 (50% up)

Pool APY: 25%

Analysis:

IL from 50% move: ~2.0%

Yield earned: ~25%

Net gain: ~23%

Fees offset IL in this case

Example 3: Gas Break-Even Analysis

Deposit Amount: $500

Gas to Deposit: $15

Gas to Withdraw: $15

Pool APY: 20%

Break-Even:

Total gas: $30 (6% of position)

Time to break even: ~110 days

Position too small for mainnet

Use L2 or increase position size

Key Insight: Advertised APY is meaningless without context. Always calculate: (1) actual yield after compounding, (2) impermanent loss risk, (3) gas costs, and (4) token price risk. Only then do you know your real expected return.

DeFi Mathematics and Yield Calculation

Understanding these formulas helps you evaluate DeFi opportunities accurately and avoid costly mistakes.

APY from APR Conversion

APY includes compounding; APR doesn't. Higher compounding frequency increases APY.

APY = (1 + APR/n)^n - 1 (where n = compounds per year)

Impermanent Loss Formula

IL depends only on the price ratio change, not the direction. A 2x move up or 0.5x move down causes the same IL.

IL = 2 × √(price_ratio) ÷ (1 + price_ratio) - 1

Gas Break-Even Calculation

Calculate the minimum time needed to recoup gas costs. If break-even exceeds your intended holding period, the position isn't worth it.

Break-Even Days = (Total Gas Cost ÷ Position) ÷ (Daily APY) × 365
Choosing the Right DeFi Strategy

Different DeFi strategies suit different goals and risk tolerances. Use these calculators to evaluate which approach makes sense for your situation:

Simple Staking (Low Risk)

Lock tokens to secure a network and earn rewards. Use the Yield Calculator to compare staking APYs across protocols. Best for long-term holders who want passive income without complexity.

Lending (Medium Risk)

Supply assets to protocols like Aave or Compound. Calculate expected yields with the Yield Calculator and factor in gas costs with the Gas Optimizer. Good for earning on stablecoins.

Liquidity Provision (Higher Risk)

Provide liquidity to DEXs and earn trading fees. Always use the IL Calculator to understand potential impermanent loss vs fee income. Best for those comfortable with active management.

Yield Farming (Highest Risk)

Chase maximum yields across multiple protocols. Calculate true returns after IL, gas costs, and token volatility. Only for experienced DeFi users who can actively manage positions.

Pro Tips for DeFi Success

Calculate Real Yield, Not Advertised

High APY means nothing if gas costs or IL eat your profits. Use these calculators to determine your actual net returns.

Factor in Gas for Every Action

Deposits, withdrawals, claims, and compounds all cost gas. Calculate break-even points before making small transactions.

Understand IL Before LPing

Always run the IL calculator before providing liquidity. Know your potential downside if prices diverge significantly.

Diversify Across Protocols

Smart contract risk is real. Don't put all your capital in one protocol, no matter how attractive the yield.

Frequently Asked Questions
Impermanent loss (IL) is the difference between holding tokens in a liquidity pool vs simply holding them. IL = 2 × √(price ratio) ÷ (1 + price ratio) - 1. For a 2x price change, IL is about 5.7%. It's "impermanent" because if prices return to original ratio, IL disappears. Trading fees can offset IL.

Want Real-Time DeFi Analytics?

Track smart money flows, monitor whale wallets, and get alerts on high-yield opportunities with Thrive's DeFi intelligence dashboard.