Volume Calculator: cubic feet, yards and gallons

How it's calculated. Box a × b × c; cylinder π r² h; sphere 4/3 π r³; cone and pyramid one third of base × height; 1 ft³ = 7.48 gal, 1 yd³ = 27 ft³.
10 × 8 × 4 ft: 320 ft³ = 11.85 yd³ = 2,394 gallons = 9,061 L
01

Shape

02

Dimensions

ftin
ftin
ftin
Volume
320ft³ · 2,393.8 gal
Box · 10' 0" × 8' 0" × 4' 0"
Cubic feet320
Cubic yards11.852
US gallons2,393.8
Liters9,061.4
Cubic meters9.0614
Surface area304 ft²
1 ft³ = 7.48 US gallons = 28.32 L; 1 yd³ = 27 ft³

Box

V = a × b × c
V = a × b × c10' 0" × 8' 0" × 4' 0"V = 320 ft³DELIMETRA · FT-IN
V = a × b × cFormula2,393.8US gallons11.852Cubic yards304 ft²Surface area
How we calculate

Box a × b × c; cube a³; cylinder π r² h; sphere 4/3 π r³; cone 1/3 π r² h; pyramid on a rectangular base 1/3 a b h; triangular prism ½ a h × L. Surface areas follow the same shapes: a cone adds its slant face π r √(r² + h²), a pyramid its four triangles.

Units: 1 ft³ = 7.48052 US gallons = 28.317 L; 1 yd³ = 27 ft³ = 0.7646 m³; water weighs 8.34 lb per gallon, 62.4 lb per ft³.

Volume
320ft³

A space 10 ft long, 8 ft wide and 4 ft high holds 320 cubic feet — 11.85 cubic yards, 2,394 US gallons or 9,061 liters. The calculator above finds the volume and surface area of seven shapes — box, cube, cylinder, sphere, cone, pyramid and triangular prism — and shows the result in every unit you might need.

How the calculator works

Choose the shape, enter its dimensions in feet and inches (or meters), and read the volume in cubic feet, cubic yards, gallons, liters and cubic meters, with the surface area of the shape.

Formulas

ShapeVolumeSurface
Boxa × b × c2 (ab + ac + bc)
Cubea³6 a²
Cylinderπ r² h2 π r (r + h)
Sphere4/3 π r³4 π r²
Cone1/3 π r² hπ r (r + √(r² + h²))
Pyramid1/3 a b hbase + four triangles
Triangular prism½ a h × Ltwo triangles + three sides

Units

A cubic yard is 27 cubic feet — the unit for concrete, gravel and mulch. A cubic foot holds 7.48 US gallons or 28.3 liters; a cubic meter is 35.3 cubic feet. Cones and pyramids hold exactly a third of the box or cylinder around them.

Common mistakes

For cylinders and tanks, use the Cylinder Volume Calculator and the Tank Volume Calculator; for concrete, the Concrete Calculator.

Questions

How do I calculate cubic feet?

Length × width × height in feet: a 10 × 8 × 4 ft space is 320 ft³.

How do I convert cubic feet to gallons?

Multiply by 7.48: 320 ft³ is 2,394 US gallons.

How many cubic feet in a cubic yard?

27: a cubic yard is 3 × 3 × 3 ft. 320 ft³ ÷ 27 = 11.85 yd³.

What is the volume of a cylinder?

π × radius² × height. The cylinder volume calculator adds diameter input and the weight of water.

What is the volume of a cone?

One third of the cylinder with the same base and height: π r² h ÷ 3.

How do I find the volume of a sphere?

4/3 × π × r³: a ball 6 ft across (r = 3 ft) holds 113 ft³.

Related calculators