The illustration updates proportionally as you change length, width and height.
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.
From three measurements to six geometric results in seconds.
Type the length, width and height of your rectangular prism into the three input fields. Decimal values are supported for precise measurements.
Select your preferred unit from millimeters, centimeters, meters, inches, feet or yards. The calculator applies the matching square and cubic units automatically.
The calculator instantly computes volume, surface area, lateral surface area, base area, space diagonal and total edge length as soon as you click Calculate.
Apply the figures directly to construction, packaging, architecture, engineering, logistics planning or classroom learning — no manual math required.
The six equations behind every result, explained in plain English.
Multiply length, width and height together to get the total space enclosed inside the prism, expressed in cubic units.
Add the areas of all three pairs of opposite faces, then double the total, to find the entire outer surface of the prism.
Covers only the four vertical side faces, excluding the top and bottom — useful for wrapping or wall-area calculations.
The footprint of the prism when viewed from directly above, ignoring height entirely.
The longest straight line that fits inside the prism, running from one corner through the interior to the opposite corner.
The combined length of all twelve edges — four lengths, four widths and four heights — useful for framing or trim estimates.
Step-by-step calculations using real dimensions.
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.
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.
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.
Formulas, units and sample results at a glance.
| Property | Formula |
|---|---|
| Volume | L × W × H |
| Surface Area | 2(LW + LH + WH) |
| Lateral Surface Area | 2H(L + W) |
| Base Area | L × W |
| Space Diagonal | √(L² + W² + H²) |
| Total Edge Length | 4(L + W + H) |
| Unit | Area | Volume |
|---|---|---|
| mm | mm² | mm³ |
| cm | cm² | cm³ |
| m | m² | m³ |
| in | in² | in³ |
| ft | ft² | ft³ |
| yd | yd² | yd³ |
| Length | Width | Height | Volume |
|---|---|---|---|
| 2 | 3 | 4 | 24 |
| 5 | 5 | 5 | 125 |
| 10 | 8 | 6 | 480 |
| 12 | 10 | 8 | 960 |
Why thousands of students and professionals trust this tool.
Get all six geometric results the moment you click Calculate — no manual formula entry required.
Switch freely between metric and imperial units without re-entering your dimensions.
Eliminate arithmetic mistakes that commonly occur with manual surface area and diagonal calculations.
Helps students visualize and verify rectangular prism homework and exam problems quickly.
Provides the precise figures needed for material estimation, structural planning and design.
Fully responsive design works smoothly on phones, tablets and desktop browsers alike.
Where rectangular prism calculations matter most.
Estimating the volume of foundations, walls and structural elements before pouring materials.
Sizing HVAC systems by calculating how much air a room's rectangular volume contains.
Determining carton volume to optimize freight cost and container loading efficiency.
Calculating how many rectangular units fit within a given racking or floor footprint.
Finding the holding capacity of rectangular tanks and cisterns for supply planning.
Calculating the cubic volume of concrete needed for slabs, footings and beams.
Determining material quantities and shipping dimensions for cabinets, drawers and boxes.
Balancing internal volume against external surface area to minimize material costs.
Calculating enclosed volumes for building code compliance and space planning.
Sizing culverts, retaining structures and excavation volumes accurately.
Get the maths right by avoiding these classic errors.
Combining feet and inches — or any two different units — in the same calculation produces an incorrect result. Convert every dimension to one unit first.
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.
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.
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 length, width or height before calculating compounds small errors across multiple formulas. Keep full precision until the final answer.
Small measurement errors get amplified in volume calculations because all three dimensions are multiplied together — always measure as precisely as the project requires.
Everything you need to know about rectangular prism calculations.
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.
Multiply length by width by height: Volume = L × W × H. The result is expressed in cubic units.
Surface Area = 2(LW + LH + WH), which sums the areas of all six rectangular faces.
A cube is a special rectangular prism where length, width and height are all equal. A rectangular prism allows these three dimensions to differ.
Space Diagonal = √(L² + W² + H²), the longest straight line running from one corner of the prism to the opposite corner.
Lateral surface area covers only the four vertical side faces of the prism, excluding the top and bottom: Lateral Area = 2H(L + W).
Base area is the footprint formed by length and width, calculated as L × W, ignoring height entirely.
Volume is always expressed in cubic units, such as mm³, cm³, m³, in³, ft³ or yd³, matching whichever linear unit was entered.
Yes. This calculator supports millimeters, centimeters, meters, inches, feet and yards, applying the correct square and cubic units automatically.
Construction, architecture, civil engineering, logistics, warehousing, packaging design, furniture manufacturing and education all rely on these calculations regularly.
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.
The calculator uses exact mathematical formulas, so results are as accurate as the dimensions you enter, limited only by your own measurement precision.
Yes. It is well suited for estimating concrete volume, room capacity, material coverage and other construction-related calculations.
Yes. It is designed to help students check geometry homework, visualize results with the illustration, and understand each formula step by step.
Yes, this Rectangular Prism Volume Calculator is completely free to use with no signup required.
Calculate volume, surface area, and other geometric properties instantly for education, engineering, construction, logistics and DIY projects.