Geometry · Calculator

Volume of a rectangular prism, with every step shown

Type the length, width and height to get the volume and the surface area, each step written out. Or find a missing side from the volume. Decimals and fractions like 2 1/2 work too.

What do you want to find?

Whole numbers, decimals or fractions like 3/4 or 2 1/2.

Volume 24 cm³, surface area 52 cm².

Volume

24 cm³

Surface area

52 cm²

l = 4 cmh = 2 cmw = 3 cm

Layer 1 of 2 · 0 of 24 cubes

  1. 1Area of the base. length × width = 4 × 3 = 12 cm². That many cubes fit in one layer on the bottom.
  2. 2Volume: base × height. 12 × 2 = 24 cm³. 2 layers of 12 cubes. Same as length × width × height.
  3. 3Surface area: add the six faces. The faces come in three matching pairs.
    • Top and bottom: 2 × (4 × 3) = 2 × 12 = 24
    • Front and back: 2 × (4 × 2) = 2 × 8 = 16
    • Left and right: 2 × (3 × 2) = 2 × 6 = 12
    Add them: 24 + 16 + 12 = 52 cm².

Quick answer

The volume of a rectangular prism is V = length × width × height (V = l × w × h), in cubic units. The surface area is SA = 2lw + 2lh + 2wh, the six faces added up, in square units. A box 4 cm long, 3 cm wide and 2 cm tall has a volume of 24 cm³ and a surface area of 52 cm².

Volume or surface area?

Volume: what fits inside

How much a box holds: sand, water, sugar cubes. Measured in cubic units like cm³ or ft³.

V = l × w × h

Surface area: what covers the outside

How much paper wraps a box, or paint covers it. Measured in square units like cm² or ft².

SA = 2lw + 2lh + 2wh

Why the volume is length × width × height

Fill the box with cubes 1 unit on each side, and watch it below. The bottom layer of a box 4 long and 3 wide holds 4 × 3 = 12 cubes: that is the area of the base. A box 2 tall holds 2 layers, so 12 × 2 = 24 cubes. Base layer times the number of layers is length × width × height. It works for fractional sides too, with smaller cubes.

423

Layer 1 of 2 · 0 of 24 cubes

One layer: 4 × 3 = 12 cubes. Two layers: 12 × 2 = 24 cubes.

Surface area: unfold the box

Cut a box along its edges and lay it flat. That flat pattern is called a net, and it shows all six faces. They come in three matching pairs, so find one of each pair, double it, and add: for a 4 × 3 × 2 box, 2 × 12 + 2 × 8 + 2 × 6 = 24 + 16 + 12 = 52 square units.

top4 × 3 = 12end3 × 2 = 6front4 × 2 = 8end3 × 2 = 6back4 × 2 = 8bottom4 × 3 = 12

A cube is a special prism

When all the edges are the same length s, the box is a cube. Its volume is s × s × s = s³ and its surface area is 6 × s², since all six faces are the same square. A cube with 5 cm edges: V = 125 cm³, SA = 150 cm².

Common mistakes

Adding the sides instead of multiplying

For a 4 × 3 × 2 box, 4 + 3 + 2 = 9 is not the volume. Volume multiplies: 4 × 3 × 2 = 24 cubic units.

Counting only three faces

A box has six faces in three matching pairs. 12 + 8 + 6 = 26 is half the surface area; the real answer is 2 × 26 = 52.

Mixing units

Change every side to the same unit first. A box 2 m by 50 cm by 30 cm is 200 × 50 × 30 = 300,000 cm³, not 2 × 50 × 30.

Square vs cubic units

Volume fills the box: cubic units (cm³, ft³). Surface area covers the outside: square units (cm², ft²).

Practice: try these

Work each one out, then tap to check. You can also use the calculator above.

1. A fish tank is 50 cm long, 30 cm wide and 40 cm tall. How much water does it hold?

V = 50 × 30 × 40 = 60,000 cm³. Since 1 liter is 1,000 cm³, that is 60 liters.

2. A gift box is 10 in long, 8 in wide and 4 in tall. How much wrapping paper covers it exactly, with no overlap?

That is the surface area. Top and bottom: 2 × (10 × 8) = 2 × 80 = 160. Front and back: 2 × (10 × 4) = 2 × 40 = 80. Two ends: 2 × (8 × 4) = 2 × 32 = 64. Total 160 + 80 + 64 = 304 in².

3. A box has a volume of 120 cm³. Its base is 6 cm by 4 cm. How tall is it?

The base area is 6 × 4 = 24 cm². Height = volume ÷ base = 120 ÷ 24 = 5 cm. Check: 6 × 4 × 5 = 120.

4. A prism is 2 1/2 in long, 1 1/2 in wide and 2 in tall. What is its volume?

Write the mixed numbers as fractions: 5/2 × 3/2 × 2 = 30/4 = 7 1/2 in³ (7.5 in³).

5. A cube has edges 3 ft long. What are its volume and surface area?

Volume = 3 × 3 × 3 = 27 ft³. Each face is 3 × 3 = 9 ft², and a cube has 6 faces, so the surface area is 6 × 9 = 54 ft².

Where iMasterly teaches this

In grade 5 math, the units What Is Volume? and Volume of Rectangular Prisms start with counting unit cubes and build to V = l × w × h and V = B × h, including finding a missing side. Grade 6 adds Volume with Fractional Edges and Surface Area (nets, then SA = 2lw + 2lh + 2wh). See the 5th grade math guide and the 6th grade math guide.

Questions about the volume and surface area of a rectangular prism

What is the formula for the volume of a rectangular prism?
V = l × w × h: length times width times height. You can also write V = B × h, where B is the area of the base (length × width). A box 4 cm by 3 cm by 2 cm has a volume of 24 cm³.
What is the formula for the surface area of a rectangular prism?
SA = 2lw + 2lh + 2wh. The six faces come in three matching pairs: top and bottom (l × w), front and back (l × h), and the two ends (w × h). Find each, double it, and add. A 4 × 3 × 2 box has 24 + 16 + 12 = 52 square units.
What is the difference between volume and surface area?
Volume is how much space is inside: how much the box holds, in cubic units. Surface area is the total area of the outside faces: how much paper wraps it, in square units. Think of filling a box with sand (volume) versus painting the outside (surface area).
How do you find the height of a rectangular prism from the volume?
Divide the volume by the area of the base. A box with a volume of 120 cm³ and a base 6 cm by 4 cm (24 cm²) is 120 ÷ 24 = 5 cm tall. The same works for any missing side: divide the volume by the other two sides multiplied together.
What about a cube?
A cube is a rectangular prism with all edges the same length, s. Volume = s × s × s (s³) and surface area = 6 × s × s (6s²), because all six faces are the same square.
Does it matter which side I call the length, width or height?
No. Multiplication works in any order, so 4 × 3 × 2 and 2 × 4 × 3 both give 24. Surface area also comes out the same, because you use every pair of sides once.
How do I change the volume into liters or gallons?
1 liter is exactly 1,000 cm³ (and 1 mL is 1 cm³), so divide cubic centimeters by 1,000 to get liters. One US gallon is exactly 231 cubic inches, so divide cubic inches by 231 to get gallons.
What grade learns the volume of a rectangular prism?
Grade 5 in the Common Core (5.MD.C.3–5): students fill boxes with unit cubes and then use V = l × w × h and V = B × h. Grade 6 adds fractional edge lengths (6.G.A.2) and surface area using nets (6.G.A.4), and grade 7 extends both to other prisms (7.G.B.6).

Want it to really click?

Step-by-step math lessons for every grade, K–8, with Ms. Emma reading every step aloud.