🏆 US-Registered Digital Marketing Agency Trusted by 200+ brands · USA · UK · Canada · AUS
Advertisement
Advertisement
GEOMETRY

Cube Calculator — volume, surface area and diagonals

Enter an edge length and get volume, surface area, both diagonals and capacity, with the working shown.

Pick any one known measurement and the calculator solves for the rest.
Volume is reported in cubed units and, where the size makes sense, in litres and US gallons.
Volume of the cube
0
 
0
Edge length (a)
0
Total surface area
0
Face diagonal
0
Space diagonal
Working: enter an edge length to see the substitution.
Advertisement

A cube is the friendliest solid in geometry: one measurement, the edge length, determines every other property it has. This cube calculator takes that edge length and returns volume, total surface area, the diagonal across a single face, the diagonal through the middle of the solid, and the capacity in litres and gallons when the size makes that useful. It also runs in reverse, so if you know the volume, the surface area or the space diagonal, it recovers the edge and everything else from there.

Arb Digital builds free calculators like this one because a page that only prints a number teaches you nothing. This tool shows the substitution line with your own figures in it, so you can see that a 12 cm cube gives 12 × 12 × 12 = 1,728 cm³ rather than trusting an unexplained result. Copy the working into your homework, your quote or your notes and the reasoning travels with the answer.

What This Cube Calculator Does

The calculator solves the complete set of standard cube properties from any one of four starting points. Give it an edge and it multiplies forward. Give it a volume and it takes the cube root. Give it a total surface area and it divides by six before taking a square root. Give it a space diagonal and it divides by the square root of three. In every case it lands back on the edge length first, then rebuilds the remaining measurements from that single value, which is why the results are always internally consistent.

Alongside the geometry it reports capacity. Volume in cubic centimetres converts directly to litres by dividing by 1,000, and litres convert to US gallons by dividing by 3.785411784. That matters because almost nobody buys water, resin, soil or grain in cubic centimetres. If you are sizing a cubic tank, a storage bin or a shipping carton, the litre figure is the one you actually use when you go to order something.

Every result carries its unit label with the correct exponent: linear measurements in your chosen unit, area in squared units, volume in cubed units. That sounds trivial and it is the single most common place a hand calculation goes wrong.

How to Use It

  1. Choose what you know. The default is the edge length, but you can switch the selector to volume, total surface area or space diagonal if that is the figure you were given.
  2. Type the value. The field label updates to match your selection so there is no ambiguity about what the box wants.
  3. Set the unit. Pick millimetres, centimetres, metres, inches, feet or yards. When you enter a volume or an area, the unit you choose is understood as cubed or squared automatically.
  4. Read the hero figure. That is the volume. The four supporting tiles give the edge, the total surface area, the face diagonal and the space diagonal.
  5. Check the working line. It restates the formula with your numbers substituted, which is the fastest way to catch a mistyped digit.

The Formula: How a Cube Is Calculated

All six faces of a cube are identical squares and all twelve edges are the same length, so every formula collapses into a single variable. With an edge of length a:

  • Volume: V = a³. A 12 cm cube gives V = 12³ = 1,728 cm³, which is 1.728 litres.
  • Total surface area: A = 6a². Six identical square faces, each of area a². For a = 12 cm that is 6 × 144 = 864 cm².
  • Face diagonal: d = a√2. This is the hypotenuse of a right triangle with two sides of length a, straight out of the Pythagorean theorem. For a = 12 cm, d = 16.97 cm.
  • Space diagonal: D = a√3. The longest straight line that fits inside the cube, running corner to opposite corner through the interior. For a = 12 cm, D = 20.78 cm.

Working backwards inverts each of those. Edge from volume is the cube root of V. Edge from total surface area is the square root of A divided by 6. Edge from the space diagonal is D divided by √3. The full set of relations is documented at Wolfram MathWorld's cube entry, which is the reference this calculator follows.

Advertisement

Face Diagonal vs Space Diagonal: The One People Mix Up

A cube has two different diagonals and confusing them produces an answer that is wrong by about 22%. The face diagonal lies flat on one square face and equals a√2, roughly 1.414 times the edge. The space diagonal cuts through the body of the solid from one corner to the corner furthest away, and equals a√3, roughly 1.732 times the edge.

The practical version of this question is packing. If you want to know whether a rod, a dowel or a length of pipe will fit inside a cubic box, the space diagonal is the limit, not the edge and not the face diagonal. A 30 cm cube accepts a rigid rod up to 51.96 cm long, provided the rod is thin enough that its own thickness does not eat into the corner clearance. People measure the edge, decide a 35 cm item will not fit, and throw away 22 cm of usable length they did not know they had.

The derivation is two applications of Pythagoras stacked on top of each other. First find the face diagonal, a√2. Then treat that face diagonal and the vertical edge as the two legs of a second right triangle: √((a√2)² + a²) = √(3a²) = a√3. If you want to see that intermediate step worked through on arbitrary side lengths, our Pythagorean theorem calculator handles the two-dimensional half of the problem.

Working Backwards From a Known Volume

Reverse solving is the mode most people actually need and most cube pages do not offer. You know you need a container that holds 8 litres and you want it cubic, so what edge length do you cut? Eight litres is 8,000 cm³, and the cube root of 8,000 is 20, so a 20 cm cube does the job exactly.

The same logic applies to surface area problems. If you have 1.5 m² of sheet material and you want the largest closed cube you can build from it with no waste, divide by six to get 0.25 m² per face, then take the square root: a 0.5 m edge. In practice you will lose material to cuts, joins and overlaps, so treat that as a ceiling rather than a cutting list.

One caution on reverse solving from a volume: if your figure came from a capacity measurement such as litres or gallons, convert to a cubic unit before you take the root. Feeding a litre value into a formula expecting cubic centimetres will produce an edge exactly ten times too small. Our volume converter handles that step cleanly if you would rather not do it in your head.

The Square-Cube Law, Explained on a Cube

Double a cube's edge and the surface area goes up four times while the volume goes up eight times. That mismatch is the square-cube law, and a cube is the clearest place to see it because both quantities depend on the same single dimension. Area scales with the square of the edge, volume with the cube.

This is why a small ice cube melts far faster than a large block of the same ice. Melting happens at the surface and is fed by the mass in the interior, so what matters is the ratio of surface area to volume, which for a cube is 6a² divided by a³, or simply 6/a. A 1 cm cube has a ratio of 6 per centimetre. A 10 cm cube has 0.6. The big block has ten times less exposed surface for every unit of ice it contains.

The same ratio governs how quickly a cubic tank loses heat, how much paint a set of cubic blocks needs relative to their combined volume, and why crushing a solid into smaller pieces speeds up almost any surface reaction. It is also why a set of small cubic blocks needs far more paint than one large cube of the same combined volume.

Units, Cubed Units and the Conversion Trap

The most expensive mistake in solid geometry is converting a volume with a linear factor. There are 100 centimetres in a metre, so people write that there are 100 cubic centimetres in a cubic metre. There are 1,000,000. The conversion factor is cubed along with the unit: 100³ = 1,000,000. The same trap applies to areas, where the factor is squared: 1 m² is 10,000 cm², not 100.

Imperial units carry the same rule with less friendly numbers. One foot is 12 inches, so one cubic foot is 12³ = 1,728 cubic inches, and one cubic yard is 27 cubic feet because a yard is 3 feet and 3³ = 27. That 27 is the number that catches people ordering concrete, soil or gravel, all of which are sold by the cubic yard in the United States. The international definitions behind these conversions are maintained by NIST's guide to the SI.

This calculator sidesteps the trap by converting your input to a single internal base unit, doing all the geometry there, and converting back once at the end. If you need to move between unit systems on their own, the length converter covers the linear case.

Cube Geometry vs the Cube Root Calculator

These two tools sound like the same thing and are not. Our cube root calculator is pure arithmetic: it answers ∛x for any number, with no shape attached and no units involved. This cube calculator is geometry: it takes a physical edge length and returns the volume, surface area and diagonals of a three-dimensional solid. The cube root appears here only as one internal step, used when you solve backwards from a volume to an edge.

Put simply, use the cube root calculator when the question is about a number, and this page when the question is about a box. If you want other solids, the sphere volume calculator and cylinder volume calculator cover the two most common curved shapes.

Need a site full of tools like this one?

Arb Digital builds fast, indexable calculator pages and the technical SEO around them. Every tool on this site was designed, written and shipped in house.

Browse All Free Tools Talk To Arb Digital

Common Mistakes to Avoid

  • Converting volume with a linear factor. Cube the conversion factor, not just the unit label: 1 m³ is 1,000,000 cm³.
  • Using the face diagonal as the internal clearance. The longest object that fits inside a cube is limited by the space diagonal a√3, not the face diagonal a√2.
  • Reporting surface area in cubed units. Area is always squared units. A label of cm³ on a 6a² result is an instant giveaway that something went wrong.
  • Forgetting that a cube has six faces. An open-topped cubic box has five, so its material requirement is 5a², not 6a².
  • Mixing capacity and geometry units. Convert litres to cubic centimetres before taking a cube root, or your edge will be off by a factor of ten.

Related Free Tools From Arb Digital

For flat shapes, the circle calculator and triangle area calculator cover the two-dimensional cases. If your cube is a pour rather than a puzzle, the concrete calculator turns a volume into bags and cubic yards, and the water usage calculator puts a tank capacity in context. The full free online tools hub lists everything else.

Frequently Asked Questions

What is the formula for the volume of a cube?

Volume equals the edge length cubed, written V = a³. A cube with a 12 cm edge has a volume of 12 × 12 × 12 = 1,728 cubic centimetres, which is 1.728 litres.

How do I find the edge length from the volume?

Take the cube root of the volume. A cube of 8,000 cubic centimetres has an edge of 20 cm, because 20 × 20 × 20 = 8,000. Convert litres or gallons to a cubic unit before taking the root.

What is the surface area of a cube?

Total surface area is 6a², because a cube has six identical square faces. An open-topped cubic box has only five faces, so its material requirement is 5a² instead.

What is the difference between the face diagonal and the space diagonal?

The face diagonal lies flat across one square face and equals a√2, about 1.414 times the edge. The space diagonal runs through the interior from one corner to the opposite corner and equals a√3, about 1.732 times the edge.

What is the longest object that fits inside a cubic box?

The space diagonal sets the limit. A 30 cm cube accepts a thin rigid rod of up to 51.96 cm, since 30 × √3 is 51.96. Thicker objects need clearance, so treat that as an upper bound.

How many litres does a cubic metre hold?

Exactly 1,000 litres. A cubic metre is 1,000,000 cubic centimetres and one litre is 1,000 cubic centimetres, so the conversion is a clean factor of a thousand.

Is this the same as a cube root calculator?

No. A cube root calculator answers a pure arithmetic question, the cube root of a number. This page is geometry: it turns a physical edge length into volume, surface area and diagonals, using the cube root only as an internal step when solving backwards.

Results are mathematical values rounded for display. Real materials have thickness, tolerance and waste, so add an allowance before cutting, ordering or pouring anything based on these figures.

Advertisement
Advertisement

Take it further

Arb Digital assistant

👋 Hey! Want to grow your business? Ask me anything — a free marketing proposal is on the table!