COC

Rectangular Prism Volume Calculator – Free Cuboid Volume & Surface Area Tool
Free Geometry Tool

Rectangular Prism Volume Calculator

Rectangular Prism Volume Calculator

Enter a valid number greater than 0
Enter a valid number greater than 0
Enter a valid number greater than 0
L W H

The illustration updates proportionally as you change length, width and height.

What Is a Rectangular Prism?

Understanding the shape behind the formulas.

A rectangular prism, also known as a cuboid or rectangular box, is one of the most common three-dimensional shapes in geometry and everyday life. It is defined as a solid figure with six faces, all of which are rectangles, where each pair of opposite faces is congruent and every interior angle measures exactly 90 degrees. Because of this strict structure, a rectangular prism is fully described by just three measurements: its length, its width, and its height. Once these three values are known, every other geometric property of the shape — including its volume, surface area, and diagonal — can be calculated directly.

It is worth clarifying the difference between a rectangular prism and a cube, since the two are often confused. A cube is technically a special case of a rectangular prism in which the length, width, and height are all equal, meaning every face is a perfect square rather than a general rectangle. A rectangular prism, on the other hand, allows these three dimensions to differ from one another, which is why it is sometimes described as an "elongated" or "stretched" cube. In practice, most real-world boxes, rooms, containers, and building blocks are rectangular prisms rather than true cubes, because their length, width, and height rarely match exactly.

Every rectangular prism has six faces, twelve edges, and eight vertices. The six faces consist of three pairs of identical rectangles: a top and bottom pair, a front and back pair, and a left and right pair. The twelve edges are the line segments where two faces meet, and they come in three groups of four parallel edges, each group corresponding to the length, the width, or the height of the shape. The eight vertices are the corner points where three edges and three faces intersect. This consistent structure is what makes rectangular prisms so predictable and so easy to calculate compared with irregular solids.

Volume is perhaps the most practical property of a rectangular prism, because it represents the total amount of three-dimensional space enclosed within the shape. Whenever you need to know how much water a tank can hold, how much concrete is needed to fill a foundation, how much product can fit inside a shipping carton, or how much storage capacity a warehouse rack provides, you are really asking for the volume of a rectangular prism. Volume is calculated by multiplying the three dimensions together, and the result is always expressed in cubic units, such as cubic centimeters or cubic feet, because three linear measurements are being combined.

Surface area, by contrast, measures the total area of the outer "skin" of the shape — the combined area of all six rectangular faces. This property matters whenever a physical material needs to cover, wrap, paint, or insulate the prism. For example, the amount of cardboard required to build a box, the amount of paint needed to coat a storage container, or the amount of insulation required to wrap a duct are all determined by surface area rather than volume. Because surface area sums the area of two-dimensional faces, it is always expressed in square units, such as square meters or square feet.

Lateral surface area is a related but more specific property: it includes only the four "side" faces of the prism — front, back, left, and right — while excluding the top and bottom faces. This measurement is particularly useful in construction and manufacturing contexts where the top and bottom of a structure are either open, finished separately, or simply not relevant to the calculation, such as wrapping the vertical walls of a room or the sides of a storage bin without including the floor or ceiling.

Base area is simply the area of the rectangular footprint formed by the length and width, ignoring height entirely. This is the figure you need when planning how much floor space a structure will occupy, how much land a foundation will cover, or how much shelf space a box will take up when placed flat. Because it only involves two dimensions, base area is always expressed in square units.

The space diagonal is the longest straight line that can be drawn inside a rectangular prism, running from one corner all the way through the interior to the opposite corner. It is calculated using a three-dimensional extension of the Pythagorean theorem, and it becomes important whenever an object needs to be transported, packed, or moved through openings such as doorways, hallways, or shipping containers, since the diagonal determines the longest item that can physically fit inside or pass through the shape.

Rectangular prisms appear constantly in everyday life: cardboard shipping boxes, brick walls, shipping containers, swimming pools, bathtubs, refrigerators, books, bricks, filing cabinets, and entire rooms are all examples of this shape. Because of this prevalence, rectangular prism calculations are used across an enormous range of industries, including construction, architecture, civil engineering, interior design, logistics and freight, warehousing, packaging and product design, furniture manufacturing, and education.

Finally, it's important to understand the difference between metric and imperial measurement systems when working with rectangular prisms. The metric system — using millimeters, centimeters, and meters — scales by powers of ten, making conversions between units simple and calculations less error-prone. The imperial system — using inches, feet, and yards — is still widely used in the United States for construction and real estate, but requires more careful unit conversion since the relationships between inches, feet, and yards are not based on powers of ten. Regardless of which system you use, the underlying formulas for volume, surface area, and diagonal remain exactly the same; only the units attached to the final answer change.

How This Calculator Works

From three measurements to six geometric results in seconds.

1

Enter Dimensions

Type the length, width and height of your rectangular prism into the three input fields. Decimal values are supported for precise measurements.

2

Choose Measurement Units

Select your preferred unit from millimeters, centimeters, meters, inches, feet or yards. The calculator applies the matching square and cubic units automatically.

3

Automatic Geometry Calculations

The calculator instantly computes volume, surface area, lateral surface area, base area, space diagonal and total edge length as soon as you click Calculate.

4

Use the Results

Apply the figures directly to construction, packaging, architecture, engineering, logistics planning or classroom learning — no manual math required.

Rectangular Prism Formulas

The six equations behind every result, explained in plain English.

Volume

Volume = L × W × H

Multiply length, width and height together to get the total space enclosed inside the prism, expressed in cubic units.

Surface Area

Surface Area = 2(LW + LH + WH)

Add the areas of all three pairs of opposite faces, then double the total, to find the entire outer surface of the prism.

Lateral Surface Area

Lateral Area = 2H(L + W)

Covers only the four vertical side faces, excluding the top and bottom — useful for wrapping or wall-area calculations.

Base Area

Base Area = L × W

The footprint of the prism when viewed from directly above, ignoring height entirely.

Space Diagonal

Diagonal = √(L² + W² + H²)

The longest straight line that fits inside the prism, running from one corner through the interior to the opposite corner.

Total Edge Length

Edge Length = 4(L + W + H)

The combined length of all twelve edges — four lengths, four widths and four heights — useful for framing or trim estimates.

L — the longest horizontal dimension of the prism (length).
W — the shorter horizontal dimension, perpendicular to length (width).
H — the vertical dimension of the prism (height).

Worked Examples

Step-by-step calculations using real dimensions.

Example 1 — L = 10 cm, W = 8 cm, H = 6 cm

Volume = 10 × 8 × 6 = 480 cm³ Surface Area = 2(10×8 + 10×6 + 8×6) = 2(80+60+48) = 376 cm² Lateral Surface Area = 2×6×(10+8) = 216 cm² Base Area = 10×8 = 80 cm² Space Diagonal = √(10² + 8² + 6²) = √200 ≈ 14.14 cm Total Edge Length = 4(10+8+6) = 96 cm

A box this size could comfortably hold a stack of folders or act as a small storage container, with the diagonal confirming the longest single item — about 14.14 cm — that could fit inside corner to corner.

Example 2 — L = 5 m, W = 4 m, H = 3 m

Volume = 5 × 4 × 3 = 60 m³ Surface Area = 2(5×4 + 5×3 + 4×3) = 2(20+15+12) = 94 m² Lateral Surface Area = 2×3×(5+4) = 54 m² Base Area = 5×4 = 20 m² Space Diagonal = √(5² + 4² + 3²) = √50 ≈ 7.07 m Total Edge Length = 4(5+4+3) = 48 m

These dimensions are typical of a small room. The 60 m³ volume helps estimate heating or cooling capacity, while the 94 m² surface area is useful for estimating paint or plaster coverage on the walls and ceiling.

Example 3 — L = 12 ft, W = 10 ft, H = 8 ft

Volume = 12 × 10 × 8 = 960 ft³ Surface Area = 2(12×10 + 12×8 + 10×8) = 2(120+96+80) = 592 ft² Lateral Surface Area = 2×8×(12+10) = 352 ft² Base Area = 12×10 = 120 ft² Space Diagonal = √(12² + 10² + 8²) = √308 ≈ 17.55 ft Total Edge Length = 4(12+10+8) = 120 ft

This is roughly the size of a small storage unit or garage bay. The 960 ft³ volume helps determine how many boxes can be stored, while the 352 ft² lateral area is useful for estimating wall insulation or siding material.

Quick Reference Tables

Formulas, units and sample results at a glance.

PropertyFormula
VolumeL × W × H
Surface Area2(LW + LH + WH)
Lateral Surface Area2H(L + W)
Base AreaL × W
Space Diagonal√(L² + W² + H²)
Total Edge Length4(L + W + H)
UnitAreaVolume
mmmm²mm³
cmcm²cm³
m
inin²in³
ftft²ft³
ydyd²yd³
LengthWidthHeightVolume
23424
555125
1086480
12108960

Benefits of Using This Calculator

Why thousands of students and professionals trust this tool.

Instant Calculations

Get all six geometric results the moment you click Calculate — no manual formula entry required.

🌐

Supports Multiple Units

Switch freely between metric and imperial units without re-entering your dimensions.

✔️

Reduces Manual Errors

Eliminate arithmetic mistakes that commonly occur with manual surface area and diagonal calculations.

🎓

Ideal for Education

Helps students visualize and verify rectangular prism homework and exam problems quickly.

🏗️

Built for Engineering & Architecture

Provides the precise figures needed for material estimation, structural planning and design.

📱

Mobile-Friendly

Fully responsive design works smoothly on phones, tablets and desktop browsers alike.

Real-World Applications

Where rectangular prism calculations matter most.

Length (L) Width (W) Height (H)

Construction

Estimating the volume of foundations, walls and structural elements before pouring materials.

Interior Room Volume

Sizing HVAC systems by calculating how much air a room's rectangular volume contains.

Shipping & Packaging

Determining carton volume to optimize freight cost and container loading efficiency.

Warehouse Storage Planning

Calculating how many rectangular units fit within a given racking or floor footprint.

Water Tank Capacity

Finding the holding capacity of rectangular tanks and cisterns for supply planning.

Concrete Estimation

Calculating the cubic volume of concrete needed for slabs, footings and beams.

Furniture Manufacturing

Determining material quantities and shipping dimensions for cabinets, drawers and boxes.

Product Packaging Design

Balancing internal volume against external surface area to minimize material costs.

Architecture

Calculating enclosed volumes for building code compliance and space planning.

Civil Engineering

Sizing culverts, retaining structures and excavation volumes accurately.

Common Mistakes to Avoid

Get the maths right by avoiding these classic errors.

Mixing units

Combining feet and inches — or any two different units — in the same calculation produces an incorrect result. Convert every dimension to one unit first.

Confusing surface area with volume

Surface area describes the outer covering of a shape in square units; volume describes the enclosed space in cubic units. They answer different questions and are never interchangeable.

Forgetting to square or cube units

Area results must always carry a squared unit (cm²) and volume results a cubed unit (cm³) — dropping the exponent leads to numbers that look right but mean something else entirely.

Using incorrect dimensions

Mixing up which measurement is the length, width or height changes the surface area and diagonal results, even though volume stays the same regardless of order.

Rounding values too early

Rounding length, width or height before calculating compounds small errors across multiple formulas. Keep full precision until the final answer.

Ignoring measurement precision

Small measurement errors get amplified in volume calculations because all three dimensions are multiplied together — always measure as precisely as the project requires.

Frequently Asked Questions

Everything you need to know about rectangular prism calculations.

What is a rectangular prism?

A rectangular prism, also called a cuboid, is a three-dimensional solid with six rectangular faces, where opposite faces are equal in size and every angle is a right angle.

How do you calculate the volume of a rectangular prism?

Multiply length by width by height: Volume = L × W × H. The result is expressed in cubic units.

What is the formula for surface area?

Surface Area = 2(LW + LH + WH), which sums the areas of all six rectangular faces.

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

A cube is a special rectangular prism where length, width and height are all equal. A rectangular prism allows these three dimensions to differ.

How do you calculate the space diagonal?

Space Diagonal = √(L² + W² + H²), the longest straight line running from one corner of the prism to the opposite corner.

What is lateral surface area?

Lateral surface area covers only the four vertical side faces of the prism, excluding the top and bottom: Lateral Area = 2H(L + W).

What is base area?

Base area is the footprint formed by length and width, calculated as L × W, ignoring height entirely.

What units are used for volume?

Volume is always expressed in cubic units, such as mm³, cm³, m³, in³, ft³ or yd³, matching whichever linear unit was entered.

Can I calculate volume in feet or inches?

Yes. This calculator supports millimeters, centimeters, meters, inches, feet and yards, applying the correct square and cubic units automatically.

What industries use rectangular prism calculations?

Construction, architecture, civil engineering, logistics, warehousing, packaging design, furniture manufacturing and education all rely on these calculations regularly.

What is the difference between volume and capacity?

Volume describes the total three-dimensional space a shape occupies, while capacity typically refers to how much a container can hold — for simple solids like a sealed rectangular prism, the two values are equivalent.

How accurate is this calculator?

The calculator uses exact mathematical formulas, so results are as accurate as the dimensions you enter, limited only by your own measurement precision.

Can I use it for construction projects?

Yes. It is well suited for estimating concrete volume, room capacity, material coverage and other construction-related calculations.

Is this calculator suitable for students?

Yes. It is designed to help students check geometry homework, visualize results with the illustration, and understand each formula step by step.

Is this calculator free to use?

Yes, this Rectangular Prism Volume Calculator is completely free to use with no signup required.

Ready to Calculate the Volume of a Rectangular Prism?

Calculate volume, surface area, and other geometric properties instantly for education, engineering, construction, logistics and DIY projects.