AI Tools Free

Cylinder Volume Calculator

Enter the base Radius (r) and Height (h) into this cylinder volume calculator and volume of a cylinder calculator to compute exact 3D cubic volume V = π × r² × h in one click. Test the preloaded r = 3, h = 4 baseline returning 113.097335529, or evaluate water tanks, concrete sonotube piers, and hydraulic cylinders in your browser.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate result.

Your result
Enter your details

Result will appear here

How to Calculate Volume of a Cylinder (Radius & Diameter Formulas)

The Cylinder Volume Calculator is a browser-based 3D geometry tool that serves as a volume of a cylinder calculator and volume of cylinder calculator using V = π × r² × h. Enter positive radius and height dimensions between 1e-09 and 1,000,000,000 (halving any full diameter d first) to get a 12-significant-digit volume in matching cubic units (in³, ft³, cm³, or m³).

V = π × r² × h = (π × d² × h) / 4

Understanding how to calculate volume of a cylinder starts with extruding a flat circular disk through a perpendicular height h. A circle of radius r has planar area A_base = πr²; multiplying that circular cross-section by the height (or horizontal pipe length) h gives the three-dimensional cubic volume. In batch10-tools.js, the workspace executes show(Math.PI * n('r') ** 2 * n('h')) locally in your browser. Notice that radius r is squared while height h is linear: doubling the height doubles the volume (2×), whereas doubling the radius quadruples the volume (2² = 4×).

Diagram of a right circular cylinder with radius r = 3 and height h = 4 showing circular base area 9 * pi extruded through h = 4 to yield Volume = 36 * pi = 113.097335529.
Extruding a circular base of radius r = 3 (area 9π) through height h = 4 gives 36π = 113.097335529 cubic units.

Volume of Cylinder Calculator Quick Reference & Tank Lookup Table

Review these 10 verified cylinder dimensions to see how the volume of cylinder calculator scales across concrete footings, 55-gallon drums, water tanks, and engine bores, alongside US gallon and liter equivalents:

Radius (r)Height / Length (h)Exact Symbolic Volume (πr²h)Calculator Output (12 Sig. Digits)Liquid Capacity (Gallons / Liters)Typical Tank or Engineering Application
1e-09 to 10000000001e-09 to 1000000000π × r² × hCubic units (in³, ft³, cm³, m³)1 gal = 231 in³; 1 L = 1000 cm³Supported positive input bounds for Radius and Height
111π3.14159265359N/A (dimensionless)Unit cylinder benchmark (r = 1, h = 1)
0.5 ft (12 in dia.)4 ft1π ft³3.14159265359 ft³23.50 US gal (0.1164 yd³)Standard 12 in × 48 in concrete sonotube deck pier
3 (preloaded)4 (preloaded)36π113.097335529N/A (dimensionless)Preloaded default workspace test case
2 in (4 in pipe)120 in (10 ft)480π in³1507.96447372 in³6.528 US gal (24.71 L)10-foot run of 4-inch Schedule 40 water pipe
4.25 cm (85 mm bore)8.8 cm (88 mm stroke)158.95π cm³499.356152286 cm³0.4994 L (499.4 cc)Single cylinder swept displacement of a 2.0 L 4-cylinder engine
11.25 in (22.5 in dia.)33.5 in4239.84375π in³13319.8619758 in³57.66 US gal (218.3 L)Standard industrial steel drum gross internal volume
24 in (4 ft dia.)60 in (5 ft)34560π in³108573.442108 in³470.01 US gal (1779.2 L)Vertical cylindrical cistern or rainwater storage tank
3 ft (6 ft dia.)2 ft18π ft³56.5486677646 ft³423.01 US gal (1601.3 L)Galvanized round livestock stock tank (6 ft × 2 ft)
1.5 m (3 m dia.)4 m9π m³28.2743338823 m³28,274.3 L (7,469.3 US gal)Industrial chemical batch reactor or grain silo section

Step-by-Step Guide to Using the Cylinder Volume Calculator

Follow these three steps to compute the cubic volume of any cylinder, pipe, or round tank in the workspace above.

Enter the Base Radius (#r)

Type the inside radius r from center to wall into Radius (#r, preloaded with 3), or divide your measured diameter d by 2.

Input and settings
Radius input field preloaded with 3 in the Cylinder Volume Calculator workspace.
Step 1: Enter the base radius r (preloaded as 3; divide any full diameter d by 2 first).

Enter the Cylinder Height or Length (#h)

Supply the perpendicular height or pipe length h in Height (#h, preloaded with 4) using the exact same length unit as the radius.

Tool result
Height input field preloaded with 4 alongside the Calculate result button.
Step 2: Enter the perpendicular height or cylinder length h (preloaded as 4).

Click Calculate Result and Save

Select Calculate result to display the 3D cubic volume in #result-main, then click Copy or Download (result.txt) to save your calculation.

Review the details
Result panel displaying 113.097335529 cubic units with Copy and Download result.txt buttons.
Step 3: Review the 12-significant-digit cubic volume (113.097335529) and copy or download result.txt.

Worked Examples to Calculate Volume of a Cylinder

These three practical scenarios demonstrate how to calculate volume of a cylinder for the preloaded baseline, a concrete deck footing, and a vertical water tank.

Preloaded Baseline (r = 3, h = 4)

With Radius = 3 and Height = 4, the calculator squares the radius (3² = 9), multiplies by height (9 × 4 = 36), and multiplies by Math.PI to return 113.097335529 cubic units.

Cylinder with radius r = 3 and height h = 4 yielding 36 * pi = 113.097335529 cubic units.
Baseline check: r = 3 and h = 4 produce 36π = 113.097335529 cubic units.

Concrete Sonotube Deck Pier (12 in Diameter × 4 ft Deep)

A contractor pouring a 12 in (1 ft) diameter concrete pier 4 ft deep halves the diameter to get r = 0.5 ft and sets h = 4 ft. Clicking Calculate result outputs 3.14159265359 ft³ (÷ 27 = 0.1164 cubic yards, or about 7 80-lb bags of concrete).

12-inch diameter (r = 0.5 ft) by 4-foot deep concrete sonotube pier requiring 3.14159265359 cubic feet of concrete.
Concrete footing: a 12 in diameter (r = 0.5 ft) × 4 ft sonotube requires 3.14159265359 ft³ (0.1164 yd³).

Vertical Rainwater Tank (r = 24 in, h = 60 in)

A homeowner sizing a 48 in diameter (r = 24 in) by 60 in tall cistern enters 24 and 60 to get 108573.442108 in³. Dividing by 231 in³ per US gallon gives 470.01 US gallons.

Vertical cylindrical water tank with radius r = 24 inches and height h = 60 inches holding 108573.442108 cubic inches (470.01 US gallons).
Water storage tank: r = 24 in and h = 60 in hold 108573.442108 in³ (470.01 US gallons).

Converting Cylinder Volume to Gallons, Liters & Solving for Height

The value displayed in #result-main is a three-dimensional volume expressed in the cube of your input length unit (in³, ft³, cm³, or m³), never a 2D square unit.

When using this tool as a cylinder volume calculator gallons or liters reference, apply exact conversion factors to the cubic output: divide cubic inches (in³) by 231 to get US liquid gallons; multiply cubic feet (ft³) by 7.48051948 to get US gallons (or divide ft³ by 27 to get cubic yards yd³); and divide cubic centimeters (cm³) by 1,000 (or multiply m³ by 1,000) to get liters (L).

If you know the required tank volume V and radius r, divide V by the circular base area πr² to find the required liquid fill height h (h = V / (πr²)). Conversely, if you know V and height h, solve for the required radius via r = √(V / (πh)).

Conversion chart linking cubic inches (in³), cubic feet (ft³), and cubic centimeters (cm³) to US gallons, cubic yards, and liters.
Convert cubic outputs to US gallons (÷ 231 from in³ or × 7.48052 from ft³) and liters (÷ 1,000 from cm³).

Cylinder Volume Input Limits, Hollow Pipes & Related 3D Tools

Review these positive dimension bounds, hollow-wall subtraction rules, and related 3D calculators before exporting your result.

Both Radius (#r) and Height (#h) require positive finite numbers between 1e-09 and 1,000,000,000 measured in the same linear unit. If your radius is measured in inches and your depth is in feet, convert both to feet or both to inches first. To find the solid wall volume of a hollow pipe with outer radius R and inner bore radius r, run the calculator twice and subtract the inner volume from the outer volume: V_wall = π(R² - r²)h.

When your project involves sheet-metal area, tapered cones, or unit conversions, pair this tool with our Cylinder Surface Area Calculator for total and lateral tank skin area, the Circle Area Calculator and Circumference Calculator for 2D circular cross-sections, the Cone Volume Calculator for hopper bottoms, the Sphere Volume Calculator for hemispherical tank heads, or the Volume Converter for instant unit conversion.

Comparison of solid cylinder volume, hollow pipe wall volume pi*(R^2 - r^2)*h, and related 3D geometry tools.
Keep Radius and Height in [1e-09, 1e9] in the same unit, and chain with Cylinder Surface Area or Cone Volume tools.

Frequently Asked Questions About the Cylinder Volume Calculator

Answers about using Cylinder Volume Calculator and understanding its results.

How to calculate the volume of a cylinder from radius and height?

Square the circular base radius r, multiply by the perpendicular height h, and multiply by π ≈ 3.141592653589793: V = π × r² × h. For example, a cylinder with Radius = 3 and Height = 4 has a volume of π × 9 × 4 = 36π ≈ 113.097335529 cubic units.

How to calculate a cylinder volume in gallons from inches or feet?

If you enter Radius and Height in inches, divide the resulting cubic inches (in³) by 231 to get US liquid gallons (1 US gal = 231 in³). If you enter dimensions in feet, multiply the resulting cubic feet (ft³) by 7.48051948 to get US liquid gallons, or use our Volume Converter (/tools/volumeconverter).

How do you calculate cylinder volume from diameter instead of radius?

Radius r is half of the diameter (r = d / 2). Divide your measured inside diameter d by 2 before entering it into the Radius field, or use the equivalent diameter formula V = (π × d² × h) / 4. Entering the full diameter into Radius without dividing by 2 makes the calculated volume 4 times too large.

How do I find the height or radius of a cylinder when I know the volume?

To find an unknown height h from volume V and radius r, divide V by the circular base area πr²: h = V / (πr²). To find the required radius r from volume V and height h, divide V by πh and take the square root: r = √(V / (πh)).

How does the volume of a cylinder compare to a cone of the same size?

A right circular cylinder holds exactly 3 times the volume of a cone that shares the same base radius r and height h (V_cylinder = πr²h versus V_cone = ⅓πr²h). You can verify the one-third ratio directly in the Cone Volume Calculator (/tools/conevolumecalculator).

How do I write the volume of a cylinder in terms of pi?

Multiply the squared radius r² by the height h and attach the symbol π (or divide the calculator's decimal output by 3.141592653589793). For r = 3 and h = 4, 3² × 4 = 36, so the exact volume in terms of pi is 36π (113.097335529).

Calculate result with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate result