The short answer: volume is the space inside a three-dimensional object, measured in cubic units. Multiply the shape’s dimensions — s³ for a cube, l × w × h for a box, π × r² × h for a cylinder, (4 ÷ 3) × π × r³ for a sphere — and label the answer in the cube of the unit you measured in.

Key takeaways

  • Volume is three-dimensional. Three lengths multiply, so the unit is cubed: ft³, m³, cm³.
  • Round shapes need a radius. Use half the diameter in every cylinder, cone, and sphere formula.
  • Convert before you multiply. Mixing inches and feet produces a meaningless number.
  • Cubic conversions cube the factor. 1 ft = 12 in, so 1 ft³ = 1,728 in³.
  • Capacity is not volume. Fill level, headspace, and wall thickness change what a container holds.

What volume measures

Volume is the space a solid occupies, or the space a container encloses. A cube one unit on every side has a volume of one cubic unit, and any solid’s volume tells you how many of those unit cubes would fill it. That is why the answer is in cubic units and never in square units: area covers a surface, volume fills a solid. A box 2 ft by 3 ft by 4 ft holds 24 cubes measuring one foot on a side, so its volume is 24 ft³, not 24 ft².

Volume also scales faster than area: doubling every dimension multiplies volume by eight, because each of the three lengths doubles. A 2 ft cube holds 8 ft³, or 59.8 gallons, while a 1 ft cube holds 1 ft³.

Cube and rectangular prism

A cube’s volume is V = s³. A rectangular prism, the general box, is V = l × w × h. Both are the same rule: multiply the three perpendicular dimensions. A cube with a side of 3 has V = 3 × 3 × 3 = 27 cubic units. A prism measuring 2 by 3 by 4 has V = 2 × 3 × 4 = 24 cubic units.

A carton 12 in × 12 in × 12 in is 1,728 in³, exactly 1 ft³, or 0.0283168 m³.

Cylinder

V = π × r² × h. The base is a circle, so its area is π × r², and the height carries that area through the length of the cylinder. A cylinder with radius 2 and height 5 has a base area of π × 4 ≈ 12.57 and a volume of π × 4 × 5 ≈ 62.83 cubic units. A tank with a 3 ft diameter and a 4 ft height has a radius of 1.5 ft, so V = π × 2.25 × 4 ≈ 28.27 ft³, about 211.5 gallons.

The formula assumes a right circular cylinder with flat ends. A tapered pail or a barrel with a bulge needs different treatment, and a thick-walled pipe should use its inside radius, because wall thickness is not volume you can fill.

Sphere

V = (4 ÷ 3) × π × r³. A sphere of radius 3 has V = (4 ÷ 3) × π × 27 = 36π ≈ 113.10 cubic units. A ball with a 10 cm diameter has a 5 cm radius and a volume of about 523.6 cm³, or 0.52 liter. The cube in the formula is why small changes in radius move volume so much: a sphere with twice the radius has eight times the volume.

A hemisphere is half of that, V = (2 ÷ 3) × π × r³. A dome or a bowl is closer to a hemisphere than a sphere, and a capsule is a cylinder plus a hemisphere at each end. Splitting the object into those pieces and adding the volumes is usually more accurate than forcing one formula onto it.

Cone and pyramid: the one-third factor

A cone is V = (1 ÷ 3) × π × r² × h; a pyramid is V = (1 ÷ 3) × base area × h. Both are exactly one third of the prism or cylinder that shares their base and height. A cone with radius 3 and height 6 has V = (1 ÷ 3) × π × 9 × 6 = 18π ≈ 56.55 cubic units, one third of the 169.65 cubic units in the matching cylinder. A square pyramid with a 4 by 4 base and height 3 has V = (1 ÷ 3) × 16 × 3 = 16 cubic units.

The one-third is exact, not a fudge factor: three identical cones fill the matching cylinder. A cone’s slant height is not its height; the height runs perpendicular from the base to the apex.

Cubic units and how to convert them

A cubic conversion uses the cube of the linear factor, and this is where most unit errors enter. Because 1 ft = 12 in, 1 ft³ = 12³ = 1,728 in³. Because 1 yd = 3 ft, 1 yd³ = 27 ft³. Because 1 m = 100 cm, 1 m³ = 1,000,000 cm³, which is 1,000 liters. Volume conversions are never the linear factor itself.

From To Multiply by
Cubic feet Cubic inches 1,728
Cubic yards Cubic feet 27
Cubic feet Liters 28.3168
Cubic feet US gallons 7.48052
Cubic meters Liters 1,000
US gallons Liters 3.785412

Convert lengths before multiplying them. A box measured as 6 in by 1 ft by 1 ft is 0.5 ft³, because 6 inches is 0.5 foot; leaving 6 in the inches column and multiplying it with feet gives a number with no unit.

From volume to capacity

Capacity is how much a container actually holds, which is usually less than its geometric volume. Three adjustments appear again and again. Fill level: a tank is rarely filled to the brim, so 80% of 211.5 gallons is about 169 gallons of usable water. Headspace: an aquarium needs air above the water line, so a 49.9-gallon tank might run at 40 gallons. Contents: gravel, sand, and plants displace water, and soil settles in a pot, leaving the nominal volume unreachable.

Wall thickness matters for pipes and tubes. A 4-inch pipe with a half-inch wall has a 3-inch inside diameter, and the water it carries follows the inside radius. Nominal sizes in lumber are loose as well: a “2 by 4” is 1.5 by 3.5 inches.

Rounding, pi, and tolerances

Round the final answer, not the inputs. Using 3.14 for π on a radius-2, height-5 cylinder gives 62.80 instead of 62.83, a difference of about 0.05%, but early rounding in a two-step calculation drifts further. Keep the full π value and round to two decimal places for cubic units, or one decimal place for gallons.

Tolerances usually dwarf rounding: a 3 ft diameter measured to the nearest inch is uncertain by about 6%, which moves the volume about 12% because the radius is squared. For concrete, add 5–10% waste rather than trusting the last digit.

Common mistakes

  • Entering a diameter where the formula needs a radius; the result is four times too large for a cylinder and eight times too large for a sphere.
  • Mixing inches and feet in one multiplication, so a 6-inch dimension is multiplied by feet without being converted first.
  • Forgetting to cube the radius in a sphere or cone formula.
  • Using a linear conversion for a cubic quantity, so 1 ft³ becomes 12 in³ instead of 1,728 in³.
  • Reporting cubic units as square units, or calling a volume an area.
  • Treating the outside dimensions of a thick-walled container as capacity.

Three real containers

An aquarium 48 in long, 12 in deep, and 20 in tall has V = 48 × 12 × 20 = 11,520 in³. Dividing by 1,728 gives 6.67 ft³, and multiplying by 7.48052 gives 49.87 gallons. Run at 80% of the brim, it holds about 40 gallons, the number that matters for stocking and dosing.

A cylindrical rain barrel with a 3 ft diameter and 4 ft height holds 28.27 ft³, or 211.5 gallons; at 80% full it stores about 169 gallons. A 10-inch diameter post hole 3 ft deep needs V = π × (5 ÷ 12)² × 3 ≈ 1.64 ft³, which is 0.06 yd³. At about 0.6 ft³ per 80-pound bag of concrete mix, that is 2.7 bags, so buy three.

Frequently asked questions

What does “cubic units” mean?

It is the volume of a cube one unit on every side. A box 2 by 3 by 4 holds 24 of those unit cubes, so its volume is 24 cubic units.

Why is a cone one third of a cylinder?

Three cones with the same base and height fill the matching cylinder exactly, so the cone formula multiplies the cylinder volume by one third.

How do I convert cubic feet to gallons?

Multiply by 7.48052. A 10 ft³ tank holds about 74.8 US gallons; for Imperial gallons the factor is about 6.2288.

Can I use the diameter in the formula?

Only if you convert it first. Radius is half the diameter, and skipping that step inflates a cylinder or cone by four times and a sphere by eight.

Why is the volume of my pot smaller than its label?

Nursery pot sizes are nominal, soil settles, and the rim leaves unused space. Treat the label as a category rather than a measurement.

Does volume change with temperature?

Slightly, for liquids and gases. Water expands by roughly 0.26% between 20 °C and 30 °C, which is negligible for household work but not for calibrated lab work.

Further reading

Keep exploring

Read next Logarithm: Base, Product Rule, and Scale A logarithm is an exponent in disguise. Learn the definition, the product, quotient and power rules, change of… Read next Order of Operations: PEMDAS and Ambiguous Expressions PEMDAS is a shared convention, not a law of mathematics. Learn the real precedence rules, the exponent and… Read next Significant Figures: Counting, Rounding, and Precision Significant figures record how precisely a value was measured. Learn the counting rules, the addition and multiplication rules,…