Volume of a Rectangle: The Basic Formula

A rectangle is a flat, two-dimensional shape, so it has no volume — only area. What you are probably looking for is the volume of a rectangular box (also called a rectangular prism or cuboid), which is a three-dimensional object with length, width, and height.

To find the volume of a rectangular box, multiply length × width × height. That is the only formula you need. If your box is 5 inches long, 3 inches wide, and 4 inches tall, the volume is 5 × 3 × 4 = 60 cubic inches.

The result is always in cubic units — cubic inches, cubic centimeters, cubic feet, or whatever unit you measured in. "Cubic" just means you multiplied three dimensions together.

Key Takeaways

  • Volume of a rectangular box = length × width × height, and the answer is always in cubic units.
  • All three measurements must be in the same unit before you multiply; convert first if they are not.
  • A rectangle itself (a flat shape) has no volume, only area; volume requires a three-dimensional object.
  • The order of multiplication does not matter — 5 × 3 × 4 gives the same result as 4 × 5 × 3.

Measuring Length, Width, and Height Correctly

Before you multiply, you need three measurements. Length and width are the two dimensions of the base (the bottom of the box). Height is how tall the box is. It does not matter which dimension you call length and which you call width — the multiplication works the same either way.

Measure each dimension in a straight line from one edge to the opposite edge. Use a ruler, tape measure, or calipers depending on the size and precision you need. Write down each number and the unit it is in (inches, centimeters, feet, meters).

If the box is not a perfect rectangle — if the sides are slanted or the corners are not square — this formula does not work. The formula assumes all corners are right angles (90 degrees).

Converting Units Before You Multiply

If your three measurements are in different units, convert them all to the same unit first. For example, if length is 2 feet, width is 6 inches, and height is 12 inches, convert the 2 feet to 24 inches. Then multiply: 24 × 6 × 12 = 1,728 cubic inches.

Common conversions: 1 foot = 12 inches; 1 yard = 3 feet; 1 meter = 100 centimeters; 1 meter = 39.37 inches. If you are unsure, convert everything to the smallest unit in your measurements, or use an online unit converter.

The unit of your answer depends on the unit you used for measurement. If you measured in inches, your answer is in cubic inches. If you measured in centimeters, your answer is in cubic centimeters.

Step-by-Step Example

Suppose you have a storage box that is 10 inches long, 8 inches wide, and 6 inches tall. Here is how to find the volume:

  1. Write down the three measurements: length = 10 inches, width = 8 inches, height = 6 inches.
  2. Check that all units are the same. They are all in inches, so you can proceed.
  3. Multiply: 10 × 8 × 6 = 480 cubic inches.
  4. Write the answer with the unit: the volume is 480 cubic inches.

If you wanted to know the volume in cubic feet instead, convert first: 10 inches = 0.833 feet, 8 inches = 0.667 feet, 6 inches = 0.5 feet. Then multiply: 0.833 × 0.667 × 0.5 = 0.278 cubic feet. (The same box, expressed differently.)

Why This Matters in Real Life

Volume tells you how much a container can hold. If you are packing a moving truck, buying a refrigerator, or figuring out how much water a fish tank needs, you are working with volume. Knowing the volume helps you decide if something fits, how much it costs to fill, or whether it is the right size for your needs.

Shipping companies use volume to charge for space. Storage facilities charge by cubic foot. Concrete contractors calculate how much concrete to pour by volume. The formula is the same in every case: length × width × height.

Common Mistakes to Avoid

The most common error is forgetting to convert units. If you measure length in feet and width in inches, and you multiply without converting, your answer will be wrong and meaningless. Always check that all three measurements are in the same unit before you multiply.

Another mistake is confusing area with volume. Area is length × width (two dimensions, measured in square units). Volume is length × width × height (three dimensions, measured in cubic units). If someone asks for volume, you need all three measurements.

Do not round your measurements too early. If you are measuring in inches and you get 5.7 inches, use 5.7 in your calculation, not 6. Round only your final answer if you need to.

Frequently Asked Questions

What if my box is not a perfect rectangle?

This formula works only for rectangular boxes with right angles at every corner. If the sides are slanted, curved, or irregular, you need a different method. For a cylinder, you use π × radius² × height. For irregular shapes, you may need calculus or water displacement.

Do I measure from the inside or the outside?

It depends on what you need. For storage or packing, measure the inside dimensions to know how much you can fit. For shipping or how much material the box itself takes up, measure the outside. Be consistent and clear about which you are using.

Can I multiply the dimensions in any order?

Yes. Multiplication is commutative, meaning 5 × 3 × 4 gives the same answer as 4 × 5 × 3 or any other order. The result is always 60 cubic units.

What if one dimension is zero?

If any dimension is zero, the volume is zero. A box with no height, for example, is flat and holds nothing. This makes sense mathematically and in real life.