Crypto LP Position Value Calculator

Calculate the current value of a constant-product AMM liquidity position. Enter pool reserves or k value and price to find your LP token worth.

$
$
LP Value Now
$24,494.90
Probability under null hypothesis
Hold Value Now
$25,000.00
Current Token A
4.0825
Flow of electric charge
Current Token B
12,247.45
Flow of electric charge
IL (USD)
-$505.10
Constant Product (k)
50,000
Planning notes, formulas, and examples

About the Crypto LP Position Value Calculator

When you provide liquidity to a constant-product AMM (x × y = k), your position value changes as the price of the tokens shifts. Unlike simply holding tokens, an LP position rebalances continuously, which affects how much of each token you hold and the total dollar value.

This LP Position Value Calculator computes the current value of your liquidity position based on the AMM's constant product formula. Enter the pool's k value (or initial deposit amounts) and the current price to see your position's worth and token composition.

Understanding your LP's current value is essential for tracking performance, planning exits, and comparing against holding. The math behind AMM positions is unintuitive, and This calculator makes it transparent.

Use the result to map token-release or fee scenarios and revisit the model when market conditions, unlock terms, or portfolio assumptions change.

When This Page Helps

AMM rebalancing means your LP token counts change with price. This calculator shows exactly what you hold and its value at any given price, so you can track performance and plan exits accurately.

How to Use the Inputs

  1. Enter the initial amount of each token deposited.
  2. Input the initial price of the volatile token.
  3. Enter the current price of the volatile token.
  4. Enter your share of the pool (in percent).
  5. View your current position value and token amounts.
Formula used
For x×y=k AMM: Position Value = 2 × √(k × price). Token amounts: x = √(k/price), y = √(k×price). Where k = initialX × initialY.

Example Calculation

Result: $12,247 LP value

Initial deposit: 5 ETH + 10,000 USDC (k = 5 × 10,000 = 50,000). At $3,000/ETH: x = √(50,000/3,000) = 4.08 ETH, y = √(50,000×3,000) = 12,247 USDC. Total value = 4.08 × $3,000 + 0 ≈ $12,247.

Tips & Best Practices

  • k remains constant between trades (ignoring fees).
  • Your token quantities change continuously as the price moves.
  • You always hold more of the token that decreased in relative value.
  • LP value grows as √(price) — slower than holding the appreciating token.
  • Track your LP value against a hold benchmark to measure IL impact.
  • Fees collected increase k over time, making your position more valuable.

The Math Behind AMM Position Values

In a constant-product AMM, if you deposit x₀ tokens of A and y₀ tokens of B, then k = x₀ × y₀. At any future price p (of A in terms of B), your holdings are: x = √(k/p) and y = √(k×p). Your total value in terms of B is 2×√(k×p).

Tracking LP Performance

Compare your LP value against a hold portfolio (same initial amounts, never rebalanced). The difference is your impermanent loss. Add accumulated fees to your LP value for true performance. Many tools like Zapper and DeBank automate this tracking.

How Fees Grow Your Position

Every trade adds fees to the pool, increasing k. If the pool collects 30% APY in fees, k grows by 30% over a year. This translates directly to LP token value growth, compounding on top of (and partially offsetting) any impermanent loss.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • k is the constant product in the AMM formula x × y = k. It equals the product of the two token reserves, and it stays constant (or grows with collected fees). It determines the liquidity depth of the pool.