Crypto & Digital Assets

How to Calculate DEX Pool Share with Constant Product

Instant crypto math

Constant-product AMMs keep x·y=k. This calculator shows spot price from reserves, your LP share for a proportional deposit, and estimated swap output with fee and price impact.

Inputs

0.00011000000000
0.00011000000000
010000000
010000000
01000

Smart analysis

Recommendations

Tailored to your live inputs and result—guidance only, not professional advice.

  • Disclaimer

    Educational estimates only

    These figures are for informational purposes and do not constitute financial, investment, or trading advice. Crypto markets are highly volatile.

Scenario studio

Compare A vs B

Capture two sets of inputs on this device, then see which outcome wins. Share either scenario with a link.

Scenario A

Adjust inputs, then capture this slot.

Scenario B

Adjust inputs, then capture this slot.

Free toolkit

Scenarios & exports

Compare scenarios and export CSV — all free, in your browser.

PDF reports
TipBookmark this page or export CSV to keep a snapshot.

Scenario comparison

Scenario A uses your live inputs. Adjust Scenario B below to compare.

Scenario A (live)

$2.00

Spot Price (Quote / Token)

Scenario B

$2.00

Spot Price (Quote / Token)

Plain-English guide

Terms & how it works

Confused by a field? Read the short definitions here while you use the tool.

  • Pool Reserve (Token)

    The “Pool Reserve (Token)” value used in this tool’s formula. Adjust it to see results update live.

  • Pool Reserve (Quote $)

    The “Pool Reserve (Quote $)” value used in this tool’s formula. Adjust it to see results update live.

  • Your LP Deposit (Token)

    The “Your LP Deposit (Token)” value used in this tool’s formula. Adjust it to see results update live.

  • Swap Amount In (Token)

    The “Swap Amount In (Token)” value used in this tool’s formula. Adjust it to see results update live.

  • Pool Fee (basis points)

    One-time or recurring costs that affect total money paid.

  • x, y

    Reserves

    Token and quote reserves in the pool.

  • k

    Invariant

    Product of reserves.

  • fee

    Pool fee

    Basis points charged on swap input.

When to use this Crypto Liquidity

Common use cases

  • Estimate profit after trading fees and slippage
  • Model DCA buys across a volatile price path
  • Back into market cap or FDV from supply assumptions

Localized examples

  • DEX liquidity pool share examples
  • Token launch budget planning for gas and liquidity

What you get

  • Fee-aware P&L and ROI outputs
  • Educational estimates for planning — not trading advice
  • Runs locally in your browser

How to Calculate Crypto Liquidity Step-by-Step

  1. 1Enter token and quote reserves currently in the pool.
  2. 2Set how many tokens you would deposit as LP (quote is matched at spot).
  3. 3Enter a swap size to estimate output and price impact.
  4. 4Set pool fee in basis points (30 = 0.30%).

Governing formula

x · y = k; Δy = y − k/(x + Δx_eff) with fee on Δx

Constant-product AMM spot price, LP share, swap output, and price impact.

Example: set Pool Reserve (Token) = 100,000, Pool Reserve (Quote $) = 200,000, Your LP Deposit (Token) = 1,000, then read the result.

Variable definitions

  • x, y

    Reserves

    Token and quote reserves in the pool.

  • k

    Invariant

    Product of reserves.

  • fee

    Pool fee

    Basis points charged on swap input.

  • Classic xy=k only—not concentrated liquidity.
  • Educational estimates; live pools differ.

Frequently Asked Questions

The percentage difference between spot price and your execution price caused by moving along the bonding curve.

Crypto & Digital Assets

Get a note when we add a planner

Occasional email when something new is worth opening. We never share your address. Unsubscribe anytime.

Community

Reviews & Ratings

See what others think about this tool, then leave your own rating to help improve CalculioHub.

4.8

out of 5.0

4 reviews

Leave a review

Your rating

Aisha K.

Mar 12, 2026

Clean layout and the results update instantly. Exactly what I needed for a quick planning check.

Daniel R.

Feb 28, 2026

Very usable on mobile. Would love a save/export option later, but the math feels solid.

Priya S.

Feb 3, 2026

The FAQ section answered my questions before I even had to search. Smooth dark mode too.

Marcus L.

Jan 19, 2026

Simple inputs, clear outputs. This replaced three bookmarks I used to juggle.

Improve this tool

Suggestion Box

Share an idea, report a bug, or send general feedback for Crypto Liquidity Calculator. Your input helps shape what we build next.