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.
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²
Layer 1 of 2 · 0 of 24 cubes
- 1Area of the base. length × width = 4 × 3 = 12 cm². That many cubes fit in one layer on the bottom.
- 2Volume: base × height. 12 × 2 = 24 cm³. 2 layers of 12 cubes. Same as length × width × height.
- 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
Learn it, not just look it up
Ms. Emma teaches volume and surface area step by step →
Part of grade 5 and grade 6 math: she explains it out loud, then gives practice questions.
Stuck on a homework problem?
Snap a photo for the Homework Helper →
It walks through the problem one step at a time and won't just give the answer.
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.
Layer 1 of 2 · 0 of 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.
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?
What is the formula for the surface area of a rectangular prism?
What is the difference between volume and surface area?
How do you find the height of a rectangular prism from the volume?
What about a cube?
Does it matter which side I call the length, width or height?
How do I change the volume into liters or gallons?
What grade learns the volume of a rectangular prism?
Want it to really click?
Step-by-step math lessons for every grade, K–8, with Ms. Emma reading every step aloud.
