Cube Volume Calculator
This cube volume calculator works out V = a³ from the length of one edge and converts it to liters and US gallons, with the surface area 6a². The answer updates as you type.
Cube Volume Calculator
Cube volume formula
V = a³ = a × a × a Surface area = 6 × a² Edge from volume: a = ∛VAll twelve edges of a cube are the same length, so one measurement is enough. Picture it as layers: a cube 3 units on a side is 3 layers of 3 × 3 = 9 unit cubes, 27 in all. That's what "3 cubed" means.
Worked example: the 1-liter cube
A cube 10 cm on each side is a neat reference point, because the liter is defined as exactly this much.
V = 10³ = 1,000 cm³ 1,000 cm³ × 0.001 = 1 liter = 0.2642 US gallons Surface area = 6 × 10² = 600 cm²So the cube holds 1,000 cm³, which is 1 liters or 0.2642 US gallons. Scale it up to 1 m on each side and it holds 1,000 liters, a cubic meter.
Unit conversions for cubes
Because volume is cubed, unit conversions get cubed too. A foot is 12 inches, but a cubic foot is 12³ = 1,728 cubic inches. A yard is 3 feet, so a cubic yard is 27 cubic feet, and a meter is 100 cm, so a cubic meter is 1,000,000 cm³. Converting the edge first and then cubing avoids these slips. The calculator does this for you: change the unit and it shows the answer in that unit. For boxes with different length, width and height, use the rectangular prism calculator.
For other shapes, the volume calculator has a quick calculator for each one, and links to its own page.
Frequently asked questions
What is the volume of a cube?
The edge length cubed: V = a × a × a = a³. A cube 10 cm on each side holds 10 × 10 × 10 = 1,000 cubic centimeters, which is exactly 1 liter.
How do I find the edge of a cube from its volume?
Take the cube root: a = ∛V. A 27 cubic foot cube has 3 ft edges, and a 1 cubic meter cube has 1 m edges (100 cm).
Why is it called cubed?
Because a³ is literally the number of unit cubes that fill a cube a units on each side. That's also why volume is measured in cubic units: cubic inches, cubic feet, cubic meters.
See also
- Rectangular Prism Volume Calculator: Volume of a box, room or rectangular tank in gallons and liters.
- Pyramid Volume Calculator: Volume, slant height and surface area of a square pyramid.
- Sphere Volume Calculator: Volume of a sphere or ball from its radius.
- Cylinder Volume Calculator: Volume of a cylinder or round tank from radius and height.
Last updated: November 28, 2026