Cube Calculator

Volume, surface area, and diagonals from the side length

By Drew Budwin · Last updated July 2026 · Methodology

Must be greater than 0

Embed this calculator

Add it to your website or blog

Embed this calculator

Theme

Paste this code into your website's HTML where you want the calculator to appear. It adds a small credit link back to CalcTray. Please keep it. How embedding works.

Optional: auto-resize iframe to fit content

Add this snippet to your page so the iframe height adjusts automatically after each calculation:

Cube Calculator Formula

Volume of a cube:

V = s³

s = side length

Face area (one square face):

A_face = s²

Surface area (all six faces):

A = 6 × s²

Face and space diagonals:

d_face = s√2, d_space = s√3

How to Use This Calculator

  1. Enter the side length of the cube.
  2. Click Calculate to see the volume, surface area, and diagonals.

Frequently Asked Questions

What is the volume of a cube?

The volume of a cube is the amount of space it occupies. Because all three dimensions are equal, the formula is simply V = s³, where s is the side length.

What units does this calculator use?

This calculator is unit-agnostic. If you enter the side in meters, the result is in cubic meters (m³). Use whatever unit matches your measurements.

How is a cube different from a cuboid?

A cube has all three dimensions equal (length = width = height). A cuboid (rectangular prism) can have any three different dimensions. The cube formula V = s³ is a special case of the cuboid formula V = l × w × h. Use the cuboid volume calculator when the dimensions differ.

What is the surface area of a cube?

A cube has 6 identical square faces, so the surface area is SA = 6 × s². For example, a cube with a 5 cm side has a surface area of 6 × 25 = 150 cm². This calculator reports it alongside the volume and both diagonals.

How do I find the side length if I know the volume?

Take the cube root of the volume: s = V^(1/3). For example, if the volume is 27 cm³, the side length is the cube root of 27 = 3 cm.

Why does volume scale so differently from area?

A cube with side s has volume s³ and surface area 6s². Doubling the side doubles each face dimension but increases volume eightfold. This is why large animals retain heat better than small ones — more volume relative to surface area — and why cells need to stay small to exchange nutrients efficiently.

What is the space diagonal of a cube?

The space diagonal runs from one corner to the opposite corner through the interior: d = s√3. For a cube with side 5 cm, the diagonal is 5√3 ≈ 8.66 cm. It follows from applying the Pythagorean theorem twice: first across a face (the face diagonal s√2), then through the interior. This calculator reports both diagonals.

How do I convert cubic inches to cubic centimeters?

One inch equals 2.54 cm, so 1 cubic inch = 2.54³ ≈ 16.387 cm³. Multiply your cubic inch result by 16.387 to get cm³. The volume converter handles this and other cubic unit conversions.

Further Reading

Related Calculators