Caution
1. Fees, rewards, trading volume, asset price volatility, market conditions, percentage of assets in the pool and other variables are not taken into account.
2. This is a tool that provides temporary profit/loss calculations and impermanent loss estimates and does not represent exact returns.
Actual returns may vary due to market volatility and various influencing factors.

Refer to Uniswap V1 for reconciliation calculations. x * y = k (constant product formula)
This calculator estimates the expected profit and impermanent loss rate when depositing two coins into a liquidity pool to provide liquidity.
When depositing into the liquidity pool, you can check the results by entering the quantity of coins A and B, the initial dollar price, and the changed (current, future) dollar price and then clicking 'Calculate'.
Liquidity pools assume that the ratio is adjusted close to 1:1 according to price fluctuations.
Due to changes in the dollar value of each coin and changes in coin quantity, the price may fluctuate when deposited into the liquidity pool, and profits and losses may vary when supplying the liquidity pool.
I also hope this helps you understand roughly how impermanent loss occurs.

Liquidity Pool Supply Impermanent-Loss Calculation

Coin A




Coin B







Results: