how to calculate quantity for 1cum