Cylinder Volume Formula

Formula for volume of a cylinder with a hemispherical top

V = πr²L + caps

Inputs

Diameter (d)
in
Straight (cylinder) length (L)
in
Total volume
729.14 US gal
≈ 2,760.09 liters
Propane tankr = 18.75 in, L = 140 in, 1 hemispherical endL = 140r = 18.75πr²L + 1 × ⅔πr³ = 729.14 US gal
Cylinder part
669.37 US gal
End caps
59.77 US gal
Overall length
158.75 in

Step by step

  1. r = d ÷ 2 = 37.5 ÷ 2 = 18.75 in
  2. Cylinder: π × 18.75² × 140 = 154,625.26 in³
  3. Hemisphere ⅔πr³ = 13,805.83 in³ × 1
  4. Total = 168,431.09 in³
  5. Convert: 168,431.09 in³ ÷ 231 = 729.14 US gal

Same answer, other units

click to copy

How does the hemispherical-top cylinder volume calculator work?

The hemispherical-top cylinder volume calculator adds the straight cylinder πr²L to the volume of the end caps: ⅔πr³ for each hemisphere, with options for 2 domes, 1 dome, 2:1 elliptical heads and flat ends.

1Radius rbody and dome2Cylinderπ × r² × L3Dome⅔ × π × r³4Totalbody + domes
Hemispherical-top cylinder volume calculator, from inputs to answer in 4 stages.

The hemispherical-top cylinder volume calculator works in 4 steps:

  1. 1
    Enter the diameter or radius of the cylinder.
  2. 2
    Enter the straight length L between the ends, not counting the domes.
  3. 3
    Choose the end type: 2 hemispheres, 1 hemispherical top, 2:1 elliptical heads or flat ends.
  4. 4
    Read the total volume, with the cylinder part, end caps and overall length under the diagram.

Hemispherical-top cylinder volume formula

The volume of a cylinder with a hemispherical top is V = πr²L + ⅔πr³. With domes on both ends, the volume is V = πr²L + ⁴⁄₃πr³.

V = π × r² × L + ⅔ × π × r³
  • rradius of the cylinder and dome
  • Lstraight length, domes excluded
  • ⅔πr³one hemisphere
  • ⁴⁄₃πr³two hemispheres, a full sphere

How the hemispherical-top cylinder volume formula is derived

The hemispherical-top cylinder volume formula comes from 4 steps:

  1. Find the straight cylinder volume: πr²L.
  2. Find one hemisphere: half of the sphere ⁴⁄₃πr³, which is ⅔πr³.
  3. Add one hemisphere for a domed top, or 2 for a capsule.
  4. Use πr³ ÷ 3 per end for a 2:1 elliptical head.

Hemispherical-top cylinder volume formula facts

  • Archimedes proved that a sphere holds ⅔ of the cylinder that encloses it, and asked for a sphere inside a cylinder on his tomb.
  • A 2:1 elliptical head holds half the volume of a hemisphere of the same radius.

Worked example: propane tank

Answer: 729.14 US gal (≈ 2,760.09 liters)

  1. r = d ÷ 2 = 37.5 ÷ 2 = 18.75 in
  2. Cylinder: π × 18.75² × 140 = 154,625.26 in³
  3. Hemisphere ⅔πr³ = 13,805.83 in³ × 1
  4. Total = 168,431.09 in³
  5. Convert: 168,431.09 in³ ÷ 231 = 729.14 US gal

The calculator above opens with these values. Change any input to rework the example.

Check the result by hand

A vessel with a 2 m inside diameter and 5 m straight length has a body volume of 5π m³. Add ⅔π m³ per hemispherical end, half that per 2:1 elliptical end, and zero for a flat end.

Expected results: Flat ends: 15.70796 m³. One hemispherical end: 17.80236 m³. Two hemispherical ends: 19.89675 m³. Two 2:1 elliptical ends: 17.80236 m³.

Hemispherical-top cylinder volume conversion chart

A tank 1 m (3.28 ft) across with a 2 m straight body and 2 hemispherical ends holds 2,094 L (553 US gallons). The chart compares 4 end types for the same tank.

Hemispherical-top cylinder volume conversion chart
End typeCylinder (L)Ends (L)Total (L)Total (US gal)
Flat ends1,57101,571415
2 × 2:1 elliptical1,5712621,833484
1 hemispherical top1,5712621,833484
2 hemispheres1,5715242,094553

Every value in the hemispherical-top cylinder volume conversion chart comes from the same calculation as the calculator above.

Head types

HeadVolume each
Hemispherical⅔πr³
2:1 ellipticalπr³/3
Flat0

Hemispherical-top cylinder volume FAQs

What is the formula for the volume of a cylinder with a hemispherical top?

The formula is V = πr²L + ⅔πr³: the cylinder plus one hemisphere of the same radius.

What is the volume of a capsule?

The volume of a capsule is V = πr²L + ⁴⁄₃πr³. Two hemispheres make one full sphere.

Is L the overall length of the tank?

No, L is the straight cylinder length only. The overall length is L + 2r for a capsule.

What is a 2:1 elliptical head?

A 2:1 elliptical head is a dished end with a depth of one quarter of the diameter. Each head holds πr³ ÷ 3. Add 2πr³ ÷ 3 to the straight cylinder for two heads.

What is the volume of a half cylinder with a half sphere?

A half cylinder with a quarter sphere on the end holds πr²L ÷ 2 + πr³ ÷ 3. A full cylinder with a half sphere holds πr²L + ⅔πr³.