Code tool

Cuboid Volume and Surface Area Calculator

Enter three positive dimensions in one unit to calculate V = lwh and S = 2(lw + lh + wh).

In-browser processingNo account requiredPrivacy details ↗

Enter three finite lengths greater than zero in the same unit.

Enter the three dimensions to begin.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter length, width, and height.
  2. Optionally add a unit label.
  3. Calculate and copy both results.

Cuboid formulas

For length l, width w, and height h, volume is lwh and total surface area is 2(lw + lh + wh). Every dimension must be finite and greater than zero.

Units and precision

Enter all dimensions in the same unit. Results use squared and cubed forms and are rounded to 12 significant digits for display.

GOOD TO KNOW

Common questions

Can the dimensions use different units?

Convert them to one common unit before calculating.

Is data uploaded?

No. The calculation stays in your browser.