Last verified · v1.0
Calculator · math
Cylinder Volume Calculator (Cubic Units)
Calculate the volume of any cylinder by entering its diameter and height. Returns results in cubic inches, cubic feet, liters, gallons, and more.
Inputs
Cylinder Volume
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How to Calculate Cylinder Volume
The volume of a cylinder measures the total three-dimensional space enclosed within its circular cross-section extended along its height. Engineers, architects, chemists, and manufacturers rely on this calculation daily for tasks ranging from tank capacity planning to material cost estimation.
The Core Formula
The standard formula for cylinder volume is:
V = π × r² × h
Where:
- V — Volume in cubic units
- π (pi) — Mathematical constant ≈ 3.14159265
- r — Radius of the circular base
- h — Height (or length) of the cylinder
Because this calculator accepts diameter as input rather than radius, the working formula becomes:
V = π × (d/2)² × h
This simplifies to: V = (π/4) × d² × h
Variable Definitions
- Diameter (d): The full width across the circular base, passing through the center point. Diameter always equals twice the radius.
- Height / Length (h): The perpendicular distance between the two circular bases. For horizontal cylinders such as pipes or tanks lying on their side, enter the total length here.
- Input Unit: The unit of measurement applied to both diameter and height (inches, centimeters, feet, meters, millimeters, and more).
- Output Volume Unit: The desired unit for the result — choose from cubic inches, cubic feet, cubic centimeters, liters, US gallons, and other common volume units.
Formula Derivation
The cylinder volume formula derives from the area of a circle multiplied by height. The area of a circle with radius r equals A = πr². Conceptually, stacking infinitely thin circular discs along the height axis and summing their volumes produces V = A × h = πr²h. As documented in James Cook University's area and volume formula reference, this derivation connects directly to Cavalieri's principle: any two solids with equal cross-sectional areas at every height have equal volumes. The West Texas A&M University mathematics curriculum presents this as a foundational algebraic geometry formula applied across engineering and science disciplines.
Step-by-Step Calculation Example
- Measure the diameter of the circular base (example: 10 inches).
- Divide diameter by 2 to obtain radius: r = 10 ÷ 2 = 5 inches.
- Square the radius: r² = 25 in².
- Multiply by π: 3.14159 × 25 = 78.54 in².
- Multiply by height (example: 20 inches): V = 78.54 × 20 = 1,570.8 cubic inches.
Worked Examples
Example 1: Water Storage Tank
A cylindrical water storage tank has a diameter of 4 feet and a height of 6 feet.
- r = 4 ÷ 2 = 2 ft
- V = π × (2)² × 6 = π × 4 × 6 = 75.40 cubic feet
- Converted to US gallons: 75.40 × 7.4805 = approximately 564 gallons
Example 2: Steel Pipe
A steel pipe has an outer diameter of 6 cm and a length of 200 cm (2 meters).
- r = 6 ÷ 2 = 3 cm
- V = π × (3)² × 200 = π × 9 × 200 = 5,654.87 cubic centimeters
- Converted to liters: 5,654.87 ÷ 1,000 = 5.65 liters
Unit Conversion Reference
After computing volume in the base cubic unit, the calculator applies standard conversion factors automatically. Key reference values: 1 cubic foot = 7.48052 US gallons; 1 liter = 1,000 cubic centimeters; 1 cubic meter = 1,000 liters; 1 US gallon = 231 cubic inches. These built-in conversions eliminate manual steps and reduce accumulated rounding errors in professional workflows.
Measurement Best Practices
Accurate measurements are essential for reliable cylinder volume calculations. When measuring diameter, ensure your measuring tool crosses the exact center of the circular base—off-center measurements introduce errors that multiply through the squaring operation. For height or length, measure perpendicular to both circular bases to avoid slanted measurements. When working with physical cylinders, repeat measurements at multiple points around the circumference and in different locations along the height, then average the results for greater precision. Environmental factors such as temperature can cause minor dimensional changes in metal and plastic cylinders, so measurements taken at consistent conditions yield more reliable results.
Common Applications
- Civil engineering: Calculating concrete volumes for cylindrical columns, piles, and caissons
- Manufacturing: Determining material volume for rods, pipes, bars, and cylindrical containers
- Agriculture: Sizing grain silos, water storage tanks, and irrigation pipes
- Chemistry & pharmaceuticals: Computing reactor vessel capacities and cylindrical vial volumes
- HVAC & plumbing: Sizing round ductwork, pipes, and cylindrical pressure vessels
- Food & beverage: Calculating fill volumes for cans, kegs, and cylindrical mixing tanks
Reference