Skip to content

Volume Calculator

Choose a solid and enter its dimensions in one unit. Compare the space inside it in cubic feet, cubic yards, cubic metres, litres and two kinds of gallons.

Free, no sign-up · Last updated

Measurement unit
US defaults ·

Volume

24 cu ft

Cubic feet24
Cubic yards0.888889
Cubic metres0.679604
Litres679.604318
US liquid gallons179.532468
Imperial gallons149.492051

Use internal measurements for container capacity and external measurements for the volume enclosed by the outside shape.

Definition

What volume measures

Volume measures the three-dimensional space a solid occupies or a container encloses. It is expressed in cubic units such as cubic feet, or in equivalent capacity units such as litres. A container’s usable capacity depends on its inside dimensions.

For capacity
Measure the inside dimensions
Cylinder or sphere
Check whether the input is diameter or radius
Units
Volume scales with the cube of length

Measure the space you care about

Volume measures three-dimensional space. For a crate that will hold packing material, measure between the inner walls and from the floor of the crate to the height you plan to fill. An outside measurement includes the timber and may also include feet or handles. For a solid object with a regular outline, outside dimensions describe the whole space enclosed by that outline.

Draw the object before measuring if you cannot see all its edges from one position. Label the dimensions on the sketch and write a unit after each one. Convert mixed measurements to one unit before entering them. For example, a length written as three feet six inches must be entered as 3.5 feet in feet mode.

Choose the shape by its cross-section

A box has a rectangular cross-section that stays the same through its height. A cube is a box with three equal dimensions, so one measured edge is enough. A cylinder has a circular cross-section of the same size from end to end. For a cylinder lying on its side, enter the distance between the flat ends as the height.

A cone or rectangular pyramid comes to a single point. Both enclose one third of the volume of a straight-sided solid with the same base and perpendicular height. Measure height straight from the plane of the base to the tip. The edge along a sloping face is longer and produces an inflated result if used as height.

Distinguish a capsule from a sphere

Choose sphere when the object is round in every direction and has no straight middle. Measure its diameter through the centre. If you can only wrap a flexible tape around the widest part, divide that circumference by π to get the diameter. Keep several decimal places before entering it, since the diameter is cubed in the formula.

Choose capsule for a solid with a cylindrical middle and a hemisphere at each end. Measure from one rounded tip to the other. The calculator removes the diameter from that overall length to find the length of the straight middle. A tank with shallow dished ends or flat end caps needs a different model because its ends enclose different amounts.

Read cubic units and liquid units together

Cubic feet and cubic yards are convenient for shipping space and bulk material. Litres and gallons are convenient for liquids. All describe the same volume in different units. A change of length unit is cubed when you convert volume, which is why one cubic yard holds 27 cubic feet even though one yard is three feet. The 4 × 3 × 2 ft box in the formula example holds about 179.53 US gallons.

For containers with a tapered bottom, shoulders or internal fittings, decide whether a single solid is a close enough model. You can estimate capacity in pieces by calculating the lower and upper shapes separately and adding their volumes. For a liquid that needs headspace, measure to the intended fill line and use that height wherever the shape stays uniform.

Step-by-step example

Compare a box measuring 4 × 3 × 2 ft with a capsule 20 cm long and 10 cm across.

StepResult
Box volume24 cu ft
Box capacity679.60 L
Box capacity in US gallons179.53 US gal
Capsule capacity1.309 L

Formulas used

Volume of straight-sided solids

Cube = s³

Box = L × W × H

Cylinder = πr²h

Cone = πr²h ÷ 3

Rectangular pyramid = L × W × h ÷ 3

s
cube edge length
L
base or box length
W
base or box width
H
perpendicular box height
h
perpendicular height of a round solid or pyramid
r
radius
π
pi

Example: A box 4 ft long, 3 ft wide and 2 ft high holds 24 cu ft, or 679.60 L.

Volume of rounded solids

Sphere = 4πr³ ÷ 3

Capsule = πr² × (overall length − 2r) + 4πr³ ÷ 3

r
radius of the sphere or capsule ends
π
pi

Example: A 20 cm capsule with a 10 cm diameter encloses 1.309 L.

When the answer can mislead

  • Subtract wall thickness by measuring inside the container when you want capacity.
  • In a horizontal cylinder, equal rises in liquid level can represent different volumes.
  • For a capsule, measure the entire end-to-end length so the curved ends are included only once.

Questions

Can I use diameter in the formula instead of radius?

Enter diameter as measured. The calculator halves it internally. Substituting the full diameter for radius by hand makes a circular area four times too large.

Why are two gallon results shown?

A US liquid gallon is 3.785411784 litres. An Imperial gallon is 4.54609 litres. Match the label on your container, equipment or order form.

What if my capsule is the same length as its diameter?

The straight section is zero, so the two hemispherical ends meet and give exactly the same volume as a sphere of that diameter.

Can I use volume to order paint?

Use the surface area of the faces you will coat and the coverage given on the paint label. Volume tells you the space enclosed by those faces.

Does zero height mean zero volume?

Yes, for a solid that uses height and has a flat base. Choose the shape first because a sphere or cube uses different measurements.

Last updated How we check
Embed this calculator
Cite this calculator

Volume Calculator. CalculatorLab. https://calculatorlab.site/calculators/volume-calculator/. Last updated .