Cylinder Volume Calculator
Calculate the volume and surface area of any cylinder from its radius and height.
Inputs
Formula: V = π × r² × h
Type the radius and height of any right circular cylinder to get the volume, base area, lateral surface, and total surface area — for water tanks, pipes, drink cans, silos, mugs, and structural columns.
Volume, lateral, and total surface in one place
Volume is V = π × r² × h, where r is the radius of the circular base and h is the height. A cylinder is essentially a stack of identical circles, so its volume is the base area (π × r²) multiplied by the height. A cylinder with radius 3 in and height 10 in has volume π × 9 × 10 ≈ 282.74 in³.
Lateral surface area — the curved side only — is 2 × π × r × h. Imagine unrolling the side: it becomes a rectangle of width 2πr (the circumference) and height h. Total surface area adds the two circular ends: SA = 2πr² + 2πrh = 2πr(r + h). Use lateral when you only need the side (labels, paint on the body), and total when you need everything (heat loss, full powder coating).
Worked example: a hot-water tank and a soda can
A standard 50-gallon water heater has an inside diameter of about 18 in and an inside height of about 50 in. Radius = 9 in. Volume = π × 9² × 50 ≈ 12,723 in³ ≈ 55.1 gallons. The marketing 'capacity' is rounded down to the nearest 5-gallon increment because the top few inches are reserved for thermal expansion and the dip tube.
A 12 oz aluminum soda can has an outside diameter of 2.6 in and a height of 4.83 in (the famous '211 × 413' can spec). Internal radius is about 1.275 in once you subtract wall thickness. Volume = π × 1.275² × 4.7 ≈ 24.0 in³ ≈ 12.46 fl oz — the extra 0.46 oz is headspace for carbonation pressure. Lateral surface area is 2π × 1.3 × 4.83 ≈ 39.4 in², which is the printed-label area you see on the can.
Converting cubic units to gallons, liters, and weight
1 US gallon = 231 in³. A 282.74 in³ cylinder holds about 1.22 US gallons.
1 liter = 1,000 cm³ = 61.024 in³. The same cylinder holds about 4.63 liters.
Water weight. 1 gallon of water weighs about 8.345 lb. A full 55-gallon drum of water weighs 459 lb plus the empty drum (about 40 lb for steel, 20 lb for poly). Forgetting this is the most common mistake in DIY rainwater harvesting plans — the elevated tank platform has to support far more than people guess.
Pipe volume. The volume of a pipe is identical to a cylinder's: π × r² × length. A 100 ft run of 1-inch copper pipe (inner radius about 0.4 in) holds π × 0.16 × 1,200 ≈ 603 in³ ≈ 2.61 gallons — what you have to drain before sweating a fitting.
Frequently asked questions
What is the formula for the volume of a cylinder?
V = π × r² × h, where r is the radius of the circular base and h is the height. A cylinder with radius 3 in and height 10 in has volume π × 9 × 10 ≈ 282.74 in³.
How is volume different from surface area?
Volume measures the 3-D space inside (cubic units). Surface area measures the 2-D shell wrapping the cylinder (square units). Both are reported above.
What's the difference between lateral and total surface area?
Lateral area is just the curved side (2 × π × r × h) — useful for labels or paint. Total surface area also includes the two circular ends (adds 2 × π × r²).
How do I find the volume in gallons or liters?
Compute volume in cubic inches or cm³, then convert: 1 US gallon = 231 in³; 1 liter = 1000 cm³ = 1000 ml. A 282.74 in³ cylinder ≈ 1.22 US gallons.
Does the cylinder have to be upright?
No — the formula works for any right circular cylinder regardless of orientation. As long as both ends are parallel circles and the side is perpendicular to the base, V = π × r² × h holds.
What if I only know the diameter?
Divide the diameter by 2 to get the radius. A diameter of 6 in means a radius of 3 in. Then apply V = π × r² × h normally.
More in Geometry
Area, circumference, surface area, and volume for circles, spheres, cylinders, cones, and rectangular prisms — with the formula on every page.
- Area of a Circle Calculator
Find the area of a circle from its radius, diameter, or circumference with the exact formula A = π × r².
- Circumference Calculator
Find the circumference of a circle from its radius, diameter, or area using C = 2 × π × r.
- Sphere Volume Calculator
Volume and surface area of a sphere from its radius or diameter — uses V = (4/3) × π × r³.
- Cone Volume Calculator
Volume, slant height, and surface area of a cone from base radius and height using V = (1/3) × π × r² × h.
- Rectangular Prism Volume Calculator
Volume, surface area, and diagonal of a rectangular box from length, width, and height (V = L × W × H).
Related calculators
Browse all Education →Sphere Volume Calculator
Volume and surface area of a sphere from its radius or diameter — uses V = (4/3) × π × r³.
Cone Volume Calculator
Volume, slant height, and surface area of a cone from base radius and height using V = (1/3) × π × r² × h.
Rectangular Prism Volume Calculator
Volume, surface area, and diagonal of a rectangular box from length, width, and height (V = L × W × H).
Area of a Circle Calculator
Find the area of a circle from its radius, diameter, or circumference with the exact formula A = π × r².
Circumference Calculator
Find the circumference of a circle from its radius, diameter, or area using C = 2 × π × r.
Normal Distribution Calculator
Find P(X<x), P(X>x), and between-range probabilities for any normal distribution with mean μ and SD σ.
Linear Regression Calculator
Least-squares slope, intercept, R², and predictions for any paired (x, y) data.
Fraction Calculator
Add, subtract, multiply, and divide fractions and mixed numbers — results returned simplified, as a mixed number, and as a decimal.