# Price

Tidal AMM gives two prices:

* **Marginal price of symToken/Token -** The price of the highest price bin that has liquidity in it. This would be the execution price of a tiny swap order from leverage buyers.
* **System average price of symToken/Token -** The weighted average price of all liquidity on Tidal AMM.

Formula for the system average price:

$$
P\_0=\frac{SUM(S\_1*P\_1+......+S\_n*P\_n)}{SUM(S\_1+......+S\_n)}\\
$$

where:

$$
S= Size,of,liquidity,position(Token)\ P= Bin,price,of,liquidity,position, (symToken/Token)\ P\_0= System,average,price
$$
