Cuboid Volume Calculator

Calculate the volume of a cuboid (rectangular prism)

By Drew Budwin · Last updated July 2026 · Methodology

Must be greater than 0

Must be greater than 0

Must be greater than 0

Embed this calculator

Add it to your website or blog

Embed this calculator

Theme

Paste this code into your website's HTML where you want the calculator to appear. It adds a small credit link back to CalcTray. Please keep it. How embedding works.

Optional: auto-resize iframe to fit content

Add this snippet to your page so the iframe height adjusts automatically after each calculation:

Cuboid Volume Calculator Formula

Volume of a cuboid:

V = l × w × h

l = length, w = width, h = height

How to Use This Calculator

  1. Enter the length of the cuboid.
  2. Enter the width of the cuboid.
  3. Enter the height of the cuboid.
  4. Click Calculate Volume to see the result.

Frequently Asked Questions

What is a cuboid?

A cuboid (also called a rectangular prism) is a 3D shape with six rectangular faces. Unlike a cube, the three dimensions — length, width, and height — can each be different values.

What units does this calculator use?

This calculator is unit-agnostic. If you enter measurements in centimeters, the result is in cubic centimeters (cm³). Use whatever unit matches your measurements.

How do I find the volume of a box?

A box is a cuboid. Measure its length, width, and height (all in the same unit), then multiply them together: V = l × w × h.

What is the surface area of a cuboid?

The surface area is SA = 2(lw + lh + wh). For example, a box that is 3 × 4 × 5 has a surface area of 2(12 + 15 + 20) = 94 square units.

How do I convert cubic units to liters?

One liter equals 1,000 cubic centimeters (cm³) or 0.001 cubic meters (m³). To convert a cuboid's volume to liters, calculate in centimeters and divide by 1,000. Our volume converter can handle this conversion for you.

How do I calculate how many boxes fit in a shipping container?

Divide the container's interior volume by one box's volume for the theoretical maximum. A 20-foot container holds roughly 33 m³ of interior space. A box measuring 0.3 × 0.3 × 0.4 m occupies 0.036 m³, so about 900 fit in theory — fewer in practice due to packing gaps.

What is the most efficient cuboid shape for a fixed volume?

A cube minimizes surface area for a given volume. A box holding 1,000 cm³: the 10 × 10 × 10 cube uses 600 cm² of material, while a 5 × 10 × 20 box uses 800 cm². Closer to a cube means less packaging material.

How do I find the third dimension if I know the volume and two sides?

Rearrange V = l × w × h: the unknown side = V / (the two known sides multiplied together). For example, a box with volume 120 cm³, length 6 cm, and width 4 cm has height = 120 / (6 × 4) = 5 cm.

Further Reading

Related Calculators