# Volume of a Cylinder

USB C Docking Station, Selore Laptop Docking Station Dual Monitor, 14 in 1 Docking Station 3 Monitors with 2 HDMI,VGA,10G USB A/C,100W PD,6 USB A/C Ports,USB C Hub Multiport Adapter for Windows Laptop

As an Amazon Associate I earn from qualifying purchases. Thank you!

**Formula:**`V = πr²h`

## Introduction to Volume of a Cylinder Calculator

The volume of a cylinder is determined by multiplying the area of the base (πr², where r is the radius of the base) by the height of the cylinder. In this formula, ** V**represents the volume of the cylinder,

**is the radius of the base, and**

*r***is the height of the cylinder. The result is expressed in cubic units, based on the original units of length (e.g., cubic meters, cubic centimeters).**

*h*## Parameter usage:

`r`

= radius of the cylinder`h`

= height of the cylinder

## Example valid values:

`r`

= 5`h`

= 15

## Output:

`V`

= volume of the cylinder

## Data validation

The radius and height should be greater than zero. Otherwise, an error message will be returned.

## Summary

This calculator determines the overall volume of a cylinder based on the measurements provided.