Volume of a rectangular prism calculator

Volume of a rectangular prism: V = a × b × c.

loading Volume of a rectangular prism calculator
About this tool

Volume of a rectangular prism (box): how it works

A rectangular prism, a box or cuboid, has three different edges: length, width and height. Its volume is the product of the three, and its total surface is the area of its six rectangular faces, two of each size.

V is the volume, a the length, b the width, c the height, S the total surface and D the space diagonal, all in the same unit.

This page opens the geometry calculator on this figure: type the measures and read every result at once, with the figure drawn and each formula next to its value. Everything is computed in your browser.

Formulas

  • Volume: V = a × b × c
  • Total surface: S = 2(ab + bc + ac)
  • Diagonal: D = √(a² + b² + c²)

Worked example

With a = 6, b = 4, c = 3:

V = a × b × c = 6 × 4 × 3 = 72
S = 2(ab + bc + ac) = 2 × (24 + 12 + 18) = 108
D = √(a² + b² + c²) = √61 = 7.8102

Table of sizes

Computed with the calculator’s own formulas, in any one unit of length (the results are in that unit, squared or cubed).

abcVolumeTotal surfaceDiagonal
2228243.4641
43224525.3852
643721087.8102
105420022011.8743
201051,00070022.9129
3020106,0002,20037.4166
50403060,0009,40070.7107

Working backwards

A missing edge is the volume divided by the other two: c = V / (a × b). A garden bed of 2 m × 1 m filled with 0.3 m of soil takes 0.6 m³, which is 600 liters. A room 4 × 3 × 2.7 m holds 32.4 m³ of air.

Common mistakes

  • Mixing units: 40 cm × 30 cm × 0.3 m is not 360. Convert everything to one unit first (0.4 × 0.3 × 0.3 = 0.036 m³ = 36 liters).
  • Inside volume is smaller than outside volume: subtract the wall thickness from each edge (twice) when you want the capacity.

Where it is used

  • A pool 8 m × 4 m with an average depth of 1.5 m holds 48,000 liters (48 m³).
  • A storage box of 40 × 30 × 30 cm holds 36 liters, and the longest object that fits diagonally is 0.58 m long.

Units

Volumes come out in cubic units of the length you type: cm × cm × cm gives cm³. 1 cm³ = 1 ml; 1000 cm³ = 1 liter; 1 m³ = 1000 liters; 1 ft³ = 28.317 liters; 1 US gallon = 3.785 liters.

How to use the calculator

  1. Fill in the measures of the figure; the example values are already there.
  2. Choose the unit of length: the results follow it, in square or cubic units.
  3. Read volume and the other measures, and copy them all with one button.

Frequently asked questions

What is the volume of a box 6 × 4 × 3?

6 × 4 × 3 = 72 cubic units.

How many liters is a cubic meter?

1000 liters. And 1 liter is 1000 cm³ (a cube of 10 cm).

How is the total surface of a box computed?

S = 2(ab + bc + ac): three pairs of equal faces. For 6 × 4 × 3 it is 108; that is the cardboard (or paint) needed, before overlaps.

Report a problem