how do u get the volume of a cylinder

if it is a right cylinder, volume is area of the base x height.