For cylinder's capacity calculating you need to know it's height and radius or diameter. After we knew those values it will not be a problem to calculate capacity.
Cylinder's capacity will calculate with next formulas:
where V – capacity, R – radius, D – diameter, h  height, π – pi constant which equal about 3,14.
Calculating cylinder volume 
