DeFiGrail
LOADING CONTENT INDEX…
LIVE
BTC$71,240+2.1%ETH$3,905+3.4%DeFi TVL$112.4B-0.8%
DATA AS OF 14:00 UTC
Playground
Play with the math. Every formula on DeFiGrail, made interactive in one place.

Impermanent Loss

Drag the price ratio and watch an LP's divergence loss against simply holding.

Open the full topic →
IL = -2.02%
HODL $12500.00 vs LP $12247.45 (Δ $-252.55, fees excluded)
P = 1.5000× · $10,000 initial position

Price Impact

See how trade size relative to pool depth drives slippage on a constant-product curve.

Open the full topic →
10% of reserve
Price impact ≈ 11.1%
Constant-product (x·y=k): impact = f / (1 − f). The deeper the pool relative to your trade, the smaller f — and impact stays near zero.

Interest Rate Curve

Move utilization across the kink and watch a lending pool's borrow rate respond.

Open the full topic →
U 80%
Rate = 10.00%
Below kink — gentle slope (base + U × m₁)

Concentrated Liquidity

Set a v3 price range and see how capital splits between the two assets.

Open the full topic →
$1000
$3000
$2000
TOKEN0 (x)
0.0041
TOKEN1 (y)
13.0986
IN RANGE — active earning

PT Pull-to-Par

Watch a Pendle principal token's price converge to par as maturity approaches.

Open the full topic →
r=5%: PT starts at 0.9524 · r=10%: PT starts at 0.9091 · r=20%: PT starts at 0.8333 — all converge to 1.00 at maturity (pull-to-par).