# Volume of a cylinder diameter and height Calculator

 If you are searching for how to find the volume of a cylinder, this cylinder volume calculator is for you. The volume of a cylinder is a quantity present in many applications. For example, in a vehicle, the engine displacement term refers to the volume swept by the piston in the engine cylinders, multiplied by the number of cylinders. This tool calculates the cylinder volume in a matter of seconds. Still, in the following sections, we present the cylinder volume formula to do it manually, including the equation to calculate the volume of a hollow cylinder. To know more about the different volume units, you can look at our volume converter. Like all regular prisms, the volume of a cylinder is the surface area of an end multiplied by its length (the same happens for the volume of a rectangular prism). Therefore, the formula to calculate the volume of a cylinder (solid) is: V=π×R2×hV = \text{π}\times R^2 \times h , where: VV — Cylinder volume; RR — Cylinder radius; and hh — Cylinder height. We can express the previous formula **in terms of the cylinder diameter (DD), remembering that D=2RD = 2R: V=π4×D2×hV = \frac{\text{π}}{4}\times D^2 \times h The equation to calculate the volume of a hollow cylinder is: V=π×(R2−r2)×hV = \text{π}\times (R^2 - r^2)\times h VV — Cylinder volume; RR — Cylinder external radius; rr — Cylinder internal radius; and hh — Cylinder height. We can also express the previous formula in terms of the external (D)andinternaldiameters(D) and internal diameters (d): V=π×(D2−d2)×h/4V = π\times (D^2 - d^2)\times h/4 For a solid cylinder: Input the height of the cylinder in the "Height" box. Suppose it equals 20 cm. Input the radius of the cylinder in the "Radius" box. Let's say it equals 5 cm. The cylinder volume should be 1570.8 cm3. That's how you find the volume of a cylinder with this calculator. How to calculate the volume of a hollow cylinder: Input the height of the cylinder in the "Height" box. Suppose it equals 20 cm. Input the external diameter of the cylinder in the "Diameter external" box. Let's say it equals 10 cm. Input the internal diameter of the cylinder in the "Diameter internal" box. Let's say it equals 5 cm. The cylinder volume should be 1178.1 cm3. That's how you calculate the volume of a hollow cylinder with this tool.