Rectangle Volume Calculator — Calculate volume for boxes, tanks, and 3D spaces

This Rectangle Volume Calculator finds the volume of a rectangular prism, box, tank, room, or storage space from its length, width, and height. Each dimension can use a different unit, and the result can be displayed in cubic metric or imperial units, milliliters, liters, or US gallons. The calculation and conversions remain visible so you can audit the answer.

How to use

Enter the full Length and select its unit. Enter the Width and Height or liquid depth in the same way. The three units do not have to match: for example, you can combine meters, centimeters, and inches because the calculator converts each value to a common metric basis before multiplying. Every dimension must be a finite number greater than zero.

Choose an Output unit based on your task. Cubic centimeters and cubic meters are useful for metric geometry; cubic inches, cubic feet, and cubic yards suit many US construction or shipping measurements. Select milliliters, liters, or US liquid gallons when interpreting an enclosed rectangular space as liquid capacity. The main result updates immediately whenever a value or unit changes.

Review the calculation line and the cubic-meter, liter, and US-gallon equivalents. If all three dimensions use one unit, the result panel also displays the base area in that unit squared. For mixed inputs, it shows the normalized base area in square meters. Use this audit information to catch a mistyped unit or decimal point.

For a box or tank capacity, measure the inside Length, Width, and Height. If the tank is partly filled, enter actual liquid depth instead of full height. For exterior occupied space, shipping storage, or room volume, use the relevant outside or boundary dimensions. Press Reset values to restore the 10 ft by 8 ft by 3 ft example. Before acting on a material order or safety-critical capacity, account separately for waste, displacement, freeboard, measurement uncertainty, and manufacturer limits.

Formula

$$V=L\times W\times H$$ $$V=B\times H,\quad B=L\times W$$ $$V_{m^3}=(L\times c_L)(W\times c_W)(H\times c_H)$$ $$1\,m^3=1000\,L,\quad 1\,cm^3=1\,mL$$

Step by step

Worked audit: Find the capacity of a rectangular tank with internal length 2.4 m, width 80 cm, and liquid depth 30 in, reported in liters. First convert every dimension to meters. Length = 2.4 m. Width = 80 × 0.01 = 0.8 m. Depth = 30 × 0.0254 = 0.762 m. Next find base area: 2.4 × 0.8 = 1.92 m². Multiply by depth: V = 1.92 × 0.762 = 1.46304 m³. Convert cubic meters to liters: 1.46304 × 1,000 = 1,463.04 L. Check the scale: the tank is somewhat smaller than a 2.4 m × 0.8 m × 0.8 m prism, so a result below 1,536 L is reasonable. The geometric liquid volume is 1,463.04 L before subtracting displacement or required freeboard.

Detailed calculation guide

The Rectangle Volume Calculator multiplies length, width, and height after converting all three measurements to a common unit. It works for rectangular prisms, cuboids, boxes, rooms, crates, and rectangular tanks. Results are available as cubic millimeters, centimeters, meters, inches, feet, or yards, plus milliliters, liters, and US liquid gallons. For tank capacity, measure the usable interior rather than the exterior shell.

A rectangle is a two-dimensional shape and therefore has area, not volume. The everyday phrase “rectangle volume” normally refers to a rectangular prism: a three-dimensional solid with six rectangular faces. Its volume is the area of the rectangular base multiplied by the perpendicular height, giving V = L × W × H in cubic units.

The formula can be understood by imagining the solid filled with unit cubes. A base measuring 5 units by 4 units contains 20 unit squares in each layer. If the height holds 3 such layers, the solid contains 20 × 3 = 60 unit cubes. This layered interpretation explains both the multiplication and the cubic unit attached to the result. Length units occur three times: cm × cm × cm becomes cm³.

Unit consistency is essential. Multiplying 2 meters by 50 centimeters by 1 foot as the raw numbers 2 × 50 × 1 does not produce a meaningful volume because the factors describe different unit scales. This calculator converts every dimension to meters internally, multiplies the converted values, and then converts the cubic-meter result to the selected output. Conversion factors must be cubed when applied directly to volume: one foot equals 0.3048 meter, but one cubic foot equals 0.3048³ cubic meter.

Metric capacity relationships make rectangular tank calculations especially convenient. One cubic centimeter is exactly one milliliter, 1,000 cubic centimeters equal one liter, and one cubic meter equals 1,000 liters. These identities connect geometric volume with liquid capacity without changing the physical space represented. A tank whose internal dimensions produce 0.75 m³ therefore has a geometric capacity of 750 L.

US liquid gallons are a capacity unit, not a cubic length unit. The calculator uses the US liquid gallon relationship rather than the imperial gallon used in some countries. One US liquid gallon is 3.785411784 liters. Because “gallon” can be ambiguous, specifications, purchase orders, and engineering records should state US liquid gallons or imperial gallons explicitly. This tool reports only US liquid gallons.

Common mistakes often begin with the measurements rather than the arithmetic.

  • Using exterior tank dimensions when wall thickness, insulation, or a liner reduces the interior.
  • Mixing units and multiplying the displayed numbers without conversion.
  • labeling volume in square feet or square meters instead of cubic units.
  • Treating a rounded, sloped, bowed, or cylindrical container as a perfect rectangular prism.
  • Using full tank height when the liquid reaches only part of that height.
  • Rounding converted dimensions before multiplication and magnifying the rounding error.
  • Confusing physical box volume with a carrier’s dimensional-weight calculation.

The model assumes straight edges, rectangular faces, and right angles. Length, width, and height must be mutually perpendicular measurements of the same physical region. It also assumes that each dimension is constant across the solid. Under these conditions, choosing which horizontal side is called length and which is called width does not affect the result because multiplication is commutative. Height must still represent the perpendicular distance through the prism.

For capacity work, the calculated result is geometric capacity: the theoretical space enclosed by the dimensions. Usable or recommended operating capacity may be smaller. Tanks can require freeboard for thermal expansion, agitation, foaming, waves, or safety controls. Pipes, heaters, pumps, rocks, products, structural members, and internal baffles displace liquid. A nominal container size may also be a commercial label rather than a measured internal volume.

Measurement uncertainty passes into the volume. For small independent errors, the approximate relative uncertainty is the combination of the relative uncertainties in length, width, and height. A simple conservative estimate adds them. If every dimension may be high by 1%, the calculated volume can be roughly 3% high for small errors. Thin, broad containers are particularly sensitive to liquid-depth errors because a small depth difference applies across the entire base area.

Practical applications include estimating the capacity of a rectangular water tank, aquarium, sump, planter, reservoir, cooler, or storage bin. Builders can quantify the cubic space in a room, excavation, footing, or rectangular slab, although material orders usually require separate allowances for waste and field conditions. Shippers can find a carton’s physical volume. Students can check geometry exercises, and storage planners can compare containers using a common unit.

Interpret the primary result as the amount of three-dimensional space represented by the entered dimensions. The displayed cubic-meter, liter, and gallon equivalents describe that same volume, not additional quantities. A larger numerical value in liters than cubic meters does not mean the container changed size; liters are simply smaller units. The common-unit calculation shown by the tool is an audit trail of the original entries, while the conversion is performed at full internal precision.

Useful checking habits catch many errors. Estimate the order of magnitude before trusting the detailed answer. A 2 m by 1 m by 0.5 m box should be near 1 m³, not 1,000 m³. Confirm that doubling one dimension doubles the result and doubling all three dimensions multiplies it by eight. Compare the dimensions with the real object, inspect the selected units, and ask whether the result should describe occupied exterior space or usable interior space.

Related formulas extend the same base-area principle. For any prism, volume equals base area times perpendicular height. A rectangular base has area L × W, producing V = L × W × H. If volume and two dimensions are known, rearrange to H = V ÷ (L × W), L = V ÷ (W × H), or W = V ÷ (L × H). A cube is the special case V = s³. Rectangular-prism surface area is 2(LW + LH + WH), which measures covering material rather than capacity.

A partially filled rectangular tank remains straightforward when its horizontal cross-section is constant. Replace full internal height with measured liquid depth. Alternatively, if the tank is level and truly rectangular, multiply full geometric capacity by the filled fraction. A tank filled to 65% of its internal height contains 65% of its geometric capacity. This proportional shortcut does not work for horizontal cylinders, tapered vessels, irregular sumps, or tanks whose cross-section changes with height.

Best practice for tank measurement is to take internal length and width near the usable region and measure liquid depth vertically, not along a sloping wall. Use manufacturer drawings when direct internal measurement is unsafe. Keep extra digits through conversions and round only the final result to a precision justified by the original measurements. Record the measurement conditions, unit system, and whether obstructions or freeboard were deducted.

Best practice for construction quantities is to separate geometric calculation from ordering policy. A rectangular concrete pad 4 m by 3 m by 0.1 m has a theoretical volume of 1.2 m³, but the purchase quantity may need an allowance for uneven subgrade, form movement, spillage, and supplier increments. This calculator deliberately reports geometry only. It does not select a waste percentage, predict compaction, or replace a site survey.

Do not use this calculator when the shape is materially non-rectangular. A cylinder requires πr²h; a sphere requires 4πr³ ÷ 3; a cone or pyramid requires one-third of base area times height. Sloped-bottom tanks may need decomposition into multiple solids or integration from a calibration chart. Flexible containers, bowed aquariums, rounded-corner tanks, and irregular rooms require measured geometry or manufacturer capacity data.

The tool is also unsuitable for calculating surface area, shipping dimensional weight, mass, flow rate, or pressure without additional information. Volume alone cannot determine weight unless material density is known. It cannot determine how quickly a tank fills without flow rate, and it cannot establish safe structural loading. For regulated storage, potable water, fuel, chemicals, or load-bearing construction, use approved drawings, applicable codes, and qualified professional review.

Real-world example: an internal storage chest measuring 120 cm by 55 cm by 48 cm has a geometric volume of 316,800 cm³, equal to 316.8 L. Packaging and hinges may reduce usable storage. A room measuring 12 ft by 10 ft by 8 ft encloses 960 ft³, a useful spatial figure but not by itself an HVAC sizing result because heat gain, insulation, climate, and ventilation also matter.

Another real-world example is a shallow rectangular pond measuring 3.5 m by 2 m with an average water depth of 0.6 m. The simplified rectangular estimate is 4.2 m³ or 4,200 L. If the sides slope or the bottom depth varies, several depth samples and a more representative average or surveyed model are necessary. Calling the number an estimate communicates that the real geometry differs from the ideal prism.

Compared with doing a single multiplication, this calculator adds value by preserving each input unit, normalizing mixed measurements, exposing capacity equivalents, and showing the entered calculation. Its educational purpose is not to hide the arithmetic but to make conversions and assumptions inspectable. A result is strongest when the formula, units, physical boundaries, measurement precision, and intended use all agree.

For reliable decisions, treat the displayed precision as computational precision rather than guaranteed measurement accuracy. More decimal places cannot repair rough measurements or an unsuitable shape model. Retain the unrounded result during intermediate work, then round according to the least precise measurement or the tolerance required by the application. The Rectangle Volume Calculator is an accurate rectangular-prism engine; the quality of the final estimate still depends on representative dimensions and correct interpretation.

Beginner: classroom rectangular prism

60 cm³

All dimensions already use centimeters, so multiply 5 × 4 × 3. The result represents 60 one-centimeter cubes.

Intermediate: room volume in cubic feet

960 ft³

The rectangular room volume is 12 × 10 × 8 = 960 cubic feet. HVAC sizing requires additional building and climate information.

Advanced: mixed-unit tank capacity

1,463.04 L

After conversion, the dimensions are 2.4 m, 0.8 m, and 0.762 m. Their product is 1.46304 m³, equal to 1,463.04 liters.

Edge case: very small component

200 mm³

Small positive decimal measurements remain valid. Multiplying 12.5 × 8 × 2 gives 200 cubic millimeters.

Real-world: partially filled rectangular tank

Approximately 269.3 US gal

The 18-inch liquid depth equals 1.5 feet, so liquid volume is 36 ft³. That is approximately 269.3 US liquid gallons before displacement.

Conversion check: cubic yards

4 yd³

The volume is 108 ft³. Because one cubic yard contains 27 cubic feet, 108 ÷ 27 equals exactly 4 yd³.

Frequently asked questions

How do I calculate the volume of a rectangular box?

Measure the box’s length, width, and height, express all three in compatible units, and multiply them: V = L × W × H. Use internal measurements for usable box capacity and exterior measurements for the space the box occupies.

Why is this called a Rectangle Volume Calculator if rectangles do not have volume?

A rectangle is two-dimensional and has area. The common search phrase refers to a rectangular prism, rectangular solid, cuboid, box, or tank. Adding height to a rectangular base creates the three-dimensional shape whose volume is calculated.

Why is volume measured in cubic units?

Volume multiplies three length dimensions, so the measurement unit is also multiplied three times. For centimeters, cm × cm × cm becomes cm³. Cubic units represent the number of unit-sized cubes that fit inside the solid.

Can the calculator use a different unit for each dimension?

Yes. Select the appropriate unit beside each input. The calculator converts length, width, and height to meters internally before multiplication, preventing the invalid raw multiplication of measurements expressed on different scales.

How do I convert cubic centimeters to liters?

Divide cubic centimeters by 1,000 because 1,000 cm³ equals 1 L. Equivalently, one cubic centimeter equals one milliliter, and 1,000 milliliters equal one liter.

Should I use inside or outside dimensions for a rectangular tank?

Use inside dimensions to estimate liquid capacity because wall thickness, liners, and insulation reduce the available interior. Use outside dimensions only when calculating the tank’s occupied storage or installation space.

How do I calculate a partially filled rectangular tank?

Enter the actual liquid depth as Height rather than the tank’s full internal height. For a level tank with a constant rectangular cross-section, you can also multiply full geometric capacity by the fraction of height filled.

Does the gallon result use US or imperial gallons?

The calculator reports US liquid gallons. A US liquid gallon equals 3.785411784 liters and is smaller than an imperial gallon. State the gallon system explicitly whenever the result is used internationally.

Can this formula calculate the volume of a cylinder?

No. A cylinder uses V = πr²h because its base is circular. Length × width × height applies only to a rectangular prism with constant rectangular cross-sections and mutually perpendicular dimensions.

How can I find a missing dimension when volume is known?

Divide the known volume by the product of the other two dimensions. For example, height equals V ÷ (L × W). Convert the volume and known dimensions into compatible units before dividing.

Is calculated tank capacity the same as safe fill capacity?

Not necessarily. The result is ideal geometric capacity. Safe operating capacity may be lower because of required freeboard, thermal expansion, foam, internal equipment, displacement, manufacturer ratings, or regulatory limits.

Is cubic volume the same as shipping dimensional weight?

No. Cubic volume describes physical space. Dimensional weight applies a carrier-specific divisor or conversion rule to package dimensions and may be compared with actual weight. Check the current carrier rules separately.

Related calculators

Browse all calculators in this category

Editorial review

Author: JD

Sources

Enable JavaScript to use interactive calculators.