Rectangular Prism Calculator

A rectangular prism is one of the most common 3D shapes you'll encounter, whether you're packing boxes, designing a room, or solving a geometry problem. This calculator handles the math for you: volume, surface area, and missing dimensions. Plug in what you know and get instant results. No formulas to memorize, no arithmetic to triple-check.

Enter Details

Result

Enter length, width, and height for volume and surface area.

Volume = l×w×h. Surface area = 2(lw + lh + wh). Use consistent units.

How to Use the Rectangular Prism Calculator

Using the calculator is straightforward. Depending on what you need to find, you'll enter two or three of the following dimensions:

  • Length (l) – the longest horizontal measurement
  • Width (w) – the shorter horizontal measurement
  • Height (h) – how tall the prism stands

Select the calculation you want: volume, surface area, or a missing dimension. Enter the values you have, choose your unit of measurement, and hit calculate. The result appears immediately along with the formula used, so you can see exactly how the answer was reached.

All three dimensions must be in the same unit. If you're mixing inches and feet, convert first.

Rectangular Prism Volume Calculator

Volume tells you how much space is inside the prism. It's the measurement you need when you're filling a container, estimating shipping weight, or figuring out how many cubic feet a storage unit holds. Enter any three known values and the calculator returns the volume instantly.

Volume Formula

The volume of a rectangular prism is found by multiplying its three dimensions together:

V = l × w × h

Where l is length, w is width, and h is height. The result is expressed in cubic units. If your dimensions are in inches, volume comes out in cubic inches. Feet gives you cubic feet, and so on.

Calculate Volume from Length, Width, and Height

Say you have a box that's 8 inches long, 5 inches wide, and 4 inches tall. Here's how the calculation works:

  1. Multiply length by width: 8 × 5 = 40
  2. Multiply that result by height: 40 × 4 = 160

The volume is 160 cubic inches. That's it. The order of multiplication doesn't matter since you're just multiplying three numbers together, but working left to right keeps things tidy.

This same process applies regardless of scale, whether you're measuring a small jewelry box or a warehouse floor plan.

Rectangular Prism Surface Area Calculator

Surface area measures the total area of all six faces of the prism. You'd use this when calculating how much material you need to wrap something, how much paint covers a rectangular object, or how much cardboard goes into building a box.

A rectangular prism has three pairs of identical faces: top and bottom, front and back, and the two sides. The surface area calculator adds all six of those face areas together.

Total Surface Area Formula

The formula for total surface area accounts for each pair of faces:

SA = 2(lw + lh + wh)

Breaking it down: lw is the area of the top and bottom faces, lh is the area of the front and back faces, and wh is the area of the two side faces. Multiply the sum of those three products by 2 because each face has a matching partner on the opposite side.

The result is in square units: square inches, square feet, square centimeters, etc.

Surface Area Calculation Example

Using the same box from before: length = 8 in, width = 5 in, height = 4 in.

  1. lw = 8 × 5 = 40
  2. lh = 8 × 4 = 32
  3. wh = 5 × 4 = 20
  4. Sum = 40 + 32 + 20 = 92
  5. Multiply by 2: 2 × 92 = 184

The total surface area is 184 square inches. If you were wrapping that box in paper with no overlap, you'd need at least 184 square inches of material.

Find Missing Dimensions of a Rectangular Prism

Sometimes you already know the volume or surface area and need to work backward to find a dimension you're missing. This comes up often in real-world situations: you know a container must hold a specific volume and you already have two of its dimensions, so you need to solve for the third.

The calculator handles this by rearranging the standard formulas. Enter the known values, tell the calculator which dimension is missing, and it solves for it directly.

Finding Length

If you know the volume, width, and height, you can isolate length by dividing:

l = V / (w × h)

For example, a prism with a volume of 160 cubic inches, a width of 5 inches, and a height of 4 inches:

l = 160 / (5 × 4) = 160 / 20 = 8 inches

The same logic applies when you're working from surface area, though the algebra gets a bit messier because the surface area formula has three terms. The calculator takes care of that automatically.

Finding Width or Height

Finding width or height from volume works exactly the same way as finding length. Just rearrange the formula around whichever variable you're solving for:

  • w = V / (l × h)
  • h = V / (l × w)

These are equivalent operations. Since multiplication is commutative, the formulas are essentially identical in structure. Just substitute the values you know, divide, and you have your answer.

When working from surface area instead of volume, the calculator uses a more involved algebraic process, but the input is the same: give it what you know, and it finds what you don't.

Rectangular Prism Formulas

Here's a quick reference for all the core formulas associated with a rectangular prism:

MeasurementFormula
VolumeV = l × w × h
Total Surface AreaSA = 2(lw + lh + wh)
Face Area (top/bottom)A = l × w
Face Area (front/back)A = l × h
Face Area (sides)A = w × h
Length (from volume)l = V / (w × h)
Width (from volume)w = V / (l × h)
Height (from volume)h = V / (l × w)

These cover the vast majority of problems you'll run into. For anything more specialized, the calculator above will walk through the math step by step.

Volume and Surface Area Relationship

Volume and surface area are related but measure very different things. Volume is three-dimensional: it scales with the cube of your dimensions. Surface area is two-dimensional: it scales with the square. Because of that difference in scale, changes to a prism's dimensions affect volume and surface area at different rates.

Two boxes can have the same volume but very different surface areas depending on their shape. A long, flat prism and a more cube-like prism might hold the same amount of material, but the flat one will require significantly more surface material to enclose it. This matters a lot in packaging, construction, and manufacturing.

Effect of Dimension Changes

Doubling just one dimension doubles the volume, but the effect on surface area depends on which faces that dimension controls. Doubling all three dimensions is where things get dramatic: volume increases by a factor of 8 (2³), while surface area only increases by a factor of 4 (2²).

A few practical takeaways:

  • Small increases in all three dimensions lead to large jumps in volume.
  • A cube-shaped prism has the smallest surface area relative to its volume. This is why cube-like packaging is often more material-efficient.
  • If you're trying to maximize volume while minimizing surface area (think: reducing packaging costs), a shape closer to a cube is almost always more efficient than a long, flat rectangle.

Understanding this relationship helps in everything from optimizing storage containers to designing efficient building layouts. The numbers tell the story clearly once you see how the two formulas behave together.

Other Maths Calculators

Explore all