User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Presets:
Enter dimensions and press Calculate to see results.
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

A cuboid (rectangular parallelepiped) is defined by three independent edge lengths: l, w, and h. Getting the volume wrong by even 1cm on each dimension of a 2m shipping crate compounds to a cubic error that can exceed 0.12m3 - enough to mis-quote freight costs or under-order concrete fill. This calculator computes volume V, total surface area S, the space diagonal ds, and all three face diagonals using exact arithmetic. Results are converted across 12 unit systems simultaneously.

The tool assumes a perfect right-angled cuboid. Real-world objects with draft angles, fillets, or thermal expansion require correction factors not included here. For poured concrete or granular fill, multiply the computed volume by a compaction factor (typically 1.05 - 1.10) to account for material settlement.

cuboid volume rectangular prism calculator box volume surface area calculator cuboid diagonal volume calculator

Formulas

The volume of a cuboid is the product of its three orthogonal edge lengths:

V = l ร— w ร— h

The total surface area is the sum of all six rectangular faces:

S = 2(lw + lh + wh)

The space diagonal connects two opposite vertices through the interior:

ds = โˆšl2 + w2 + h2

Each face diagonal crosses one rectangular face:

dlw = โˆšl2 + w2 , dlh = โˆšl2 + h2 , dwh = โˆšw2 + h2

Where l = length, w = width, h = height, V = volume, S = surface area, ds = space diagonal, and dlw, dlh, dwh = face diagonals of the respective planes.

Reference Data

ObjectLengthWidthHeightApprox. Volume
Standard Brick215 mm102.5 mm65 mm1,432 cm3
Shoebox35 cm20 cm12 cm8,400 cm3
20 ft Shipping Container5.9 m2.35 m2.39 m33.1 m3
40 ft Shipping Container12.03 m2.35 m2.39 m67.6 m3
Standard Pallet (EUR)1.2 m0.8 m0.144 m0.138 m3
iPhone 15 Box16.4 cm8.2 cm4.5 cm605 cm3
Swimming Pool (Residential)10 m4 m1.5 m60 m3
Concrete Foundation Slab12 m8 m0.3 m28.8 m3
King Size Mattress203 cm193 cm25 cm979,475 cm3
Rubik's Cube5.7 cm5.7 cm5.7 cm185.2 cm3
Room (Average)5 m4 m2.7 m54 m3
Filing Cabinet Drawer47 cm62 cm27 cm78,678 cm3
Refrigerator (Internal)55 cm50 cm130 cm357,500 cm3
Water Tank (1000L IBC)1.2 m1.0 m1.16 m1.392 m3
A4 Paper Ream (500 sheets)29.7 cm21 cm5 cm3,118.5 cm3

Frequently Asked Questions

Each edge measurement carries its own tolerance. For a cuboid with edges of approximately 1 m, rounding each to the nearest centimeter (ยฑ0.005 m) produces a worst-case volume error of about ยฑ0.015 mยณ - roughly 15 litres. For concrete pours or liquid tanks, always round dimensions up to the next practical increment and apply a 5-10% overfill factor.
There is no geometric difference. A cuboid, rectangular parallelepiped, and rectangular prism all denote the same solid: six rectangular faces meeting at right angles. A cube is the special case where all three edges are equal (l = w = h).
One cubic metre equals exactly 1,000 litres. One US liquid gallon equals 3.785411784 litres, so 1 mยณ โ‰ˆ 264.172 US gallons. This calculator displays converted results in multiple unit systems simultaneously.
The space diagonal is the longest straight line that fits inside the cuboid. It determines whether a rigid rod, pipe, or diagonal brace can physically fit inside a box or room. For packaging, the space diagonal of the item must be less than or equal to the space diagonal of the container.
JavaScript uses IEEE 754 double-precision floats, providing approximately 15-17 significant decimal digits. This is sufficient for dimensions ranging from sub-millimetre (e.g., microchip packages) to hundreds of kilometres (theoretical). Beyond 10ยนโต in any unit, floating-point precision begins to degrade.
Subtract twice the wall thickness from each external dimension before computing volume. For a box with external dimensions 100 ร— 60 ร— 40 cm and 2 cm wall thickness, internal volume is (100 โˆ’ 4) ร— (60 โˆ’ 4) ร— (40 โˆ’ 4) = 96 ร— 56 ร— 36 = 193,536 cmยณ, versus the external volume of 240,000 cmยณ - a 19.4% reduction.