# how to calculate current storage values for liquidity baking CPMM

In looking at the storage values of the CPMM one can see that as of right now the CPMM has the following amounts of tzBTC (represented by the contract as tokenPool), xtz (represented as xtzPool), and LQT or liquidity tokens (represented as lqtTotal).

``````tokenPool: 161155812
xtzPool: 38977018471
lqtTotal: 51961
``````

I understand that a mutez is 1/1000000 of a single xtz. So we can say that given the above values, the CPMM has 38977.018471 xtz.

What I don't fully understand is how to calculate the amount of tzBTC and LQT are present.

Is it the same conversion factor? Would I be able to do the following (and would it be correct)?

``````tokenPool (tzBTC): 161155812/1000000 = 161.155812 tzBTC

lqtTotal (LQT): 51961/1000000 = 0.051961
``````

The above numbers seem to make sense for the tokenPool (tzBTC) values, but seem wrong for the LQT.

tzBTC uses 8 decimals like Bitcoin, so you should divide `tokenPool` by 100000000 to get the number of tzBTC held by the contract.
• Am I right in thinking that `lqtTotal` uses no decimal places? Aug 1 at 16:03