Skip to main content
Science & Math

Cylinder Volume Calculator

Cylinder volume calculator: volume, curved and total surface area, litres and gallons from radius or diameter and height. Hollow option included.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

Volume (cubic units; wall material if hollow)
1,357.168 cubic units
Base area
113.097 square units
Lateral (curved) surface area
452.389 square units
Total surface area
678.584 square units
Circumference of the base
37.699 units
Outer radius
6.000 units
Outer diameter
12.000 units
Liquid capacity
1.357 litres
Liquid capacity, US gallons
0.359 US gal
Liquid capacity, imperial gallons
0.299 imp gal
Capacity in cubic feet
0.0479 ft3
Capacity in cubic metres
0.00136 m3
Capacity in cubic inches
82.819 in3

How the Cylinder Volume Calculator Formula Works

A cylinder is a circle stretched straight up. Its volume is the area of the circular base times the height. The base area is pi times the radius squared, so V = pi r2 h. If you only know the diameter, halve it first. A radius of 6 cm and a height of 12 cm give 1,357.17 cubic centimetres.

The surface has three parts: the curved side and two flat circles. Unrolled, the side is a rectangle as tall as the cylinder and as wide as the circle's circumference, so the curved surface area, CSA, is 2 pi r h. Adding the two ends, each pi r2, gives the total surface area, TSA = 2 pi r (r + h).

To turn volume into something you can buy or pour, the calculator converts to litres, US gallons, imperial gallons, cubic feet, cubic metres and cubic inches. A fill percentage scales the liquid for an upright cylinder that is only partly full. For a pipe or tube, the hollow option subtracts the inner cylinder and also reports the space inside.

V = pi × r2 × h; CSA = 2 × pi × r × h; TSA = 2 × pi × r × (r + h); hollow: V = pi × h × (R2 − r2)
What goes in, what comes out
  • rlengthRadius of the circular base, half the diameter.
  • hlengthHeight of the cylinder, the distance between the two bases.
  • R, r (hollow)lengthOuter and inner radius of a hollow cylinder.
  • Vlength cubedVolume; for a hollow cylinder, the wall material.
  • fill%How full the inside is, for liquid capacity.
Volume (cubic units; wall material if hollow)
1357.168
Values shown are from the worked example below
r
length
Radius of the circular base, half the diameter.
h
length
Height of the cylinder, the distance between the two bases.
R, r (hollow)
length
Outer and inner radius of a hollow cylinder.
V
length cubed
Volume; for a hollow cylinder, the wall material.
fill
%
How full the inside is, for liquid capacity.

Using the Cylinder Volume Calculator

  1. Enter length unit

    Choose from Millimetres, Centimetres, Metres, Inches, Feet, Yards.

  2. Enter i know the

    Choose from Radius, Diameter.

  3. Enter radius or diameter (outer, in your unit)

    Type the figure you already have, then press Calculate.

  4. Enter height or length (in your unit)

    Type the figure you already have, then press Calculate.

  5. Enter cylinder type

    Choose from Solid or filled (one radius), Hollow (pipe or tube, two radii).

  6. Enter inner radius or diameter (in your unit)

    Type the figure you already have, then press Calculate.

  7. Enter how full for liquid (%)

    Any value between 0 and 100.

  8. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

A cylinder has a radius of 6 cm and a height of 12 cm. The base area is pi x 62 = 113.097 square cm, so the volume is 113.097 × 12 = 1,357.168 cubic cm.

The curved surface area is 2 pi x 6 × 12 = 452.389 square cm and the total surface area is 678.584. Filled with liquid it holds 1.357 litres, which is 0.359 US gallons.

1
unit
cm
2
basis
radius
3
size
6
4
height
12
5
shape
solid
6
innerSize
4
7
fillPct
100
This calculator returns1357.168volume113.097baseArea452.389lateralArea678.584totalArea37.699circumference6radius12diameter1.357litres0.359usGallons0.299impGallons0.0479cubicFeet0.00136cubicMetres82.819cubicInches

A 4 x 8 inch cylinder, by diameter

Choose inches and the diameter option, with 4 across and 8 tall. The radius is 2 inches, so the volume is pi x 4 × 8 = 100.531 cubic inches.

That is 1.647 litres or 0.435 US gallons, and 0.0582 cubic feet. The total surface area is 125.664 square inches.

unit: inbasis: diametersize: 4height: 8shape: solidinnerSize: 4fillPct: 100100.531volume12.566baseArea100.531lateralArea125.664totalArea12.566circumference2radius4diameter1.647litres0.435usGallons0.362impGallons0.0582cubicFeet0.00165cubicMetres100.531cubicInches

A 6 ft x 8 ft water tank, 75 percent full

Choose feet and diameter, 6 across and 8 tall, with the fill set to 75 percent. The full volume is pi x 32 × 8 = 226.19 cubic feet.

At 75 percent the liquid is 169.65 cubic feet, 1,269.0 US gallons or 4,804 litres. A full tank holds 1,692.1 US gallons.

unit: ftbasis: diametersize: 6height: 8shape: solidinnerSize: 4fillPct: 75226.195volume28.274baseArea150.796lateralArea207.345totalArea18.85circumference3radius6diameter4803.84litres1269.04usGallons1056.697impGallons169.646cubicFeet4.80384cubicMetres293148.294cubicInches

A hollow concrete tube, 12 in outside and 10 in inside, 36 in long

Choose the hollow option in inches with an outer diameter of 12, an inner diameter of 10 and a length of 36. The wall material is pi x 36 × (36 − 25) = 1,244.07 cubic inches.

The space inside is pi x 25 × 36 = 2,827.43 cubic inches, which holds 12.24 US gallons. The surface area counts the outer wall, the inner wall and both ring-shaped ends.

unit: inbasis: diametersize: 12height: 36shape: hollowinnerSize: 10fillPct: 1001244.071volume34.558baseArea2488.141lateralArea2557.256totalArea37.699circumference6radius12diameter46.333litres12.24usGallons10.192impGallons1.6362cubicFeet0.04633cubicMetres2827.433cubicInches2827.433boreVolume

A 1.2 m x 1.5 m cylinder in metres

Choose metres and diameter, 1.2 across and 1.5 tall. The radius is 0.6 m, so the volume is pi x 0.36 × 1.5 = 1.696 cubic metres.

That is 1,696.5 litres, 448.2 US gallons or 373.2 imperial gallons.

unit: mbasis: diametersize: 1.2height: 1.5shape: solidinnerSize: 4fillPct: 1001.696volume1.131baseArea5.655lateralArea7.917totalArea3.77circumference0.6radius1.2diameter1696.46litres448.157usGallons373.169impGallons59.9099cubicFeet1.69646cubicMetres103524.343cubicInches

A small 25 mm radius, 100 mm cylinder

Choose millimetres with a radius of 25 and a height of 100. The volume is pi x 625 × 100 = 196,349.5 cubic millimetres.

That is 0.196 litres, or 196.3 millilitres. For small sizes the calculator shows three decimals so these values stay readable.

unit: mmbasis: radiussize: 25height: 100shape: solidinnerSize: 4fillPct: 100196349.541volume1963.495baseArea15707.963lateralArea19634.954totalArea157.08circumference25radius50diameter0.196litres0.052usGallons0.043impGallons0.0069cubicFeet0.0002cubicMetres11.982cubicInches

What Else to Know

How the Cylinder Volume Formula Works

The volume of a cylinder is the area of its circular base multiplied by its height. The base area is pi times the radius squared, so V = pi r2 h. Because the radius is squared, a small change in it matters more than the same change in height.

Cylinder volume formula diagram: V = pi r squared h, with the curved and total surface area formulas beside a cylinder

If you know the diameter instead, halve it to get the radius, or switch the calculator to the diameter option and it does that for you. Use one length unit for both the radius and the height. The result is in cubic units of that length unit, with litres and gallons alongside.

Worked cylinder example: radius 6 cm and height 12 cm gives 1,357.17 cubic cm, 1.357 litres and 0.359 US gallons

The standard formulas for a right circular cylinder are listed on the Wikipedia page for Cylinder, which this calculator follows.

Volume, Lateral Surface Area and Total Surface Area

Three numbers describe a cylinder: volume, CSA and TSA. Volume is the space inside. CSA, the curved or lateral surface area, is the side wall alone and equals 2 pi r h. TSA, the total surface area, adds the two circular ends, each pi r2, giving 2 pi r (r + h).

A cylinder laid flat: the curved side is a rectangle 2 pi r by h and the two ends are circles of area pi r squared

Use CSA when you only cover the side, such as wrapping a label round a can or painting a pipe. Use TSA when you cover every face. For a cup open at the top, use the curved area plus one base.

Bar chart of the curved surface area of five cylinders with radii from 3 to 10 cm and heights from 10 to 25 cm

The surface area table lists CSA and TSA for several sizes.

Cylinder Volume in Litres and Gallons

Litres and gallons answer a practical question: how much liquid fits? The calculator converts the volume from cubic units to litres with the exact definitions of the units. A litre is 1,000 cubic centimetres, a US gallon is exactly 231 cubic inches or 3.785411784 litres, and an imperial gallon is 4.54609 litres.

Bar chart of litres in a 6 cm radius, 12 cm tall cylinder filled from 10 to 100 percent

The fill percentage scales the liquid for an upright cylinder, because the liquid is itself a cylinder of lower height. The capacity table shows common diameters and heights in inches with litres and both gallons.

This page is the pure geometry of a cylinder. A horizontal tank part full, a capsule or a sphere needs a different calculation, which a tank volume tool handles.

Hollow Cylinder Volume for Pipes and Tubes

A hollow cylinder, such as a pipe, a tube or a concrete ring, has an outer radius R and an inner radius r. Its wall material is the outer cylinder minus the inner one: V = pi h (R2 − r2). Its inside volume, which holds liquid, is pi r2 h.

Hollow cylinder cross-section with outer radius R and inner radius r, wall volume pi h (R squared minus r squared)

Choose the hollow option and give the outer and inner sizes. The headline volume is then the wall material, and the capacity outputs use the inside. The surface area includes the outside wall, the inside wall and the two ring-shaped ends.

The inner size must be smaller than the outer size.

Metric and Imperial Units

Pick millimetres, centimetres, metres, inches, feet or yards. Volume scales with the cube of the length factor, so one metre is 100 cm but one cubic metre is 1,000,000 cubic cm. That is why you should convert lengths first, not the finished volume by the length factor.

One metre is 100 cm but one cubic metre is 1,000,000 cubic cm or 1,000 litres, so convert lengths before cubing

For metric work, enter centimetres and read litres directly: 1,000 cubic cm is 1 litre. For US work, enter inches and divide cubic inches by 231 for gallons, or read the US gallon output.

Unit definitions follow the Wikipedia pages for the cubic foot and the gallon.

Worked Cylinder Examples

The radius 6 cm, height 12 cm example gives 1,357.168 cubic cm, which is 1.357 litres. The 4 × 8 inch example gives 100.531 cubic inches, or 0.435 US gallons. The tank, hollow tube, metre and millimetre examples cover the other modes.

Bar chart showing doubling the radius quadruples cylinder volume while doubling the height only doubles it

Doubling the radius quadruples the volume, while doubling the height only doubles it. The scaling table shows this with real numbers.

Try your own values in the calculator and compare with these examples to check your inputs.

Limits and Related Calculators

The calculator treats a perfect right circular cylinder with flat ends. It does not include rounded or conical tank ends, wall thickness for a tank unless you use the hollow option, or a part-full horizontal cylinder. Real vessels also have fittings and a usable capacity lower than the geometric one.

Limits of the cylinder volume calculator: right cylinders only, radius errors squared, inner size for capacity

For materials that fill a round hole or form, see the gravel calculator and the stone calculator. To find a fill share, the percentage calculator helps. For a rough check of cubic units, the river rock calculator uses the same volume ideas.

Reference Tables

Cylinder formulas used by the calculator (radius r, height h, outer radius R and inner radius r for a hollow cylinder)
QuantitySolid cylinderHollow cylinder
VolumeV = pi r2 hV = pi h (R2 − r2)
Base areapi r2pi (R2 − r2)
Lateral (curved) surface area, CSA2 pi r h2 pi (R + r) h
Total surface area, TSA2 pi r (r + h)CSA + 2 pi (R2 − r2)
Circumference of the base2 pi r2 pi R (outer)
Capacity (inside volume)pi r2 hpi r2 h with the inner radius
Cylinder volume in cubic centimetres for common radii and heights
Radius (cm)Height 5 cmHeight 10 cmHeight 12 cmHeight 20 cmHeight 50 cm
262.8125.7150.8251.3628.3
3141.4282.7339.3565.51,413.7
4251.3502.7603.21,005.32,513.3
5392.7785.4942.51,570.83,927.0
6565.51,131.01,357.22,261.95,654.9
81,005.32,010.62,412.74,021.210,053.1
101,570.83,141.63,769.96,283.215,708.0
Lateral and total surface area of a cylinder, in square centimetres
Radius (cm)Height (cm)Base areaLateral area (CSA)Total area (TSA)
31028.3188.5245.0
51078.5314.2471.2
612113.1452.4678.6
820201.11,005.31,407.4
1025314.21,570.82,199.1
1540706.93,769.95,183.6
Capacity in litres and US gallons of a cylinder by diameter and height in inches
Diameter (in)Height (in)LitresUS gallonsImperial gallons
481.650.440.36
6125.561.471.22
82419.775.224.35
122444.4811.759.78
1836150.1239.6633.02
2436266.8870.5058.71
2448355.8494.0078.27
3648800.64211.51176.12
Liquid in a 6 cm radius, 12 cm tall upright cylinder at different fill levels
FillLiquid height (cm)LitresUS gallonsCubic inches
10%1.20.1360.0368.28
25%3.00.3390.09020.70
50%6.00.6790.17941.41
75%9.01.0180.26962.11
90%10.81.2210.32374.54
100%12.01.3570.35982.82
Hollow cylinders: wall material and inside capacity for outer and inner diameters in inches, 36 inches long
Outer dia. (in)Inner dia. (in)Wall (in)Wall volume (cu in)Capacity (US gal)
43.50.250106.01.50
65.50.250162.63.70
87.250.375323.46.43
12101.0001,244.112.24
12110.500650.314.81
24221.0002,601.259.24
24202.0004,976.348.96
How volume and surface area change when one dimension changes (starting from r = 6 and h = 12)
ChangeRadiusHeightVolumeVolume ratioTotal area
Start6.0012.001,357.21.00 x678.6
Double the radius12.0012.005,428.74.00 x1,809.6
Double the height6.0024.002,714.32.00 x1,131.0
Double both12.0024.0010,857.38.00 x2,714.3
Half the radius3.0012.00339.30.25 x282.7
Half the height6.006.00678.60.50 x452.4
Conversions behind the volume outputs
FromToMultiply by
Cubic centimetresLitres0.001
Cubic metresLitres1,000
Cubic inchesCubic centimetres16.387064
Cubic feetLitres28.316847
US gallonsLitres3.785412
Imperial gallonsLitres4.54609
Cubic feetUS gallons7.480520
Cubic yardsCubic feet27
Cylinder terms
TermMeaning
RadiusDistance from the centre of the circular base to its edge, half the diameter
DiameterWidth of the circular base through its centre, twice the radius
HeightDistance between the two circular bases, also called length for a horizontal cylinder
CSACurved or lateral surface area: the side wall without the two ends
TSATotal surface area: the side wall plus both ends
CapacityHow much liquid the inside holds, found from the inner dimensions
Hollow cylinderA cylinder with a cylindrical hole through it, such as a pipe or a tube
Common cylinder volume mistakes
MistakeEffectFix
Using the diameter as the radiusVolume is four times too largeHalve the diameter, or choose diameter in the calculator
Mixing units, such as inches and feetWrong by a factor of 12 or moreConvert first, or pick one unit for both
Cubing the wrong conversionLitres or gallons are offVolume converts by the cube of the length factor
Using the outer size for capacityCapacity is too highUse the inner diameter for what the vessel holds
Forgetting the ends in surface areaTSA too smallAdd 2 pi r2 to the lateral area
Using US gallons for an imperial gallon sourceAbout 20 percent outCheck which gallon the label means

Frequently Asked Questions About the Cylinder Volume Calculator

How do you calculate cylindrical volume?

Multiply the area of the circular base by the height. The base area is pi times the radius squared, so V = pi r2 h. With a radius of 6 cm and a height of 12 cm, the base area is 113.10 square cm and the volume is 1,357.17 cubic cm. Use consistent units for every length. Enter your own radius or diameter and height in the calculator for an exact answer.

What is CSA, TSA and volume of a cylinder?

CSA is the curved surface area, 2 pi r h, the side wall alone. TSA is the total surface area, 2 pi r (r + h), which adds both circular ends. Volume is pi r2 h. For r = 6 and h = 12 these are 452.39, 678.58 and 1,357.17. Enter your own radius or diameter and height in the calculator for an exact answer.

What is the volume of a 4x8 cylinder?

A 4 × 8 cylinder usually means 4 units across and 8 units tall. The radius is 2, so V = pi x 22 × 8 = 100.53 cubic units. In inches that is 100.53 cubic inches, 1.647 litres or 0.435 US gallons. If 4 is the radius instead, the volume is 402.12. Enter your own radius or diameter and height in the calculator for an exact answer.

Volume of a cylinder with radius 6cm and height 12cm?

V = pi x 62 × 12 = 432 pi = 1,357.17 cubic centimetres. That is 1.357 litres, because 1,000 cubic centimetres make a litre, or 0.359 US gallons. The curved area is 452.39 square cm and the total surface area is 678.58. Enter your own radius or diameter and height in the calculator for an exact answer.

What is the cylindrical volume calculator formula?

The formula is V = pi r2 h, where r is the base radius and h is the height. If you know the diameter d, use V = pi d2 h / 4. Surface area uses CSA = 2 pi r h and TSA = 2 pi r (r + h). For a hollow cylinder, subtract the inner cylinder: V = pi h (R2 − r2). Enter your own radius or diameter and height in the calculator for an exact answer.

How do I find cylinder volume in litres?

Work in centimetres, then divide cubic centimetres by 1,000, or work in metres and multiply cubic metres by 1,000. A cylinder 30 cm across and 50 cm tall holds 35,342.9 cubic cm, which is 35.34 litres. The calculator converts from any length unit. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I calculate cylinder volume in metric?

Enter the radius or diameter and the height in millimetres, centimetres or metres. The volume is in cubic units of the same length unit, and the calculator also gives litres and cubic metres. A cylinder 1.2 m across and 1.5 m tall is 1.696 cubic metres, or 1,696 litres. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I find volume from the diameter?

Halve the diameter to get the radius, then use V = pi r2 h. Or use V = pi d2 h / 4 directly. A cylinder 10 inches across and 20 inches tall has volume 1,570.8 cubic inches, the same as radius 5: 1,570.8. Pick the diameter option in the calculator to skip the halving. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I find the height from the volume?

Rearrange the formula to h = V / (pi r2). If a cylinder of radius 5 cm holds 1,000 cubic cm, the height is 1000 / (78.540) = 12.73 cm. Likewise r = √(V / (pi h)) when the height is known. Enter your own radius or diameter and height in the calculator for an exact answer.

What is the volume of a hollow cylinder?

Subtract the inner cylinder from the outer one: V = pi h (R2 − r2). A pipe with outer radius 5 cm, inner radius 4 cm and length 20 cm holds 565.49 cubic cm of material and 1,005.31 cubic cm inside. Choose the hollow option and enter both sizes. Enter your own radius or diameter and height in the calculator for an exact answer.

How many gallons are in a cylinder?

Find the volume in cubic inches and divide by 231, since a US gallon is exactly 231 cubic inches. A cylinder 12 in across and 24 in tall is 2,714.3 cubic inches, which is 11.75 US gallons. Divide litres by 3.785412 for the same result. Enter your own radius or diameter and height in the calculator for an exact answer.

What is the difference between US and imperial gallons?

A US gallon is 3.785412 litres and an imperial gallon is 4.54609 litres, so the imperial one is about 20 percent bigger. The same cylinder, 6 cm radius and 12 cm tall, holds 0.359 US gallons or 0.299 imperial gallons. The calculator shows both. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I find the surface area of an open cylinder?

An open-top cup or bucket has one base. Add the curved area and one base: pi r2 + 2 pi r h. For r = 6 and h = 12 that is 113.1 + 452.4 = 565.5 square cm. A tube open at both ends has only the curved area. Enter your own radius or diameter and height in the calculator for an exact answer.

What happens to volume if the radius doubles?

Volume grows with the square of the radius, so doubling the radius makes the volume four times larger. Doubling the height only doubles it. From r = 6 and h = 12, radius 12 gives 5,428.7 against 1,357.2, a ratio of 4.0. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I convert cylinder volume to cubic feet?

Convert the lengths to feet first, or convert the volume with 1 cubic foot = 1,728 cubic inches. A cylinder 24 in across and 36 in tall is 16,286.0 cubic inches, which is 9.425 cubic feet. The calculator gives cubic feet for any input unit. Enter your own radius or diameter and height in the calculator for an exact answer.

How much liquid is in a partly filled cylinder?

For an upright cylinder, the liquid is also a cylinder, so multiply by the fill fraction. Set the fill percentage in the calculator. A 6 cm radius, 12 cm tall cylinder filled to 75 percent holds 1.018 litres. A cylinder lying on its side needs a different formula. Enter your own radius or diameter and height in the calculator for an exact answer.

When should I use a tank calculator instead?

Use this page for the pure geometry of an upright or standalone cylinder. A horizontal tank filled part way, a capsule or a sphere needs formulas for a circular segment or a spherical cap, which this calculator does not apply. Choose a tank volume tool for those shapes and a fill depth. Enter your own radius or diameter and height in the calculator for an exact answer.

Does the formula work for a slanted cylinder?

Yes, if you use the perpendicular height, the distance between the two base planes, not the slanted side length. The volume of an oblique cylinder equals the base area times that perpendicular height. The curved surface area does change, so the surface outputs are for a right cylinder. Enter your own radius or diameter and height in the calculator for an exact answer.

How do I find the volume of half a cylinder?

Calculate the full cylinder and halve it. A half cylinder of radius 6 cm and length 12 cm has volume 678.58 cubic cm. Its surface area is not simply half, since the flat cut face is new: add 2 r h for that rectangle. Enter your own radius or diameter and height in the calculator for an exact answer.

How much does the water in a cylinder weigh?

Fresh water is about 1 kilogram per litre, 1,000 kilograms per cubic metre. A full cylinder of 6 cm radius and 12 cm height holds 1.357 litres, about 1.36 kg. In US units a gallon of water is about 8.34 pounds. Enter your own radius or diameter and height in the calculator for an exact answer.

Why are my litres different from another tool?

The usual causes are using the diameter as the radius, using the outer size of a vessel instead of the inner size, or mixing US and imperial gallons. Check the units and the radius or diameter option first. Wall thickness, rounded ends and cone bottoms also change real tank capacity. Enter your own radius or diameter and height in the calculator for an exact answer.

How accurate is the cylinder volume calculator?

The arithmetic is exact for a perfect right circular cylinder. Real objects are rarely perfect, and a measuring error is squared when it is in the radius. A 2 percent error in the radius gives about a 4 percent error in volume, so measure the radius carefully. Enter your own radius or diameter and height in the calculator for an exact answer.

References

  1. [1] Wikipedia contributors. “Cylinder.” Wikipedia. Accessed 2026-10-07.
  2. [2] Wikipedia contributors. “Cubic foot.” Wikipedia. Accessed 2026-10-07.
  3. [3] Wikipedia contributors. “Gallon.” Wikipedia. Accessed 2026-10-07.
  4. [4] Wikipedia contributors. “Annulus (mathematics).” Wikipedia. Accessed 2026-10-07.