terican

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.

FreeInstantNo signupOpen source

Inputs

Cylinder Volume

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Cylinder Volumecubic units

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

  1. Measure the diameter of the circular base (example: 10 inches).
  2. Divide diameter by 2 to obtain radius: r = 10 ÷ 2 = 5 inches.
  3. Square the radius: r² = 25 in².
  4. Multiply by π: 3.14159 × 25 = 78.54 in².
  5. 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

Frequently asked questions

What is the formula for calculating cylinder volume in cubic units?
The cylinder volume formula is V = π × r² × h, where r is the radius and h is the height. Since this calculator accepts diameter as input, it applies V = π × (d/2)² × h, which simplifies to V = (π/4) × d² × h. For a cylinder with a 10 cm diameter and 20 cm height, volume equals π × 25 × 20 = 1,570.8 cubic centimeters.
How do I convert cylinder volume from cubic inches to gallons using this calculator?
Select 'US Gallons' as the output volume unit in the calculator. The tool automatically applies the conversion factor of 231 cubic inches per US gallon. For example, a cylinder volume of 1,570.8 cubic inches equals 6.80 US gallons. This eliminates manual conversion steps and prevents rounding errors when sizing tanks, drums, or containers where mixed units are common in engineering specifications.
What is the difference between diameter and radius when using the cylinder volume calculator?
Diameter is the full width of the circular base measured straight through the center, while radius is exactly half that distance. The classic formula V = πr²h uses radius, but this calculator accepts diameter as input since most physical measurements and product specifications list diameter. Enter the diameter directly — the calculator divides by 2 internally to compute the correct radius value before applying the volume formula.
How accurate is an online cylinder volume calculator compared to manual calculation?
An online cylinder volume calculator uses the full precision value of π (3.14159265358979) rather than the common manual approximation of 3.14. For a cylinder with a 12-inch diameter and 36-inch height, using π ≈ 3.14 yields 4,069.44 cubic inches, while the precise calculation gives 4,071.50 cubic inches — a difference of over 2 cubic inches. For industrial material ordering or tank capacity planning, this precision difference is significant.
Can the cylinder volume calculator be used for a horizontal cylinder, such as a pipe or tank lying on its side?
Yes. For a horizontal cylinder such as a pipeline segment or a storage tank on its side, enter the circular cross-section diameter and the total length in the height field. The formula V = π × (d/2)² × length applies identically regardless of physical orientation. A horizontal propane tank with a 2-foot diameter and 6-foot length holds V = π × 1² × 6 = 18.85 cubic feet, equivalent to approximately 141 US gallons.
What industries commonly rely on cubic in cylinder calculations?
Cubic in cylinder calculations serve dozens of industries. Concrete contractors compute cylindrical column and pile volumes before ordering materials. Metal manufacturers calculate rod and bar volumes for weight and cost estimates. Farmers and engineers size grain silos, water storage tanks, and irrigation pipes. Chemical engineers compute reactor vessel capacities. HVAC technicians size round ductwork. Food and beverage producers calculate fill volumes for cans, kegs, and cylindrical mixing tanks.