Volume
–
US gallons–
Liters–
Cubic feet–
Cubic meters–

What volume measures

Volume is the amount of space a 3D object takes up, or how much it can hold. It is measured in cubic units, such as cubic inches, cubic feet or cubic meters, because you multiply three lengths together. For liquids, volume is often given in gallons or liters instead, and the calculator converts between them for you.

Volume formulas

ShapeFormula
Cubeside³
Box (rectangular prism)length × width × height
Cylinderπ × radius² × height
Sphere4/3 × π × radius³
Hemisphere2/3 × π × radius³
Cone1/3 × π × radius² × height
Pyramid1/3 × base length × base width × height

Worked examples

How many gallons does a fish tank hold?

A tank measures 30 × 12 × 12 inches. Its volume is 30 × 12 × 12 = 4,320 cubic inches. A US gallon is 231 cubic inches, so the tank holds 4,320 ÷ 231 ≈ 18.7 gallons. In practice you will fill it a little less because of gravel, decorations and the gap at the top.

How much water fits in a round tank?

A cylindrical tank is 4 feet across and 5 feet tall. The radius is 2 feet, so the volume is π × 2² × 5 ≈ 62.83 cubic feet. At 7.48 gallons per cubic foot, it holds about 470 gallons.

Tips for accurate measurements

  • Measure the inside of a container if you want to know how much it holds, and the outside if you want to know how much space it takes up.
  • Use the same unit for every measurement of a shape.
  • For a round object, measure across the widest point to get the diameter, then halve it for the radius.
  • For odd shapes, split them into simple parts, such as a box and a half cylinder, and add the volumes.

Filling a garden bed or pouring a slab? The cubic yard calculator works in the units suppliers sell by.

Last reviewed October 2026.

Frequently asked questions

How do I find the volume of a box?

Multiply length × width × height. A box 3 feet long, 2 feet wide and 2 feet high holds 3 × 2 × 2 = 12 cubic feet. All three measurements must be in the same unit.

How many gallons are in a cubic foot?

One cubic foot holds about 7.48 US gallons. One cubic inch is 1/231 of a US gallon, and one cubic meter holds 1,000 liters, or about 264.2 US gallons.

What is the difference between radius and diameter?

The diameter is the full width of a circle measured through its center. The radius is half of that. This calculator asks for the radius, so if you measured across the circle, divide by two first.

How do I measure the volume of an irregular object?

Use water displacement. Fill a container, mark the water level, lower the object in, and measure how much the level rises. The volume of water pushed up equals the volume of the object.

Why is a cone exactly one third of a cylinder?

A cone and a cylinder with the same base and height always have a 1 to 3 volume ratio. You can show it with calculus, or by filling a cone with water three times to fill the matching cylinder.

Can I use different units for each measurement?

No. Pick one unit for all the measurements of a shape. If you measured in feet and inches, convert everything to inches or to decimal feet first, for example 2 ft 6 in = 2.5 ft.