Skip to content

Volume Calculator

Written by Dr. Andrew Chen Dr. Andrew Chen, PhD in Computer Science
Reviewed by Prof. Omar Farooq Prof. Omar Farooq, PhD in Mechanical Engineering

Last updated 2026-08-15 · 8 cited sources

Volume is the amount of three-dimensional space a solid occupies, counted in cubic units — cubic feet, cubic inches, cubic meters, cubic centimeters. Wolfram MathWorld states it in a single line: the volume of a solid body is the amount of space it occupies. Every formula on this page is a different method for counting how many unit cubes would fit inside one particular shape.

This calculator runs five of them. Choose a shape and a unit, then fill in only the dimensions that shape needs: a box takes all three fields, a cylinder and a cone take a radius and a height, a cube and a sphere take one number each. The answer arrives in cubic units with capacity attached — feet convert to US gallons and cubic yards, meters to liters, and the smaller units to gallons or milliliters.

One rule matters more than any other: the round shapes read a radius, never a diameter. Enter 4 instead of 2 for a cylinder 5 ft tall and 62.83 ft³ becomes 251.33 ft³, with nothing on screen to flag it.

Volume Calculator

Enter your values below.

Volume

Enter your details and press “Calculate” to see your results.

Each solid has its one classic formula — box L × W × H, cube s³, sphere 4⁄3πr³, cylinder πr²h, cone a third of its cylinder — and the calculator applies the right one to the dimensions that shape needs, ignoring the rest. A sphere reads only the first field, as its radius. The conversions line then translates the answer toward capacity: cubic feet become US gallons and cubic yards, cubic inches become gallons and cubic feet, cubic meters become liters and cubic feet, cubic centimeters become liters and milliliters.

What Is Volume?

Volume answers one question — how much fits — and it answers it with a count. A volume of 60 cubic feet means that sixty cubes measuring one foot on every edge would exactly fill the space. Nothing about the shape changes that meaning; the formulas differ only in how they arrive at the count without stacking the cubes by hand.

The Units Volume Is Measured In

A volume unit is always a length unit cubed, which is why the answer carries a small ³ and why the arithmetic multiplies three measurements rather than two. Feet give cubic feet, inches give cubic inches, meters give cubic meters, centimeters give cubic centimeters. The calculator prints the unit you selected back to you as part of the headline so the answer is never a bare number.

The capacity units people actually buy things in are defined against those cubes rather than invented separately. NIST names the liter as a special name for the cubic decimeter, so a cube 10 cm on each edge is exactly one liter — enter a cube of side 10 in centimeters and the tool returns 1,000 cm³ and 1.000 liters, which is the same statement twice. The US liquid gallon is fixed at 231 cubic inches in NIST Handbook 44's general tables, and that number is checkable here: a cube of side 6.1358 in inches returns 231 in³ and 1.00 US gallons.

Cubic yards are the third family, and they exist because concrete and aggregate are sold that way. A cube of side 3 feet returns 27 ft³ and exactly 1.000 yd³, which is the conversion in its shortest possible form.

Volume, Capacity and Area Are Not the Same Thing

Three measurements get used interchangeably in ordinary speech, and only the first is what this page computes.

  • Volume is the geometric space enclosed by a surface — the theoretical maximum, wall thickness and fittings ignored. It is what every formula below returns.
  • Capacity is how much a container actually holds in use, which is always less. A tank measuring 48 × 13 × 21 inches inside returns 13,104 in³, or 56.73 gallons, yet nobody fills a tank to the rim.
  • Area is two measurements multiplied, not three, and it is measured in square units. A 10 × 10 ft slab has an area of 100 ft²; only once you add a depth of 4 inches does it become a volume of 33.33 ft³.

Running the relationship backwards — knowing the volume you need and asking what side length produces it — is a cube root, which is waiting in the Cube Root Calculator.

The area-to-volume step is where most real jobs start, because floors, patios and beds are measured flat and then given a depth. Enter that depth as a decimal of your chosen unit: 4 inches of a foot is 0.3333, 6 inches is 0.5.

The Five Solids, and Which Fields Each One Reads

The Shape menu changes which of the three dimension fields matter. The unused ones are ignored outright rather than treated as zero, which is why a sphere still returns an answer with the lower boxes left empty.

Because the extra fields are ignored rather than validated, a leftover number in a box you are no longer using cannot corrupt the answer. Running a sphere of radius 3 in feet with 99 sitting in both lower fields still returns 113.1 ft³, exactly as it does with those fields empty.

  • Box — reads all three: Length / Radius / Side, Width / Height (if needed), and Height (box only). It is the only shape that uses the third field.
  • Cube — reads the first field only, as the side length. Everything else is ignored.
  • Sphere — reads the first field only, as the radius.
  • Cylinder — reads the first field as the radius and the second as the height.
  • Cone — reads the first field as the base radius and the second as the vertical height, not the slant.

Shapes the list does not name are usually two of these added together. A silo is a cylinder plus a cone: run the barrel as a cylinder of radius 5 and height 20 feet for 1,570.8 ft³, run the roof as a cone of radius 5 and height 6 feet for 157.08 ft³, and add them for 1,727.88 ft³.

How Do You Calculate Volume?

Measure in one unit, feed the shape the dimensions it asks for, multiply. The multiplying is what the five formulas differ over, and for four of the five shapes it reduces to the same sentence: work out the area of the flat face, then push that face through the height.

The One Idea Behind Four of the Five Formulas

A box, a cube and a cylinder are all a base area carried through a height. The box's base is a rectangle, so the base area is L × W; the cube's base is a square of side s; the cylinder's base is a circle of area π r². Multiply any of those by the height and you have the volume. A cone shares the cylinder's base and height and holds exactly one third as much, because it tapers to a point instead of keeping its width.

BASE AREA × HEIGHT
Box        (L × W) × H
Cube       (s × s) × s
Cylinder   (π × r²) × h
Cone       (π × r²) × h ÷ 3

THE ODD ONE OUT
Sphere     4⁄3 × π × r³

The sphere is the exception because it has no flat face and no height to push anything through — its width changes continuously from pole to pole. Its 4⁄3 factor comes out of integration rather than out of any stacking argument, and MathWorld gives the result as V = 4/3 πR³.

That is also why the sphere needs only one measurement while the cylinder needs two. A sphere's radius fixes its entire shape; a cylinder's radius fixes only its cross-section, leaving the height free.

Step by Step With This Calculator

Five steps, and the third is the one people get wrong.

Mixed units are the single most common error and the calculator cannot detect them, because 12 and 0.5 are both perfectly legal numbers. A slab entered as 12 × 12 × 6 in the Feet unit returns 864 ft³ instead of the 72 ft³ that 12 × 12 ft at 6 inches deep actually is — a twelvefold overshoot that looks entirely plausible on screen.

  • Pick the Shape. Box, Cube, Sphere, Cylinder or Cone — this decides which fields below are read.
  • Pick the Unit: Feet, Inches, Meters or Centimeters. This is a label, not a converter, so every dimension you type must already be in it.
  • Convert anything that is not in that unit before typing. Inches into feet is ÷ 12, so 4 in of depth is 0.3333 ft; centimeters into meters is ÷ 100.
  • Fill Length / Radius / Side. For round shapes this is the radius — half the diameter — and for a cube or sphere it is the only field you need.
  • Fill Width / Height (if needed) for a box, cylinder or cone, then Height (box only) for a box. The fields show 4, 3 and 5 as placeholder hints; they start empty and the answer appears once the shape has what it needs.

The Unit choice also decides which capacity conversions you get back, so it is worth choosing for the answer you want rather than for the tape measure you used. Inches return gallons and cubic feet; feet return gallons and cubic yards; meters return liters and cubic feet; centimeters return liters and milliliters.

Worked Example: A 4 × 3 × 5 ft Box

Shape Box, Unit Feet, then 4, 3 and 5 in the three dimension fields — the three placeholder values, run for real.

V = L × W × H
V = 4 × 3 × 5
V = 60 ft³

Capacity   60 × 7.48052 = 448.8 US gallons
Concrete   60 ÷ 27 = 2.222 yd³
What the result panel returns
60 ft³ · Rectangular box: 4 × 3 × 5 · = 448.8 US gallons = 2.222 yd³ · Dimensions not used by this shape are ignored — sphere needs only the radius

The second line is worth reading every time. It echoes the three numbers the calculator actually took from the fields, which is the fastest way to catch a digit that landed in the wrong box. The order of the three makes no difference to the answer: 4 × 3 × 5, 5 × 4 × 3 and 3 × 5 × 4 are the same 60 ft³.

The gallons figure uses 7.48052 gallons per cubic foot, which is not an estimate — it is 1,728 cubic inches divided by the 231 cubic inches in a gallon.

Worked Example: A Cylinder Read in Gallons

Shape Cylinder, Unit Feet, radius 2 in the first field and height 5 in the second. The third field stays empty; a cylinder never reads it.

V = π × r² × h
V = π × 2² × 5
V = π × 4 × 5
V = 62.83 ft³

Capacity   62.83 × 7.48052 = 470 US gallons
What the result panel returns
62.83 ft³ · Cylinder: π × 2² × 5 (radius² × height) · = 470 US gallons = 2.327 yd³ · Dimensions not used by this shape are ignored — sphere needs only the radius

Now repeat it with 4 in the radius field, as though the tank's 4 ft diameter had been typed straight in. The answer becomes 251.33 ft³ and 1,880.1 US gallons — four times too big, because the radius is squared before anything else happens to it. Doubling a radius always quadruples a cylinder of fixed height, and the tool prints no warning because 4 is a legitimate radius.

Height behaves gently by comparison. Doubling it from 5 to 10 ft moves the same cylinder from 62.83 ft³ to 125.66 ft³ — twice, not four times, because height appears once in the formula and radius appears twice.

Worked Example: A Room in Cubic Meters

Shape Box, Unit Meters, 5 by 4 by 2.5 — a room five meters long, four wide, with a 2.5 m ceiling.

What the result panel returns
50 m³ · Rectangular box: 5 × 4 × 2.5 · = 50,000 liters = 1765.74 ft³ · Dimensions not used by this shape are ignored — sphere needs only the radius

Metric is the friendlier system here because the conversion is definitional rather than arithmetic: one cubic meter is one thousand liters, so 50 m³ is 50,000 liters with no factor to remember. The cubic-feet figure on the same line, 1765.74, is what the room would read as if you had measured it in feet instead.

That second figure is also a check on your unit discipline. If you meant meters and the cubic-feet number looks like the size you expected, you probably typed feet into a metric page.

The Volume Formula for Each Shape

Five formulas, each with the trap that catches people using it. Every figure quoted below came out of the calculator at the top of the page with the inputs stated beside it.

Box        V = L × W × H
Cube       V = s³
Sphere     V = 4⁄3 × π × r³
Cylinder   V = π × r² × h
Cone       V = π × r² × h ÷ 3

Rectangular Box: V = L × W × H

Three measurements multiplied, and the only formula here with no constant in it. It is also the only shape that reads the third field. Leave that field empty and the calculator refuses the job with "Enter the third dimension" rather than assuming a height.

The trap is depth expressed in the wrong unit. A 12 × 12 ft slab poured 6 inches deep is 12 × 12 × 0.5 in feet, returning 72 ft³ and 2.667 yd³. Poured 4 inches deep on a 10 × 10 ft footprint it is 10 × 10 × 0.3333, returning 33.33 ft³ and 1.234 yd³ — and that cubic-yard figure is the number a concrete supplier will ask for.

Because multiplication does not care about order, the field labels are advisory. A moving box entered as 2 × 1.5 × 1.5 ft returns 4.5 ft³ whichever way round the three numbers go in.

Cube: V = s³

A box with all three sides equal, so the formula collapses to one measurement cubed — MathWorld writes it as V = a³. Enter a side of 3 in feet and the tool returns 27 ft³, 202 US gallons and exactly 1.000 yd³.

The cube setting is the quickest way to interrogate a unit, because a cube of side one is a unit volume by definition. Side 1 in feet returns 1 ft³; side 12 in inches returns 1,728 in³ and 1.000 ft³; side 10 in centimeters returns 1,000 cm³ and 1.000 liters; side 1 in meters returns 1 m³ and 1,000 liters. Four ways of writing the same idea.

There is no separate field to get wrong on a cube, which makes it the shape least likely to produce a wrong answer and the one most useful for checking that you understand the units before moving to something harder.

Sphere: V = 4⁄3 × π × r³

One measurement, cubed, times π, times four thirds. MathWorld gives it as V = 4/3 πR³, and the R is emphatically a radius. A sphere of radius 3 in feet returns 113.1 ft³ and 846 US gallons; the same radius in meters returns 113.1 m³ and 113,097 liters.

Diameter entered instead of radius is the costliest mistake on the page, because the error is cubed rather than squared. A ball 4 ft across has radius 2 and volume 33.51 ft³; type 4 and you get 268.08 ft³ — eight times too much. Halving works the same way in reverse: radius 1 ft returns 4.19 ft³, exactly one eighth of the radius-2 answer.

Sports balls are the easiest sanity check available. Radius 4.7 in returns 434.89 in³ for a basketball, radius 4.35 in returns 344.79 in³ for a soccer ball, and radius 1.45 in returns 12.77 in³ for a baseball — three objects whose sizes you can picture, in an order that matches the numbers.

Cylinder: V = π × r² × h

The area of the circular end, π r², carried through the height — MathWorld writes it as V = πr²h. Radius 3 and height 8 in feet returns 226.19 ft³ and 1,692.1 US gallons; radius 0.5 and height 3 returns 2.36 ft³ and 0.087 yd³, which is one concrete pier.

Round containers are almost always described by their diameter, so the halving step is where the errors enter. A round pool sold as 18 ft across and 4 ft deep is radius 9, height 4: it returns 1,017.88 ft³ and 7,614.2 US gallons. Entered as radius 18 it would return four times that, and the figure would still look like a swimming pool.

The height field is the second one, labeled Width / Height (if needed). A cylinder ignores the third field entirely, so anything left sitting there from a previous box calculation is harmless.

Cone: V = π × r² × h ÷ 3

The cylinder formula with a division by three on the end, and MathWorld states the same result as V = 1/3 πr²h. The division is exact rather than an approximation: three cone-fulls fill their matching cylinder precisely. Radius 2 and height 5 in feet returns 20.94 ft³ against the cylinder's 62.83 ft³ on identical dimensions.

The height must be the vertical height from base to tip, not the slant height measured along the sloping side. Slant is always the longer of the two, so using it inflates the answer. A cone of radius 1 and height 2 in feet returns 2.09 ft³ and 15.7 US gallons; a funnel of radius 4 and height 6 in inches returns 100.53 in³.

Loose material piled on the ground settles into a cone, which makes this the formula for a gravel or mulch heap. A pile 12 ft across and 4 ft high is radius 6, height 4: it returns 150.8 ft³ and 5.585 yd³.

Radius and height are not interchangeable, even when the two numbers are. Radius 4 with height 3 returns 50.27 ft³; radius 3 with height 4 returns 37.7 ft³ — the same pair of numbers, a quarter of the volume apart, because only one of them gets squared.

The 1 : 2 : 3 Ladder Hiding in Three of Them

Take a sphere and the shortest cylinder that would contain it — same radius, height equal to the sphere's diameter — and add the cone on the same base. Run all three at radius 2 feet, with height 4 for the two that need one.

ShapeInputsVolumeRatio
ConeCone, ft, r = 2, h = 416.76 ft³1
SphereSphere, ft, r = 233.51 ft³2
CylinderCylinder, ft, r = 2, h = 450.27 ft³3

The three readouts stand in a 1 : 2 : 3 relationship, and the last digits move only because each line is rounded on its own — 16.76 tripled is 50.28 against the cylinder's printed 50.27. Archimedes considered the sphere-to-cylinder result his finest and asked for the figure to be carved on his tomb.

The practical use of the ladder is estimation without a calculator. If you know the cylinder that would enclose something, the sphere inside it holds two thirds as much and the cone on the same base holds a third.

Volume Examples, Worked Out

Every row below was produced by this calculator, with the shape, the unit and the dimensions shown so you can reproduce it. The last column is the conversions line the tool prints underneath the headline figure.

Everyday Objects

Small things are easiest in inches or centimeters, because feet turn them into awkward decimals.

ObjectShape, unit, dimensionsVolumeConversions line
BasketballSphere, in, r = 4.7434.89 in³1.88 gal · 0.252 ft³
Soccer ballSphere, in, r = 4.35344.79 in³1.49 gal · 0.200 ft³
BaseballSphere, in, r = 1.4512.77 in³0.06 gal · 0.007 ft³
Tennis ballSphere, cm, r = 3.35157.48 cm³0.157 liters (157 mL)
Golf ballSphere, cm, r = 2.13540.76 cm³0.041 liters (41 mL)
Soup canCylinder, cm, r = 3.3, h = 10.1345.54 cm³0.346 liters (346 mL)
Drinks canCylinder, cm, r = 3.25, h = 12.2404.83 cm³0.405 liters (405 mL)
Coffee mugCylinder, cm, r = 4, h = 9.5477.52 cm³0.478 liters (478 mL)
Ice cream coneCone, cm, r = 2.5, h = 1171.99 cm³0.072 liters (72 mL)
Party hatCone, cm, r = 9, h = 252,120.58 cm³2.121 liters (2,121 mL)
ShoeboxBox, in, 13 × 8 × 5520 in³2.25 gal · 0.301 ft³
Shipping cartonBox, cm, 40 × 30 × 2024,000 cm³24.000 liters (24,000 mL)
DiceCube, cm, side 2.515.63 cm³0.016 liters (16 mL)

Cooking volumes travel in cups, tablespoons and milliliters rather than cubic centimeters, and the conversion between those is a different job handled by the Recipe Conversion Calculator.

The mug row is the one worth arguing with. A cylinder of radius 4 cm and height 9.5 cm holds 478 mL to the brim, which is why a mug that measures like that pours a 350 mL drink — the last centimeter and a half of height is headroom you never use.

Building and Garden Jobs

Feet are the working unit here, because the conversions line then hands back cubic yards — the unit concrete and aggregate are ordered in.

JobShape, unit, dimensionsVolumeConversions line
Slab 12 × 12 ft, 6 in deepBox, ft, 12 × 12 × 0.572 ft³538.6 gal · 2.667 yd³
Slab 10 × 10 ft, 4 in deepBox, ft, 10 × 10 × 0.333333.33 ft³249.3 gal · 1.234 yd³
Square footingBox, ft, 2 × 2 × 14 ft³29.9 gal · 0.148 yd³
Concrete pier, 3 ftCylinder, ft, r = 0.5, h = 32.36 ft³17.6 gal · 0.087 yd³
Tube form, 4 ftCylinder, ft, r = 0.5, h = 43.14 ft³23.5 gal · 0.116 yd³
Raised bed 8 × 4 ft, 12 inBox, ft, 8 × 4 × 132 ft³239.4 gal · 1.185 yd³
Raised bed 8 × 4 ft, 6 inBox, ft, 8 × 4 × 0.516 ft³119.7 gal · 0.593 yd³
Gravel pile 12 ft across, 4 ft highCone, ft, r = 6, h = 4150.8 ft³1,128 gal · 5.585 yd³
PlanterCylinder, in, r = 8, h = 102,010.62 in³8.70 gal · 1.164 ft³
Moving boxBox, ft, 2 × 1.5 × 1.54.5 ft³33.7 gal · 0.167 yd³
Room 12 × 10 ft, 8 ft ceilingBox, ft, 12 × 10 × 8960 ft³7,181.3 gal · 35.556 yd³
20 ft shipping containerBox, ft, 19.4 × 7.7 × 7.81,165.16 ft³8,716 gal · 43.154 yd³

The two slab rows show why depth deserves care rather than rounding. Two inches of extra depth on a 10 × 10 ft pour is only 0.1667 in the third field, and it moves the order from 1.234 to about 1.85 cubic yards — most of a wheelbarrow's difference in what turns up on site.

Things That Hold Water

For anything that gets filled, the conversions line is usually the answer you actually wanted and the cubic figure is just the route there.

ContainerShape, unit, dimensionsVolumeCapacity
Aquarium, 24 × 12 × 16 inBox, in, 24 × 12 × 164,608 in³19.95 US gallons
Aquarium, 36 × 12 × 16 inBox, in, 36 × 12 × 166,912 in³29.92 US gallons
Aquarium, 48 × 13 × 21 inBox, in, 48 × 13 × 2113,104 in³56.73 US gallons
Steel drum, 22.5 in across, 33.5 in tallCylinder, in, r = 11.25, h = 33.513,319.86 in³57.66 US gallons
Bucket, 11.5 in across, 14.5 in tallCylinder, in, r = 5.75, h = 14.51,506.1 in³6.52 US gallons
Water tankCylinder, ft, r = 3, h = 8226.19 ft³1,692.1 US gallons
Hot tub, 7 ft across, 3 ft deepCylinder, ft, r = 3.5, h = 3115.45 ft³863.7 US gallons
Round pool, 18 ft across, 4 ft deepCylinder, ft, r = 9, h = 41,017.88 ft³7,614.2 US gallons
Rectangular pool, 32 × 16 ft, 5 ft deepBox, ft, 32 × 16 × 52,560 ft³19,150.1 US gallons
Silo barrelCylinder, ft, r = 5, h = 201,570.8 ft³11,750.4 US gallons
Silo cone roofCone, ft, r = 5, h = 6157.08 ft³1,175 US gallons
Industrial tank, metricCylinder, m, r = 2, h = 562.83 m³62,832 liters

The drum and bucket rows both come out larger than the number on the label — 57.66 against a nominal 55, and 6.52 against a nominal 5 — and neither is an error. A drum is never filled to the closure, and a bucket tapers toward its base while this calculator treats it as a straight cylinder at its widest. Geometric volume is the ceiling; the rating on the side is what the maker will stand behind.

Volume Chart: Cubic Units and Capacity

Two reference tables. The first is a ladder of unit cubes run through this calculator; the second is the conversion factors those results rest on, taken from NIST's published tables.

What Each Cubic Unit Is Worth

Every row is the Cube shape with a single side length. Reading down, each step is a factor of a thousand in the metric column and a factor of 1,728 or 27 in the customary one.

Three pairs of rows describe identical volumes in different units, and they are the best proof the tool is internally consistent. A 12-inch cube and a 1-foot cube are the same object; a 100 cm cube and a 1 m cube are the same object; a 36-inch cube and a 3-foot cube are the same object.

EnteredVolumeConversions line the tool prints
Cube, cm, side 11 cm³0.001 liters (1 mL)
Cube, in, side 11 in³0.00 US gallons = 0.001 ft³
Cube, cm, side 101,000 cm³1.000 liters (1,000 mL)
Cube, in, side 6.1358231 in³1.00 US gallons = 0.134 ft³
Cube, in, side 121,728 in³7.48 US gallons = 1.000 ft³
Cube, ft, side 11 ft³7.5 US gallons = 0.037 yd³
Cube, cm, side 1001,000,000 cm³1000.000 liters (1,000,000 mL)
Cube, m, side 11 m³1,000 liters = 35.31 ft³
Cube, in, side 3646,656 in³201.97 US gallons = 27.000 ft³
Cube, ft, side 327 ft³202 US gallons = 1.000 yd³

The gallons column disagrees with itself in the second decimal place across those pairs — 7.48 in inches against 7.5 in feet, 201.97 in inches against 202 in feet — because the two branches round to a different number of places. The volumes are identical; only the display differs.

Cubic Units to Gallons and Liters

The factors behind the conversions line. NIST Special Publication 811 gives the cubic foot as 2.831 685 E-02 m³, the cubic inch as 1.638 706 E-05 m³, the cubic yard as 7.645 549 E-01 m³ and the US gallon as 3.785 412 E-03 m³; everything below follows from those four numbers.

Two of these are definitions rather than measurements, which is why they come out exact. NIST names the liter as a special name for the cubic decimeter, so 1,000 cm³ is one liter with no rounding involved at all, and NIST Handbook 44 fixes the US gallon at 231 cubic inches.

One of theseEqualsConfirmed here by
1 cubic foot1,728 in³ · 7.4805 US gal · 28.317 litersCube, in, side 12 → 1.000 ft³
1 cubic yard27 ft³ · 201.97 US gal · 764.55 litersCube, ft, side 3 → 1.000 yd³
1 cubic meter1,000 liters · 35.315 ft³ · 264.17 US galCube, m, side 1 → 1,000 liters = 35.31 ft³
1 liter1,000 cm³ · 61.024 in³ · 0.2642 US galCube, cm, side 10 → 1.000 liters
1 US gallon231 in³ · 3.7854 liters · 0.1337 ft³Cube, in, side 6.1358 → 231 in³ = 1.00 gal
1 cubic inch16.387 cm³ · 0.004329 US galCube, in, side 1 → 0.001 ft³

The US and imperial gallons are different sizes and this calculator reports the US one throughout. An imperial gallon is roughly a fifth larger, so a UK reader should treat every gallons figure on this page as about 20 percent more gallons than their own.

What the Volume Weighs When It Is Water

Volume becomes weight the moment you plan to move, support or lift what you have measured, and for fresh water the conversion is unusually clean: a liter weighs almost exactly one kilogram, an accident of history from the days when the kilogram was defined against water. That makes one cubic meter of water about 1,000 kg, one US gallon about 8.34 lb, and one cubic foot about 62.4 lb. All three drift by a fraction of a percent with temperature, since water is at its densest near 4 °C.

Run those against results from the table above and the reason aquarium stands and floor joists get discussed becomes clear. The 48 × 13 × 21 in tank at 56.73 gallons is roughly 473 lb of water before the glass, the gravel or the stand. The 18 ft round pool at 7,614.2 gallons is on the order of 63,500 lb — close to 32 tons sitting on the ground.

Anything denser than water scales straight up from there. Concrete runs about two and a half times water's weight, so the 2.667 yd³ slab is a multi-ton pour, and wet soil in a raised bed is heavier than most people expect for 32 ft³.

How to Read Your Result

The panel returns four lines in a fixed order. There are no bands or categories to interpret, so reading the result is mostly a matter of knowing what each line is for and where the display quietly rounds.

The Four Lines the Panel Returns

Running a box of 4 × 3 × 5 in feet produces these, in this order:

The second line is the one to check when an answer surprises you, because it is the only place the calculator shows what it actually read. A sphere prints its working as "4⁄3 × π × 3³ (a = radius)", which is also the clearest reminder available that the number you typed was treated as a radius.

  • The volume itself, with your chosen unit attached: 60 ft³. This is the headline figure and it is rounded to two decimal places.
  • The shape name and the substituted working: "Rectangular box: 4 × 3 × 5". The five names are Rectangular box, Cube, Sphere, Cylinder and Cone, and the working shows the exact numbers the tool read from the fields.
  • The conversions line, which changes with the unit: "= 448.8 US gallons = 2.222 yd³" in feet, gallons and cubic feet in inches, liters and cubic feet in meters, liters and milliliters in centimeters.
  • A fixed footnote about unused dimensions. It mentions the sphere by name whatever shape you ran, so seeing sphere in the note on a box calculation is not a sign that anything went wrong.

The third line is often the real answer rather than a footnote. For anything that gets filled, gallons or liters is the useful figure and the cubic number is only how the tool got there.

Where the Rounding Bites

The headline is cut to two decimal places, and each conversion is rounded on its own schedule: gallons to one place in feet mode and two in inches mode, cubic yards to three, liters to none in meters mode and three in centimeters mode. That is why the lines can appear to disagree slightly with each other.

  • Small results can vanish. Anything under 0.005 in your chosen unit displays as 0: a cube of side 0.17 in feet reads 0 ft³, while 0.171 reads 0.01 ft³.
  • Whole answers print clean. A cube of side 3 in feet reads 27 ft³ rather than 27.00, and its cubic-yard line reads exactly 1.000.
  • Enormous results switch notation. A sphere of radius 6,371,000 in meters reports its cubic-feet conversion as 3.825312730633274e+22, which is scientific notation rather than a number you can read at a glance.
  • Very large customary results lose their commas in the second conversion: a 1,000 ft cube prints 37037037.037 yd³ where the gallons figure on the same line keeps its separators.

The clearest case is a half-meter cube. Enter a cube of side 0.5 in meters and the headline reads 0.13 m³ while the same line reports 125 liters — which is 0.125 m³. The liters figure is the more precise of the two, and nothing has gone wrong; the headline simply has fewer places to work with.

None of this touches the arithmetic. The value the calculator computes is full precision throughout, and only the printing is trimmed — so if you need a figure to more places than the headline shows, read it off the conversions line instead.

The Three Messages That Replace an Answer

The calculator refuses rather than guesses when a dimension it needs is missing, and there are exactly three ways to see that.

Zero and negative numbers are treated as missing rather than as values, which is the right call for a physical measurement: a solid with a zero dimension has no volume, and a negative length is not a length. A cube entered with side 0 or side −3 returns the first-dimension message rather than 0 ft³ or a negative volume.

  • "Enter the first dimension" — the Length / Radius / Side field is empty, zero, negative or not a number. Every shape needs it.
  • "Enter the second dimension" — a box, cylinder or cone is missing its Width / Height field. Cubes and spheres never produce this message.
  • "Enter the third dimension" — only a box can produce this one, and only when Height (box only) is empty.

There is no message for the mistakes that produce a wrong answer rather than no answer. Mixed units, a diameter typed where a radius belongs, and slant height on a cone all return confident, well-formatted, incorrect figures — which is why the second line of the readout deserves a glance every time.

Why Volume Scales With the Cube of Size

Volume grows with the cube of linear size, and that is the single fact behind most bad estimates. Doubling every dimension does not double the contents — it multiplies them by eight.

The Cube Ladder, Run for Real

One shape, one unit, one field changed. Each row is the Cube shape in feet.

Ten percent more in each direction is a third more volume; twenty percent more in each direction is nearly three quarters more. Those two rows are the ones that catch people out, because a 10 percent bigger box does not look 33 percent bigger from across the room.

SideVolumeAgainst the 10 ft cubeUS gallons
5 ft125 ft³one eighth935.1
10 ft1,000 ft³7,480.5
11 ft1,331 ft³1.331×9,956.6
12 ft1,728 ft³1.728×12,926.3
15 ft3,375 ft³3.375×25,246.8
20 ft8,000 ft³59,844.2
30 ft27,000 ft³27×201,974

Spheres behave identically. A sphere of radius 1 in meters returns 4.19 m³ and radius 2 returns 33.51 m³ — precisely eight times, on a shape where only one number changed.

When Only One Dimension Grows

The cube-law only applies when everything scales together, and confusing the two cases is its own source of error. Take a plant pot as a cylinder of radius 6 and height 8 in inches: it returns 904.78 in³.

ChangeInputsVolumeIncrease
Original potCylinder, in, r = 6, h = 8904.78 in³
20% wider, same heightCylinder, in, r = 7.2, h = 81,302.88 in³44%
20% bigger all roundCylinder, in, r = 7.2, h = 9.61,563.46 in³72.8%

Widening alone squares the change, because radius appears twice in the cylinder formula: 1.2 × 1.2 is 1.44. Growing in all three directions cubes it: 1.2 × 1.2 × 1.2 is 1.728. Height alone is linear — it appears once, so 20 percent taller is 20 percent more soil and nothing more.

This is exactly why a diameter typed where a radius belongs is so expensive. It is a doubling of one dimension that gets squared on a cylinder and cubed on a sphere: 62.83 ft³ becomes 251.33 ft³ for the cylinder, and 4.19 ft³ becomes 33.51 ft³ for the sphere.

Limits: When This Calculator Does Not Apply

The tool computes the geometric volume of five idealized solids from dimensions you supply in a single unit. Being precise about the edge of that job is more useful than a longer list of things it does not attempt.

  • It does not convert units. Choosing Feet does not turn inches into feet — it only labels the answer and selects the conversions line. Every dimension must already be in the chosen unit, and a slab entered as 12 × 12 × 6 in feet returns 864 ft³ instead of the correct 72 ft³.
  • It cannot know whether you typed a radius or a diameter. Both are legal positive numbers, so a cylinder given 4 instead of 2 returns 251.33 ft³ against the true 62.83 ft³ without complaint.
  • It assumes straight, untapered sides. A bucket, a plant pot and a laundry basket all narrow toward the base, so the straight-cylinder answer overshoots: the 11.5 in bucket reads 6.52 gallons against a 5-gallon rating.
  • It gives geometric volume, not usable capacity. Wall thickness, headspace, fittings and the fill line all subtract, which is why the 22.5 in drum reads 57.66 gallons and is sold as 55.
  • There is no partial-fill mode. A horizontal cylinder half full, a tank with dished ends or a pool with a sloping floor are all different problems, and averaging depths by hand before entering is the workaround for the last of them.
  • Only these five shapes exist here. Pyramids, prisms with non-rectangular ends, tori and ellipsoids have their own formulas and none of them is in the Shape menu.
  • Irregular objects need decomposing or displacing. Break the object into these solids and add the results, as with the silo's 1,570.8 ft³ barrel plus 157.08 ft³ roof; for something small and awkward, submerge it and measure the water it displaces instead.
  • Zero and negative dimensions are rejected rather than computed, so a shape that has genuinely collapsed in one direction returns a prompt rather than a volume of 0.

Two apparent limits are not limits. Very small and very large numbers are handled correctly even when the display strains — a 1,000 ft cube returns a true 1,000,000,000 ft³ — and leftover values in fields the current shape ignores cannot affect the answer, so there is no need to clear them between calculations.

Frequently Asked Questions

What is volume?

Volume is the amount of three-dimensional space a solid occupies, measured in cubic units. A volume of 60 ft³ means sixty cubes one foot on each edge would exactly fill it. MathWorld defines it as the amount of space a solid body occupies.

How do you calculate volume?

For a box, cube or cylinder, work out the area of the flat face and multiply by the height: 4 × 3 × 5 ft gives 60 ft³, and π × 2² × 5 ft gives 62.83 ft³. A cone is a third of its cylinder, and a sphere uses 4⁄3 × π × r³.

What is the volume formula for each shape?

Box V = L × W × H, cube V = s³, sphere V = 4⁄3 π r³, cylinder V = π r² h, cone V = π r² h ÷ 3. Run at radius 2 and height 4 ft, the cone returns 16.76 ft³, the sphere 33.51 ft³ and the cylinder 50.27 ft³ — a 1 : 2 : 3 ladder.

How do I calculate the volume of a box?

Multiply length by width by height with all three in the same unit: 4 × 3 × 5 ft returns 60 ft³, 448.8 US gallons and 2.222 yd³. Convert first if your depth is in inches — 6 inches is 0.5 ft, and 4 inches is 0.3333 ft.

What is the volume of a cylinder?

π × radius² × height. A tank of radius 2 ft and height 5 ft returns 62.83 ft³ and 470 US gallons. Use the radius, not the diameter: entering 4 instead of 2 returns 251.33 ft³, four times too much, because the radius is squared.

Do I enter the radius or the diameter?

The radius — half the diameter. A pool sold as 18 ft across is radius 9, and at 4 ft deep it returns 1,017.88 ft³ and 7,614.2 gallons. On a sphere the penalty is worse: the radius is cubed, so a doubled entry gives eight times the volume.

How many gallons are in a cubic foot?

7.48052 US gallons, which is 1,728 cubic inches divided by the 231 cubic inches NIST fixes as a gallon. So 60 ft³ is 448.8 gallons and 1,000 ft³ is 7,480.5 gallons. The tool prints a 1 ft cube as 7.5 gallons because that line rounds to one decimal.

How many liters are in a cubic meter?

Exactly 1,000, because NIST names the liter as a special name for the cubic decimeter. A room of 5 × 4 × 2.5 m returns 50 m³ and 50,000 liters. In centimeters the same rule gives 1,000 cm³ per liter, so a 10 cm cube is 1.000 liter.

How many cubic feet are in a cubic yard?

27, which is why a cube of side 3 ft returns 27 ft³ and exactly 1.000 yd³. Cubic yards are the ordering unit for concrete: a 12 × 12 ft slab poured 6 inches deep is 72 ft³, or 2.667 yd³.

Why is a cone exactly one third of a cylinder?

Because integration gives that result exactly, not approximately — three cone-fulls fill the matching cylinder. At radius 2 ft and height 5 ft the cylinder returns 62.83 ft³ and the cone returns 20.94 ft³, which is 62.83 ÷ 3.

How do I find the volume of an irregular object?

Decompose it into these five solids and add the parts. A silo is a cylinder of radius 5 and height 20 ft, 1,570.8 ft³, plus a cone roof of radius 5 and height 6 ft, 157.08 ft³ — 1,727.88 ft³ in total. For small objects, measure the water they displace.

Why does my result show 0?

Either a needed field is empty, zero or negative, in which case you get a prompt instead of a number, or the volume is genuinely below 0.005 in your unit and the two-decimal display rounds it away. A cube of side 0.17 ft reads 0 ft³; 0.171 ft reads 0.01 ft³.

Sources & References

  1. [1] Weisstein, E.W. Volume — Wolfram MathWorld
  2. [2] Weisstein, E.W. Cube — surface area and volume, V = a³ — Wolfram MathWorld
  3. [3] Weisstein, E.W. Sphere — volume V = 4/3 πR³ — Wolfram MathWorld
  4. [4] Weisstein, E.W. Cylinder — volume V = πr²h — Wolfram MathWorld
  5. [5] Weisstein, E.W. Cone — volume V = 1/3 πr²h — Wolfram MathWorld
  6. [6] Thompson, A. & Taylor, B.N. (2008). NIST Guide to the SI, Appendix B.9 — cubic foot 2.831 685 E-02 m³, cubic inch 1.638 706 E-05 m³, cubic yard 7.645 549 E-01 m³, gallon (U.S. liquid) 3.785 412 E-03 m³ — National Institute of Standards and Technology
  7. [7] SI Units — Volume (liter is a special name for the cubic decimeter) — NIST Office of Weights and Measures
  8. [8] (2026). NIST Handbook 44, Appendix C — General Tables of Units of Measurement (gallon = 231 cubic inches) — National Institute of Standards and Technology

Methodology. This calculator uses standard, peer-reviewed mathematical formulas. It is reviewed and maintained by the Vast Calculators editorial team.

Last updated ·

Results are estimates for general use; verify critical figures independently.

What to Work Out Next

See all Math Calculators