Home / Google Sheet / #crypto UNIv3 IL CALC How much impermanent loss are you in a danger of? Here is Uniswap V3 impermanent loss calculator for stable/unstable LPs (ETH/USDC, e.g.). This also allows you to estimate yields based on days outside of range. "Make a copy" to modify the values. By @phtevenstrong
Read Change Requests History View as text CONCENTRATED LIQUIDITY IMPERMANENT LOSS CALC (STABLE/UNSTABLE PAIR) SPECIAL THANKS
Barry Fried
BLUE = INPUTS, EDIT THESE GREEN = OUTPUTS, DON'T EDIT THESE Ologai
Volatile Asset Initial Price (ETH) ETH Initial Amount Future Amount, ETH Future Amount, Stables Future Value
ETH 1500 3.00 2.289 $7,265.15 $10,927.47 INITIAL ASSET AMOUNTS IN LP
ETH Upper Tick ETH Lower Tick Estimated APR Effective APR Initial Stables Needed LP YIELD ETH STABLES
2000.00 1000.00 50% 43.00% $6,163.60 5.89% 3.00 $6,163.60
Future Price (ETH) Days in The Future Days Out of Range Estimated Interest Future Value w/ Interest
IMPERMANT LOSS CALCULATIONS FINAL TALLIES
ETH Value if Held Stables Value if Held Total Value if Held Impermanent Loss ($) Impermanent Loss (%) HODL or LP?
$4,800.00 $6,163.60 $10,963.60 -$36.13 -0.33%
ETH Value if LP Stables Value if LP Total if LP PnL After Yield Added ($) PnL After Yield Added (%) LP
$3,662.32 $7,265.15 $10,927.47 $607.55 5.54%
UNDER THE HOOD
VARIABLE DESCRIPTION FORMULA VALUES
Lx Liquidity of X X((√Px*Pb)/(√Pb-√Px) 867.2502375
Ly Liquidity of Y Y/(√Px-√Pa) 867.25
Pa Price, Lower Tick Range 1000.00
Pb Price, Upper Tick Range 2000.00
Y Amount, Asset Y Lx(√Px-√Pa) $6,163.60
X' Future Amount, Asset X L((√Pb-√Px')/(√Px'*√Pb)) 2.288951092
Y' Future Amount, Asset Y L(√Px'-√Pa) $7,265.15
Px' Future Price, Asset X 1600
Py' Future Price, Asset Y 1
UniV3 AMM Formula (X + (L/√Pb))(Y + L√Pa) = L²
Read source · Agent API · Licensing · Report content
Discussion 1
From the heystacks.com archive
e