Skip to content
CalculatorAtlas

Cube Volume Calculator

Tested

Volume, surface area and diagonal of a cube.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

A cube of side s has volume s³, surface area 6s² and space diagonal s√3. For s = 3: volume 27, surface area 54 and diagonal 5.1962.

Enter the side length. The calculator returns volume, surface area and space diagonal.

Related tools: Cylinder Volume Calculator: Volume of a cylinder. Sphere Volume Calculator: Volume and surface area of a sphere. Volume of a Hemisphere Calculator: Volume and surface area of a hemisphere.

How to use the Cube Volume Calculator

  1. Enter side (above 0).
  2. Press Calculate to see the result, and use Reset to start again.
Inputs of the Cube Volume Calculator
InputWhat to enterAllowed values
SideA number> 0

Formula and method

Formula

V = s³; A = 6s²; d = s√3

IEEE-754 double precision; shown to at most 6 decimal places.

Standard cube formulas.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Side = 3.

Results of example 1
ResultValue
Volume27
Surface area54
Space diagonal5.196152

Example 2

Inputs: Side = 1.5.

Results of example 2
ResultValue
Volume3.375
Surface area13.5
Space diagonal2.598076

The first line is the headline result (volume). Below it the cube Volume Calculator lists surface area and space diagonal, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.

The three formulas

Volume: 3 × 3 × 3 = 27. Surface area: six faces of 9 = 54. Space diagonal: √(9 + 9 + 9) = √27 = 5.196. All three are consistent with the cuboid formulas.

Scaling

Doubling the side multiplies volume by 8 and surface area by 4. Volume is in cubic units and area in square units. To find the side from the volume, take the cube root.

How the result changes with side

Holding every other input at the first worked example, this table changes only side. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with side
SideVolumeSurface areaSpace diagonal
1.53.37513.52.598076
327545.196152
621621610.392305
121,72886420.78461

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Side: entering "0" shows "Side must be greater than 0." beside that field and no result.

Choosing between the Cube Volume Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Cube Volume Calculator and similar calculators
CalculatorYou enterIt returns
[Cylinder Volume Calculator](/math/cylinder-volume-calculator/)radius and heightVolume
[Sphere Volume Calculator](/math/sphere-volume-calculator/)radiusVolume
[Volume of a Hemisphere Calculator](/math/volume-of-hemisphere/)radiusVolume
[Cone Volume Calculator](/math/cone-volume-calculator/)radius and heightVolume
[Pyramid Volume Calculator](/math/pyramid-volume-calculator/)base length, base width and heightVolume

Background: geometry measurements

Geometry results carry units that depend on the quantity: a perimeter or length is in linear units such as cm, an area or surface area is in square units (cm²) and a volume is in cubic units (cm³). Use one length unit for every input, because the calculator multiplies the numbers as given.

Flat (2D) shapes have an area and a perimeter; solids (3D) have a surface area and a volume. Two familiar checks: a circle of radius r has area πr² and circumference 2πr, and a sphere has volume (4/3)πr³ and surface area 4πr².

Assumptions and limitations

  • Positive side

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for side to confirm this.

Frequently asked questions

What is the volume of a cube with side 10?

A cube with side 10 has volume 10³ = 1,000 cubic units and surface area 600.

How many faces does a cube have?

A cube has six square faces, which is why its surface area is 6s².

How do I get the side from volume?

Take the cube root of the volume: a cube of volume 27 has side ∛27 = 3.

What does the Cube Volume Calculator calculate?

Volume, surface area and diagonal of a cube. It returns Volume, Surface area and Space diagonal.

What formula does the Cube Volume Calculator use?

V = s³; A = 6s²; d = s√3. Standard cube formulas.

What do I need to enter in the cube Volume Calculator?

You enter Side.

How is the result rounded or limited?

IEEE-754 double precision; shown to at most 6 decimal places. Positive side.

What is an example of a cube Volume result?

With side 3, the volume is 27.

Sources

  • OpenStax, Prealgebra 2e (Rice University): perimeter, area, volume, circumference and the Pythagorean theorem

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.