Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Cube Calculator

Cube Calculator works out Volume and Total surface area from Dimension A, Dimension B and Dimension C. The default figures on this page give volume of 27; change any entry and the result, the working and the sources update together.

Volume
27
Solid Geometry Calculator
Total surface area
54
Lateral surface area
36
Base / cross-section area
9
Space diagonal
5.196152
Solid
Cube
Dimensions used
edge length = 3 cm
Volume (cubic metres)
0.000027 m3
Volume (litres)
0.027 L
Volume (US gallons)
0.007133 gal
Volume (cubic feet)
0.000953 ft3
Surface area (square metres)
0.0054 m2
Surface area (square feet)
0.058125 ft2
Worked out from Weisstein, Eric W. "Solid Geometry" and the individual solid entries. MathWorld — A Wolfram Web Resource and 2 other sources.

Your figures

Updates as you type
Sets the headline answer; both figures are always returned.
First dimension: edge, radius or length depending on the solid.
Second dimension where the solid needs one (height, width, inner radius, ...).
Third dimension where the solid needs one.
Only used by the regular polygonal prism and pyramid.
Supply a density to get the weight of the solid.

How this is worked out

4 steps
  1. Solid: Cube
  2. Dimensions: edge length = 3 cm
  3. Volume = 27 cm^3 = 0.027 L = 0.000953496 ft^3
  4. Total surface area = 54 cm^2 = 0.0054 m^2

Its 7 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

3 sources

What the Cube Calculator calculates

Volume, surface area, lateral area and weight for 19 standard solids: prisms, pyramids, cylinders, cones, spheres, Platonic solids, tori, ellipsoids, caps and capsules.

How to use this Cube Calculator

Enter Dimension A, Dimension B, Dimension C and Number of base sides. Volume updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Volume, Total surface area and Lateral surface area.

The method follows Weisstein, Eric W. "Solid Geometry" and the individual solid entries. MathWorld — A Wolfram Web Resource, CRC Standard Mathematical Tables and Formulae, mensuration of solids and Thomsen, Knud — approximate formula for the surface area of an ellipsoid (p = 1.6075), documented at Numericana "Surface area of an ellipsoid".

What you can compare

Change one input at a time to see how it affects Volume, Total surface area and Lateral surface area. The inputs you can vary are Dimension A, Dimension B, Dimension C, Number of base sides, Length unit and Density (optional).

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

What is the formula to calculate a cube?

Volume, surface area, lateral area and weight for 19 standard solids: prisms, pyramids, cylinders, cones, spheres, Platonic solids, tori, ellipsoids, caps and capsules. Open “How this is worked out” beside the result to see each step for your own figures.

How to calculate cube in calculator?

It needs Dimension A, Dimension B, Dimension C, Number of base sides, Length unit and Density (optional). Nothing else is required, and the figures stay in your browser.

How do I find the side length of a cube?

The result gives Volume, Total surface area, Lateral surface area, Base / cross-section area, Slant height and Space diagonal, each labelled with its unit so the figure can be read on its own.

How do I calculate the cube of a box?

The page opens with worked default figures: volume of 27. Replace them with your own and every figure updates as you type.

What information do I need for the Cube Calculator?

You need Dimension A, Dimension B, Dimension C, Number of base sides, Length unit, Density (optional) and Density unit. The page opens with default figures that give volume of 27, so you can see the scale before entering your own.

What does this Cube Calculator show?

It shows Volume, Total surface area, Lateral surface area, Base / cross-section area, Slant height, Space diagonal, Solid and Dimensions used, with the working and any warnings for your entries.

Related calculators

View all related calculators12 more