VolumeCalculator.org

Cylinder Volume Calculator

Calculate cylinder volume from radius or diameter and height. See liters, gallons, surface area, and step-by-step math with custom units.

Input as:
Cylinder Volume
226.195in³
US Gallons0.9792 gal
Liters3.7067 L
Cubic feet0.1309 ft³
Cubic inches226.195 in³
Cylinder Diagramrh
Step 1: Calculate Base Area28.274 in²
Formula: A_base = π × r²
Substitution: A_base = π × (3)² = π × 9 = 28.274 in²

The base of a right cylinder is a flat circular disk with area equal to π multiplied by the radius squared.

Step 2: Multiply Base Area by Height226.195 in³
Formula: V = A_base × h = π × r² × h
Substitution: V = 28.274 × 8 = 226.195 in³

Multiplying the circular base area by the perpendicular height yields the 3D interior volume.

Quick Answer

The volume of a cylinder is calculated by multiplying its circular base area by its vertical height: V = π × r² × h. For example, a cylinder with radius 3 inches and height 10 inches holds 282.74 cubic inches (1.22 US gallons). If using diameter, divide diameter by 2 first.

Cylinder Volume Calculator Formula

V = π × r² × h
Mathematical Variable Legend for Cylinder Volume Calculator Formula
VariableDefinitionStandard Units
VInterior Volume of the cylinderin³, ft³, cm³, or m³
rRadius of the circular base (distance from center to rim)in, ft, cm, or m
hPerpendicular vertical height between circular basesin, ft, cm, or m
πMathematical constant Pi (~3.14159265)dimensionless

How to Calculate the Volume of a Cylinder

To understand the cylinder formula, visualize stacking thin circular coasters on top of each other. The area of one flat circular coaster is πr². Stacking them to height h multiplies that base cross-section continuously. This gives V = πr²h. If your cylinder leans sideways (an oblique cylinder), Cavalieri’s principle guarantees that as long as the vertical perpendicular height remains the same, the held volume is identical to an upright right cylinder.

Volume of a Hollow Cylinder (Pipe or Tube Wall Material)

When sizing structural metal tubing or concrete pipes, you often need the material volume of the solid wall rather than the inner air space. A hollow cylinder has an outer radius R and an inner radius r. The solid cross-sectional ring area is A = π(R² - r²). Multiplying by the pipe length L yields V = π(R² - r²)L. To calculate how much liquid flows inside the pipe, use only the inner radius r.

Radius vs. Diameter: The Most Common Mistake

Most manufactured objects (pipes, soda cans, buckets, water tanks) are measured across their full opening—their diameter (d). The single most frequent calculation error is plugging diameter directly into πr²h, which inflates the calculated volume by 400% (since (2r)² = 4r²). Always divide diameter by 2 before squaring.

Converting Cylinder Volume to Gallons and Liters

In US customary units, 1 cubic foot equals exactly 7.48052 US liquid gallons, and 1 US gallon is defined as exactly 231 cubic inches. In metric, 1,000 cubic centimeters (cm³) equals 1 liter (L). When sizing storage vessels, knowing both cubic dimensions and liquid capacity prevents ordering undersized containers.

Common Calculation Mistakes to Avoid

  • Squaring diameter instead of radius (inflates volume by 4×)
  • Mixing measurement units without converting (e.g. radius in inches with height in feet)
  • Using the slant length of a leaning cylinder instead of the vertical perpendicular height
  • Confusing internal capacity with external dimensions on thick-walled vessels
  • Premature rounding of π to 3.14 on large tanks, leading to significant volume loss

Frequently Asked Questions

How do you find the volume of a cylinder if you only have diameter?▼
Divide the diameter by 2 to get the radius (r = d / 2), then square that radius, multiply by Pi (π ≈ 3.14159), and multiply by the cylinder height: V = π × (d/2)² × h.
How many gallons are in a cylinder?▼
Calculate the volume in cubic inches first, then divide by 231 (since 1 US gallon = 231 in³). Alternatively, calculate cubic feet and multiply by 7.48052.
How do you calculate the volume of a hollow cylinder or pipe?▼
Subtract the inner cylinder volume from the outer cylinder volume: V = π × (R² - r²) × h, where R is the outer radius and r is the inner radius.
How do you find the height of a cylinder if you know the volume?▼
Divide the volume by the base area: h = V / (π × r²). Our calculator includes a dedicated "Find Height" mode that solves this instantly.
Does a slanted (oblique) cylinder hold the same volume as a straight one?▼
Yes. By Cavalieri’s principle, as long as the vertical perpendicular height and circular base area are identical, a slanted cylinder holds the exact same volume as an upright right cylinder.
What is the surface area formula for a cylinder?▼
Total surface area equals the curved lateral side plus both circular ends: A_total = 2πrh + 2πr².

Authoritative Sources & Reference Standards

  1. Guide for the Use of the International System of Units (SI), NIST Special Publication 811 — National Institute of Standards and Technology (NIST). Verified 2026-10-01.

    Official SI unit definitions, conversion factors (Appendix B), and precision standards for cubic meters, liters, and US customary units.

  2. Common Core State Standards for Mathematics: High School Geometry (Geometric Measurement and Dimension HSG.GMD.A.1–3) — National Governors Association Center for Best Practices & Council of Chief State School Officers. Verified 2026-10-01.

    Curricular standards for volume formulas of cylinders, pyramids, cones, and spheres, including Cavalieri’s principle.

Related Volume Calculators