The orientation of the cylinder doesn`t affect its volume. Just make sure to measure the height and radius correctly.