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
- Enter side (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Side | A 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.
| Result | Value |
|---|---|
| Volume | 27 |
| Surface area | 54 |
| Space diagonal | 5.196152 |
Example 2
Inputs: Side = 1.5.
| Result | Value |
|---|---|
| Volume | 3.375 |
| Surface area | 13.5 |
| Space diagonal | 2.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.
| Side | Volume | Surface area | Space diagonal |
|---|---|---|---|
| 1.5 | 3.375 | 13.5 | 2.598076 |
| 3 | 27 | 54 | 5.196152 |
| 6 | 216 | 216 | 10.392305 |
| 12 | 1,728 | 864 | 20.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.
| Calculator | You enter | It returns |
|---|---|---|
| [Cylinder Volume Calculator](/math/cylinder-volume-calculator/) | radius and height | Volume |
| [Sphere Volume Calculator](/math/sphere-volume-calculator/) | radius | Volume |
| [Volume of a Hemisphere Calculator](/math/volume-of-hemisphere/) | radius | Volume |
| [Cone Volume Calculator](/math/cone-volume-calculator/) | radius and height | Volume |
| [Pyramid Volume Calculator](/math/pyramid-volume-calculator/) | base length, base width and height | Volume |
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.
Related calculators
- 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.
- Cone Volume Calculator — Volume, slant height and surface area of a cone.
- Pyramid Volume Calculator — Volume of a pyramid from its base area and height (rectangular base).
- Prism Volume Calculator — Volume of any prism from base area and height.
- Hollow Cylinder Volume Calculator — Volume of material in a pipe or tube.
- Torus Volume Calculator — Volume and surface area of a torus.
- Endpoint Calculator — Other endpoint of a segment from its midpoint and one endpoint.
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.