金融工具

无常损失计算器

计算Uniswap V2风格流动性池的无常损失 — 在任意价格变化下比较LP价值与HODL

Impermanent Loss Calculator

Constant-product (Uniswap V2-style) LP position vs HODL

Position

Split 50/50 by value into ETH and USDC.

Impermanent Loss

-2.02%

Price ratio change: 1.5000× (of ETH/USDC)

HODL value

$12,500.00

LP value (no fees)

$12,247.45

Fees earned

$82.19

Net P&L vs HODL (LP + fees − HODL)

$-170.36

Fees needed to break even: $252.55

Pool Composition

At deposit

2.500000 ETH

5,000.000000 USDC

After price move

2.041241 ETH

6,123.724357 USDC

About this formula

  • Applies to constant-product AMMs (Uniswap V2, SushiSwap, PancakeSwap V2) with 50/50 weightings.
  • IL = 2·√r / (1 + r) − 1 where r is the ratio change of A/B prices.
  • IL is always ≤ 0 vs HODL. It only becomes a realized loss on withdrawal — hence "impermanent".
  • Weighted pools (Balancer) and concentrated liquidity (Uniswap V3) have different, generally larger IL profiles.

Fee APR is applied linearly on the initial deposit for simplicity. Real pools accrue fees on the current LP value and compound continuously, so very volatile or very long positions may see slightly higher fee income than the estimate.

没找到需要的?

我们根据社区反馈开发免费工具。欢迎提出能改善您工作流的工具建议!

无常损失计算器 — 免费工具在线 | FreeTool24 | FreeTool24