Box Volume Calculator (Rectangular Prism)
Enter the three dimensions of a box. For a cube, enter the same value three times.
Result
- Space diagonal
- 7.8102 cm
- Total edge length
- 52 cm
- Volume in liters
- 0.072 L
- Volume in US gallons
- 0.019 gal
Formula
- Volume = length × width × height
- Surface area = 2 × (lw + lh + wh)
- Space diagonal = √(l² + w² + h²)
How the Box Volume Calculator works
A rectangular prism is a box with six rectangular faces. Its volume is the area of the base times the height. The surface area adds the three different face areas, each of which appears twice.
The space diagonal is the longest straight line that fits inside the box, from one corner to the opposite corner.
Worked example
A box 6 cm × 4 cm × 3 cm has a volume of 72 cm³ and a surface area of 2 × (24 + 18 + 12) = 108 cm². Its space diagonal is √(36 + 16 + 9) = 7.8102 cm.
Frequently asked questions
How do I calculate cubic feet?
Multiply length, width and height in feet. For dimensions in inches, multiply them and divide by 1,728.
What is the volume of a cube?
The side length cubed. A cube with 5 unit sides has a volume of 125 cubic units.
Related calculators
- Cylinder Volume CalculatorCalculate the volume and surface area of a cylinder from its radius or diameter and height, with the result in liters and gallons.
- Tank Volume CalculatorCalculate the capacity of a rectangular or cylindrical tank or aquarium in gallons and liters, with the weight of the water.
- Rectangle CalculatorCalculate the area, perimeter and diagonal of a rectangle or square from its length and width.
- Surface Area CalculatorCalculate the surface area of a cube, box, cylinder, sphere, cone or square pyramid, with the volume of the same shape.
- Circle CalculatorCalculate the radius, diameter, circumference and area of a circle from any one of them.
- Triangle Area CalculatorCalculate the area of a triangle from base and height, from three sides with Heron's formula, or from two sides and the angle between them.
- Trapezoid Area CalculatorCalculate the area of a trapezoid from its two parallel sides and height, with the median line.
- Hexagon and Regular Polygon CalculatorCalculate the area, perimeter, apothem and angles of a regular hexagon, pentagon, octagon or any regular polygon from its side length.
- Sphere Volume CalculatorCalculate the volume and surface area of a sphere from its radius or diameter.
- Cone Volume CalculatorCalculate the volume, slant height and surface area of a right circular cone from its radius and height.
- Pyramid Volume CalculatorCalculate the volume, slant heights and surface area of a rectangular or square pyramid from its base and height.
Related unit converters
Calculations run in your browser and nothing you enter is sent to a server. Results are provided for general information. Check critical figures independently before relying on them.