Cylinder Volume Calculator

Tank, well, and pipe volume in liters and gallons from diameter and height.

Home and DIYUpdated 2026-10-112 min read
Cylinder Volume Calculator
Across the circular face, twice the radius.
Length along the axis for pipes.
Volume
...
Also...
Water weight...

What it does

Cylindrical tanks, wells, and pipes all share one volume: the circular base area stretched along the height. Rain barrels, well casings, and culverts differ only in which diameters and lengths feed the same pi.

The tool above takes diameter with height in metric or imperial. It returns volume in both systems with the water weight beside them.

The default of 50 cm diameter by 100 cm height holds 196.35 L (0.196 m3), weighing 196.3 kg full of water. The imperial mirror of 19.69 by 39.37 in holds 51.9 gal weighing 433.1 lb.

The formula follows open geometry textbook treatments with course material matching each rearrangement. Both write V as pi r squared h and solve backwards for missing dimensions the same way.

How to use

  1. Pick centimeters or inches for both measures.
  2. Measure diameter across the face, not around it.
  3. Measure height along the axis, length for pipes.
  4. Read volume first in your system.
  5. Read water weight before moving full vessels.

Formula

V = pi x (d/2)2 x h. Liters = cm3 / 1000. Gallons = L / 3.78541.
d
Diameter across the circular face.
h
Height or pipe length along the axis.
pi
3.14159..., the circle constant.

Imperial converts to metric first (1 in = 2.54 cm), then runs one path, so systems agree. Inside diameters give true capacity; outside diameters include the wall.

Worked example

Example: 50 cm by 100 cm tank

Metric defaults: diameter 50 cm, height 100 cm.

  1. Radius: 50 / 2 = 25 cm.
  2. Base: pi x 25 x 25 = 1,963.5 cm2.
  3. Stretch: 1,963.5 x 100 = 196,350 cm3.
  4. Liters: 196,350 / 1000 = 196.35 L (0.196 m3).
  5. Tool shows 196.35 L, 0.196 m3, 196.3 kg of water.

Reference table

Vessels compared
VesselVolumeWater
10 cm by 20 cm jar1.57 L1.6 kg of water
50 cm by 100 cm tank196.35 L196.3 kg of water
22.5 in by 33.5 in drum57.66 gal481.2 lb of water

Limits

  • Straight cylinders only; cones and spheres need their pages.
  • Inside diameters give capacity; outside adds the wall.
  • Heaped or half full vessels need level math.
  • Wall thickness and fittings displace a little volume.

Common mistakes

  • Feeding circumference where diameter belongs.
  • Squaring the diameter instead of the radius.
  • Mixing cm with inches mid formula.
  • Ordering by outside size for tight fits.
  • Lifting full vessels rated by empty weight.

Try it yourself

Quick checks. Answers sit tucked under each question.

10 cm diameter, 20 cm tall?

pi x 25 x 20 = 1.57 L (0.002 m3).

Pools too?

Use the pool volume page: slopes and steps break cylinder math.

Find height for 100 L at 40 cm diameter?

Base 1,256.6 cm2, so 100,000 / 1,256.6 = 79.6 cm tall.

Questions

What is the cylinder volume formula?

Pi times radius squared times height. Diameter halves to radius first.

How many gallons is 196 L?

About 51.9 gal (divide by 3.78541).

How heavy is a full tank?

A liter of water weighs a kilo: 196.35 L is 196.3 kg plus the vessel.

Diameter or radius?

This page asks diameter and halves it inside. Halve twice and the answer quarters.

Horizontal tanks?

Full volume matches; partial levels need segment math instead.

Pipes in gallons per foot?

Run diameter with 12 in (30.48 cm) height: that foot of pipe is the per foot volume.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.