Cuboid Calculator

Calculate the volume, surface area, lateral area, base area, and space diagonal of a cuboid. Enter length, width, and height for complete results with formulas.

931.9K uses Updated · 2026-05-06 Runs locally · zero upload
AD

How to Use Cuboid Calculator

The Cuboid Calculator computes five key measurements of a rectangular box from three simple inputs: length, width, and height. Enter any three positive values and the calculator instantly shows volume, total surface area, lateral surface area, base area, and space diagonal.

  1. Length (l) — The longest horizontal dimension of the cuboid.
  2. Width (w) — The shorter horizontal dimension.
  3. Height (h) — The vertical dimension.
  4. Review the Results — The Cuboid Calculator displays all five measurements and the formulas used, so every value is fully traceable.

All three dimensions must be positive numbers. You may use any unit consistently (cm, m, inches, feet) — the calculator does not assume a specific unit.

Formula & Theory - Cuboid Calculator

The Cuboid Calculator uses this core formula or rule set for a rectangular parallelepiped (box):

Volume:              V = l × w × h
Total Surface Area:  A = 2(lw + lh + wh)
Lateral Surface Area: L = 2h(l + w)
Base Area:           B = l × w
Space Diagonal:      d = √(l² + w² + h²)
SymbolMeaning
lLength of the cuboid
wWidth of the cuboid
hHeight of the cuboid
VVolume (cubic units)
ATotal surface area (square units)
LLateral (side) surface area
BBase area (top and bottom faces)
dSpace diagonal length

The total surface area formula counts all six faces: two bases (l × w each), two front/back faces (l × h each), and two side faces (w × h each). The space diagonal uses the three-dimensional Pythagorean theorem — first find the face diagonal √(l² + w²), then extend it to 3D with height h.

Assumptions and Limits

This calculator treats the cuboid as a perfect rectangular box with right-angle corners. All three input dimensions must be positive. A cube is a special case where l = w = h.

Use Cases for Cuboid Calculator

The Cuboid Calculator is ideal whenever you need fast, accurate measurements of box-shaped objects:

  • Geometry homework — Solve textbook problems involving cuboid volume and surface area.
  • Packaging estimation — Determine how much material is needed to wrap or manufacture a box.
  • Box capacity calculation — Find the interior volume of storage containers, shipping boxes, or room dimensions.
  • Construction materials — Calculate how much concrete, wood, or insulation is needed for a rectangular structure.
  • 3D modeling — Verify the proportions of box primitives in design or game-development software.

The Cuboid Calculator gives you all five measurements in one pass, eliminating the need to run multiple formulas manually and reducing the risk of arithmetic errors.

Frequently asked questions about Cuboid Calculator

What is the formula for the volume of a cuboid?

The volume of a cuboid is V = l × w × h, where l is length, w is width, and h is height.

How do you calculate the total surface area of a cuboid?

The total surface area is A = 2(lw + lh + wh). This adds up the areas of all six rectangular faces.

What is the space diagonal of a cuboid?

The space diagonal connects two opposite vertices through the interior. Its length is d = √(l² + w² + h²), derived from the Pythagorean theorem extended to three dimensions.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.