Rectangular Prism (Box) Volume

Calculate the volume and surface area of a rectangular prism (box) from its length, width, and height. Enter the three dimensions in meters to get the volume in cubic meters along with the total surface area.

Volume3 m³
Surface Area
13 m²
Volume (liters)
3,000 L

Volume = length × width × height. Surface area = 2 × (length×width + length×height + width×height). All three dimensions must use the same unit; results use that unit cubed (volume) and squared (surface area).

What the Rectangular Prism Volume Calculator Does

This calculator finds the volume and surface area of a rectangular prism, also called a cuboid or box, from three measurements: length, width, and height. Enter the three dimensions in the same unit and it returns the box volume (in cubic units) and the total surface area (in square units).

It is useful for anyone working with rectangular containers: students checking geometry homework, shippers estimating package size, gardeners filling raised beds with soil, aquarium owners sizing water capacity, and DIYers ordering paint, wrapping, or sheet material for a box-shaped object.

How It Works: The Cuboid Volume and Surface Area Formulas

A rectangular prism has three pairs of identical rectangular faces. The volume is simply the three dimensions multiplied together, and the surface area adds up the areas of all six faces:

Volume = length x width x height, written V = l x w x h.

Surface area = 2 x (length x width + length x height + width x height), written S = 2 x (lw + lh + wh).

Volume comes out in cubic units (cm3, m3, in3) and surface area in square units (cm2, m2, in2). The order of l, w, and h does not change either result, so it does not matter which dimension you label as length.

Worked Example With Real Numbers

Suppose a storage box measures 40 cm long, 30 cm wide, and 20 cm high.

Volume = 40 x 30 x 20 = 24,000 cm3. Since 1 liter equals 1,000 cm3, that is 24 liters of internal space.

Surface area = 2 x (40x30 + 40x20 + 30x20) = 2 x (1,200 + 800 + 600) = 2 x 2,600 = 5,200 cm2.

So this box holds 24 liters and has 5,200 cm2 (0.52 m2) of outer material to cover or paint.

Tips and Common Mistakes

A few simple habits keep your box volume and surface area accurate:

  • Use one unit for all three dimensions. Mixing centimeters and meters gives wildly wrong answers. Convert first.
  • Measure inside dimensions for capacity (how much it holds) and outside dimensions for material or shipping size.
  • Volume scales with the cube of size: doubling every side multiplies volume by 8 (2x2x2), not by 2.
  • Watch unit conversions: 1 m3 = 1,000,000 cm3, and 1 liter = 1,000 cm3. A common error is treating m3 and liters as equal.

Factors That Affect the Result

Real boxes are rarely perfect prisms. Wall thickness reduces internal volume, so a thick-walled container holds less than its outside dimensions suggest. Rounded edges, internal dividers, and packing material also cut usable space.

If the shape is not a true rectangular prism, this formula does not apply directly. A cube is just a special case where l = w = h. For an open-top box (such as a tray or planter without a lid), subtract one face, lw, from the surface area total to avoid overestimating material.

Frequently asked questions

How do I calculate the volume of a rectangular box?

Multiply the three dimensions together: volume = length × width × height. With all dimensions in meters the result is in cubic meters (m³).

What is the surface area of a rectangular prism?

Add the areas of all six faces: surface area = 2 × (length×width + length×height + width×height). With dimensions in meters the result is in square meters (m²).

Why does the calculator also show liters?

One cubic meter equals 1,000 liters, so multiplying the volume in m³ by 1,000 gives a handy capacity figure in liters for tanks, containers, and shipping boxes.

Can I use centimeters or other units?

Yes. Just enter all three dimensions in the same unit. The volume will be in that unit cubed and the surface area in that unit squared (the liters output assumes meters).