Result
How the Cuboid Calculator Works
Enter the length, width, and height of your cuboid in the same unit, then click Calculate. The calculator returns three values: volume (how much space the cuboid occupies), surface area (the total area of all six faces), and space diagonal (the longest straight line that fits inside the cuboid from corner to corner).
The formulas are applied using your exact inputs. The result panel also displays the formula with your numbers substituted in, so you can verify each step. Use consistent units throughout: if you enter metres, volume comes out in m³ and surface area in m². Mixing metres and centimetres without converting first will give wrong answers.
Cuboid Formulas and Worked Examples
Volume: V = L × W × H
Surface Area: SA = 2(LW + LH + WH)
Space Diagonal: d = √(L² + W² + H²)
Example 1: A room (5 m × 4 m × 3 m)
- Volume = 5 × 4 × 3 = 60 m³
- Surface Area = 2(5×4 + 5×3 + 4×3) = 2(20 + 15 + 12) = 2 × 47 = 94 m²
- Diagonal = √(25 + 16 + 9) = √50 = 7.07 m
The 94 m² surface area tells you how much paint or wallpaper is needed for every wall, the floor, and the ceiling combined. The 60 m³ volume is the starting point for air conditioning load calculations.
Example 2: A shipping carton (60 cm × 40 cm × 30 cm)
- Volume = 60 × 40 × 30 = 72,000 cm³ = 72 litres
- Surface Area = 2(60×40 + 60×30 + 40×30) = 2(2,400 + 1,800 + 1,200) = 2 × 5,400 = 10,800 cm² = 1.08 m²
- Diagonal = √(3,600 + 1,600 + 900) = √6,100 = 78.1 cm
The 1.08 m² surface area is the cardboard needed before adding overlap and flaps (typically 10 to 15% extra). The 78.1 cm diagonal is the longest rigid item that can fit inside the carton.
AC sizing using room volume
The 5 m × 4 m × 3 m room has volume 60 m³ = 2,119 cubic feet (multiply m³ by 35.315). A rule of thumb for Indian climates: 1 ton of AC capacity handles 300 to 360 cubic feet. So 2,119 ÷ 360 ≈ 5.9 loads, rounded up to a 2-ton unit. Always verify with a certified HVAC engineer for accurate load calculations.
Real-World Uses of the Cuboid Calculator
- Shipping and packaging: Logistics teams calculate carton volume to optimise pallet stacking and container loading. Surface area guides cardboard procurement. A standard export carton 60 × 40 × 30 cm has 72 litres volume and requires 1.08 m² of board per box.
- Room air conditioning: HVAC engineers use room volume (m³) as the primary input for cooling load estimates. Converting to cubic feet and applying local BTU-per-cubic-foot standards gives a first-pass tonnage figure before detailed heat gain analysis.
- Swimming pools: A backyard pool 8 m × 4 m × 1.5 m holds 48 m³ = 48,000 litres. The surface area (2(32 + 12 + 6) = 100 m²) determines how much pool liner or waterproofing material is needed.
- Storage rooms and warehouses: Warehouse managers measure usable cubic footage to optimise rack layouts. A storage room 10 m × 6 m × 4 m provides 240 m³ of gross space; subtracting rack structure typically leaves 60 to 70% as net usable volume.
- Concrete and fill material: Calculating how many cubic metres of concrete or soil fill a rectangular foundation or trench uses the same volume formula directly.
Frequently Asked Questions
Multiply all three dimensions: V = L × W × H. For a room 5 m × 4 m × 3 m, volume = 60 m³. To convert to litres, multiply by 1,000: 60,000 litres. To convert to cubic feet, multiply by 35.315: 2,119 cubic feet. All three dimensions must be in the same unit before multiplying.
Surface area = 2(LW + LH + WH). A cuboid has three pairs of identical rectangular faces. LW gives the area of the top and bottom pair, LH gives the front and back pair, WH gives the left and right pair. Multiply the sum of these three areas by 2 to count all six faces. For a 5 × 4 × 3 m room: SA = 2(20 + 15 + 12) = 94 m².
The space diagonal is the straight-line distance from one corner to the opposite corner through the interior of the cuboid. Formula: d = √(L² + W² + H²). For a 5 × 4 × 3 m room: d = √(25 + 16 + 9) = √50 = 7.07 m. This is the longest rigid object (a rod or pipe) that can fit inside the room lying diagonally.
A cube is a special cuboid where all three dimensions are equal (L = W = H). All six faces are squares of the same size. A general cuboid has three potentially different dimensions, and its faces are rectangles. All cubes are cuboids, but cuboids with unequal sides are not cubes. In packaging, a cube-shaped box minimises surface area (cardboard use) for a given volume.
Enter the room dimensions in metres to get the volume in m³. Multiply by 35.315 to convert to cubic feet. Apply the rule of thumb: 1 ton of AC covers 300 to 360 cubic feet in Indian climates. A room with 60 m³ volume = 2,119 cubic feet needs approximately 2,119 ÷ 360 = 5.9 cooling loads, rounded up to a 2-ton unit. For final sizing, heat gain from sunlight, occupants, and appliances must also be assessed by an HVAC professional.
Use the surface area formula SA = 2(LW + LH + WH). For a carton 60 cm × 40 cm × 30 cm: SA = 2(2400 + 1800 + 1200) = 10,800 cm² = 1.08 m². In production, add 10 to 15% for flap overlaps and manufacturing waste. For a run of 10,000 such cartons, you need approximately 10,000 × 1.08 × 1.12 = 12,096 m² of board.
The calculator applies the formulas using 64-bit floating-point arithmetic. For whole-number dimensions the results are exact integers. For decimal dimensions, results are accurate to at least 10 significant digits and displayed to 6 decimal places. Measurement error in your input dimensions is the dominant source of inaccuracy in practice. A 1 cm error in each dimension of a 5 × 4 × 3 m room creates a volume error of roughly 0.08 m³ or 80 litres.
This calculator requires all angles to be 90 degrees and all faces to be rectangles. If your container has slanted walls, a hexagonal cross-section, or any face that is not a rectangle, the cuboid formulas do not apply. For such shapes, decompose the container into simpler cuboid sections, calculate each section separately, and sum the volumes. The surface area requires careful accounting to avoid double-counting shared faces.