Coins: 13,978
Exchanges: 1,057
Market Cap: $2.429T 0.1%
24h Vol: $133.287B
Gas: 8 GWEI
Go Ad-free

Impermanent Loss Calculator

This calculator estimates the impermanent loss when you provide liquidity. Simply enter the weightage of the assets and the percentage change expected to estimate impermanent loss percentage. Note that this calculator does not include any trading fees earned, which may help cushion impermanent losses.

APY calculator

This calculator breaks down the annual percentage yield (APY) across different timeframes for a given principal (in $) and APY percentage to help estimate earnings.

APY information displayed is based on an estimated calculation using the current market price and reward rate. It does not account for market fluctuation, gas fees, and smart contract risks. Your individual profitability may vary.

FAQ on Impermanent Loss and APY

What is APY in crypto?

APY, short for annual percentage yield, measures the rate of return when users deposit their funds into different lending and yield farming protocols. APY includes the effects of compounding interest, which can transform low daily or hourly returns into massive amounts over time. Since APY reflects the return on investment over a year, you should only expect to receive the advertised rates if your funds are deposited over that time horizon. Returns may also vary at any moment due to a multitude of factors such as token price and additional token incentives.

How is APY calculated in crypto?

In crypto, APY is often calculated differently depending on how often the yield is disbursed. For example, rebase tokens such as Olympus, Wonderland TIME, and KlimaDAO allow depositors to earn rewards every epoch, usually every 8 hours. This means that your deposited tokens will effectively compound 3 times per day, resulting in a much higher APY than if your tokens were only compounded daily.

With that being said, the APY can also fluctuate based on the token price and the total amount of deposits. Some protocols usually provide returns in the form of other tokens, where users need to manually claim, sell the tokens and compound them to their initial deposit. The APY shown will then be the yield that depositors can expect to receive if they manually compound on a daily or weekly basis.

The general rule of thumb is that the higher the number of compounding periods, the higher the APY. Sometimes, a protocol may display the APR, or annual percentage rate, instead of APY. The critical difference is that it can be regarded as simple interest, where the effects of compounding are not included. Both protocols could have the same APR, but the APY can vary wildly based on how often new tokens are continuously added to your initial deposit.

What is the difference between APR and APY?

Although both of these terms refer to the return you would get on your deposits, APR does not consider the effect of compounding, while APY does, which is why it is usually much higher than the APR for any investment. Below is the APR for farms on Trader Joe, which highlights both the yield for providing the liquidity, as well as the bonus returns from staking the LP tokens in the corresponding farm.



Assuming your yield is compounded every month, investors could earn interest on top of the interest earned from previous months, resulting in additional yield that can be pretty significant in the long term. If the yield is generated annually, then the APR and APY should be precisely the same.

Depending on the amount of liquidity as well as the trading activity associated with a particular liquidity pool, depositors can usually expect a generous return, even more so if they are particularly early or own a large share of the liquidity pool. But as we’ve mentioned before, impermanent loss is a risk for liquidity providers everywhere, even for the most seasoned yield farmers.

What is impermanent loss?

Impermanent loss is incurred when liquidity providers receive different amounts of assets upon withdrawal, compared to when they first deposited them into a liquidity pool on an automated market maker (AMM) such as Uniswap or Sushiswap. This is due to changes in token price, which affects the composition of the liquidity pool, resulting in you having slightly less or more of a particular token. For example, even if you deposited your assets at a 50:50 ratio at the start, there is no guarantee that you will receive the same amount of each asset in the end. This may result in liquidity providers receiving a lower value of assets than if they just chose to hold the tokens in their wallet instead.

How do you calculate impermanent loss?

Now that you’ve understood how impermanent loss occurs, how do you calculate exactly how much you’ve lost from providing liquidity? If the price of the assets in a pool changes by a certain amount, the total value of your deposits will be affected, and we can simply plot these results on a graph. Since we are talking about the price change, it does not matter whether the price of the assets goes up or down, as you would still be better off holding the assets instead.



Source: Alex Beckett

Depending on the amount of liquidity as well as the trading activity associated with a particular liquidity pool, depositors can generate a positive return if the earned fees exceed their impermanent loss or not at all. These fees that depositors can expect to receive are usually represented in percentage form, otherwise known as the APY.


Explore Polkadot's Ecosystem
Discover trending dApps, wallets, DeFi & more

What is Zeebu?
Learn more about the Web3 neobank


coingecko
Continue in app
Track prices in real-time
Open App
Select Currency
Suggested Currencies
USD
US Dollar
IDR
Indonesian Rupiah
TWD
New Taiwan Dollar
EUR
Euro
KRW
South Korean Won
JPY
Japanese Yen
RUB
Russian Ruble
CNY
Chinese Yuan
Fiat Currencies
AED
United Arab Emirates Dirham
ARS
Argentine Peso
AUD
Australian Dollar
BDT
Bangladeshi Taka
BHD
Bahraini Dinar
BMD
Bermudian Dollar
BRL
Brazil Real
CAD
Canadian Dollar
CHF
Swiss Franc
CLP
Chilean Peso
CZK
Czech Koruna
DKK
Danish Krone
GBP
British Pound Sterling
GEL
Georgian Lari
HKD
Hong Kong Dollar
HUF
Hungarian Forint
ILS
Israeli New Shekel
INR
Indian Rupee
KWD
Kuwaiti Dinar
LKR
Sri Lankan Rupee
MMK
Burmese Kyat
MXN
Mexican Peso
MYR
Malaysian Ringgit
NGN
Nigerian Naira
NOK
Norwegian Krone
NZD
New Zealand Dollar
PHP
Philippine Peso
PKR
Pakistani Rupee
PLN
Polish Zloty
SAR
Saudi Riyal
SEK
Swedish Krona
SGD
Singapore Dollar
THB
Thai Baht
TRY
Turkish Lira
UAH
Ukrainian hryvnia
VEF
Venezuelan bolívar fuerte
VND
Vietnamese đồng
ZAR
South African Rand
XDR
IMF Special Drawing Rights
Cryptocurrencies
BTC
Bitcoin
ETH
Ether
LTC
Litecoin
BCH
Bitcoin Cash
BNB
Binance Coin
EOS
EOS
XRP
XRP
XLM
Lumens
LINK
Chainlink
DOT
Polkadot
YFI
Yearn.finance
Bitcoin Units
BITS
Bits
SATS
Satoshi
Commodities
XAG
Silver - Troy Ounce
XAU
Gold - Troy Ounce
Select Language
Popular Languages
EN
English
RU
Русский
DE
Deutsch
PL
język polski
ES
Español
VI
Tiếng việt
FR
Français
PT
Português
All Languages
AR
العربية
BG
български
CS
čeština
DA
dansk
EL
Ελληνικά
FI
suomen kieli
HE
עִבְרִית
HI
हिंदी
HR
hrvatski
HU
Magyar nyelv
ID
Bahasa Indonesia
IT
Italiano
JA
日本語
KO
한국어
LT
lietuvių kalba
NL
Nederlands
NO
norsk
RO
Limba română
SK
slovenský jazyk
SL
slovenski jezik
SV
Svenska
TH
ภาษาไทย
TR
Türkçe
UK
украї́нська мо́ва
ZH
简体中文
ZH-TW
繁體中文
Login to track your favorite coin easily 🚀
By continuing, you agree to CoinGecko Terms of Service and acknowledge you’ve read our Privacy Policy
or
Forgot your password?
Didn't receive confirmation instructions?
Resend confirmation instructions
IT'S FREE! Track your favorite coin easily with CoinGecko 🚀
By continuing, you agree to CoinGecko Terms of Service and acknowledge you’ve read our Privacy Policy
or
Password must contain at least 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character
Didn't receive confirmation instructions?
Resend confirmation instructions
Forgot your password?
You will receive an email with instructions on how to reset your password in a few minutes.
Resend confirmation instructions
You will receive an email with instructions for how to confirm your email address in a few minutes.
Get the CoinGecko app.
Scan this QR code to download the app now App QR Code Or check it out in the app stores