Box Volume Calculator (Rectangular Prism)

Quick answer

The box volume calculator finds the volume, surface area and space diagonal of a rectangular box from its length, width and height, with conversion to litres, gallons and cubic feet.

Volume
—
Surface area
—
Space diagonal
—

Boxes, rooms, tanks and shipping cartons are all rectangular prisms.

How to use the Box Volume Calculator

  1. Length
  2. Width
  3. Height
  4. Want to work backwards? Type a value into Volume and Height is calculated for you.

Results update as you type, and every field accepts the units shown in its menu.

How it works

Multiply the three dimensions for volume and add the areas of the six faces for surface area.

Inputs explained

Field What to enter
Length Units: m, cm, mm, km, in, ft …
Width Units: m, cm, mm, km, in, ft …
Height Units: m, cm, mm, km, in, ft …

What each result means

  • Volume = [Length]×[Width]×[Height]
  • Surface area = 2×([Length]×[Width] + [Length]×[Height] + [Width]×[Height])
  • Space diagonal = sqrt([Length]^2 + [Width]^2 + [Height]^2)

Example values

How the main result changes when Height changes and everything else stays at the example values above:

Height (m) Volume (m³)
0.5 1.5
0.75 2.25
1 3
1.25 3.75
1.5 4.5
2 6

Formula

V = l × w × hSurface area = 2(lw + lh + wh)

Worked example

Inputs — Length: 2 m; Width: 1.5 m; Height: 1 m.
Results — Volume = 3 m³; Surface area = 13 m²; Space diagonal = 2.69 m.

Frequently asked questions

How do I convert to litres?

Choose L in the volume unit menu; 1 m³ = 1,000 L.

Will a long object fit?

Compare its length with the space diagonal.

What formula does the Box Volume Calculator use?

V = l × w × h.

Can I work backwards from the result?

Yes. Type the result you want into Volume and the calculator finds the matching height.

Cite this calculator

Speedy Calculator. (2026). Box Volume Calculator (Rectangular Prism). Speedy Calculator. https://speedycalculator.com/calculators/math/rectangular-prism/