Audited 25 May 2026·Last updated 27 Jul 2026·5 citations·Tier 1·0 uses

Cylinder Volume Calculator

Calculate cylinder volume with V = πr²h. Enter radius and height in metric or imperial units. Returns exact volume and total surface area.

Cylinder Volume Calculator

Radius of the circular base
m
Height of the cylinder
m
Unit
Volume
785.3982
Volume of the cylinder in cubic units
Surface Area
471.2389m²

Background.

A right circular cylinder is one of the most common geometric solids in engineering, manufacturing, and architecture. Formally, it is the solid generated by translating a circle along a line perpendicular to its plane, or equivalently, the set of points at distance less than or equal to r from a central axis segment of length h. Cylinders appear as pipes, barrels, engine bores, concrete columns, and beverage cans. The calculator determines the interior volume from the radius of the circular base and the height along the axis, supporting metric and imperial units and returning both volume and total surface area.

The volume formula V = πr²h has been known since antiquity, though rigorous proofs awaited the development of integral calculus. In practical terms, the formula states that a cylinder is a stack of circular disks, each of area πr², piled to a height of h. A municipal engineer designing a 1.2-meter-diameter water main with 500-meter segments computes the volume per segment as π × 0.6² × 500 ≈ 565.49 m³, which determines pumping capacity and chlorine dosing rates. A home brewer fermenting in a cylindrical vessel of 25 cm radius and 50 cm height finds V = π × 625 × 50 ≈ 98,174.77 cm³, or about 98.17 liters, which dictates yeast pitching rates and priming sugar quantities.

The distinction between interior and exterior dimensions matters. The calculator accepts the radius and height of the geometric solid; if the user is working with a physical pipe or tank, these dimensions should be interior measurements for volume capacity or exterior measurements for displacement. Wall thickness reduces the effective interior radius: a steel pipe with 15 cm outer radius and 1 cm wall thickness has an interior radius of 14 cm, and the volume difference between the two cylinders is π × (15² − 14²) × h = π × 29 × h per unit length. This annular volume represents the steel itself, while the inner cylinder represents the fluid path.

In thermodynamics and fluid mechanics, cylindrical geometry governs heat exchangers, combustion chambers, and hydraulic accumulators. The surface area of a cylinder—2πr² + 2πrh—determines how much insulation is needed or how rapidly heat transfers through the wall. Because the lateral surface area 2πrh grows linearly with height while the volume grows linearly as well, the surface-area-to-volume ratio for a cylinder of fixed radius is constant with respect to height. This is different from a sphere, where the ratio decreases as size increases. Engineers exploit this property in packed-bed reactors, where cylindrical pellets provide predictable surface contact per unit volume regardless of bed depth.

Historical evidence from Mesopotamian tablets and Egyptian papyri shows that ancient scribes computed cylindrical granary volumes using approximations of π such as 25/8 or 256/81. The Rhind Mathematical Papyrus (circa 1650 BCE) contains problems on the volume of cylindrical granaries, demonstrating that the concept of multiplying base area by height was understood four millennia ago. Modern standards such as NIST SP 811 require that computed volumes be reported with units that reflect the measurement precision; entering radius to the nearest millimeter implies volume precision to the nearest cubic millimeter only if the shape is perfect, which real manufactured cylinders never are.

Quality control in manufacturing relies on the cylinder volume formula for leak testing and porosity analysis. A piston with nominal radius 4 cm and stroke height 10 cm should displace V = π × 16 × 10 = 502.65 cm³ per cycle. If a flow meter records significantly less displacement, the piston may be scored or the cylinder bore may be out-of-round. In medical device manufacturing, syringe barrels are tested by filling them to the calibrated volume mark and weighing the contents; the density of water at 20 °C is 0.99820 g/cm³, so a 10 cm³ syringe should deliver approximately 9.982 grams. The cylinder volume formula thus underpins calibration certificates traceable to national measurement institutes.

What is cylinder volume calculator?

A right circular cylinder is a solid bounded by two parallel congruent circles—called bases—and a curved lateral surface generated by lines parallel to the axis joining the centers of the bases. The defining parameters are the radius r of each base and the height h between the bases. The axis is the line segment perpendicular to both base planes passing through their centers. If the axis is not perpendicular to the bases, the cylinder is oblique; the calculator assumes the right circular case, which covers the vast majority of engineering and commercial applications. Volume measures the three-dimensional space enclosed by the cylinder. In SI units, volume is expressed in cubic meters (m³) or liters; in the US customary system, cubic inches and cubic feet are standard, with 1 U.S. gallon defined as 231 in³ exactly. The total surface area includes the two circular bases and the lateral surface. The lateral surface area alone—2πrh—is relevant for labels, wraps, and heat transfer through the side wall. The base areas—πr² each—matter for end-cap material and axial heat transfer. A cylinder is distinct from a prism, which has polygonal bases, and from a tube, which is a hollow cylinder. The calculator computes the solid volume; users needing the material volume of a pipe should compute the outer cylinder volume and subtract the inner cylinder volume. The ratio of volume to lateral surface area for a cylinder of fixed radius is h/2, which increases linearly with height.

How to use this calculator.

  1. Select the linear unit (mm, cm, m, in, or ft) that matches your radius and height measurements.
  2. Enter the radius of the circular base. The value must be greater than zero.
  3. Enter the height of the cylinder along its central axis. The value must be greater than zero.
  4. Click the Calculate button to compute volume and surface area.
  5. Read the Volume output, displayed in cubic units matching your selected linear unit.
  6. Review the Surface Area output for applications requiring boundary measurement such as painting, insulation, or wrapping.
  7. If calculating the volume of a tube, run the calculator twice with outer and inner dimensions and subtract the inner volume from the outer volume.

The formula.

V = π × r² × h

The volume of a right circular cylinder is derived by Cavalieri's principle or by integration. Consider the cylinder as a stack of infinitesimally thin circular disks, each of thickness dx and radius r. The area of each disk is πr², and integrating this constant area over the height interval [0, h] yields V = πr²h. In calculus notation: V = ∫₀ʰ πr² dx = πr² [x]₀ʰ = πr²h. This result is independent of the vertical position because the cross-sectional area does not vary along the axis—a property called uniformity. Cavalieri's principle states that any two solids with identical cross-sectional areas at every height have equal volumes; therefore, a cylinder has the same volume as any prism with base area πr² and height h. The total surface area is the sum of the lateral surface and the two bases. Unrolling the lateral surface produces a rectangle of width 2πr (the circumference) and height h, giving area 2πrh. Each base is a circle of area πr², so the combined base area is 2πr². The total surface area is therefore A = 2πr² + 2πrh = 2πr(r + h). Factoring out 2πr shows that surface area grows linearly with both radius and height, while volume grows with the square of radius and linearly with height. Dimensional analysis confirms the formulas. The radius and height have units of length [L]. Volume has units [L]³; the formula πr²h contains r² [L²] times h [L], yielding [L³]. Surface area has units [L]²; 2πr² yields [L²] and 2πrh yields [L²], so their sum is dimensionally consistent. The constant π is dimensionless, as are the numerical factors 2 and 1. These dimensional checks provide a quick validation that the formula has not been algebraically manipulated incorrectly. Engineers and technicians routinely use these checks to catch unit mismatches before fabrication or construction begins. This practice prevents costly errors in large-scale projects.

A worked example.

Example

A cylindrical rainwater tank for residential use has an interior radius of 0.8 meters and a height of 1.5 meters. To find the storage capacity, apply V = πr²h. First, square the radius: 0.8² = 0.64 m². Next, multiply by the height: 0.64 × 1.5 = 0.96 m³. Finally, multiply by π: 0.96 × 3.141592653589793 = 3.0159289… m³. Rounding to two decimal places, the tank holds approximately 3.02 cubic meters, or 3020 liters. The total surface area is A = 2πr(r + h) = 2 × π × 0.8 × (0.8 + 1.5) = 2 × π × 0.8 × 2.3 = 2 × π × 1.84 = 11.5621… m². If the tank is fabricated from sheet metal costing $45 per square meter, the material cost is approximately 11.56 × 45 = $520.20, excluding seams and fittings. The example illustrates that volume determines functional capacity while surface area drives manufacturing cost.

unitm
radius0.8
height1.5

Frequently asked questions.

What is the difference between a cylinder and a tube?
A cylinder is a solid with circular bases and a continuous lateral surface; a tube is a hollow cylinder with an inner and an outer radius. The calculator computes the volume of a solid cylinder using V = πr²h. To find the volume of a tube, compute the outer cylinder volume and subtract the inner cylinder volume: V_tube = π(R² − r²)h, where R is the outer radius and r is the inner radius. This annular volume represents the material volume of the pipe wall. In plumbing and petroleum engineering, the inner volume determines flow capacity, while the annular volume determines the mass of the pipe itself. The calculator does not include a tube mode because that would require three inputs—outer radius, inner radius, and height—whereas the solid cylinder calculator requires only two.
Why must the radius and height be positive?
In Euclidean geometry, a radius is a distance from the center to the boundary of the circular base, and a height is the perpendicular distance between the two bases. Both quantities are lengths, and lengths are non-negative by the metric axioms. A radius of zero reduces the cylinder to a line segment with zero volume and zero base area. A height of zero reduces the cylinder to a circular disk with zero volume but non-zero base area. While these degenerate cases are mathematically consistent, they are physically meaningless for a volume calculator. The validation logic therefore rejects zero and negative values for both radius and height, directing the user to enter positive measurements. This guard prevents division-by-zero errors in derived formulas and ensures that the output represents a genuine three-dimensional solid.
How does the surface area formula differ from the volume formula?
Volume measures the space enclosed by the cylinder, while surface area measures the extent of its boundary. The volume formula V = πr²h multiplies the base area by the height, reflecting the three-dimensional nature of the solid. The surface area formula A = 2πr² + 2πrh adds the areas of the two circular bases to the area of the lateral surface. The lateral surface can be visualized as a rectangle formed by unrolling the curved wall: one side is the height h, and the other side is the circumference 2πr. Because surface area is two-dimensional, it scales with the square of linear dimensions, while volume scales with the cube. For a cylinder with fixed radius, doubling the height doubles both the volume and the lateral surface area, but the base areas remain unchanged.
Can I use diameter instead of radius?
The calculator requires radius because the standard formulas are written in terms of r. If the diameter d is known, divide by two before entering: r = d/2. For example, a beverage can with a diameter of 6.6 cm has a radius of 3.3 cm. Using this radius, the volume is π × 3.3² × h, where h is the can height. Some users mistakenly substitute d directly into the formula, obtaining πd²h instead of π(d/2)²h = πd²h/4, which overestimates the true volume by a factor of four. To avoid this common error, the calculator insists on radius and labels the input field accordingly. Engineering drawings often specify diameter for holes and shafts, so the user must perform the halving step manually.
What units should I use for radius and height?
The radius and height must be in the same linear unit. If the radius is in meters, the height must also be in meters; the output volume will then be in cubic meters. Mixing units—such as radius in centimeters and height in meters—produces a numerically incorrect result because the formula assumes dimensional homogeneity. The calculator offers a unit selector that applies the same unit label to both inputs and the volume output. Common choices are millimeters, centimeters, meters, inches, and feet. For metric users, meters are recommended for large structures and millimeters for precision parts. For imperial users, inches are standard for mechanical components and feet for civil-engineering structures.
How do I calculate the volume of a partially filled horizontal cylinder?
The calculator assumes a vertical cylinder filled to height h. For a horizontal cylinder lying on its side, the cross-sectional area of the liquid is a circular segment rather than a full circle, and the volume depends on the fill depth measured from the bottom of the cylinder. The formula involves the inverse cosine of (r − d)/r, where d is the fill depth, and requires numerical methods or lookup tables. This is a significantly more complex calculation than the upright cylinder case. Users needing horizontal-cylinder partial volumes should seek a specialized tool or use the segment-area formula A = r² arccos((r−d)/r) − (r−d)√(2rd−d²) and multiply by the cylinder length. The current calculator does not support horizontal orientation because it would require a different geometric model.
What is Cavalieri's principle and how does it apply?
Cavalieri's principle states that two solids with the same height and identical cross-sectional area at every level have equal volumes. For a cylinder, every horizontal cross-section is a circle of area πr², regardless of height. Therefore, any solid with uniform circular cross-sections of radius r and total height h has the same volume as the cylinder, even if the surface is wavy or irregular. This principle justifies the disk-integration method and explains why the cylinder volume formula applies to objects that are not perfect geometric cylinders, provided their average cross-section matches the nominal circle. In metrology, Cavalieri's principle underpins volume determination by fluid displacement and by computed tomography slice summation.
Why does the surface area include two bases?
The total surface area of a closed cylinder includes both circular ends because material covers the top and bottom surfaces. If the cylinder is open at one end—such as a cup or a pipe segment—the relevant surface area is the lateral area plus one base: A = πr² + 2πrh. If the cylinder is open at both ends, only the lateral area matters: A = 2πrh. The calculator returns the closed-cylinder total surface area because that is the standard geometric definition. Users who need an open-cylinder area can subtract the appropriate base area from the output. The distinction is important in cost estimation: an open-ended ventilation duct does not require material for the ends, so using the total surface area would overestimate sheet-metal requirements.
How does cylinder volume compare to sphere volume for the same radius?
For a cylinder whose height equals its diameter (h = 2r), the volume is V = πr²(2r) = 2πr³. A sphere of the same radius has volume 4/3 πr³. The ratio of cylinder volume to sphere volume is therefore 2πr³ / (4/3 πr³) = 3/2. Archimedes proved that the cylinder circumscribed about a sphere has exactly 3/2 times the sphere's volume, a result he was so proud of that he requested it be engraved on his tombstone. For other heights, the ratio changes linearly with h. A tall cylinder (h >> r) has much greater volume than a sphere of the same radius, while a flat cylinder (h << r) has less. This comparison is useful when selecting container shapes for a given volume constraint.
What precision should I expect from the calculator?
The calculator performs arithmetic in IEEE-754 double-precision floating point, which provides about 15 significant decimal digits. For a cylinder with radius 0.1 m and height 0.1 m, the exact volume is π × 0.001 = 0.00314159… m³. The calculator returns this value with a relative error below 10⁻¹⁵, which is negligible compared to typical measurement uncertainties. Manufacturing tolerances for machined cylinders are usually on the order of ±0.01 mm, introducing relative volume uncertainties of roughly 10⁻⁴. Therefore, the computational precision exceeds the physical precision by many orders of magnitude. Users should round the output to match the precision of their input measurements rather than reporting all 15 digits.

References& sources.

  1. [1]NIST SP 811 (2008). "Guide for the Use of the International System of Units (SI)." NIST. https://www.nist.gov/pml/special-publication-811
  2. [2]BIPM (2019). The International System of Units (SI Brochure), 9th ed. https://www.bipm.org/en/publications/si-brochure
  3. [3]Stewart, J. (2015). Calculus: Early Transcendentals, 8th ed. Cengage. Section 6.2: Volumes.
  4. [4]Archimedes. On the Sphere and Cylinder. Trans. Heath, T.L. (1897). Cambridge University Press.
  5. [5]Gillings, R.J. (1972). Mathematics in the Time of the Pharaohs. MIT Press.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon