Volume of a Cube Calculator
Find the volume of a cube from its edge length. Use the cube volume formula, see worked steps and convert results into cubic units or liters.
Volume Calculator
Select a 3D shape and enter its measurements.
Enter any two spherical-cap measurements. The calculator derives the third.
Enter both water-level readings using the same volume unit. The difference is the object's displaced volume.
For ft / in, enter values such as 5 ft 6 in. For m / cm, enter values such as 1 m 25 cm. You can also enter a decimal value in the larger unit.
Micrometers, nanometers and angstroms are available for very small-scale measurements.
Enter positive measurements. Results update when you calculate.
Calculate a result to rate this tool.
Multiply the length, width and height using the same measurement unit.
Step-by-step calculation
- Enter your dimensions to see the calculation steps.
Cube Volume Formula
Calculate cube volume by cubing its edge length: V = a³. Enter one edge and choose the units. This formula applies only when all three perpendicular dimensions are equal; use the rectangular prism calculator for an unequal-sided box.
V = a³
Required inputs: Edge length a.
How to use this calculator
- Use the page’s default calculation and check the field labels.
- Enter edge length a.
- Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
- Select Calculate volume and review any error message, conversions and calculation steps.
- Check the result against the model assumptions below before using it for a project.
Worked example

A cube with 4 cm edges has V = 4 × 4 × 4 = 64 cm³.
Assumptions and limits
All edges must be equal. Use the rectangular prism tool for a box with unequal dimensions.
Units and accuracy
Lengths use linear units, areas use squared units and volumes use cubed units. For example, 1 m³ = 1,000 L; 1 ft³ = 1,728 in³; and 1 yd³ = 27 ft³. US and imperial gallons differ, so use the correctly labeled output. A conversion does not improve measurement accuracy.
Keep unrounded measurements during the calculation and round the final result to suit the measurements. Very small nonzero results may use scientific notation to avoid displaying a misleading zero.
Questions about this tool
Why can my real measurement differ from the answer?
All edges must be equal. Use the rectangular prism tool for a box with unequal dimensions.
Can I change the input units?
Choose the appropriate unit control and interpret each field as length, area or volume according to its label. Changing a unit does not automatically turn an outside measurement into an inside measurement.
How do I report an incorrect result?
Use Contact Us and include the page URL, selected method, input values, units and expected result. The contact form opens your email application; do not include sensitive information.
Check that the object is a cube
Measure three perpendicular edges. If a package is 40 × 40 × 35 cm, it is a rectangular prism, even if its front face is square. Container capacity uses internal measurements; shipping dimensions generally use the outside.
A practical calculation
A storage cube with internal edges of 40 cm has 40³ = 64,000 cm³ = 64 liters of geometric capacity. Leave room for lids, fittings and the stored objects themselves.
Edge length versus surface area
The edge is a linear measurement. Surface area is 6a² and has square units; volume is a³ and has cubic units. Neither quantity should be entered in place of edge length.
Read our calculation methods, unit references and accuracy limits.
Available calculator controls
Enter each measurement in its own unit and choose a cubic or liquid output unit. For radius-based shapes, the diameter option converts the entered width to radius. The steps and diagram use the main input unit.
Copy the result, print the calculation or copy a calculation link to reopen the same measurements. The advanced panel can solve a supported missing dimension, add or subtract two simple solids, and estimate mass from a density you supply. Combined shapes must satisfy the stated overlap and containment assumptions.
Measurement question
What is the cube volume formula?
The cube volume formula is V = a³, where a is one edge length. A cube has three equal perpendicular dimensions. A 4 cm edge gives 4 × 4 × 4 = 64 cm³. An unequal-sided box needs length × width × height instead.
Summary
Find the volume of a cube from its edge length. Use the cube volume formula, see worked steps and convert results into cubic units or liters.
- volume of a cube
- cube volume formula
- cube volume
- volume of cube