The calculator uses the DLMM bin invariant
Each relative bin has one fixed price and one constant-sum liquidity value:
Pᵢ = P₀(1 + s/10,000)ⁱ; Lᵢ = Pᵢxᵢ + yᵢ
Where:
i— relative bin ID.s— bin step in basis points.Pᵢ— fixed price of bini.Lᵢ— constant-sum liquidity value in that bin.xᵢandyᵢ— token reserves in that bin.
A bin trades without price impact until one side is consumed; then execution advances to another bin.
How the three shapes are represented
Spot assigns the same raw weight to every selected bin. Curve uses the SDK helper’s Gaussian family centered on the active bin. Bid-Ask uses its inverse-Gaussian family to raise weights toward the edges. Token X and token Y weights are normalized separately on their respective sides, including half of the active-bin density on each side. The model omits only integer rounding and transaction construction.
How fees are separated
The program fee relationship is:
total fee = min(base fee + variable fee, 10%)
Where:
base fee— the base-factor, bin-step, and power-factor term.variable fee— the volatility accumulator and variable-control term.10%— the program’s maximum total fee rate.
Estimated income uses volume and competing liquidity for the modeled active bin, then applies time in range and the standard-pool LP share.
What this cannot predict
Future volume, bin crossings, volatility decay, competing liquidity, token value, and rebalancing are unknown. A large modeled fee rate can coincide with rapid inventory conversion and loss against holding. No displayed figure is an expected return or a pool recommendation.
Official Meteora sources
- DLMM formulas: prices, constant-sum bins, and fees
- DLMM Spot, Curve, and Bid-Ask strategies
- Meteora DLMM TypeScript SDK reference
Frequently asked questions
How is a DLMM bin different from a concentrated-liquidity tick?
Each DLMM bin trades at one fixed price with constant-sum liquidity. Price changes when a swap consumes a bin and advances to another bin. A tick range instead represents a segment of a continuous concentrated-liquidity curve.
How does bin step change price?
A bin step is measured in basis points. Price at relative bin i is anchor price multiplied by (1 + bin step / 10,000) raised to i.
Are Spot, Curve, and Bid-Ask weights exact deposit quotes?
No. This calculator uses explicit normalized analytical shapes: uniform, center-heavy, and edge-heavy. Meteora SDK deposit amounts also depend on token balances, active-bin state, integer rounding, and strategy helpers.
Does this connect to Meteora?
No. This phase is pure client-side scenario maths. It does not call an API, read a wallet, quote a transaction, or recommend a pool.