COC

Rectangular Prism Calculator — Free Volume, Surface Area & Diagonal Tool

Rectangular Prism Calculator

Calculate volume, surface area, space diagonal, base area, and perimeter of a rectangular prism instantly. Free, accurate, and easy to use.

Enter Dimensions

Results

Volume
cm³
Surface Area
cm²
Space Diagonal
cm
Base Area
cm²
Base Perimeter
cm

What Is a Rectangular Prism?

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.

6
Faces
12
Edges
8
Vertices

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).

How to Calculate a Rectangular Prism

Follow these simple steps to find all the key measurements.

1

Measure Length

Measure the longest horizontal edge of the rectangular prism. Record the value in your chosen unit.

2

Measure Width

Measure the shorter horizontal edge perpendicular to the length. This is the width of the base rectangle.

3

Measure Height

Measure the vertical edge from the base to the top face. This gives you the third dimension.

4

Calculate Volume

Multiply length × width × height. This tells you the total space inside the prism.

5

Calculate Surface Area

Use SA = 2(lw + lh + wh) to find the total area of all six faces combined.

6

Calculate Diagonal

Use d = √(l² + w² + h²) to find the longest straight line inside the prism.

Rectangular Prism Formulas

All the formulas you need in one place. Variables: l = Length, w = Width, h = Height.

Volume Formula

V = l × w × h

Multiply all three dimensions together to find the total cubic space inside the rectangular prism.

Surface Area Formula

SA = 2(lw + lh + wh)

Calculate the area of all six faces. Each pair of opposite faces has the same area.

Space Diagonal Formula

d = √(l² + w² + h²)

The longest straight line that can be drawn from one corner of the prism to the opposite corner.

Base Area & Perimeter

A = l × w
P = 2(l + w)

Base area is the area of the bottom face. Base perimeter is the distance around that face.

Example Calculation

See exactly how the calculator works with a real example.

Inputs

DimensionValue
Length10 cm
Width5 cm
Height4 cm

Results

MeasurementValueFormula Used
Volume200 cm³10 × 5 × 4
Surface Area220 cm²2 × (50 + 40 + 20)
Space Diagonal11.87 cm√(100 + 25 + 16)
Base Area50 cm²10 × 5
Base Perimeter30 cm2 × (10 + 5)
Full Breakdown
Volume = 10 × 5 × 4 = 200 cm³
Surface Area = 2 × ((10×5) + (10×4) + (5×4)) = 2 × (50 + 40 + 20) = 220 cm²
Diagonal = √(10² + 5² + 4²) = √(100 + 25 + 16) = √141 ≈ 11.87 cm
Base Area = 10 × 5 = 50 cm²
Base Perimeter = 2 × (10 + 5) = 30 cm

Real-World Applications

Rectangular prism calculations are used across many industries and everyday tasks.

📦

Shipping Boxes

Calculate box volume to determine shipping costs, DIM weight, and how many items fit inside.

🏗️

Storage Containers

Find capacity and footprint of storage units, tanks, and containers for logistics planning.

🧱

Construction

Estimate material quantities for concrete blocks, bricks, beams, and structural elements.

🏠

Architecture

Model room volumes, building spaces, and material surfaces during the design phase.

🛋️

Interior Design

Plan furniture placement, storage solutions, and spatial layouts with accurate measurements.

📐

Packaging

Design product packaging that maximizes protection while minimizing material and shipping costs.

Why Use a Rectangular Prism Calculator?

Save time and eliminate errors with an instant, accurate calculation tool.

Faster Calculations

Get volume, surface area, diagonal, base area, and perimeter in seconds instead of manual math.

Improved Accuracy

Eliminate human error from complex formulas. The calculator handles every step automatically.

Educational Use

Perfect for students learning geometry. See formulas and breakdowns to understand the math.

Engineering Support

Quickly validate dimensions and capacities for prototypes, CAD models, and technical drawings.

Construction Planning

Estimate materials, space requirements, and structural loads before breaking ground.

Packaging Calculations

Optimize box sizes and shipping configurations to reduce waste and lower freight costs.

Frequently Asked Questions

Everything you need to know about rectangular prisms and this calculator.

What is a rectangular prism?

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.

How do you find the volume of a rectangular prism?

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³).

How do you calculate surface area?

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.

How do you find the diagonal of a rectangular prism?

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.

What is the difference between a cuboid and a rectangular prism?

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.

Can I calculate dimensions in different units?

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.

What units are used for volume and surface area?

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).

Is a cube a type of rectangular prism?

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.

Can I use this calculator for boxes and containers?

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.

How accurate is this calculator?

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.

Calculate Rectangular Prism Measurements Instantly

Use our free Rectangular Prism Calculator to calculate volume, surface area, diagonal length, base area, and base perimeter in seconds.

Calculate Now