AI Tools Free

Cube Volume Calculator

The Cube Volume Calculator is a three-dimensional geometry solver that acts as a volume of the cube calculator and volume of a cube calculator using V = s³. Because all six square faces and 12 edges of a regular hexahedron share identical dimensions, entering one positive measurement (1e-09 to 1,000,000,000) in #s (Cube edge) outputs exact cubic capacity to 12 significant digits.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate result.

Your result
Enter your details

Result will appear here

How to Calculate Volume of a Cube Using V = s³

Learning how to calculate volume of a cube starts with the right-prism rule: total enclosed space equals the flat base area multiplied by the perpendicular height (V = B × h). A regular cube consists of six congruent square faces meeting at 90° right angles. Because the base is a square of side s, its footprint area is B = s². Multiplying that square footprint by the vertical height s produces the cubic equation:

V = s² × s = s³

When you submit the workspace form, batch10-tools.js reads #s (Cube edge), verifies that the value is a positive number between 1e-09 and 1,000,000,000, and executes show(n('s')**3) locally in your browser. If your box has unequal length, width, and height, switch to the Rectangular Prism Volume Calculator; if the four walls taper to a top apex, use the Pyramid Volume Calculator.

Geometric diagram of a regular cube with edge length s along the length, width, and height axes, illustrating how base area s² multiplied by height s forms V = s³.
Geometric diagram of a regular cube with edge length s along the length, width, and height axes, illustrating how base area s² multiplied by height s forms V = s³.

Volume of the Cube Calculator Quick Reference Table (V = s³)

Compare exact #result-main outputs from the volume of the cube calculator across 10 common metric and imperial edge lengths (s) alongside their surface areas, space diagonals, and container benchmarks:

Edge Length (s)Formula Step (s × s × s)Exact Volume (#result-main)Surface Area (6s²)Space Diagonal (s√3)Practical Container or Unit Benchmark
11 × 1 × 1161.73205Unit cube (1 cm³ = 1 mL)
22 × 2 × 28243.464102× edge scaling (2³ = 8× volume)
3 (preloaded)3 × 3 × 327545.19615Preloaded default (1 yd³ = 27 ft³)
44 × 4 × 464966.928204-inch corrugated mailer cube (64 in³)
55 × 5 × 51251508.6602550 mm ASTM mortar test cube (125 cm³)
66 × 6 × 621621610.3923Break-even point where V = SA = 216
88 × 8 × 851238413.85648-inch gift box (512 in³ ≈ 2.22 US gal)
1010 × 10 × 10100060017.320510 cm decimeter cube (1,000 cm³ = 1 L)
1212 × 12 × 12172886420.784612-inch shipping carton (1,728 in³ = 1 ft³)
100100 × 100 × 100100000060000173.205100 cm IBC tote (1,000,000 cm³ = 1 m³)

How to Calculate Cube Volume Step by Step

Follow these three steps to calculate cube volume in the workspace above.

Enter the Cube Edge (#s)

Type the length of one side s into Cube edge (#s, preloaded with 3), subtracting twice the wall thickness (s_int = s_ext - 2t) when finding internal liquid capacity.

Input and settings
Cube edge input field (#s) preloaded with 3 in the Cube Volume Calculator workspace.
Cube edge input field (#s) preloaded with 3 in the Cube Volume Calculator workspace.

Verify Equal Axes and Unit Bounds

Confirm that length, width, and height are equal and that #s is a positive number between 1e-09 and 1,000,000,000 in your chosen unit (in, ft, cm, or m).

Tool result
Input validation check confirming equal orthogonal edges and positive bounds before clicking Calculate result.
Input validation check confirming equal orthogonal edges and positive bounds before clicking Calculate result.

Click Calculate Result and Export

Select Calculate result to compute the cubic volume in #result-main, then use Copy or Download (result.txt) to save your figure.

Review the details
Result panel displaying 27 cubic units with Copy and Download result.txt buttons.
Result panel displaying 27 cubic units with Copy and Download result.txt buttons.

Worked Examples: Calculate Cube Volume

These three practical scenarios show how to calculate cube volume for the preloaded s = 3 cubic yard benchmark, a 12-inch shipping carton, and a 30 cm rimless nano aquarium.

Preloaded Cubic Yard Benchmark (s = 3 ft)

A cubic yard measures 3 ft along every edge. Leaving Cube edge at 3 and clicking Calculate result returns 27 in #result-main (1 yd³ = 27 ft³).

Cube with edge s = 3 feet producing 3^3 = 27 cubic feet (1 cubic yard).
Cube with edge s = 3 feet producing 3^3 = 27 cubic feet (1 cubic yard).

1-Cubic-Foot Shipping Carton (s = 12 in)

A corrugated cube carton with 12 in edges outputs 1728 cubic inches (1 ft³), which divides by the UPS/FedEx factor of 139 for a 12.43 lb dimensional weight.

12-inch corrugated shipping cube producing 1,728 cubic inches (1 cubic foot) of packing volume.
12-inch corrugated shipping cube producing 1,728 cubic inches (1 cubic foot) of packing volume.

Rimless Nano Cube Aquarium (s = 30 cm)

Entering 30 (cm) outputs 27000 cm³ (27 L gross); deducting 0.5 cm glass walls (s = 29 cm) gives 24389 cm³ (24.39 L net water).

30 cm rimless glass cube aquarium comparing 27,000 cm³ exterior volume against 24,389 cm³ net internal water capacity.
30 cm rimless glass cube aquarium comparing 27,000 cm³ exterior volume against 24,389 cm³ net internal water capacity.

Cube Volume Scaling Laws & Cubic Unit Conversions

The value returned in #result-main is always expressed in the cube of your input unit (in³, ft³, cm³, or m³). Keep three mathematical relationships in mind when interpreting results:

Cubic Scaling Law ((ks)³ = k³s³): Doubling the edge length from s = 2 (8) to s = 4 (64) multiplies total volume by 2³ = 8×, while tripling from s = 2 to s = 6 (216) multiplies volume by 3³ = 27×.

Cubic Foot, Cubic Meter & Reverse Cube Root: Because linear conversion factors also get cubed, 1 ft³ = 12³ = 1,728 in³ and 1 m³ = 100³ = 1,000,000 cm³. If you already know the required cubic volume V, take its cube root (s = V^(1/3)) to find the required side length s.

Scaling chart comparing 1x, 2x, and 3x cube edge lengths against their 1x, 8x, and 27x volumetric capacities.
Scaling chart comparing 1x, 2x, and 3x cube edge lengths against their 1x, 8x, and 27x volumetric capacities.

Common Cube Volume Mistakes & Related 3D Tools

Avoid these frequent geometry and unit-conversion errors when sizing cubic containers:

Never multiply s by 3 instead of cubing (at s = 5, 5 × 3 = 15 whereas 5³ = 125), and never divide cubic inches by 12 instead of 1,728 (1,728 ÷ 12 = 144 sq in, not 1 ft³). When pouring epoxy or measuring water, always deduct twice the wall thickness from exterior dimensions: a 10 cm silicone mold with 0.4 cm walls has a 9.2 cm internal cavity (778.688 cm³), using 22.1% less resin than the 1,000 cm³ exterior cube.

For non-cubic or curved 3D solids, pair this solver with our Rectangular Prism Volume Calculator for l × w × h boxes, the Pyramid Volume Calculator for tapered hoppers ((1/3)lwh), the Cylinder Volume Calculator for round drums (πr²h), or the Sphere Volume Calculator for inscribed spheres ((π/6)s³ ≈ 52.36% of cube volume).

Diagnostic graphic contrasting linear division (÷12) with true cubic conversion (÷1,728) and showing an inscribed sphere inside a cube.
Diagnostic graphic contrasting linear division (÷12) with true cubic conversion (÷1,728) and showing an inscribed sphere inside a cube.

Frequently Asked Questions About the Cube Volume Calculator

Answers about using Cube Volume Calculator and understanding its results.

How do you calculate the volume of a cube?

Measure the length of any single edge (s) and multiply that value by itself three times: V = s × s × s = s³. For example, a cube with an edge length of 3 inches has a volume of 3³ = 27 cubic inches.

How can I find the surface area of a cube from its volume?

First take the cube root of the volume to recover the single edge length (s = V^(1/3)), then square that edge and multiply by 6 faces: SA = 6s² = 6 × V^(2/3). A cube with volume 64 has edge s = 64^(1/3) = 4 and total surface area 6 × 4² = 96.

How do I convert cube volume into US liquid gallons?

Compute the cube's volume in cubic inches (V = s³) and divide by 231 (1 US liquid gallon = 231 in³), or compute the volume in cubic feet and multiply by 7.48052. A 12 in cube (1,728 in³) holds 1,728 ÷ 231 ≈ 7.48052 US gallons.

What is the easiest way to get cube volume in liters?

Enter the edge length in centimeters so #result-main outputs cubic centimeters (cm³), then divide by 1,000 (1 L = 1,000 cm³). If your edge measurement is in meters, multiply the cubic meter result by 1,000. A 10 cm decimeter cube (1,000 cm³) holds exactly 1 liter.

How should I measure a cube to get volume in cm³?

Convert any millimeter (÷ 10), meter (× 100), or inch (× 2.54) edge measurement into centimeters before typing it into #s (Cube edge). Because the calculator cubes the input unit, a centimeter input automatically produces cubic centimeters (cm³) in #result-main.

What happens to cube volume when the edge length doubles?

Doubling the edge length increases the cube's volume by a factor of 2³ = 8. Substituting 2s into the volume formula gives V = (2s)³ = 8s³, because the container expands simultaneously along its length, width, and height axes.

Calculate result with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate result