AI Tools Free

Rectangular Prism Volume Calculator

The Rectangular Prism Volume Calculator is a three-dimensional box solver that serves as a volume of a rectangular prism calculator and volume calculator for rectangular prism shapes using V = l × w × h. Enter any three positive dimensions between 1e-09 and 1,000,000,000 in a consistent unit to get a 12-significant-digit cubic volume in in³, ft³, cm³, or m³.

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 the Volume of a Rectangular Prism

Learning how to calculate the volume of a rectangular prism (also called a right cuboid or rectangular box) starts with its two-dimensional base footprint. A rectangular prism has six rectangular faces where opposite faces are congruent and adjacent faces meet at 90° right angles. Multiplying Length (l) by Width (w) gives the flat rectangular base area B = l × w (which you can also compute standalone in the Rectangle Area Calculator). Extruding that base footprint straight up through the perpendicular Height (h) sweeps out the three-dimensional volume:

V = B × h = l × w × h

When you click Calculate result, batch10-tools.js reads #l, #w, and #h, validates that all three entries lie between 1e-09 and 1,000,000,000, and runs show(n('l')*n('w')*n('h')) locally in your browser. Because multiplication is commutative (l × w × h = w × h × l), rotating a box on its side never changes its volume. If all three edges are equal (l = w = h = s), you can also use our single-input Cube Volume Calculator.

3D diagram of a right rectangular prism with Length l = 4, Width w = 3, and Height h = 2, showing a base layer of 4 × 3 = 12 unit cubes stacked 2 layers high to form V = 24.
3D diagram of a right rectangular prism with Length l = 4, Width w = 3, and Height h = 2, showing a base layer of 4 × 3 = 12 unit cubes stacked 2 layers high to form V = 24.

Volume Calculator for Rectangular Prism Reference Table (V = l × w × h)

Compare 10 verified box, tank, and slab dimensions to see how this volume calculator for rectangular prism geometries converts Length, Width, and Height into exact #result-main outputs and real-world capacities:

Length (l)Width (w)Height (h)Base Area (l × w)Exact Volume (#result-main)Practical Box, Tank, or Construction Benchmark
4 (preloaded)3 (preloaded)2 (preloaded)1224Preloaded default workspace test case (SA = 52)
10 in8 in6 in80 in²480Small e-commerce mailer box (0.2778 ft³, 3.45 lb dim wt)
12 in12 in12 in144 in²17281-cubic-foot carton (1,728 in³ = 1.0 ft³)
24 in18 in18 in432 in²7776Standard medium moving box (4.5 ft³)
48 in12.75 in21 in612 in²12852Standard 55-gallon glass aquarium (55.64 US gal gross)
60 cm30 cm36 cm1800 cm²6480060P rimless planted aquarium (64.8 L / 17.12 US gal)
8 ft4 ft1 ft32 ft²328' × 4' × 12'' raised garden bed (1.185 yd³ soil)
20 ft12 ft0.5 ft (6 in)240 ft²12020' × 12' concrete patio slab at 6'' depth (4.444 yd³)
5.898 m2.352 m2.393 m13.8721 m²33.19592572820-ft ISO dry shipping container internal capacity (33.2 m³)
50 m25 m2 m1250 m²2500Olympic competition swimming pool (2,500,000 L)

How to Calculate Volume of a Rectangular Prism Step by Step

Follow these three steps to use the find the volume of a rectangular prism with fractions calculator workflow in the workspace above.

Enter Length, Width, and Height

Type your three orthogonal dimensions into Length (#l, preloaded with 4), Width (#w, preloaded with 3), and Height (#h, preloaded with 2).

Input and settings
Length (#l = 4), Width (#w = 3), and Height (#h = 2) input fields in the Rectangular Prism Volume Calculator workspace.
Length (#l = 4), Width (#w = 3), and Height (#h = 2) input fields in the Rectangular Prism Volume Calculator workspace.

Unify Units and Convert Fractions to Decimals

Ensure all three fields use the same unit (in, ft, cm, or m) and convert fractional tape-measure readings to decimals (1/2 = 0.5, 3/4 = 0.75, 3/8 = 0.375).

Tool result
Unit consistency check converting 6 inches to 0.5 feet and fractional inches to decimals before clicking Calculate result.
Unit consistency check converting 6 inches to 0.5 feet and fractional inches to decimals before clicking Calculate result.

Click Calculate Result and Export

Select Calculate result to display the exact cubic volume in #result-main, then select Copy or Download (result.txt) to save your calculation.

Review the details
Result panel displaying 24 cubic units for the 4 × 3 × 2 baseline with Copy and Download result.txt buttons.
Result panel displaying 24 cubic units for the 4 × 3 × 2 baseline with Copy and Download result.txt buttons.

Worked Examples: Calculate Volume of a Rectangular Prism

These three practical scenarios demonstrate how to calculate volume of a rectangular prism for the preloaded baseline, a moving carton, and a poured concrete slab.

Preloaded Cuboid Baseline (l = 4, w = 3, h = 2)

With Length = 4, Width = 3, and Height = 2, the solver multiplies 4 × 3 × 2 to output 24 cubic units (SA = 52 square units).

Rectangular prism with l = 4, w = 3, and h = 2 producing 24 cubic units.
Rectangular prism with l = 4, w = 3, and h = 2 producing 24 cubic units.

Medium Moving Carton (24 in × 18 in × 18 in)

A mover checking a 24 in by 18 in by 18 in box enters 24, 18, and 18 to get 7776 in³, then divides by 1,728 to confirm 4.5 ft³.

24 × 18 × 18 inch corrugated moving box yielding 7,776 cubic inches (4.5 cubic feet).
24 × 18 × 18 inch corrugated moving box yielding 7,776 cubic inches (4.5 cubic feet).

6-Inch Concrete Patio Slab (20 ft × 12 ft × 0.5 ft)

A contractor pouring a 20 ft by 12 ft slab at 6 in (0.5 ft) thickness enters 20, 12, and 0.5 to get 120 ft³ (4.444 yd³ of ready-mix concrete).

20 ft × 12 ft × 0.5 ft concrete slab requiring 120 cubic feet (4.44 cubic yards) of concrete.
20 ft × 12 ft × 0.5 ft concrete slab requiring 120 cubic feet (4.44 cubic yards) of concrete.

Rectangular Prism Volume Unit Conversions & Missing Dimensions

The number shown in #result-main is always in the cubic unit matching your input length unit (in³, ft³, cm³, or m³). Use these conversion factors and reverse formulas when applying your result:

Cubic Inches, Cubic Feet, Cubic Yards & Liquid Volume: Divide cubic inches by 1,728 (12³) to get cubic feet (ft³), and divide cubic feet by 27 (3³) to get cubic yards (yd³) for concrete, mulch, or topsoil orders. For liquid tanks, divide cm³ by 1,000 (or multiply m³ by 1,000) to get liters (L), and divide in³ by 231 (or multiply ft³ by 7.48052) to get US liquid gallons.

Finding a Missing Dimension (h = V / (l × w)): When target volume V and two edges are fixed, divide V by the product of the two known dimensions to solve for the third edge.

Conversion chart linking cubic inches (÷1,728) to cubic feet (÷27) to cubic yards, and cubic centimeters (÷1,000) to liters.
Conversion chart linking cubic inches (÷1,728) to cubic feet (÷27) to cubic yards, and cubic centimeters (÷1,000) to liters.

Common Rectangular Prism Volume Mistakes & Related 3D Tools

Watch out for these three measurement pitfalls before ordering materials or shipping boxes:

Never mix feet and inches: entering a 20 ft by 12 ft slab with a 6 in depth as 20 × 12 × 6 produces 1,440 instead of 120 ft³, overstating concrete volume by 12×. Always convert inches to feet (inches ÷ 12) first, and subtract twice the wall thickness (l - 2t, w - 2t, h - 2t) when calculating internal holding capacity of a hollow box.

To calculate other 3D solids and 2D faces, pair this tool with our Cube Volume Calculator for equal-sided boxes (s³), the Pyramid Volume Calculator for rectangular hoppers ((1/3)lwh), the Cylinder Volume Calculator for cylindrical tanks (πr²h), or the Rectangle Area Calculator for 2D floor footprints (l × w).

Comparison of a full rectangular prism (V = lwh) against a rectangular pyramid of identical base and height (V = lwh / 3).
Comparison of a full rectangular prism (V = lwh) against a rectangular pyramid of identical base and height (V = lwh / 3).

Frequently Asked Questions About the Rectangular Prism Volume Calculator

Answers about using Rectangular Prism Volume Calculator and understanding its results.

How do you calculate the volume of a rectangular prism?

Multiply the prism's length (l), width (w), and height (h) together using one consistent linear unit: V = l × w × h. For instance, a shipping carton measuring 10 in long by 8 in wide by 6 in high encloses 10 × 8 × 6 = 480 cubic inches.

How do I find the volume of a rectangular prism with fractions?

Convert each fractional measurement into a decimal before typing it into #l, #w, and #h: 1/2 = 0.5, 1/4 = 0.25, 3/4 = 0.75, 1/8 = 0.125, 3/8 = 0.375, 5/8 = 0.625, and 7/8 = 0.875. For example, a box measuring 10 1/2 in × 8 1/4 in × 4 in is entered as 10.5, 8.25, and 4, returning 346.5 in³.

How do I find the capacity or wall volume of a hollow box?

If you need the internal holding capacity of a hollow box or tank with wall thickness t, subtract 2t from each exterior dimension and enter l - 2t, w - 2t, and h - 2t. If you need the volume of the wall material itself (such as rectangular steel tubing or concrete culvert walls), calculate the outer volume (l_out × w_out × h_out) and subtract the inner cavity volume (l_in × w_in × h_in).

What is the formula to convert prism volume into liters?

Measure Length, Width, and Height in centimeters (cm) so #result-main outputs cubic centimeters (cm³), then divide that result by 1,000 (1 L = 1,000 cm³). If your dimensions are in meters (m), multiply the cubic meter output by 1,000 (1 m³ = 1,000 L).

How can I find a missing length, width, or height from the volume?

Divide the known total volume V by the product of the two known dimensions: h = V / (l × w), w = V / (l × h), or l = V / (w × h). For example, if a rectangular tank must hold 240 ft³ on a 10 ft × 6 ft footprint (60 ft²), the required height is 240 ÷ 60 = 4 ft.

What is the difference between a rectangular prism and a cube?

Every cube is a rectangular prism, but not every rectangular prism is a cube. A general rectangular prism can have three different edge lengths (l, w, h) and six rectangular faces, whereas a cube (solved in our Cube Volume Calculator) requires all three dimensions to be equal (l = w = h = s) so all six faces are identical squares.

Calculate result with your input

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

Calculate result