Written by Erum Nazeer Built by Muhammad Ayaz Akhtar Updated

Volume calculator

Cube Volume Calculator

One side length is all you need to calculate cube volume. Measure any edge, enter it below, and you get volume, surface area, space diagonal, and liquid capacity in liters or gallons. The formula V = s³ works because all three sides of a cube are identical, if your shape has different length, width, and height, it's a cuboid and you'll multiply all three dimensions separately.

V = s³

Cube

Enter cube side length

Formula: V = side³

3D visual

Cube preview

Loading visual

Cube or Cuboid? Check Before You Calculate

A cube has every edge the same length. Word problems often say "box," "storage cube," or "block" for shapes that aren't true cubes, so measure all three directions first.

A 5 × 5 × 5 cm box is a cube with volume 125 cm³. A 5 × 4 × 3 cm box is a cuboid with volume 60 cm³. For cuboids, the Tank Volume Calculator takes all three dimensions and adds a filled-depth field for partial capacity.

V = s³, and What Else the Calculator Shows

Cube volume diagram with equal side length s labeled on three edges, showing V = s³
Cube with equal side length s labeled on three edges showing the formula V = s³

Enter one side length and the calculator returns everything that follows from it:

MeasureFormulaFor s = 5Useful for
Volumes³125capacity, material in a solid block
Face areas²25the footprint on a shelf or floor
Surface area6s²150paint, wrapping, cardboard
Space diagonals√3about 8.66the longest item that fits inside
Total edge length12s60framing, wire, or trim

Squaring gives an area and cubing gives a volume, which is why mixing up s² and s³ is the classic slip. Cubing also magnifies measurement errors: a side that is 1% too long gives a volume about 3% too high. And halving the side leaves only one-eighth of the volume, since 0.5³ = 0.125. For container capacity, measure the inside edge.

Examples at a Glance

ObjectSideWorkingVolume
Classroom storage bin (inside)18 in18 × 18 × 185,832 in³
Solid glass decoration7 cm7 × 7 × 7343 cm³
Water container (inside)0.4 m0.4³ = 0.064 m³64 liters
Cube with space diagonal 10.392 cm10.392 ÷ √3 ≈ 6 cm6³about 216 cm³

The last row runs the diagonal formula backwards: if you know the corner-to-corner distance, divide by √3 (about 1.732) to get the side.

Working Backwards: Side From Volume

s = ∛V

When the volume is known, the side is its cube root. Perfect cubes can be spotted by eye: a 512 in³ box has 8-inch edges because 8 × 8 × 8 = 512, and a 1,000 cm³ cube is 10 cm on each side. Small decimals work the same way: a cube of 0.001 cubic units has edges of 0.1, since 0.1 × 0.1 × 0.1 = 0.001. In a spreadsheet, =A1^(1/3) gives the cube root of the value in A1.

For volumes that aren't perfect cubes, How to Find the Side Length of a Cube from Its Volume covers estimating between two known cubes and the prime-factor method. If the cube-shaped volume is a concrete pour, the Concrete Calculator turns the same measurement into cubic yards and bags.

Algebra and Packing Problems

Some homework gives the side as an expression. Cube the whole thing, number and letter both. A storage cube with edges of 5y inches has volume (5y)³ = 5³ × y³ = 125y³ cubic inches. A cuboid with sides 2x, x, and 3 has volume 2x × x × 3 = 6x².

If the real question is how many round objects fit inside a box, volume alone won't answer it, because spheres leave gaps. How to find the optimal box dimensions to pack 27 spheres works through that case.

Units

Volume unit conversion table showing cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Common volume unit conversions: cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters

A side in centimeters gives cm³, in inches gives in³. Handy anchors: a 10 cm cube holds exactly 1 liter, a 1 m cube holds 1,000 liters, and 231 in³ is 1 US gallon. The calculator also shows imperial gallons and cubic feet.

How the Numbers Are Checked

Enter a side of 5 and the page shows a face area of 25 and a surface area of 150. The second figure is computed as 6 * faceArea in the code, with no separate formula, and both stay on screen so the six-face multiplication is visible rather than buried in one total. The volume comes from the same side value cubed, side^3, independent of the surface area calculation.

Frequently Asked Questions

How do you calculate the volume of a cube?

Use V = s³. Multiply the side length by itself three times. A cube with side 5 cm has volume 5 × 5 × 5 = 125 cm³. If the problem gives volume and asks for the side length, use the cube root: s = ∛V.

What is the difference between cube volume and surface area?

Volume measures how much the cube can hold, cubic centimeters of material, liters of liquid. Surface area measures the outside covering, how much paint or cardboard is needed. A 10 cm cube has 1,000 cm³ of volume and 600 cm² of surface area; they measure different things in different units.

How do you find the side length from cube volume?

Take the cube root: s = ∛V. If V = 512 cm³, then s = ∛512 = 8 cm. In Excel: =A1^(1/3).

Why does cubing a decimal like 0.5 give a much smaller result?

Decimals between 0 and 1 get smaller when multiplied by themselves: 0.5 × 0.5 × 0.5 = 0.125. Volume scales as the cube of side length, halving the side gives one-eighth the volume, not half. This is why small measurement errors in side length have an outsized effect on volume.

References