The volume of a cube is the side length cubed, written as V = s³, where s is the length of any one edge. Because all six edges of a cube are equal, you never need a second dimension — the single edge is enough to fully describe the solid, and the resulting volume is expressed in cubic units such as cm³, m³, or in³. For example, a cube with an edge of 5 cm has a volume of 5 × 5 × 5 = 125 cm³. Whether you are solving a geometry homework problem, sizing a storage container, estimating packing material, or calculating the capacity of a cubic tank, the formula stays the same, and the math stays simple. If you want the answer without doing the arithmetic by hand, the Cube Volume Calculator computes the result live from any edge you type in any unit.
Geometry textbooks, packaging guides, and DIY tutorials all rely on the same V = s³ relationship because it captures a useful real-world idea: doubling the edge of a cube multiplies its volume by eight, not by two. That scaling property is one of the reasons cube volume problems show up in everything from construction estimates to chemistry unit conversions.

What the cube volume formula actually means
A cube is a special case of a rectangular prism where length, width, and height are identical. The general volume formula for a rectangular box is length × width × height, so when all three values equal s, the formula collapses to s × s × s, or s³. You can read s³ as "side times side times side," which is the same as taking the area of one square face (s²) and multiplying it by the cube's depth (s). Both viewpoints give the same number.
Because volume is three-dimensional, the unit of the answer is also three-dimensional. If your edge is measured in meters, the volume comes out in cubic meters (m³); if the edge is in inches, the volume is in cubic inches (in³). For reference, one cubic meter equals 1,000,000 cubic centimeters, and one cubic foot equals 1,728 cubic inches — these conversions matter whenever a problem mixes units, such as reading a dimension in inches but needing a result in liters or gallons.
How to calculate cube volume in three quick steps
- Measure or pick one edge of the cube. Every edge is identical by definition, so any single side works. Record the value and the unit (cm, m, in, ft, etc.).
- Cube that number using V = s³. Multiply the side by itself twice: s × s × s. For example, 4 × 4 = 16, then 16 × 4 = 64, so a 4-unit cube has a volume of 64 cubic units.
- Read the result in the same unit family. If your edge was in centimeters, your volume is in cubic centimeters; if the edge was in meters, the volume is in cubic meters. Convert only when the problem demands it, using a trusted unit converter.
For a sanity check, remember the rule of thumb that doubling an edge multiplies volume by eight. If your edge goes from 2 to 6 (a 3× scaling), the volume grows by a factor of 27. This kind of quick reasoning catches arithmetic mistakes almost immediately.
Worked example: a 6.5 cm cube
Suppose you have a small storage cube used for craft supplies, and its manufacturer lists the interior edge as 6.5 cm. To find the interior volume, take the cube of 6.5:
Step 1 — square the side: 6.5 × 6.5 = 42.25 cm².
Step 2 — multiply that area by the side once more: 42.25 × 6.5 = 274.625 cm³.
Step 3 — round to a sensible precision: roughly 274.63 cm³ (or about 0.275 liters).
That same calculation is what the Cube Volume Calculator displays the moment you type "6.5" into its edge field — no extra clicks, no unit switching, and no manual multiplication needed.
Surface area, diagonals, and other useful cube measurements
Once you know the edge, every other classic cube measurement follows from it, which is why the Calculator also shows:
- Surface area: 6 × s². A cube has six identical square faces, and the area of one face is s², so the total surface area is six times that.
- Face diagonal: s × √2. This is the straight-line distance across one square face, from corner to corner.
- Space diagonal: s × √3. This is the longest straight line that fits inside the cube, connecting opposite corners through the interior.
These three formulas are particularly handy in design and engineering. Surface area tells you how much material you'd need to paint, wrap, or build the cube; the face diagonal matters for fitting labels or templates onto a face; and the space diagonal sets the minimum dimension of any box that has to contain the cube.
Choosing the right unit before you calculate
The single biggest source of cube volume mistakes is mixing units. If a problem gives you the edge in mixed units — say, "1 foot 4 inches" — convert everything to a single unit first. The relationship is straightforward: 1 ft = 12 in, so 1 ft 4 in = 16 in, and 16³ = 4,096 in³. If you'd rather stay in feet, convert inches to feet: 4 ÷ 12 = 0.333 ft, so the edge is 1.333 ft, and 1.333³ ≈ 2.37 ft³. Both answers are the same volume; they are just expressed in different cubic units.
| Common edge unit | Cubic unit it produces | Quick conversion note |
|---|---|---|
| centimeter (cm) | cubic centimeter (cm³) | 1 cm³ = 1 mL |
| meter (m) | cubic meter (m³) | 1 m³ = 1,000,000 cm³ |
| inch (in) | cubic inch (in³) | 1 ft³ = 1,728 in³ |
| foot (ft) | cubic foot (ft³) | 1 yd³ = 27 ft³ |
For quick cross-checks, remember that one cubic centimeter equals one milliliter, which makes it easy to translate small cube volumes into liquid capacity.
Common scenarios where the cube volume formula shows up
Home and DIY. Knowing the volume of a cube-shaped planter, drawer, or storage bin lets you work out soil, water, or packing needs. A 30 cm cube holds about 27 L, which is the size of a large kitchen trash can.
Shipping and packaging. Cubic volume drives dimensional weight pricing on most carriers. Doubling an edge costs eight times more space in a truck or warehouse slot, so even small measurement mistakes escalate quickly.
School and homework. Cube and rectangular-prism problems are the first 3D shapes students meet. Practicing on a cube (V = s³) before moving on to rectangular prisms (V = lwh) is the typical learning path, and a similar tool — the Rectangular Prism Volume Calculator — handles the three-sides version once students are ready.
Chemistry and lab work. Cubic cells, cubic cuvettes, and cubic sample containers often need an exact volume to compute concentration or density. The unit conversion cm³ ↔ mL is especially handy here.
Related formulas and where to go next
Cube volume sits at the starting point of a family of related 3D formulas. Once you are comfortable with V = s³, these generalizations are easy to learn:
- Rectangular prism: V = length × width × height. Collapse any two dimensions to the cube's edge and you are back to s³.
- Sphere: V = (4/3)πr³. The r³ term is the same cubic structure that powers the cube formula.
- Cylinder: V = πr²h. The base is a circle, not a square, which changes the base area but keeps the "base × height" pattern.
If you want to practice the inverse — going from a known volume back to the edge — the cube root guide walks through that exact problem. For cylinder-shaped containers instead of cubes, the Cone Volume Calculator uses a similar pattern with a circular base and a (1/3) factor; for the same job on a rectangular box, the Rectangular Prism Volume Calculator handles three independent dimensions. Finally, if your real-world shape is more ring than cube, the annular area guide and the Annulus Area Calculator cover that case with π(R² − r²).
Tips for accurate cube volume results
Even with a friendly tool, a few habits keep your answers trustworthy:
- Measure on a flat edge, not a corner. Bent or rounded edges throw off the result, so use the cleanest straight side you can find.
- Keep decimal precision reasonable. Two to three decimals is plenty for most real-world cubes; over-precision suggests an accuracy your measurement doesn't have.
- Double-check the unit. If you typed "12" thinking inches but meant feet, the calculator will happily give you the wrong answer with confident units.
- Cross-check with a related formula. A cube's space diagonal divides cleanly by √3, so dividing it and cubing the result should return the same volume — a great built-in error check.
The Cube Volume Calculator runs the formula V = s³ the moment you type, and it adds surface area and both diagonals at the same time, so you can move from one edge measurement to a complete cube summary in a single keystroke. Combined with the steps above, it covers everything needed to solve homework problems, plan a project, or verify a hand calculation in a few seconds.
Related reading: How to Calculate Absolute Value of Any Number.
Related reading: How to Calculate Age Between Two Dates in Excel (and Online).