Cube Calculator

Calculate the volume, surface area, face diagonal and space diagonal of a cube from its edge length.

Volume 216
V = a³ · S = 6a² · face diagonal = a√2 · space diagonal = a√3
Surface area 216
V = a³ · S = 6a² · face diagonal = a√2 · space diagonal = a√3
Space diagonal (corner to corner) 10.392305
V = a³ · S = 6a² · face diagonal = a√2 · space diagonal = a√3
Face diagonal 8.485281
Area of one face 36
Total edge length 72
Largest sphere that fits inside (radius) 3

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Cube Calculator does

Use this cube calculator to calculate the volume, surface area, face diagonal and space diagonal of a cube from its edge length. Fill in the single field and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for finding the volume of a cubic box, tank or crate. Companion tools to this one live on FreeToolStation.org.

How to use it

  1. Enter the edge length of the cube in any unit.
  2. Read the volume in cubic units and the surface area in square units.
  3. Use the face diagonal for a measurement across one face and the space diagonal for corner-to-corner through the middle.
  4. The total edge length is useful when you are buying framing material for a cubic frame.

How it works

A cube has six square faces, twelve equal edges and eight corners, so every measurement follows from the single edge length. The volume is a³ and the surface area is 6a², which means the two scale differently: doubling the edge multiplies the surface area by four and the volume by eight. That mismatch is the square-cube law, and it is why a sugar cube dissolves faster than a sugar lump, why small animals lose heat quickly, and why you cannot simply scale up a structure and expect it to hold.

There are two diagonals worth distinguishing. The face diagonal crosses one square face and is a√2 ≈ 1.414a. The space diagonal runs from one corner through the centre to the opposite corner and is a√3 ≈ 1.732a — it is the longest straight line that fits inside the cube, and it comes from applying Pythagoras twice: once across a face, then once more using that diagonal and the remaining edge.

The surface-area-to-volume ratio of a cube is 6/a, so it falls as the cube grows. Among all shapes enclosing a given volume the sphere has the least surface area; the cube is the most efficient of the space-filling polyhedra that tile without gaps, which is why packaging, warehouse racking and crystal structures gravitate towards it.

When to use it

  • Finding the volume of a cubic box, tank or crate.
  • Working out how much material a cube's surface needs to be covered.
  • Checking whether an object fits diagonally inside a cubic container.
  • Calculating framing length for a cubic structure.

Common mistakes to avoid

  • Multiplying the edge by 3 instead of cubing it. a³ means a × a × a.
  • Using the face diagonal when the space diagonal is needed, which understates the longest internal dimension by about 18%.
  • Mixing units — an edge in centimetres gives a volume in cubic centimetres, not litres. Divide by 1000 for litres.

Frequently asked questions

What is the volume of a cube with 6 cm edges?

216 cm³, since 6³ = 216. That is 0.216 litres, because a litre is 1000 cm³.

What is the longest object that fits inside a cube?

Something as long as the space diagonal, a√3. In a 6 cm cube that is about 10.39 cm, noticeably more than the 6 cm edge or the 8.49 cm face diagonal.

Why does doubling the size of a cube multiply its weight by eight?

Because weight follows volume, and volume is a³. Doubling a gives 2³ = 8 times the volume. The surface area only grows four-fold, which is the square-cube law in action.

Related tools

See all math & statistics calculators →