Rectangular prism calculator

Use this rectangular prism calculator with length, width and height – or with length, width and volume. For 4 × 3 × 12 the volume is 144, the surface area 192 and the space diagonal 13, with the calculation steps.

Example: Known values: Length, width and height · Length a 4 · Width b 3 · Height c 12 → Result: Volume V = 144 · Surface area S = 192. Source: Wikipedia – Quader. Updated: .

Any length unit; areas in its square, volumes in its cube.
My ToolboxYour inputs are saved in this browser only.

Result

Result
Volume V = 144 · Surface area S = 192
All measures
  • Length a: 4
  • Width b: 3
  • Height c: 12
  • Volume V: 144
  • Surface area S: 192
  • Lateral surface area L: 168
  • Space diagonal d: 13
  • Face diagonals (ab, ac, bc): 5 · 12.64911 · 12.36932
  • Sum of all 12 edges: 76
Calculation steps
  • V = a · b · c = 4 · 3 · 12 = 144
  • S = 2 · (a·b + a·c + b·c) = 2 · (12 + 48 + 36) = 192
  • L = 2 · c · (a + b) = 2 · 12 · (4 + 3) = 168
  • d = √(a² + b² + c²) = √(16 + 9 + 144) = 13

How it is calculated

A rectangular prism (cuboid) has six rectangular faces and is defined by length a, width b and height c. A cube is the special case a = b = c. If you know the volume instead of the height, the tool uses c = V ÷ (a · b).

The formulas

How to use it

Enter the dimensions. Example: a = 4, b = 3 and c = 12 give V = 144, S = 2 · (12 + 48 + 36) = 192, L = 168 and d = √(16 + 9 + 144) = 13. The space diagonal is the longest straight line inside the box, such as the longest rod that fits in a carton. The unit is up to you; areas are in its square, the volume in its cube.

Frequently asked questions

How do you calculate the volume of a rectangular prism?

V = a · b · c, length times width times height. For 4 · 3 · 12 that is 144 cubic units.

How do you calculate its surface area?

S = 2 · (a·b + a·c + b·c): the sum of the six rectangles, which come in three equal pairs.

How do you calculate the space diagonal?

d = √(a² + b² + c²), the three-dimensional Pythagorean theorem. For 4, 3 and 12, d is exactly 13.

How do you find the height from the volume?

c = V ÷ (a · b). Choose “Length, width and volume” as the known values.

What is the difference between a cuboid and a cube?

A cube has three equal edges. Set a = b = c and you get V = a³ and S = 6 · a².

Sources and legal basis

As of: · Editorial policy

Related tools