Calculators.Life Calculator
Math

Volume of a Rectangle Calculator

Input Parameters

Scenarios
Length of the rectangular prism or box
Width of the rectangular prism or box
Height of the rectangular prism or box

Computed Results

Volume
100
Surface Area (m²)0.016
Base Area (m²)0.005
Space Diagonal (m)0.1136

The volume of a rectangle calculator determines the three-dimensional space enclosed by a rectangular prism or box. By entering the length, width, and height, you can quickly find the total volume, surface area, base area, and space diagonal in your preferred units of measurement.

Practical Use Cases

Calculating the volume of a rectangular prism is a fundamental geometric step used across various practical applications:

Formula and Calculation Method

To find the volume of a rectangular prism, multiply its three primary dimensions together. The calculator also determines the surface area, base area, and the space diagonal (the longest straight line inside the box from one corner to the opposite corner).

Volume = Length × Width × Height

The secondary measurements are calculated using the following formulas:

The calculator standardizes all input dimensions into meters before calculating the surface area, base area, and space diagonal. This means those specific outputs are always displayed in square meters (m²) and meters (m), while the primary volume result is converted into your chosen output unit.

Verified Calculation Examples

Here are two examples demonstrating how the calculator processes different dimensions and units:

Example 1: Standard Room Size

If you are measuring a room to determine its cubic footage for an air purifier:

Example 2: Aquarium Volume Conversion

If you are building a custom fish tank and need to know its capacity in US gallons:

How to Use the Calculator

  1. Enter the Length, Width, and Height of your rectangular object.
  2. Select the corresponding unit of measurement for each dimension (e.g., centimeters, inches, feet).
  3. Choose your desired Output Unit for the final volume calculation.
  4. Review the results. The calculator will display the volume in your selected unit, alongside the surface area, base area, and space diagonal in metric units.

Inputs and Outputs Reference

Field Type Description
Length (l) Input The longest side of the rectangular base.
Width (w) Input The shorter side of the rectangular base.
Height (h) Input The vertical dimension of the prism.
Output Unit Input The unit of measurement for the final volume result (e.g., cm³, m³, gallons).
Volume Output The total three-dimensional space enclosed by the object.
Surface Area (m²) Output The total area of all six outside faces of the prism, expressed in square meters.
Base Area (m²) Output The two-dimensional area of the bottom face, expressed in square meters.
Space Diagonal (m) Output The distance between two opposite corners through the center of the prism, expressed in meters.

Frequently Asked Questions

What is the difference between a rectangle and a rectangular prism?

A rectangle is a flat, two-dimensional shape with only length and width. A rectangular prism (or cuboid) is a three-dimensional object that adds height, allowing it to hold volume.

Why are the surface area and space diagonal results displayed in meters?

To maintain consistency across complex conversions, the calculator standardizes all input dimensions into meters before computing the secondary outputs. Therefore, surface area and base area are always provided in square meters (m²), and the space diagonal is provided in meters (m).

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.