Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Solid Geometry Calculators
  4. /Rectangular Prism Calculator

Rectangular Prism Calculator

Last updated: March 15, 2026

Calculator

Results

Volume

120

units³

Surface Area

158

units²

Space Diagonal

9.8995

units

Results

Volume

120

units³

Surface Area

158

units²

Space Diagonal

9.8995

units

In This Guide

  1. 01Formulas
  2. 02Special Cases
  3. 03Practical Applications

The Rectangular Prism Calculator computes the volume, surface area, and space diagonal of a rectangular prism (also called a cuboid or rectangular box). A rectangular prism is a three-dimensional solid with six rectangular faces, where opposite faces are congruent and parallel. It is the most common solid shape encountered in everyday life—from shipping boxes to rooms to bricks.

Formulas

Given length $$l$$, width $$w$$, and height $$h$$:

Volume:

$$V = l \times w \times h$$

The volume equals the product of the three edge lengths. It measures how much space the box encloses.

Surface Area:

$$SA = 2(lw + lh + wh)$$

The surface area sums all six rectangular faces. There are three pairs of congruent opposite faces: two of area $$lw$$, two of area $$lh$$, and two of area $$wh$$.

Space Diagonal:

$$d = \sqrt{l^2 + w^2 + h^2}$$

The space diagonal connects two opposite vertices through the interior of the prism. It is derived by applying the Pythagorean theorem in three dimensions. First, the base diagonal is $$\sqrt{l^2 + w^2}$$, then the space diagonal extends this by the height: $$d = \sqrt{(\sqrt{l^2 + w^2})^2 + h^2} = \sqrt{l^2 + w^2 + h^2}$$.

Special Cases

When all three dimensions are equal ($$l = w = h = a$$), the rectangular prism becomes a cube, and the formulas simplify to $$V = a^3$$, $$SA = 6a^2$$, $$d = a\sqrt{3}$$. When one dimension is very small compared to the others, the prism approximates a flat rectangular plate or slab.

Practical Applications

Shipping and logistics: Dimensional weight (DIM weight) for freight pricing is based on the volume of the rectangular prism that encloses a package. Carriers use $$l \times w \times h$$ divided by a DIM factor to calculate billable weight.

Construction: Concrete volume for slabs, footings, and walls is calculated as rectangular prism volumes. A slab 10 m × 8 m × 0.15 m requires 12 m³ of concrete.

Interior design: Room volumes ($$l \times w \times h$$) determine HVAC sizing, since air conditioning capacity must match the volume of air to be cooled or heated.

Aquariums: The volume of a rectangular tank gives its water capacity. A 60 × 30 × 40 cm tank holds 72,000 cm³ = 72 liters.

Enter length, width, and height to compute all three properties at once.

Visual Analysis

How It Works

Enter the three dimensions of the rectangular prism: length, width, and height. The calculator multiplies them for volume, sums the three face-pair areas for surface area, and applies the 3D Pythagorean theorem for the space diagonal.

Understanding Your Results

Volume is in cubic units (e.g., m³, cm³). Surface area is in square units (e.g., m²). The space diagonal is the longest straight line that fits inside the box—useful for determining whether a long object (like a rod or a TV) can fit diagonally inside.

Worked Examples

Shipping Box

Inputs

length60
width40
height30

Results

volume72000
surfaceArea10800
spaceDiagonal78.1025

A 60×40×30 cm box has volume 72,000 cm³ (72 liters), surface area 10,800 cm², and space diagonal ≈78.1 cm—meaning a 75-cm rod will not fit diagonally.

Room Volume for HVAC

Inputs

length5
width4
height2.7

Results

volume54
surfaceArea94.6
spaceDiagonal6.9714

A room 5×4×2.7 m has 54 m³ of air volume. Standard HVAC sizing uses approximately 30–40 BTU per m³.

Frequently Asked Questions

They are the same shape. "Rectangular prism" is the term commonly used in American mathematics education, while "cuboid" is preferred in British English and many international textbooks.

Volume alone is insufficient—infinitely many combinations of $$l$$, $$w$$, $$h$$ produce the same volume. You need at least two additional constraints (e.g., ratios between dimensions or specific surface area).

The space diagonal $$d = \sqrt{l^2 + w^2 + h^2}$$ gives the length of the longest straight rod that fits inside. This is why the calculator computes it.

DIM weight = $$\frac{l \times w \times h}{\text{DIM factor}}$$. Common DIM factors are 5000 (cm/kg) or 139 (in/lb). The billable weight is the greater of actual weight and DIM weight.

Yes, by definition. A rectangular prism has six rectangular faces meeting at right angles. If the faces are not rectangles or the angles are not 90°, it is a more general parallelepiped.

If dimensions are in cm: divide volume in cm³ by 1000 for liters. If in inches: divide volume in in³ by 231 for US gallons. If in m: multiply m³ by 1000 for liters.

Sources & Methodology

Stewart, J. (2015). Calculus: Early Transcendentals, 8th Edition. Cengage Learning. | Weisstein, E. W. "Rectangular Parallelepiped." MathWorld—A Wolfram Web Resource.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Volume Calculator

Solid Geometry Calculators

Surface Area Calculator

Solid Geometry Calculators

Cube Calculator

Solid Geometry Calculators

Cube Volume Calculator

Solid Geometry Calculators

Cylinder Calculator

Solid Geometry Calculators

Cylinder Volume Calculator

Solid Geometry Calculators