Rectangular Prism Volume Calculator
A rectangular prism is a box-shaped solid. Its faces are rectangles, opposite faces match, and the edges meet at right angles. In many English-speaking regions the same solid is called a cuboid.
What Is a Rectangular Prism Volume Calculator?
This calculator does one job: the volume of that box, or one missing edge when the volume is already known. Choose Calculate Volume, Find Length, Find Width, or Find Height. The form keeps only the fields that mode needs.
It is the right tool for a carton, a tank, a room, or a shipping crate when you have the three edge lengths, or when you know how much space the box holds and need the unknown side. It does not calculate surface area or a space diagonal, and it does not solve cones, cylinders, spheres, or other solids.
A small diagram labels length, width, and height. The drawing shows which edge is which. It is not a scale picture of the box.
How to Calculate the Volume of a Rectangular Prism
On Calculate Volume:
- Enter the length.
- Enter the width.
- Enter the height.
- Choose the volume unit for the result.
- Read the volume.
Length, width, and height are the three edges that meet at a corner. Each one is perpendicular to the other two. Each edge has its own length unit, so a length in centimeters can sit next to a width in millimeters and a height in meters. The result is shown in the volume unit you selected, with the formula and the steps beside it.
Rectangular Prism Volume Formula
V = l × w × h
- V is the volume.
- l is the length.
- w is the width.
- h is the height.
Multiplying the three edges stacks a layer of base l × w up through the height h. That product is the space inside the box, in cubic units. A face area such as l × w is only two dimensions, so it is not the volume.
The three lengths have to be in the same unit before they are multiplied. If you calculate by hand, convert them first. If you use this calculator, set each edge’s unit and it converts them to a common length, multiplies, and then converts the volume into the unit you chose.
How to Find a Missing Dimension of a Rectangular Prism
The other three modes rearrange the same formula. Enter the volume and the two edges you know. The missing edge is the volume divided by the product of those two edges. A volume of zero, or an edge of zero, cannot be used, because the division would have no result.
How to Find Length
Choose Find Length. Enter the volume, the width, and the height.
l=Vw × h
How to Find Width
Choose Find Width. Enter the volume, the length, and the height.
w=Vl × h
How to Find Height
Choose Find Height. Enter the volume, the length, and the width.
h=Vl × w
When all three edges are known, their order does not change the volume. When one edge is missing, the two known edges have to go in the matching fields.
Rectangular Prism Volume Calculation Examples
Calculate the volume
Length = 4 cm, width = 3 cm, height = 2 cm.
V = 4 × 3 × 2 = 24 cm³
These are the calculator’s starting values, so Calculate Volume opens on 24 cm³.
Find the length
Volume = 24 cm³, width = 3 cm, height = 2 cm.
l=243 × 2= 4 cm
Find the height
Volume = 24 cm³, length = 4 cm, width = 3 cm.
h=244 × 3= 2 cm
The same box gives the width as well. The steps on the page use the numbers and units you entered, not a fixed example.
w=244 × 2= 3 cm
Rectangular Prism Volume Units
Volume is a cubic measure or a capacity. Length is not. A result in cm, and a result in cm³, are different kinds of quantity.
Cubic units include mm³, cm³, dm³, m³, in³, ft³, and yd³. Capacity units include L, mL, and US gal. For the 4 cm × 3 cm × 2 cm box:
- 24 cm³
- 24 mL, because 1 cm³ = 1 mL
- 0.024 L, because 1 L = 1 dm³ = 1,000 cm³
- 0.000024 m³
US gallons are available too. Liters and gallons measure volume. They are not length units, and they cannot be entered as an edge.
Length units for the edges are mm, cm, m, km, in, ft, yd, mi, and nmi. The three edges do not have to share a unit. A length of 40 mm, a width of 3 cm, and a height of 2 cm are the same box as 4 cm × 3 cm × 2 cm, and the volume is still 24 cm³.
Rectangular Prism vs. Cube vs. Cuboid
A rectangular prism has six rectangular faces. A cuboid is another name for that solid.
A cube is a special rectangular prism. All of its edges are equal, and every face is a square. A 4 cm × 3 cm × 2 cm box is a rectangular prism and a cuboid. It is not a cube. A cube can still be entered here by using the same length for all three edges. This page does not have a separate cube control.
Common Mistakes When Calculating Rectangular Prism Volume
- Typing numbers that use different length units and multiplying them as if the units already matched. Convert first, or set each edge’s unit in the calculator.
- Putting an area, such as cm², into a volume field, or reading a volume as if it were a length.
- Solving for one edge while the two known edges are in the wrong fields. The volume of a full box does not depend on which edge you call length, but the missing-edge formulas do.
- Stopping after two dimensions. l × w is the area of a face.
- Treating every rectangular prism as a cube. Equal edges are the exception.
Frequently Asked Questions
What is the formula for the volume of a rectangular prism?
Multiply length, width, and height after the three lengths are in the same unit.
V = l × w × h
How do you calculate the volume of a rectangular prism?
Choose Calculate Volume, enter the three edges, and select the volume unit. A 4 cm × 3 cm × 2 cm prism has a volume of 24 cm³.
How do you find the length if the volume, width, and height are known?
Choose Find Length. Divide the volume by the product of the width and the height.
l=Vw × h
How do you find the width of a rectangular prism?
Choose Find Width and enter the volume, the length, and the height.
w=Vl × h
How do you find the height of a rectangular prism?
Choose Find Height and enter the volume, the length, and the width.
h=Vl × w
Is a rectangular prism the same as a cuboid?
Yes. Cuboid is the usual name for the same box-shaped solid in some regions.
What is the difference between a rectangular prism and a cube?
A cube is a rectangular prism whose edges are all the same length. If any edge differs, the solid is a rectangular prism and not a cube.
Can rectangular prism volume be measured in liters?
Yes. Select L as the volume unit. 24 cm³ is 0.024 L, and also 24 mL. A liter is a volume unit, not a length.
Can I use different units for length, width, and height?
Yes. Each edge has its own length unit. The calculator converts the edges, multiplies, and converts the volume into the unit you selected.