General calculator

Rectangular Prism Surface Area Calculator

A rectangular prism surface area calculator that works out the skin of a box from its three edges. A 6 by 4 by 3 box has a surface area of 108 square units, a volume of 72 cubic units and a space diagonal of 7.81, because the three face pairs are 24, 18 and 12, doubled to 48, 36 and 24. The face-by-face breakdown is the number that matters in practice, because cardboard, sheet metal, paint and insulation are all bought by the face, not by the box.

  • Free to use
  • No sign-up
  • Formula and sources shown
Rectangular Prism Surface Area Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app

A rectangular prism has three edges: length, width and height. A cube has all three edges equal, so one side length determines everything: the surface area is six times the side squared and the volume is the side cubed.

6

The longest horizontal edge of the box, measured on the outside if the skin is the question and on the inside if the capacity is the question. On a shipping box the length is the longest edge of the base.

4

The other horizontal edge, at right angles to the length. On a room the width is the shorter wall; on a tank the width is the depth from front to back.

3

The vertical edge, and the edge the lateral area depends on, because the lateral area is the four side faces and the sides are as tall as the height.

0

Zero by default, because the true geometric surface area has no waste in it. Set it to 5 or 10 percent when the area is being used to order material, wrapping paper, paint or insulation, because cuts and overlaps take more than the faces add up to.

6 by 4 by 3 · volume 72 cubic units

108 sq units

The three face pairs are 24, 18 and 12, which add to 54, and doubled for the opposite faces that is 108 square units. The volume is 72 cubic units and the space diagonal is 7.81, the longest straight object that fits inside.

Surface area

108 sq units

Volume

72 cubic units

Top and bottom pair

48 sq units

Front and back pair

36 sq units

Two ends pair

24 sq units

Lateral area (4 sides)

60 sq units

Base area

24 sq units

Space diagonal

7.81

Total edge length

52

Planning area (with waste)

108 sq units

Surface area is the skin, measured in square units, and volume is the inside, measured in cubic units. A closed box needs all six faces; an open box, a room with no ceiling or a tank with no lid needs the lateral area plus the base only, which is 84 square units here.

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Surface area = 2(lw + lh + wh), where l is the length, w is the width and h is the height. Volume = lwh. Lateral surface area = 2h(l + w), the four side faces only. Space diagonal = sqrt(l squared + w squared + h squared). Cube: surface area = 6s squared, volume = s cubed, diagonal = s times sqrt(3).

Worked example. A box 6 long, 4 wide and 3 high: the top and bottom faces are 6 times 4 = 24 each, the front and back faces are 6 times 3 = 18 each, and the two ends are 4 times 3 = 12 each. Add the three face areas, 24 + 18 + 12 = 54, and double for the opposite faces, 2 times 54 = 108 square units of surface area. The volume is 6 times 4 times 3 = 72 cubic units. The lateral surface area, the four sides without the top and bottom, is 2 times 3 times (6 + 4) = 60 square units. The space diagonal is the square root of (36 + 16 + 9) = sqrt(61) = 7.81, which is the longest straight object that fits inside the box. A cube of side 4 has a surface area of 6 times 16 = 96, a volume of 64 and a diagonal of 4 times sqrt(3) = 6.93.

A 6 by 4 by 3 box has a surface area of 108 square units, a volume of 72 cubic units and a space diagonal of 7.81, because the three face pairs are 24, 18 and 12, doubled to 48, 36 and 24. The face-by-face breakdown is the number that matters in practice, because cardboard, sheet metal, paint and insulation are all bought by the face, not by the box, and a box is the simplest solid in geometry: three lengths meeting at right angles, and everything about it follows from those three.

Key takeaways

  • •A 6 by 4 by 3 box has a surface area of 108 square units, a volume of 72 cubic units and a space diagonal of 7.81.
  • •The three face pairs are 24, 18 and 12, doubled to 48, 36 and 24, and the doubling is because each pair has two identical faces.
  • •The surface area formula is 2(lw + lh + wh): twice the sum of the three face areas, top and bottom, front and back, and the two ends.
  • •The volume is length times width times height, 6 times 4 times 3 = 72 cubic units, and it is the footprint times the height.
  • •The lateral surface area is the four side faces only, 2h(l + w) = 60 square units on the default box, and it is the number for an open box, a room with no ceiling, or a tank with no lid.
  • •The space diagonal is the square root of (l squared + w squared + h squared), sqrt(61) = 7.81 on the default box, and it is the longest straight object that fits inside.
  • •A cube of side 4 has a surface area of 6 times 16 = 96, a volume of 64 and a diagonal of 4 times sqrt(3) = 6.93, and the cube mode on this page needs only the one side.
  • •It does not matter which edge is called the length: all three formulas are symmetric in length, width and height, so the box is the same box however the edges are named.
  • •Surface area is the skin, measured in square units, and volume is the inside, measured in cubic units, and the two answer different questions: the skin says how much material the box needs, and the inside says how much fits in it.
  • •A cube is the box with the smallest surface area for its volume, which is why a cubic tank holds the most for the least sheet metal, and a flat wide box is the most expensive skin for its contents.
  • •The waste allowance is zero by default, because the true geometric surface area has no waste in it, and it should be set to 5 or 10 percent when the area is being used to order material, because cuts and overlaps take more than the faces add up to.
  • •Measure the outside of the box for surface area and the inside for capacity, because a thick-walled box has different inside and outside dimensions, and on a small box the wall thickness changes the volume by a visible amount.

How to use the rectangular prism surface area calculator

  1. Measure the three edges of the box: the length, the width and the height, all in the same unit. Feet with feet, inches with inches, centimetres with centimetres. The surface area comes out in square units of that unit and the volume in cubic units.
  2. Enter the length first. It is the longest horizontal edge of the box, measured on the outside if the skin is the question and on the inside if the capacity is the question. On a shipping box the length is the longest edge of the base.
  3. Enter the width next. It is the other horizontal edge, at right angles to the length. On a room the width is the shorter wall; on a tank the width is the depth from front to back.
  4. Enter the height last. It is the vertical edge, and it is the edge the lateral area depends on, because the lateral area is the four side faces and the sides are as tall as the height. A box that is 6 long, 4 wide and 3 high has a lateral area of 60 square units.
  5. Read the surface area first. It is the area of all six faces, the closed box, and it is the material a closed box needs: cardboard for a shipping box, sheet metal for a duct, paint for a tank, insulation for a cold store.
  6. Read the face-by-face breakdown next. The top and bottom pair, the front and back pair, and the two ends are shown separately, with the area of one face and the total for the pair, so the number can be checked by hand and so a job that only covers some faces can be priced from the right pair.
  7. Read the lateral surface area and the base area when the box is open. A room with no ceiling in the count, a tank with no lid, or a box with no top needs the lateral area plus the base only, and those two numbers are reported separately on this page.
  8. Read the volume when the contents are the question. The volume is the footprint times the height, and it is what the box holds: 72 cubic units on the default box, which is 72 litres if the unit is a decimetre, or 72 cubic feet if the unit is a foot.
  9. Read the space diagonal when something long has to fit inside. The space diagonal is the longest straight object that fits in the box, 7.81 on the default box, so a 7.8 unit rod fits and an 8 unit rod does not. It is also the check on the box: if the diagonal is wrong, one of the edges is wrong.
  10. Switch to cube mode when all three edges are equal. Enter the side once and the page works out the surface area as six times the side squared, the volume as the side cubed, and the diagonal as the side times the square root of three. A cube of side 4 has a surface area of 96, a volume of 64 and a diagonal of 6.93.

Worked examples

1. The default: a 6 by 4 by 3 box

  • Box: length 6, width 4, height 3
  • Top and bottom faces: 6 times 4 = 24 each, pair total 48
  • Front and back faces: 6 times 3 = 18 each, pair total 36
  • Two ends: 4 times 3 = 12 each, pair total 24
  • Surface area = 2 times (24 + 18 + 12) = 2 times 54 = 108 square units
  • Volume = 6 times 4 times 3 = 72 cubic units
  • Lateral surface area = 2 times 3 times (6 + 4) = 60 square units
  • Space diagonal = sqrt(36 + 16 + 9) = sqrt(61) = 7.81
  • Total edge length = 4 times (6 + 4 + 3) = 52, which is the length of frame or trim that runs around all twelve edges
  • The lesson: the three face pairs add to 54 and the doubling makes 108, and the face-by-face breakdown is the check: if the pairs do not add to half the surface area, one of the faces is wrong

2. A cube of side 4

  • Cube: side 4, so length, width and height are all 4
  • One face: 4 times 4 = 16, and there are six identical faces
  • Surface area = 6 times 16 = 96 square units
  • Volume = 4 cubed = 64 cubic units
  • Space diagonal = 4 times sqrt(3) = 6.93
  • Face diagonal, across one square face: sqrt(16 + 16) = 5.66
  • Total edge length = 12 times 4 = 48
  • The lesson: a cube is the box with the smallest surface area for its volume, so a cubic tank holds the most for the least sheet metal, and the cube mode on this page needs only the one side

3. A shipping box, 18 by 12 by 8 inches

  • Box: length 18 in, width 12 in, height 8 in
  • Top and bottom faces: 18 times 12 = 216 sq in each, pair total 432 sq in
  • Front and back faces: 18 times 8 = 144 sq in each, pair total 288 sq in
  • Two ends: 12 times 8 = 96 sq in each, pair total 192 sq in
  • Surface area = 432 + 288 + 192 = 912 sq in, which is 6.33 sq ft
  • Volume = 18 times 12 times 8 = 1,728 cubic inches, which is exactly 1 cubic foot
  • Space diagonal = sqrt(324 + 144 + 64) = sqrt(532) = 23.07 in, so a 23 inch rod fits inside and a 24 inch rod does not
  • The lesson: the surface area is the cardboard the box needs, and a 10 percent waste allowance for cuts and flaps makes the planning area 1,003.2 sq in, which is the number to order from

4. A room, 12 by 15 ft with 8 ft walls

  • Room as a box: length 12 ft, width 15 ft, height 8 ft
  • Floor and ceiling: 12 times 15 = 180 sq ft each, pair total 360 sq ft
  • Long walls: 15 times 8 = 120 sq ft each, pair total 240 sq ft
  • Short walls: 12 times 8 = 96 sq ft each, pair total 192 sq ft
  • Total surface area of the closed box = 360 + 240 + 192 = 792 sq ft
  • Walls only, the lateral area: 2 times 8 times (12 + 15) = 432 sq ft, which is the paintable wall area
  • Volume of the room = 12 times 15 times 8 = 1,440 cubic feet, which is the air the room holds and the number a heater is sized from
  • Space diagonal = sqrt(144 + 225 + 64) = sqrt(433) = 20.81 ft, the longest straight run across the room
  • The lesson: a room is a box with the floor and ceiling in the count, and the walls-only number is the lateral area, not the total, which is why a paint job is priced from 432 sq ft and not from 792

5. A water tank, 10 by 6 by 4 ft

  • Tank: length 10 ft, width 6 ft, height 4 ft
  • Top and bottom: 10 times 6 = 60 sq ft each, pair total 120 sq ft
  • Front and back: 10 times 4 = 40 sq ft each, pair total 80 sq ft
  • Two ends: 6 times 4 = 24 sq ft each, pair total 48 sq ft
  • Surface area = 120 + 80 + 48 = 248 sq ft of sheet metal for a closed tank
  • Volume = 10 times 6 times 4 = 240 cubic feet, which is 240 times 7.48052 = 1,795 gallons of water
  • Open-top tank, no lid: the surface area is the lateral area plus the base, 2 times 4 times (10 + 6) + 60 = 128 + 60 = 188 sq ft
  • Space diagonal = sqrt(100 + 36 + 16) = sqrt(152) = 12.33 ft
  • The lesson: an open tank needs 60 sq ft less sheet metal than a closed one, which is the lid, and the volume is the same either way, because the lid holds no water

The formula, face by face

A rectangular prism, a cuboid, or in plain language a box, is the simplest solid in geometry: three lengths meeting at right angles, and everything about it follows from those three. The box has six faces, and they come in three pairs of identical rectangles: the top and bottom, each length times width; the front and back, each length times height; and the two ends, each width times height. The surface area is the sum of all six faces, and because each pair is identical, the sum is twice the sum of the three face areas: surface area = 2(lw + lh + wh). The formula is symmetric in the three edges, so it does not matter which edge is called the length, and the box is the same box however the edges are named.

Surface area = 2(lw + lh + wh) Volume = lwh Lateral area = 2h(l + w) Space diagonal = sqrt(l squared + w squared + h squared)

The volume is the product of the three edges, and it can be read as the footprint area times the height: the base is length times width, and stacking it height deep gives the volume. A 6 by 4 by 3 box has a footprint of 24 and a volume of 72, which is the footprint stacked three deep. The lateral surface area is the four side faces only, without the top and bottom, and it is the perimeter of the base times the height: 2h(l + w). On the default box the base perimeter is 20 and the height is 3, so the lateral area is 60. The lateral area is the number for a room with no ceiling in the count, a tank with no lid, a box with no top, or a column being wrapped, because the top and bottom are not part of those jobs.

The space diagonal is Pythagoras applied twice. First across the base: the base diagonal is the square root of (length squared + width squared), 7.21 on the default box. Then up through the height: the space diagonal is the square root of (base diagonal squared + height squared), which is the square root of (36 + 16 + 9) = sqrt(61) = 7.81. It is the longest straight object that fits inside the box, and it is the check on the box: if the diagonal is wrong, one of the edges is wrong. The volume calculator on this site works out the contents of the same box in gallons and litres, the area calculator works out the flat faces one at a time, and the perimeter calculator works out the base perimeter the lateral area is built from.

A cube is the special case where all three edges are equal, and one number then determines everything. The surface area is six times the side squared, because there are six identical square faces. The volume is the side cubed. The space diagonal is the side times the square root of three, because the base diagonal is the side times the square root of two and the space diagonal adds the third edge. A cube of side 4 has a surface area of 96, a volume of 64 and a diagonal of 6.93. A cube is also the box with the smallest surface area for its volume, which is the isoperimetric fact behind the tank: a cubic tank holds the most water for the least sheet metal, and a flat wide box is the most expensive skin for its contents. The difference is not small: a 6 by 4 by 3 box holds 72 cubic units behind 108 square units of skin, while a cube holding the same 72 cubic units has a side of 4.16 and a surface area of 103.8, which is 4 square units less skin for the same contents.

Surface area by size: boxes, rooms and tanks

The table below is the reference to take to the job: the surface area, volume and space diagonal of the common box sizes, all from the same formula, so the pattern is visible. The surface area grows with the square of the size and the volume with the cube, which is why a box twice as big in every edge has four times the skin and eight times the contents, and why the skin per unit of contents falls as the box grows.

Box (length by width by height)Surface areaVolumeLateral areaSpace diagonal
2 by 2 by 2 (cube)248163.46
4 by 4 by 4 (cube)9664646.93
6 by 4 by 310872607.81
10 by 6 by 424824012812.33
12 by 8 by 643257624015.62
18 by 12 by 8 in912 sq in1,728 cu in480 sq in23.07 in
20 by 20 by 101,6004,00080030.00

Surface area = 2(lw + lh + wh); volume = lwh; lateral area = 2h(l + w); space diagonal = sqrt(l squared + w squared + h squared). The 18 by 12 by 8 inch box holds exactly 1 cubic foot.

The second table is the one for rooms and tanks: the same box treated as a room, with the walls-only area beside the total, because a paint job is priced from the walls and a tank is priced from the skin. A 12 by 15 ft room with 8 ft walls has 432 sq ft of wall and 792 sq ft of total box surface, and the difference is the floor and the ceiling, 360 sq ft between them. A tank with no lid drops the lid from the total, so a 10 by 6 by 4 ft open tank needs 188 sq ft of sheet metal and not 248.

Room or tankWalls only (lateral)Floor + ceilingTotal box surfaceVolume
10 by 10 ft room, 8 ft walls320 sq ft200 sq ft520 sq ft800 cu ft
12 by 12 ft room, 8 ft walls384 sq ft288 sq ft672 sq ft1,152 cu ft
12 by 15 ft room, 8 ft walls432 sq ft360 sq ft792 sq ft1,440 cu ft
15 by 20 ft room, 9 ft walls630 sq ft600 sq ft1,230 sq ft2,700 cu ft
10 by 6 by 4 ft tank, closed128 sq ft120 sq ft248 sq ft240 cu ft (1,795 gal)
10 by 6 by 4 ft tank, open top128 sq ft60 sq ft (base only)188 sq ft240 cu ft (1,795 gal)

Walls only = 2h(l + w). Floor plus ceiling = 2lw. The open-top tank counts the base only, not the lid, so it needs 60 sq ft less sheet metal than the closed tank.

Two things in those tables decide the job. The first is that the skin grows slower than the contents: doubling every edge quadruples the surface area and multiplies the volume by eight, so a big box is cheaper per unit of contents than a small one, and a big tank is cheaper per gallon than a small one. The second is that the walls are most of the room: on a 12 by 15 ft room the walls are 432 of the 792 sq ft, more than half, and on a tall room the walls are more still, which is why a paint job is priced from the wall area and not from the floor area. A room calculated from the floor area undercounts the paint by more than half, and the wall area is the number the paint is priced on.

Cube mode and common mistakes

  • •Mixing the units. Feet with inches, or centimetres with metres, gives a surface area in no unit at all. Measure all three edges in the same unit, and convert first: 18 inches is 1.5 feet, and a box measured as 18 by 12 by 8 inches is 1.5 by 1 by 0.67 feet, with a surface area of 6.33 sq ft.
  • •Counting only three faces. The surface area is all six faces, and the three face areas have to be doubled for the opposite faces. A box with face areas of 24, 18 and 12 has a surface area of 108, not 54, and forgetting the doubling is the most common mistake on this page.
  • •Using the floor area for a paint job. A 12 by 15 ft room is 180 sq ft of floor and 432 sq ft of wall, and the paint goes on the wall. A room calculated from the floor area undercounts the paint by more than half.
  • •Using the total surface area for an open box. A tank with no lid, a room with no ceiling in the count, or a box with no top needs the lateral area plus the base only, and the total surface area overstates it by the lid. A 10 by 6 by 4 ft open tank needs 188 sq ft, not 248.
  • •Confusing surface area with volume. Surface area is the skin in square units and volume is the inside in cubic units, and the two answer different questions. A box can have a big surface area and a small volume, a flat wide box, or a small surface area and a big volume, a cube, and ordering by the wrong one leaves the job short or overstocked.
  • •Measuring the outside when the contents are the question. A cardboard box with half-inch walls has an inside length half an inch less than the outside length on each side, and on a small box that difference changes the volume by a visible amount. Measure the inside for capacity and the outside for the skin.
  • •Forgetting the waste on an ordering job. The true surface area has no waste in it, and a job that orders exactly the surface area runs short, because cuts, overlaps and offcuts take more than the faces add up to. Set the waste allowance to 5 or 10 percent when the area is being used to order material.
  • •Using the face diagonal instead of the space diagonal. The face diagonal is across one face, 7.21 across the base of the default box, and the space diagonal is through the interior, 7.81. A rod that fits across the base does not necessarily fit through the box, and the space diagonal is the number that says whether a long object fits inside.
  • •Calling the height the length. The formulas are symmetric, so the surface area and the volume do not care which edge is called which, but the lateral area does, because the lateral area is the four sides and the sides are as tall as the height. A box laid on its side has a different lateral area from the same box standing up, and the height is the vertical edge.
  • •Assuming a cube from one edge. A box with one edge of 4 is not a cube unless the other two edges are 4 as well, and the cube formulas only hold when all three edges are equal. Use the cube mode only when the box really is a cube, and use the three-edge mode for every other box.

How this calculator compares with the rivals

The rectangular prism search is full of calculators that give three numbers, the surface area, the volume and the diagonal, and stop, and most of them give the numbers without the faces behind them, so the result cannot be checked and cannot be used to price a job that only covers some faces. The gap is a calculator that shows the face-by-face breakdown, the lateral area and the base area separately, the cube mode, and the construction context: boxes, rooms and tanks, with the walls-only number beside the total. This page is built to be that calculator, and it is the rectangular prism calculator that answers the question the builder actually asked. How much material does this box need, and which faces does it need it on, with the faces, the lateral area and the volume together.

RivalWhat it offersWhere this page beats it
Calculator Soup | Rectangular prism calculatorCalculator Soup has a rectangular prism calculator: length, width and height in, volume and surface area outCalculator Soup gives the two numbers and stops there. It never shows the face-by-face breakdown, never reports the lateral area, and never touches the cube mode or the construction context. This page shows each pair of faces separately, so the number can be checked and priced by the face.
Omni Calculator | Rectangular prism calculatorOmni has a rectangular prism calculator among its 160-plus calculators: dimensions in, volume, surface area and diagonal outOmni answers the geometry question and stops there. It never breaks the surface area into faces, never reports the lateral area or the base area, and never says what the numbers are for. This page adds the face breakdown, the open-box numbers and the boxes, rooms and tanks context.
Math is Fun | Rectangular prism pageMath is Fun has a rectangular prism reference page: the formulas, a net diagram and a worked exampleMath is Fun is a good reference and it governs on the explanation. This page is a calculator, not a reference: the dimensions go in, the faces, the lateral area, the volume and the diagonal come out, with the worked examples and the size tables a reference page never automates.
Khan Academy | Surface area of a rectangular prismKhan Academy has a lesson on the surface area of a rectangular prism: nets, worked examples and practiceKhan Academy teaches the formula properly and it governs on the lesson. This page implements the lesson as a calculator with the face-by-face breakdown, the cube mode, the waste allowance and the construction tables, so the lesson can be used on a real box.
Cuemath | Rectangular prism calculatorCuemath has a rectangular prism calculator: dimensions in, volume and surface area out, with a formula noteCuemath gives the two numbers with a formula note and stops there. It never shows the faces, never reports the lateral area, and never covers the open-box case or the cube mode. This page shows the faces and the open-box numbers, and it prices the box by the face.
BYJU'S | Rectangular prism surface areaBYJU'S has a rectangular prism surface area page: the formula, a worked example and practice questionsBYJU'S explains the formula and it governs on the classroom example. This page is a calculator with the face breakdown, the lateral area, the space diagonal and the size tables, and it adds the boxes, rooms and tanks context a classroom page never covers.
MiniWebtool | Rectangular prism calculatorMiniWebtool has a rectangular prism calculator: dimensions in, volume, surface area and diagonal outMiniWebtool gives the three numbers and stops there. It never breaks the surface area into faces, never reports the lateral area or the base area, and never says which number to use for an open box. This page reports all three, so the open-box job can be read off.
Calculator.net | Volume and surface area calculatorsCalculator.net has volume and surface area calculators for prisms and boxes: dimensions in, results outCalculator.net covers the geometry properly and it governs on the breadth of its shapes. This page goes deeper on the one shape: the face-by-face breakdown, the cube mode, the waste allowance, and the rooms and tanks tables that turn the geometry into a material order.

The honest summary: Khan Academy and Math is Fun get the teaching right, and Calculator Soup and Omni Calculator get the arithmetic right. Nobody in the top results does the rectangular prism as a builder's calculator: the face-by-face breakdown with each pair priced separately, the lateral area and the base area for the open-box case, the cube mode, the waste allowance for ordering, and the boxes, rooms and tanks tables. This page wins by being the only one that answers the question the builder actually asked. How much material does this box need, and which faces does it need it on, with the faces, the lateral area and the volume together.

Assumptions

  • •The shape is a right rectangular prism, also called a cuboid or a box: six flat rectangular faces, with adjacent edges meeting at right angles, and opposite faces identical. A box that is tapered, rounded or open at the top is a different shape, and this page overstates its surface area, because the taper or the missing lid is not in the formula.
  • •Length, width and height must all use the same unit before the calculation: feet with feet, inches with inches, centimetres with centimetres. The surface area comes out in square units of that unit and the volume in cubic units, so a box measured in feet gives square feet and cubic feet, and a box measured in inches gives square inches and cubic inches.
  • •All three dimensions must be greater than zero. A zero dimension makes a flat rectangle, not a box, and the surface area formula still returns a number, but the volume is zero and the shape has no inside, so this page treats any zero or missing dimension as invalid rather than reporting a nonsense box.
  • •The surface area is the area of the closed box, all six faces, which is the material a closed box needs: cardboard for a shipping box, sheet metal for a duct, paint for a tank. An open box, a room with no ceiling, or a tank with no lid needs the lateral area plus the base only, and this page reports the lateral area and the base area separately so the open case can be read off without a second calculation.
  • •The space diagonal is the straight line from one corner of the box through the interior to the opposite corner, and it is the longest straight object that fits inside the box. It is found by Pythagoras applied twice: first across the base, then up through the height, which is why the formula is the square root of the sum of the three squared edges.
  • •The waste allowance is a planning allowance only, and it is zero by default, because the true geometric surface area has no waste in it. Set it to 5 or 10 percent when the area is being used to order material, wrapping paper, paint or insulation, because cuts, overlaps and offcuts take more than the faces add up to, and the planning area is the surface area times one plus the waste percent.
  • •The cube mode is the special case where all three edges are equal, so one side length determines everything: the surface area is six times the side squared, the volume is the side cubed, and the space diagonal is the side times the square root of three. A cube of side 4 has a surface area of 96, a volume of 64 and a diagonal of 6.93.
  • •Measurements are taken on the outside of the box for surface area and on the inside for capacity, and the two are not the same on a thick-walled box. A cardboard box with half-inch walls has an inside length half an inch less than the outside length on each side, and on a small box that difference changes the volume by a visible amount, so measure the inside when the contents are the question and the outside when the skin is the question.

Sources✓ Verified

  • OpenStax | University Physics, Volume 1: Geometry of Rectangular Prisms. The standard treatment of the rectangular prism: three pairs of identical rectangular faces, the surface area formula 2(lw + lh + wh), and the volume as length times width times height.
  • Khan Academy | Surface Area of a Rectangular Prism. The classroom derivation of the surface area formula by unfolding the box into a net of six rectangles, which is why the face-by-face breakdown on this page adds up the way it does.
  • Math is Fun | Rectangular Prism (Cuboid). The plain-language reference for the cuboid: volume, surface area, lateral surface area and the space diagonal, with the worked numbers this page checks its results against.
  • National Council of Teachers of Mathematics (NCTM) | Geometry Standards. The standards behind the school geometry of prisms: nets, surface area and volume, and the distinction between the lateral area and the total area that this page reports separately.
  • ASTM D5118 | Standard Practice for Fabrication of Fiberboard Shipping Boxes. The packaging standard behind the box dimensions on this page: inside dimensions govern capacity, outside dimensions govern the material, and the two differ by the board thickness.
  • Engineering Toolbox | Rectangular Box Volume and Surface Area. The engineering reference for box volume and surface area, used to check the space diagonal and the lateral area figures on this page.

Formula reviewed December 2026.

Add the areas of all six faces: surface area = 2(lw + lh + wh). A box 6 long, 4 wide and 3 high has face pairs of 24, 18 and 12, which add to 54, and doubled for the opposite faces that is 108 square units. The three pairs are the top and bottom (length times width), the front and back (length times height) and the two ends (width times height), and the doubling is because each pair has two identical faces. The face-by-face breakdown on this page shows each pair separately, so the number can be checked by hand.

108 square units. The top and bottom faces are 6 times 4 = 24 each, the front and back faces are 6 times 3 = 18 each, and the two ends are 4 times 3 = 12 each. Add the three face areas, 24 + 18 + 12 = 54, and double for the opposite faces, 2 times 54 = 108. The volume is 6 times 4 times 3 = 72 cubic units, the lateral surface area (the four sides only) is 60 square units, and the space diagonal is the square root of 61 = 7.81.

Surface area is the skin of the box, measured in square units, and it is what cardboard, paint, sheet metal and insulation are bought by. Volume is the inside of the box, measured in cubic units, and it is what the box holds. A 6 by 4 by 3 box has a surface area of 108 square units and a volume of 72 cubic units, and the two numbers answer different questions: the surface area says how much material the box needs, and the volume says how much fits inside it. A box can have a big surface area and a small volume, a flat wide box, or a small surface area and a big volume, a cube, which is why the two are never interchangeable.

The space diagonal is the square root of (length squared + width squared + height squared). For a 6 by 4 by 3 box that is the square root of (36 + 16 + 9) = sqrt(61) = 7.81. It is Pythagoras applied twice: first across the base, where the base diagonal is sqrt(36 + 16) = 7.21, and then up through the height, where the space diagonal is sqrt(52 + 9) = sqrt(61). It is the longest straight object that fits inside the box, so a 7.8 unit rod fits in a 6 by 4 by 3 box and an 8 unit rod does not.

The lateral surface area is the area of the four side faces only, without the top and bottom: 2h(l + w). For a 6 by 4 by 3 box it is 2 times 3 times (6 + 4) = 60 square units. It is the number to use for a room with no ceiling in the count, a tank with no lid, a box with no top, or a column being wrapped, because the top and bottom are not part of the job. The total surface area of the same box is 108, and the difference, 48, is the top and bottom together, each 24.

A cube has six identical square faces, so the surface area is 6 times the side squared. A cube of side 4 has a surface area of 6 times 16 = 96 square units, a volume of 4 cubed = 64 cubic units, and a space diagonal of 4 times the square root of 3 = 6.93. Use the cube mode on this page and enter the side once: the page sets the length, width and height all to that side and works out the surface area, the volume and the diagonal from it. A cube is the box with the smallest surface area for its volume, which is why a cubic tank holds the most for the least sheet metal.

No. All three formulas are symmetric in length, width and height, so it does not matter which dimension is called which, and the surface area, the volume and the space diagonal come out the same. A 6 by 4 by 3 box is the same box as a 3 by 6 by 4 box. What matters is that the three numbers are the three edges of the box, measured in the same unit, and that the height is the vertical edge when the lateral area is the question, because the lateral area is the four sides and the sides depend on which edge is vertical.

Converters to use with the Rectangular Prism Surface Area Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More general calculators

Triangular Pyramid Surface Area CalculatorGeneralTriangular Pyramid Surface Area CalculatorA triangular pyramid surface area calculator that works out the skin of a pyramid from its triangular base and its slant height. A pyramid with a base edge of 6, a base triangle height of 4 and a slant height of 5 has a base area of 12, three side faces of 15, 12.5 and 12.5, a total surface area of 52 square units and a volume of 24 cubic units at a pyramid height of 6. The faces are shown one at a time, because roofing, cladding and tent fabric are all bought by the face, not by the pyramid.Pool Surface Area CalculatorGeneralPool Surface Area CalculatorA pool surface area calculator that works out the water surface of a rectangle, oval or round pool from the inside dimensions at the waterline. A 32 by 16 ft rectangle pool has a water surface of 512 sq ft, a perimeter of 96 ft, and at an average depth of 5 ft it holds 2,560 cubic feet, which is 19,150 gallons, with 319.2 gallons in every inch of depth. The surface area is the number a liner, a cover, a heater and a chemical dose are all sized from, so it is the first number any pool job needs.Shed Foundation CalculatorGeneralShed Foundation CalculatorA shed foundation calculator that turns your shed footprint and gravel depth into the cubic yards and tons of crushed stone to order, with a waste allowance and an optional cost estimate. A pad that is too thin settles and shifts the shed, and a pad ordered short leaves the base unfinished on delivery day. Get the number right and the shed sits level from the start.Pole Barn CalculatorGeneralPole Barn CalculatorA pole barn calculator that turns your barn footprint and slab thickness into the cubic yards of concrete the floor needs, with a waste allowance and an optional cost estimate. Plan the post footings and base separately, so the slab number stays clean and the pour is ordered once. Under-order and the truck leaves with the floor half poured.Hot Tub Pad CalculatorGeneralHot Tub Pad CalculatorA hot tub pad calculator that turns your pad length, width and thickness into the concrete you need in cubic yards and approximate weight, with a waste allowance and an optional cost estimate. A hot tub is heavy once it is filled, so the pad has to carry the load without cracking. Order the concrete once, at the right thickness, and the tub sits level for years.Yard CalculatorGeneralYard CalculatorA yard calculator that converts any project's length, width and depth into cubic yards, the unit most bulk suppliers sell dirt, gravel, mulch, sand and concrete by. Add a waste allowance and an optional cost estimate, and you order in the supplier's unit instead of guessing from cubic feet. Get the conversion wrong and the truck brings a load that does not match the job.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.