Calculate volume, surface area, space diagonal, base area, and perimeter of a rectangular prism instantly. Free, accurate, and easy to use.
Understand the geometry behind one of the most common three-dimensional shapes.
A rectangular prism is a three-dimensional solid shape with six faces, where every face is a rectangle. It is one of the most fundamental shapes in geometry and appears everywhere in everyday life — from shipping boxes and books to buildings and storage containers.
Because all angles are right angles (90°) and opposite faces are identical, the rectangular prism is easy to measure and calculate. It is also commonly called a cuboid or simply a box.
The three key dimensions are length, width, and height. Once you know these three values, you can calculate every important measurement of the prism — from how much space it occupies (volume) to how much material you need to cover it (surface area).
Follow these simple steps to find all the key measurements.
Measure the longest horizontal edge of the rectangular prism. Record the value in your chosen unit.
Measure the shorter horizontal edge perpendicular to the length. This is the width of the base rectangle.
Measure the vertical edge from the base to the top face. This gives you the third dimension.
Multiply length × width × height. This tells you the total space inside the prism.
Use SA = 2(lw + lh + wh) to find the total area of all six faces combined.
Use d = √(l² + w² + h²) to find the longest straight line inside the prism.
All the formulas you need in one place. Variables: l = Length, w = Width, h = Height.
Multiply all three dimensions together to find the total cubic space inside the rectangular prism.
Calculate the area of all six faces. Each pair of opposite faces has the same area.
The longest straight line that can be drawn from one corner of the prism to the opposite corner.
Base area is the area of the bottom face. Base perimeter is the distance around that face.
See exactly how the calculator works with a real example.
| Dimension | Value |
|---|---|
| Length | 10 cm |
| Width | 5 cm |
| Height | 4 cm |
| Measurement | Value | Formula Used |
|---|---|---|
| Volume | 200 cm³ | 10 × 5 × 4 |
| Surface Area | 220 cm² | 2 × (50 + 40 + 20) |
| Space Diagonal | 11.87 cm | √(100 + 25 + 16) |
| Base Area | 50 cm² | 10 × 5 |
| Base Perimeter | 30 cm | 2 × (10 + 5) |
Rectangular prism calculations are used across many industries and everyday tasks.
Calculate box volume to determine shipping costs, DIM weight, and how many items fit inside.
Find capacity and footprint of storage units, tanks, and containers for logistics planning.
Estimate material quantities for concrete blocks, bricks, beams, and structural elements.
Model room volumes, building spaces, and material surfaces during the design phase.
Plan furniture placement, storage solutions, and spatial layouts with accurate measurements.
Design product packaging that maximizes protection while minimizing material and shipping costs.
Save time and eliminate errors with an instant, accurate calculation tool.
Get volume, surface area, diagonal, base area, and perimeter in seconds instead of manual math.
Eliminate human error from complex formulas. The calculator handles every step automatically.
Perfect for students learning geometry. See formulas and breakdowns to understand the math.
Quickly validate dimensions and capacities for prototypes, CAD models, and technical drawings.
Estimate materials, space requirements, and structural loads before breaking ground.
Optimize box sizes and shipping configurations to reduce waste and lower freight costs.
Everything you need to know about rectangular prisms and this calculator.
A rectangular prism is a three-dimensional geometric shape with six rectangular faces, twelve straight edges, and eight vertices. Every face meets another at a right angle (90 degrees). It is also called a cuboid or a box. If all six faces are perfect squares, it becomes a special case called a cube.
Multiply the three dimensions together: Volume = Length × Width × Height. For example, a box that is 10 cm long, 5 cm wide, and 4 cm tall has a volume of 10 × 5 × 4 = 200 cubic centimeters (cm³).
Use the formula Surface Area = 2 × (lw + lh + wh), where l = length, w = width, and h = height. This adds the areas of all six faces. Each pair of opposite faces has identical area.
The space diagonal is found using d = √(l² + w² + h²). This is derived from the 3D extension of the Pythagorean theorem. It represents the longest straight line you can draw inside the prism from one corner to the opposite corner.
There is no mathematical difference. A cuboid is simply another term for a rectangular prism. In some regions, "cuboid" is the preferred classroom term, while "rectangular prism" is more common in textbooks and technical documentation.
Yes. Use the unit selector to choose inches, feet, centimeters, or meters. The calculator will display all results in your selected unit. Just make sure all three input dimensions use the same unit before calculating.
Volume is always displayed in cubic units (e.g., cm³, in³, ft³, m³). Surface area and base area are displayed in square units (e.g., cm², in², ft², m²). Length and diagonal measurements use linear units (cm, in, ft, m).
Yes. A cube is a special case of a rectangular prism where all three dimensions — length, width, and height — are exactly equal. This means all six faces are perfect squares.
Absolutely. Any box-shaped object with six rectangular sides can be calculated using this tool. This includes shipping boxes, storage containers, rooms, buildings, and packaging.
The calculator uses standard geometric formulas and computes results with full floating-point precision. Results are rounded to two decimal places for readability. For most practical applications, this level of accuracy is more than sufficient.
Explore more geometry and measurement tools.
Volume, surface area, and diagonal of a cube.
Calculate surface area for various 3D shapes.
Find volume for cubes, cylinders, cones, and more.
Angles, areas, perimeters, and shape properties.
Calculate area for rectangles, triangles, circles.
Volume and surface area of cylinders and tubes.
Use our free Rectangular Prism Calculator to calculate volume, surface area, diagonal length, base area, and base perimeter in seconds.
Calculate Now