Volume Calculator: Cubic Feet and Gallons

This volume calculator finds how much space a shape holds from its dimensions: a box from length, width and height, a cylinder from radius and height, and spheres and cones too. Results come in cubic feet, cubic yards and US gallons, so you can size a tank, a planter or a load of soil.

Volume Calculator

Volume

-

Same volume in other units
Cubic feet-
US gallons-
Cubic yards-
Cubic meters-
Liters-
Cubic centimeters-
Cubic inches-
Formula Used

-

Surface Area (approx.)

-

This free volume calculator finds the volume of a cube, rectangular prism, cylinder, sphere, cone or square pyramid, shows the formula used and gives an approximate surface area. Measure in feet, inches, yards, meters, centimeters or millimeters, and it converts the answer to cubic feet, US gallons, cubic yards, cubic meters, liters, cubic centimeters and cubic inches at once.

How to use the Volume Calculator

  1. Choose a Shape. The fields relabel to match: side length, radius, height, length, width or base side.
  2. Under Measure in, pick the unit you measured with (feet by default, or inches, yards, meters, centimeters or millimeters).
  3. Enter every dimension in that one unit. For a circle, the radius is half the diameter.
  4. Read the Volume in your unit, the Same volume in other units table, the Formula Used and the Surface Area. Results update as you type, or press Calculate Volume.

Volume formulas by shape

ShapeFormulaWhat you enterEveryday use
Cubes³Side lengthstorage cubes, ice
Rectangular prism (box)l × w × hLength, width, heightrooms, raised beds, fish tanks, trailers
Cylinderπ × r² × hRadius, heightround pools, water tanks, post holes
Sphere(4/3) × π × r³Radiusballs, round tanks
Cone(1/3) × π × r² × hRadius, heightgravel and mulch piles, funnels
Square pyramid(1/3) × a² × hBase side, heighthip roof sections, monuments

You don't need to convert your measurements first. The calculator works out the volume in the unit you measured in, then converts it for you.

How the conversions work (US units first)

Gallons = ft³ × 7.48 (1 ft³ = 1,728 in³; 1 US gallon = 231 in³)
Cubic yards = ft³ ÷ 27
Gallons = in³ ÷ 231
Cubic meters = ft³ × 0.0283 Liters = cm³ ÷ 1,000

Worked examples

  • Raised garden bed 8 × 4 ft, 1.5 ft deep (Rectangular prism, feet): 48 ft³. The table shows 1.78 cubic yards of soil, about 359 gallons, or 1.36 m³.
  • Round above-ground pool 24 ft across, filled 4 ft deep (Cylinder, radius 12, height 4, feet): 1,809.557 ft³, about 13,536 gallons (67.0 yd³, 51.2 m³).
  • Gravel pile 10 ft across and 4 ft high (Cone, radius 5, height 4, feet): 104.72 ft³, or 3.88 cubic yards (2.97 m³).
  • Metric storage bin 50 × 30 × 40 cm (Rectangular prism, centimeters): 60,000 cm³, which the table shows as 60 L, about 15.9 US gallons.

Ordering soil, gravel or concrete? Suppliers sell by the cubic yard, so round up and add 5–10% for settling. More detail: What Is a Cubic Yard? Size, Weight and How to Measure.

Full guide with every shape: How to Calculate Volume: Formulas and Examples

Frequently asked questions

How do you calculate volume in cubic feet?

Measure every side, pick the shape and use its formula. A box is length × width × height, so a raised bed 8 ft long, 4 ft wide and 1.5 ft deep is 8 × 4 × 1.5 = 48 cubic feet. If you measured in inches, choose Inches under Measure in and the calculator gives cubic feet for you.

How many gallons are in a cubic foot?

About 7.48 US gallons, because a cubic foot is 1,728 cubic inches and a US gallon is 231 cubic inches. Multiply cubic feet by 7.48 to get gallons.

How do I convert cubic feet to cubic yards?

Divide by 27, since a cubic yard is 3 × 3 × 3 feet. 48 cubic feet ÷ 27 = 1.78 cubic yards.

How do I find how many gallons a round tank holds?

Use the cylinder formula πr²h, then multiply cubic feet by 7.48. A tank 2 ft across (radius 1 ft) and 4 ft tall holds 12.57 cubic feet, about 94.0 gallons. The calculator shows the gallons directly.

Can I measure in inches or meters?

Yes. Choose the unit you measured in under Measure in and enter every dimension in that unit. A box 24 × 12 × 12 inches is 3,456 cubic inches, which the calculator also shows as 2 cubic feet and about 14.96 US gallons.

Why is a cone's volume one third of a cylinder's?

A cone with the same base and height fills exactly one third of the matching cylinder. The same 1/3 factor applies to a square pyramid compared with a box.

Related tools: Cubic Yard Calculator, Pool Volume Calculator, Volume Converter, Concrete Calculator, Surface Area Calculator.

Calculate volume of a box, cylinder or tank

How to use it

  1. Pick the shape: rectangular box, cylinder, sphere, cone or another option.
  2. Enter the dimensions in the units you measured, such as feet or inches.
  3. Read the volume in cubic units and in US gallons.
  4. To change a volume you already have into another unit, use the Volume Converter.

More questions

How do I find the volume of a cylinder?

Multiply pi by the radius squared, then by the height. A tank 2 ft across and 3 ft tall is about 9.42 cubic feet.

How do I find the volume of a rectangle box?

Multiply length by width by height. A box 4 ft by 2 ft by 1 ft holds 8 cubic feet.

How many gallons fit in a box?

Find the volume in cubic feet, then multiply by about 7.48 US gallons per cubic foot.

Related tools: How to Calculate Volume: Formulas and Examples, Pool Volume Calculator, Volume Converter.