science tinker

Cuboid (rectangular prism)

lwh

A cuboid is a box shape with six rectangular faces. Opposite faces are identical.

Faces6 rectangles
Edges12
Vertices8
Euler’s formula8 − 12 + 6 = 2

Cuboid (rectangular prism) in 3D

Drag to turn it. The model follows the measurements you type in the calculator below. Compare with other solids or watch its net fold up.

Cuboid (rectangular prism) calculator

Type the measurements to find the volume and surface area. The working is shown under each answer.

Formulas

VolumeV = lwh
Surface areaSA = 2(lw + lh + wh)
Space diagonald = √(l² + w² + h²)

Worked example

With length l = 6, width w = 4, height h = 3: the volume is 6 × 4 × 3 = 72 cubic units, and the surface area is 2 × (24 + 18 + 12) = 108 square units.

Where you see it

  • Bricks
  • Cereal boxes
  • Shipping containers

Tips and common mistakes

  • Volume is measured in cubic units (cm³, m³) and surface area in square units (cm², m²).
  • For surface area, add up the area of every face. Drawing the net (the shape unfolded flat) helps you not to miss one.
  • Use the perpendicular height for volume, not the slant height.
  • 1 litre = 1 000 cm³, so a volume in cm³ divided by 1 000 gives litres.
Did you know? The volume formula V = lwh counts how many unit cubes fit inside: l rows, w columns, h layers.

Related shapes

Explore more

Questions students ask

What is the volume of a cuboid?

The volume of a cuboid is length × width × height.

How do you find the surface area of a cuboid?

Add the areas of the six faces: SA = 2(lw + lh + wh).

Is a cube a cuboid?

Yes. A cube is a cuboid whose length, width and height are all equal.

The math atlas

Know someone who needs this?

It’s free for every student. Send it to your class group chat.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.