Calculators.Life Calculator
Math

Rectangular Prism Calculator

Input Parameters

Scenarios
Length of the base of the rectangular prism
Width of the base of the rectangular prism
Height of the rectangular prism

Computed Results

Volume (V)
3,240
Surface Area (A)1,332
Lateral Surface Area900
Space Diagonal (d)26.3249
Base Area216
Base Perimeter60

The rectangular prism calculator determines the volume, surface area, lateral surface area, and space diagonal of a three-dimensional box. By entering the length, width, and height, you can quickly find the total space enclosed by the prism and the total area of its outer surfaces.

How to Use the Rectangular Prism Calculator

To calculate the properties of a rectangular prism, follow these steps:

  1. Enter the Length (l) of the base of the rectangular prism.
  2. Enter the Width (w) of the base.
  3. Enter the Height (h) of the prism.

The calculator will automatically compute the volume, total surface area, lateral surface area, space diagonal, base area, and base perimeter based on your inputs.

Formulas and Explanation

The calculator uses standard geometric formulas to determine the properties of a rectangular prism. The calculations rely on the length (l), width (w), and height (h) provided.

Inputs and Outputs

FieldTypeDescription
Length (l)InputLength of the base of the rectangular prism.
Width (w)InputWidth of the base of the rectangular prism.
Height (h)InputHeight of the rectangular prism.
Volume (V)OutputThe total space enclosed by the prism.
Surface Area (A)OutputThe total area of all six faces.
Lateral Surface AreaOutputThe area of the four vertical faces.
Space Diagonal (d)OutputThe distance between opposite corners through the center.
Base AreaOutputThe area of the bottom face.
Base PerimeterOutputThe distance around the bottom face.

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different dimensions:

Default Scenario

If a prism has a length of 18, a width of 12, and a height of 15, the volume is 3,240. The total surface area is 1,332, the lateral surface area is 900, and the space diagonal is 26.3249. The base area is 216, and the base perimeter is 60.

Small Cube Container Dimensions

For a cube with a length of 5, width of 5, and height of 5, the volume is 125. The surface area is 150, the lateral surface area is 100, and the space diagonal is 8.6603. The base area is 25, and the base perimeter is 20.

Standard Shipping Box Dimensions

With a length of 24, width of 18, and height of 12, the volume is 5,184. The surface area is 1,872, the lateral surface area is 1,008, and the space diagonal is 32.311. The base area is 432, and the base perimeter is 84.

Large Storage Unit Dimensions

For a large unit with a length of 120, width of 96, and height of 80, the volume is 921,600. The surface area is 57,600, the lateral surface area is 34,560, and the space diagonal is 173.2513. The base area is 11,520, and the base perimeter is 432.

Flat Sheet or Panel Dimensions

For a flat panel with a length of 48, width of 48, and height of 0.5, the volume is 1,152. The surface area is 4,704, the lateral surface area is 96, and the space diagonal is 67.8841. The base area is 2,304, and the base perimeter is 192.

Practical Use Cases

Calculating the properties of a rectangular prism is useful in various practical applications. It helps determine the capacity of containers, shipping boxes, or storage units by finding the volume. Surface area calculations are necessary when determining the amount of material needed to construct a box or the amount of paint required to cover its exterior. The space diagonal is useful when determining the maximum length of an object that can fit inside a rectangular space.

Frequently Asked Questions

What is the difference between surface area and lateral surface area?

Surface area includes the area of all six faces of the rectangular prism. Lateral surface area includes only the four vertical faces, excluding the top and bottom bases.

How is the space diagonal calculated?

The space diagonal is calculated using the three-dimensional Pythagorean theorem. It is the square root of the sum of the squares of the length, width, and height.

Can this calculator be used for a cube?

Yes, a cube is a special type of rectangular prism where the length, width, and height are all equal. Entering the same value for all three inputs will correctly calculate the properties of a cube.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.