Geometry · Formula v1.0

Rectangular Prism Volume Calculator

Calculate the volume, surface area and space diagonal of a box from its length, width and height.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Volume72
Surface area108
Space diagonal7.8
Sensitivity check

What if length changes?

-10% input64.8
0% input72
+10% input79.2

Answer first

What this calculator tells you

Calculate the volume, surface area and space diagonal of a box from its length, width and height. Size a box, tank or room before you buy fill, wrap or paint for it. Formula: Volume = l × w × h; surface area = 2(lw + lh + wh); space diagonal = √(l² + w² + h²). At the worked-example inputs, the volume is 72. Holding every other input steady, moving length from 4.8 to 7.2 moves the result from 57.6 to 86.4.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Volume = l × w × h; surface area = 2(lw + lh + wh); space diagonal = √(l² + w² + h²)At the worked-example inputs the volume is 72. It rises with width, length and height.

Size a box, tank or room before you buy fill, wrap or paint for it.

Worked example

Volume72
Surface area108
Space diagonal7.8

Example inputs

Length6
Width4
Height3

How to interpret the result

A box has three numbers and three different jobs for them. Multiply all three for how much it holds. Add up its six faces for how much wrapping, paint or insulation covers it. Take the diagonal for the longest straight object that fits inside. A 6 by 4 by 3 box holds 72 cubic units, needs 108 square units of surface and swallows a rod up to about 7.8 units long.

At the worked-example inputs the volume is 72. It rises with width, length and height.

Interpretation boundary

Formulas assume ideal geometric shapes. Real-world measurements carry their own error, and every input must use the same unit: mixing feet and inches silently produces a wrong answer.

Before you rely on it

What to check

Use one unit for all three sides before you calculate. Mixing inches and feet gives a volume that is wrong by a factor no one will spot on sight.

The common error

Where people go wrong with rectangular prism volume calculator

Reading surface area as volume because both come from the same three numbers. One is measured in square units and the other in cubic units, and they answer different questions.

Sensitivity evidence

How length changes the volume

Holding every other input at the worked-example value, moving length from 4.8 to 7.2 moves the volume from 57.6 to 86.4: a spread of 28.8, or 40% of the worked-example result.

Rectangular Prism Volume Calculator: volume and surface area and space diagonal across a range of length, every other input held at the worked-example value.
LengthVolumeSurface areaSpace diagonal
4.857.691.26.9
5.464.899.67.4
6worked example721087.8
6.679.2116.48.3
7.286.4124.88.8

Every input, tested

Which input moves the volume most

Of the 3 inputs, width moves the volume most (14.4 across the range tested) and height moves it least (14.4).

Rectangular Prism Volume Calculator: volume with each input moved on its own, every other input held at the worked-example value.
InputTested fromToVolume at each endSwing
Width3.64.464.8 to 79.214.4 (20%)
Length5.46.664.8 to 79.214.4 (20%)
Height2.73.364.8 to 79.214.4 (20%)

Two variables at once

Volume by length and width

Across the grid the volume runs from 46.1 to 103.7. Moving length from 4.8 to 7.2 shifts it by 28.8 at the middle column, and moving width from 3.2 to 4.8 shifts it by 28.8 at the middle row, so neither is the bigger lever here.

Rectangular Prism Volume Calculator: volume at each combination of length (rows) and width (columns).
Length \ Width3.244.8
4.846.157.669.1
5.451.864.877.8
657.67286.4
6.663.479.295
7.269.186.4103.7

The highlighted cell is the worked example: 72.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the rectangular prism volume calculator.
InputValue usedWhat it means
Length6Enter the length used in this calculation.
Width4Enter the width used in this calculation.
Height3Enter the height used in this calculation.
Volume72
Surface area108
Space diagonal7.8

Inputs, definitions and assumptions

Length

Enter the length used in this calculation. The prefilled worked-example value is 6.

Width

Enter the width used in this calculation. The prefilled worked-example value is 4.

Height

Enter the height used in this calculation. The prefilled worked-example value is 3.

How to use this calculator

  1. 1Verify the inputs. Gather length, width and height from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the volume at 72. Store your own version of it as Scenario A.
  3. 3Test one change. Start with width, the input with the biggest effect here: moving width from 3.6 to 4.4 takes the volume from 64.8 to 79.2, a swing of 20% of the worked-example figure.
  4. 4Check the extremes. At half the example width (2) the volume is 36; at double (8) it is 144.

People also ask

Frequently asked questions

How do you calculate rectangular prism volume?

Volume = l × w × h; surface area = 2(lw + lh + wh); space diagonal = √(l² + w² + h²). At the worked-example inputs the volume is 72.

What does the rectangular prism volume result mean?

Size a box, tank or room before you buy fill, wrap or paint for it. At the worked-example inputs the volume is 72. It rises with width, length and height.

How much does length change the volume?

Holding every other input at the worked-example value, moving length from 4.8 to 7.2 moves the volume from 57.6 to 86.4, a spread of 28.8.

What are the limits of this rectangular prism volume calculator?

Formulas assume ideal geometric shapes. Real-world measurements carry their own error, and every input must use the same unit: mixing feet and inches silently produces a wrong answer. The tables on this page test length only from 4.8 to 7.2; a value outside that range is not tabulated here.

Which input moves the volume most in the rectangular prism volume calculator?

Ranked by how far each moves the volume across the range tested: width (14.4, 20%), length (14.4, 20%) and height (14.4, 20%).

If I double width in the rectangular prism volume calculator, does the volume double?

Doubling it from 4 to 8 takes the volume from 72 to 144, which is 2.00 times the worked-example figure. So the result scales almost exactly in proportion. Halving it to 2 gives 36.

How much does width matter in the rectangular prism volume calculator?

The worked example uses 4. With the other inputs left at the worked example, moving width from 3.6 to 4.4 takes the volume from 64.8 to 79.2, a swing of 20% of the worked-example figure.

How much does height matter in the rectangular prism volume calculator?

The worked example uses 3. Holding every other input at its worked-example value, moving height from 2.7 to 3.3 takes the volume from 64.8 to 79.2, a swing of 20% of the worked-example figure.

Which inputs change the surface area in the rectangular prism volume calculator?

At the worked-example inputs it is 108. Length takes it from 99.6 to 116.4, width takes it from 100.8 to 115.2 and height takes it from 102 to 114.

Which inputs change the space diagonal in the rectangular prism volume calculator?

At the worked-example inputs it is 7.8. Length takes it from 7.4 to 8.3, width takes it from 7.6 to 8 and height takes it from 7.7 to 7.9.

Does it matter which units I use for area and volume calculators?

Yes, and consistently. If length is in feet, area comes out in square feet and volume in cubic feet automatically, but only if every input uses the same base unit. Mixing feet and inches in one calculation silently produces a wrong answer with no error shown.

All geometry questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Heron's formula : glossary term
A method for calculating a triangle's area from its three side lengths alone, without needing a separate height measurement. The method computes the semi-perimeter, half the sum of the three sides, then combines it with each side under a square root. Unlike the base-times-height formula, it applies to any triangle. Right, obtuse or scalene. The only condition is that the three lengths can actually form one.
Body surface area : glossary term
The total external surface area of the body, estimated from height and weight. Some clinical dosing and burn assessment work from it.