Volume of Rectangular Box Calculator

Enter a box's length, width and height to find its volume, surface area and diagonal.

Updated

Enter to calculate Esc to clear

Volume of Rectangular Box Calculator

Our Volume of Rectangular Box Calculator finds how much space a box holds from its length, width and height. It shows the working, the exact answer, the surface area, the base area, the space diagonal, the volume in other units and a drawing to scale.

Quick answer

The volume of a rectangular box is length × width × height: V = 8 × 5 × 4 = 160 cm³.

  • Same as: base area × height, so a 40 cm² base that is 4 cm high holds 160 cm³
  • Missing side: divide the volume by the other two, h = V ÷ (l × w)
  • Doubling every side: the volume grows 8 times, because 2 × 2 × 2 = 8
  • Units: the volume is in cubic units, so sides in cm give cm³ (1,000 cm³ = 1 litre)

What Is the Volume of a Rectangular Box?

A rectangular box, also called a cuboid or rectangular prism, is a 3D shape with 6 rectangular faces, 12 edges and 8 corners. Opposite faces are the same size. Its size is set by three lengths: the length l, the width w and the height h. The volume V is the space inside it, measured in cubic units such as cm³ or m³.

A rectangular box with its length l along the front, width w going back and height h up the side, and a dashed space diagonal d from a bottom front corner to the opposite top back corner l (length) w h d
Length l, width w, height h and space diagonal d.

Rectangular Box Volume Formula

V = l × w × h

Multiply the three side lengths. The order does not matter, so it makes no difference which side you call the length. The same box has:

  • Base area: l × w, so V is also base area × height
  • Surface area: 2(lw + lh + wh), the 6 faces together
  • Space diagonal: √(l² + w² + h²), corner to opposite corner

A cube is the special case where all three sides are equal, so V = a³. See the Volume of Cube Calculator.

Why the Volume Is l × w × h

Volume counts how many unit cubes fit inside. A box 4 cm long and 3 cm wide holds 4 × 3 = 12 small cubes on its bottom layer. If it is 2 cm high there are 2 layers, so 12 × 2 = 24 cubes of 1 cm³ each. That is 24 cm³.

A box 4 cm long, 3 cm wide and 2 cm high split into a grid of 24 small one-centimetre cubes: 2 layers of 12 4 cm 3 cm 2 cm 4 × 3 × 2 = 24 cm³
Two layers of 4 × 3 unit cubes: 24 cubes of 1 cm³.

Finding a Missing Side

If you know the volume and two of the sides, divide the volume by the product of those two sides. A fish tank holds 72 litres (72,000 cm³) and its base is 60 cm by 30 cm:

V = 72,000 cm³
l × w = 60 × 30 = 1,800 cm²
h = 72,000 ÷ 1,800 = 40 cm

The Space Diagonal

The space diagonal d runs from one corner through the middle of the box to the opposite corner. The diagonal of the base is b = √(l² + w²), and it forms a right triangle with the height, so by Pythagoras d² = l² + w² + h². It is the longest straight rod that fits inside the box.

Inside a box, a right triangle with the base diagonal b along the bottom, the height h going up, and the space diagonal d as the long side b h d b² = l² + w², d² = b² + h²
The space diagonal is the long side of a right triangle: d = √(l² + w² + h²).
l = 8, w = 5, h = 4 cm
d = √(64 + 25 + 16)
d = √105 ≈ 10.247 cm

Box Volume Examples

l × w × hVolume
8 × 5 × 4 cm160 cm³
33 × 19 × 12 cm7,524 cm³
≈ 7.52 L
60 × 30 × 40 cm72,000 cm³
= 72 L
12 × 10 × 8 in960 in³
≈ 0.5556 ft³
4 × 3 × 2.5 m30 m³
3 × 2 × 0.1 m0.6 m³

These are a shoebox, a fish tank, a small shipping box, a room and a thin concrete slab. With whole or decimal sides the answer is always exact.

Common Mistakes

  • Adding the sides: 8 + 5 + 4 = 17, but the volume is 8 × 5 × 4 = 160.
  • Mixing units: convert every side to the same unit first. A 2 m by 50 cm by 30 cm box is 2 × 0.5 × 0.3 = 0.3 m³.
  • Outside vs inside: for capacity, measure inside the walls. Thick walls make the inside smaller.
  • Confusing it with surface area: surface area (cm²) is the cardboard, volume (cm³) is the space inside.
  • Doubling one side: it doubles the volume. Doubling all three makes it 8 times bigger.

Key Terms

Volume
The space inside the box, V = l × w × h.
Cuboid
Another name for a rectangular box or rectangular prism.
Base area
The area of the bottom face, l × w.
Surface area
The 6 faces together, 2(lw + lh + wh).
Diagonal
Corner to corner through the middle, √(l² + w² + h²).

How to Use the Volume of Rectangular Box Calculator

  1. Enter the three sides. Type the length, width and height, such as 8, 5 and 4. Decimals and fractions such as 3/4 work.
  2. Pick a unit. Choose a unit if you want one (mm, cm, m, km, in, ft, yd or mi). All three sides use the same unit.
  3. Read and copy the result. The volume appears as you type, with the working, the surface area, the base area, the space diagonal and the volume in other units. Press Copy to copy it, or Clear or Esc to start again.

Example: a fish tank is 60 cm long, 30 cm wide and 40 cm high. Enter 60, 30 and 40 and pick cm. The volume is 72,000 cm³, or 72 litres.

Who Can Use This Calculator?

Students and TeachersSolid geometry and homework checks
Shipping and StorageCarton capacity, packing space and moving boxes
Builders and DIYConcrete slabs, soil, sand and room volume
Everyday UsersFish tanks, planters, drawers and containers

Frequently Asked Questions (FAQs)

What is the formula for the volume of a rectangular box?

V = l × w × h: multiply the length, width and height. A box 8 cm by 5 cm by 4 cm holds 8 × 5 × 4 = 160 cm³.

Is a rectangular box the same as a cuboid or rectangular prism?

Yes. A rectangular box, a cuboid and a rectangular prism are the same shape: 6 rectangular faces meeting at right angles. They all use V = l × w × h.

How do you find the height of a box from its volume?

Divide the volume by the base area: h = V ÷ (l × w). A 72,000 cm³ tank with a 60 cm by 30 cm base is 72,000 ÷ 1,800 = 40 cm high.

How many litres does a box hold?

Work out the volume in cm³ and divide by 1,000, since 1,000 cm³ is 1 litre. A 60 × 30 × 40 cm tank holds 72,000 cm³, which is 72 litres. In metres, 1 m³ is 1,000 litres.

What if the sides are in different units?

Convert them to one unit first. A box 2 m by 50 cm by 30 cm is 2 × 0.5 × 0.3 = 0.3 m³, or 200 × 50 × 30 = 300,000 cm³.

What is the difference between volume and surface area of a box?

Volume is the space inside, in cubic units: l × w × h. Surface area is the total area of the 6 faces, in square units: 2(lw + lh + wh). The 8 × 5 × 4 cm box has a volume of 160 cm³ and a surface area of 184 cm². See the Surface Area of Rectangular Box Calculator.

What happens to the volume if every side doubles?

It becomes 8 times bigger, because 2 × 2 × 2 = 8. Doubling only one side doubles the volume.

Is the Volume of Rectangular Box Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Volume of Rectangular Box Calculator to get a box's volume from its length, width and height.