# Rectangular prism calculator

# Rectangular prism calculator

A rectangular prism calculator is a tool used to find the volume, surface area, and diagonal of a rectangular prism. Here are the steps to use a rectangular prism calculator:

- Enter the length, width, and height of the rectangular prism into the calculator.
- Click the “Calculate” button to find the volume, surface area, and diagonal of the rectangular prism.

**Here are the formulas for finding the volume, surface area, and diagonal of a rectangular prism:**

- Volume: V = lwh, where l is the length, w is the width, and h is the height.
- Surface area: A = 2lw + 2lh + 2wh.
- Diagonal: d = sqrt(l^2 + w^2 + h^2), where sqrt means square root.

Let’s say we have a rectangular prism with a length of 4 units, a width of 3 units, and a height of 5 units. To use a rectangular prism calculator, we would follow these steps:

- Enter the values for the length, width, and height into the calculator: l = 4, w = 3, and h = 5.
- Click the “Calculate” button to find the volume, surface area, and diagonal.

**The rectangular prism calculator would give us the following results:**

- Volume: V = lwh = 4 x 3 x 5 = 60 cubic units.
- Surface area: A = 2lw + 2lh + 2wh = 2 x 4 x 3 + 2 x 4 x 5 + 2 x 3 x 5 = 94 square units.
- Diagonal: d = sqrt(l^2 + w^2 + h^2) = sqrt(4^2 + 3^2 + 5^2) = sqrt(50) = 7.071 units (rounded to three decimal places).

Therefore, the volume of the rectangular prism is 60 cubic units, the surface area is 94 square units, and the diagonal is 7.071 units.