Cube Volume Calculator
Use this free online Cube Volume Calculator to compute the exact cubic volume, surface area, face diagonal, and space diagonal of a cube from its edge length, diagonal, or surface area. Enter measurements in metric or Imperial units (including fractions) for instant conversions into liters, gallons, cubic meters (m³), and cubic feet.
Step-by-Step Formula & Substitution
What Is Cube Volume? (6 Faces, 12 Edges & 8 Vertices)
A cube (regular hexahedron) is a three-dimensional solid bounded by 6 identical square faces meeting at 90° right angles, with 12 equal-length edges and 8 vertices. Because its length, width, and height are all equal to a single edge measurement (a), the volume of a cube is simply the edge length raised to the third power: V = a × a × a = a³.
In fact, the entire metric system of cubic volume is anchored to cubes: a 1-centimeter cube equals 1 cubic centimeter (1 cm³ = 1 mL), a 10-centimeter cube equals 1,000 cm³ (exactly 1 liter), and a 1-meter cube equals 1 cubic meter (1 m³ = 1,000 liters), as defined by the National Institute of Standards and Technology (NIST) SI Volume Units Guide. Whether you are measuring a nano-aquarium in liters, quoting freight “cube” in cubic feet or cubic meters (m³), or verifying concrete test cubes, our cube volume calculator handles every metric and Imperial conversion automatically.
- Edge Length (a): The length of any one of the cube’s 12 equal edges.
- Face Diagonal (d): The diagonal across a single square face from one corner to the opposite corner (d = a√2 ≈ 1.41421 × a).
- Space Diagonal (D): The interior diagonal passing straight through the center of the cube from one vertex to the opposite corner (D = a√3 ≈ 1.73205 × a).
- Total Surface Area (S): The combined area of all 6 square faces (S = 6 × a²).
Cubic Volume Formula (From Edge, Diagonals & Surface Area)
While the primary cubic volume formula uses edge length (V = a³), you can also calculate the exact volume of a cube when you only measured a face diagonal, a corner-to-corner space diagonal, or total surface area:
| Known Measurement | Edge Length Formula (a) | Cube Volume Formula (V) | When to Use |
|---|---|---|---|
| Edge Length (a) | a (given edge) |
V = a³ = a × a × a |
Standard measurement along any outer or inner edge |
| Face Diagonal (d) | a = d ÷ √2 ≈ 0.70711 × d |
V = (d ÷ √2)³ = d³ ÷ (2√2) |
Measuring corner-to-corner across one flat square face |
| Space Diagonal (D) | a = D ÷ √3 ≈ 0.57735 × D |
V = (D ÷ √3)³ = D³ ÷ (3√3) |
Measuring maximum interior corner-to-corner clearance |
| Total Surface Area (S) | a = √(S ÷ 6) |
V = (S ÷ 6)^(3/2) |
Finding capacity from total wrapping or sheet-metal area |
| Hollow Cubic Container (Wall t) | a_inner = a − 2t |
V_inner = (a − 2t)³ |
Thick-walled crates, planters, or insulated storage cubes |
| Reverse Solver: Edge from Volume | a = ∛V = V^(1/3) |
V (given volume) |
Sizing a cubic tank or box for a target liter/gallon volume |
How to Find the Volume of a Cube Step by Step
Follow these three straightforward steps whenever you need to calculate the volume of a cube manually:
- Measure One Edge (a): Measure the length of one edge of the cube. Verify a second perpendicular edge to confirm that length, width, and height are truly identical.
- Cube the Edge Length (a × a × a): Multiply the edge length by itself twice. For example, if a = 4 cm, calculate 4 × 4 × 4 = 64.
- Attach Cubic Units (and Convert if Needed): Express the answer in cubic units (such as 64 cm³). To convert cm³ to liters, divide by 1,000 (0.064 L); to convert cubic inches to cubic feet, divide by 1,728.
Cube Edge-to-Volume Reference Table (1 to 12 Units)
Because volume scales with the third power (a³), doubling a cube’s edge length multiplies its volume by 2³ = 8 times, and tripling the edge multiplies its volume by 3³ = 27 times. Use this quick reference table for common integer edge sizes:
| Edge (a) | Cube Volume (a³) | Surface Area (6a²) | If Edge in cm → Liters | If Edge in ft → US Gallons |
|---|---|---|---|---|
| 1 | 1 cubic unit | 6 sq units | 0.001 L (1 mL) | 7.48 US gal |
| 2 | 8 cubic units | 24 sq units | 0.008 L (8 mL) | 59.84 US gal |
| 3 | 27 cubic units | 54 sq units | 0.027 L (27 mL) | 201.97 US gal |
| 4 | 64 cubic units | 96 sq units | 0.064 L (64 mL) | 478.75 US gal |
| 5 | 125 cubic units | 150 sq units | 0.125 L (125 mL) | 935.06 US gal |
| 6 | 216 cubic units | 216 sq units | 0.216 L (216 mL) | 1,615.79 US gal |
| 8 | 512 cubic units | 384 sq units | 0.512 L (512 mL) | 3,830.03 US gal |
| 10 | 1,000 cubic units | 600 sq units | 1.000 L (exact) | 7,480.52 US gal |
| 12 | 1,728 cubic units | 864 sq units | 1.728 L | 12,926.34 US gal |
Cube vs. Box (l × w × h) & Liquid Volume in Liters / Gallons
Many users looking for a cube volume calculator also measure rectangular containers, fish tanks, or shipping cartons where length, width, and height are not all equal—often searching for a length x width x height volume calculator, a volume of a box calculator, or a tank volume calculator litres.
- True Cube (a = l = w = h): Every side is identical, so V = a³. Among all rectangular boxes with a given surface area, a cube encloses the maximum interior volume.
- Rectangular Box / Tank (l × w × h): When any two edges differ, multiply Length × Width × Height. Use our calculator’s Box / Tank (l × w × h) Liters tab whenever your container is rectangular rather than a strict cube.
- How to Calculate Volume of Liquid in Liters & Gallons: Once you find the interior volume in cubic centimeters (cm³), divide by 1,000 to get liters (L) (for example, a 50 × 40 × 30 cm box holds 60,000 cm³ = 60 liters). If you measured in meters, multiply cubic meters (m³) by 1,000 for liters. For US gallons, divide cubic inches by 231 or multiply cubic feet by 7.48052.
- Related 3D Shapes: If your container is cylindrical rather than square-walled, switch to our Volume Calcs suite or use the cylinder volume calculator formula V = πr²h.
5 Practical Worked Cube Volume Examples
Example 1: 10 cm Cube (The 1-Liter Anchor)
Given: Edge length a = 10 cm.
Calculation: V = 10³ = 10 × 10 × 10 = 1,000 cm³ = 1.000 Liter (0.2642 US gal).
Example 2: 30-Inch Freight Shipping Cube
Given: Edge length a = 30 in.
Calculation: V = 30³ = 27,000 in³.
Cubic Feet: 27,000 ÷ 1,728 = 15.625 ft³ (0.4425 m³ CBM).
Example 3: Cube from Space Diagonal (D = 10 cm)
Step 1: Find edge length: a = D ÷ √3 = 10 ÷ 1.73205 ≈ 5.7735 cm.
Step 2: Cube the edge: V = 5.7735³ ≈ 192.45 cm³ (0.1925 L).
Example 4: Thick-Walled Aquarium Tank (40 cm Cube, 1 cm Glass)
Step 1: Deduct 2 × 1 cm = 2 cm from each edge: inner edge ainner = 40 − 2 = 38 cm.
Step 2: Internal water capacity: V = 38³ = 54,872 cm³ = 54.872 L (14.50 US gal).
Example 5: Sizing a Cube Tank for 500 Liters
Goal: Find the inner edge length for V = 500 L = 0.5 m³ (500,000 cm³).
Calculation: a = ∛500,000 ≈ 79.37 cm (0.7937 m or 31.25 in).
Real-World Cube Applications (Shipping CBM, Tanks & Concrete)
- Freight & Logistics (“Cubing Out”): In warehousing and ocean/air freight, “cube” is industry shorthand for cubic volume (measured in cubic feet or cubic meters, CBM). A 24-inch storage cube holds 13,824 in³ = 8 ft³; six stacked cubes occupy 48 ft³. When a trailer or container runs out of cubic space before reaching its weight limit, the shipment has “cubed out.”
- Civil Engineering Concrete Test Cubes: Under international concrete testing standards (such as EN 12390), compressive strength is tested by casting and crushing 150 mm (15 cm) concrete cubes, each holding 15³ = 3,375 cm³ (0.003375 m³).
- Nano-Aquariums & Hydroponic Reservoirs: Rimless glass cube aquariums (such as 30 cm = 27 L, 40 cm = 64 L, and 60 cm = 216 L) maximize water volume and viewing depth per unit of floor footprint.
How to Calculate Cube Volume in Excel & Google Sheets
You can automate cube volume, surface area, diagonal, and cube-root calculations in Microsoft Excel or Google Sheets using built-in worksheet functions (assuming edge length is in cell A2 and known volume is in cell B2):
- Cube Volume from Edge (a³):
=A2^3 | =POWER(A2, 3)
- Cube Total Surface Area (6a²):
=6*(A2^2)
- Face Diagonal (a√2) & Space Diagonal (a√3):
=A2*SQRT(2) | =A2*SQRT(3)
- Find Cube Edge from Known Volume in
B2(∛V):=B2^(1/3) | =POWER(B2, 1/3) - Convert Cubic Inches in
C2to Liters or US Gallons:=CONVERT(C2, “in3”, “l”) | =CONVERT(C2, “in3”, “gal”)
6 Common Cube Calculation Mistakes to Avoid
- Multiplying the Edge by 3 Instead of Cubing It: a³ means a × a × a, not 3 × a. A 5 cm cube has a volume of 5 × 5 × 5 = 125 cm³, not 15 cm³.
- Assuming a Slightly Rectangular Box Is a Cube: A carton measuring 30 × 30 × 28 cm is a rectangular prism (25,200 cm³), holding 6.7% less volume than a true 30 cm cube (27,000 cm³). Measure all three edges before using V = a³.
- Entering a Diagonal as the Edge Length: A cube’s space diagonal is 73.2% longer than its edge; cubing it directly inflates the volume by 5.2×. Select Face Diagonal (d) or Space Diagonal (D) in our calculator instead.
- Confusing Surface Area (6a²) with Volume (a³): Surface area is measured in square units (covering the 6 outer faces), whereas volume is measured in cubic units (interior space). Interestingly, at a = 6 units, both equal 216 (216 sq units vs. 216 cubic units).
- Ignoring Wall Thickness on Thick Containers: Subtract twice the wall thickness (2t) from each outer edge to find true internal capacity.
- Using Linear Conversion Factors on Cubic Outputs: Remember that 1 ft³ = 1,728 in³ (12³) and 1 m³ = 1,000,000 cm³ (100³), not 12 or 100.
Calculation Methodology, Precision & Limitations
Every calculator on Volume Calcs adheres to transparent mathematical and software standards:
- Unit Normalization & Constants: All entered dimensions are parsed into IEEE 754 double-precision floating-point values and normalized to base meters (m) using exact international definitions (1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m) before evaluating cubic volume, diagonal, and surface area equations. Full internal precision is preserved across all multi-unit conversions, and rounding is applied only to displayed outputs.
- Local Client-Side Execution & Privacy: All mathematical processing runs 100% locally in your web browser via vanilla JavaScript. No entered values or results are transmitted to external servers.
- Geometric Assumptions & Limitations: Cube calculations assume ideal Euclidean regular hexahedra with 6 congruent square faces and 90° interior angles. Real-world results depend on physical measurement accuracy.
Frequently Asked Questions About Cube Volume & Cubic Dimensions
How to calculate the volume of a cube?
To calculate the volume of a cube, measure the length of one edge (a) and multiply it by itself twice using the formula V = a³ = a × a × a. For example, a cube with 4 cm edges has a volume of 4 × 4 × 4 = 64 cubic centimeters (cm³).
How to calculate a cubic volume?
Measure length, width, and height in the exact same linear unit (such as inches, feet, centimeters, or meters) and multiply all three dimensions together: Cubic Volume = Length × Width × Height. When all three edges are equal (a cube), this simplifies to V = Edge³.
What is the volume of a 3x3x3 cube?
The volume of a 3 × 3 × 3 cube is 27 cubic units (3 × 3 × 3 = 3³ = 27). For example, a 3 cm × 3 cm × 3 cm cube holds 27 cm³ (27 mL), a 3 in × 3 in × 3 in cube holds 27 in³, and a 3 ft × 3 ft × 3 ft cube holds 27 ft³ (exactly 1 cubic yard).
How to calculate the size of a cube from volume?
Take the cube root of the known volume using the formula a = ∛V = V^(1/3). For example, if a cube has a volume of 125 cm³, its edge length is ∛125 = 5 cm (because 5 × 5 × 5 = 125). Use our calculator’s Find Cube Edge from Volume (∛V) tab to solve this in any unit.
How to convert volume into cube?
To convert a known volume (such as liters, gallons, or cubic feet) into the equivalent cube dimensions, first express the volume in cubic linear units (e.g., 1 liter = 1,000 cm³) and take the cube root (a = ∛V) to find the side length of a cube holding that exact volume. For instance, 1,000 cm³ (1 L) converts into a 10 cm × 10 cm × 10 cm cube.
What is the volume of a 5x5x5 cube?
The volume of a 5 × 5 × 5 cube is 125 cubic units (5 × 5 × 5 = 5³ = 125). Depending on your unit of measurement, a 5 cm cube holds 125 cm³ (0.125 L), a 5 in cube holds 125 in³ (0.541 US gal), and a 5 ft cube holds 125 cubic feet (935.06 US gallons).
What is the volume of a 4x4x4 cube?
The volume of a 4 × 4 × 4 cube is 64 cubic units (4 × 4 × 4 = 4³ = 64). For example, a 4 cm cube equals 64 cm³ (64 mL), a 4 in cube equals 64 in³, and a 4 ft cube equals 64 ft³ (478.75 US gallons).
Why does 5 5×5 equal 30?
In the arithmetic expression 5 + 5 × 5 = 30, standard order of operations (PEMDAS / BODMAS) requires evaluating multiplication before addition: first multiply 5 × 5 = 25, then add 5 + 25 = 30. By contrast, the geometric volume of a 5 × 5 × 5 cube multiplies all three dimensions together (5 × 5 × 5), which equals 125.
What is a 5x5x5 cube?
In geometry, a 5 × 5 × 5 cube is a regular hexahedron measuring 5 units along its length, width, and height, enclosing 125 cubic units of volume (composed of 125 unit sub-cubes). In mechanical twisty puzzles, a 5 × 5 × 5 cube (also known as the Professor’s Cube) is a 5-layer rotational puzzle with 98 visible outer pieces.
How do I solve a 5x5x5 cube?
To solve for the geometric volume of a 5 × 5 × 5 cube, cube the edge length: V = 5³ = 125 cubic units. If you are solving a 5 × 5 × 5 Professor’s Cube twisty puzzle, use the Reduction Method: (1) solve the six 3 × 3 center blocks, (2) pair all 12 outer edge triplets (applying the single-edge parity flip algorithm if needed), and (3) solve the reduced puzzle like a standard 3 × 3 × 3 cube.
Is 7×7 cube the same as 5×5?
No. Geometrically, a 7 × 7 × 7 cube has a volume of 343 cubic units (7³), which is nearly 2.74 times larger than a 5 × 5 × 5 cube (125 cubic units). As twisty puzzles, a 7 × 7 × 7 cube has 218 visible outer pieces compared to 98 on a 5 × 5 × 5, though both puzzles are solved using the same center-building and edge-pairing Reduction Method.
Is a 5×5 cube hard to solve?
Mathematically, calculating the volume of a 5 × 5 × 5 geometric cube is simple: multiply 5 × 5 × 5 = 125. As a 5 × 5 × 5 twisty puzzle, it is moderately challenging—if you already know how to solve a standard 3 × 3 × 3 cube, you only need to learn intuitive center grouping, edge pairing, and one extra parity algorithm to solve the 5 × 5 × 5.
How do you find the volume of a cube from its diagonal?
Divide the diagonal by the appropriate square root to get the edge length first: for a face diagonal (d), compute a = d ÷ √2 and then V = a³; for a space diagonal (D) from corner to opposite corner through the center, compute a = D ÷ √3 and then V = a³. Select either diagonal mode directly in our calculator.
How do you calculate the surface area of a cube?
A cube has 6 identical square faces, each with area a², so its total surface area is S = 6 × a². For example, a cube with 5 cm edges has a total surface area of 6 × 5² = 6 × 25 = 150 cm².
How many liters are in a 10 cm cube or a 1 meter cube?
A 10 cm × 10 cm × 10 cm cube has a volume of 1,000 cm³, which equals exactly 1 liter (1 L). A 1 m × 1 m × 1 m cube (100 cm per side) holds 1,000,000 cm³, which equals exactly 1,000 liters (264.17 US gallons).
What is the difference between a face diagonal and a space diagonal in a cube?
The face diagonal (d = a√2) runs across the outside of a single square face between two opposite corners, whereas the space diagonal (D = a√3) cuts straight through the 3D interior of the cube from one vertex to the farthest opposite vertex.
What happens to the volume of a cube when you double its edge length?
Doubling a cube’s edge length multiplies its volume by 8 times (2³ = 8) and multiplies its surface area by 4 times (2² = 4). Tripling the edge multiplies the volume by 27 times (3³ = 27).
How do you calculate the volume of a box in liters?
Measure the box’s internal length, width, and height in centimeters and multiply Length (cm) × Width (cm) × Height (cm) to get cubic centimeters (cm³), then divide by 1,000 to get liters (L). Switch to our calculator’s Box / Tank (l × w × h) Liters tab to convert automatically from any unit.
Check Other Volume Calculators:
