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

crypto
DeFi
finance
calculator
  1. Home
  2. Google Sheet
  3. UNIv3 IL CALC

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

crypto, DeFi, finance, calculator

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

1600 50 7 $643.67 $11,571.14

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

Px Price, Asset X 1500

Py Price, Asset Y 1

Pa Price, Lower Tick Range 1000.00

Pb Price, Upper Tick Range 2000.00

X Amount, Asset X 3.00

Y Amount, Asset Y Lx(√Px-√Pa) $6,163.60

L Liquidity √K 867.25

K 🤷‍♂️ L² 752122.97

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²

UNIv3 IL CALC
Info
Tags Crypto, DeFi, Finance, Calculator
Type Google Sheet
Published 20/11/2022, 09:12:17

Resources

Draft: DeFi and the Future of Finance
Polynetwork and Hacker Communicate
Intro to DeFi
How to create MetaMask crypto wallet