Input

Use one quote currency for all prices and monetary amounts. Display precision: amounts 2, percentages 4, prices/quantities 8 decimals; position quantities round down. ≈ marks shortened values. Tiny/large values use scientific notation; result text and exports retain up to 36 decimals.

Result

Run the tool to see the result.

How to use

Enter equal-value initial capital and both tokens’ initial and final prices in one quote currency. The model uses a full-range 50/50 constant-product pool with arbitrage, excluding trading fees, rewards, deposits and withdrawals. It does not model concentrated liquidity.