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

The Segment Volume Calculator finds the cubic volume of a rectangular box, tank, room, storage bay, or partially filled rectangular container. Enter three perpendicular dimensions in one measurement unit to see the volume in cubic units, cubic meters, liters, US liquid gallons, and Imperial gallons, with a transparent calculation you can independently verify.

How to use

Measure the object in three perpendicular directions. Use the inside length, inside width, and inside height when you need usable container capacity. If you are measuring a partially filled rectangular tank, use the present liquid depth in the “Height or filled depth” field instead of the tank’s full height. Use exterior measurements only when the goal is the total space occupied by the object.

Enter the first measurement in “Length,” the second in “Width,” and the vertical measurement in “Height or filled depth.” Choose the shared unit from “Measurement unit.” All three numbers must be expressed in that unit. For example, if a tank is 2 m long, 80 cm wide, and 50 cm deep, either enter 2, 0.8, and 0.5 with meters selected or enter 200, 80, and 50 with centimeters selected. Do not enter mixed-unit values directly.

The result updates automatically. The prominent result is the product in the selected unit cubed. The breakdown also reports cubic meters, liters, US liquid gallons, and Imperial gallons. Beneath the results, the calculator displays the substituted multiplication so you can audit the arithmetic.

Check whether the result answers the intended question. Geometric internal volume is not always usable capacity: fittings, walls, substrate, equipment, rounded corners, freeboard, or sloping surfaces can reduce the amount that fits. Round the final result according to the quality of your measurements rather than the number of decimals displayed. Use “Reset values” to restore the example dimensions of 2 m by 1 m by 0.5 m.

Formula

$$V=l\times w\times h$$ where $V$ is volume, $l$ is length, $w$ is width, and $h$ is full height or the current filled depth. The base-area form is: $$A=l\times w,\qquad V=A\times h$$ If each dimension is converted to meters using linear conversion factor $k$, then: $$V_{m^3}=lwh\times k^3$$ Capacity conversions used by the calculator are: $$V_L=1000V_{m^3}$$ $$V_{\mathrm{US\ gal}}=\frac{V_L}{3.785411784}$$ $$V_{\mathrm{imp\ gal}}=\frac{V_L}{4.54609}$$

Step by step

Worked audit: consider a rectangular tank with an internal length of 120 cm, width of 50 cm, and current water depth of 40 cm.

  1. Confirm that all dimensions use centimeters. No preliminary conversion is needed.
  1. Calculate the base area: $120\times50=6{,}000\text{ cm}^2$.
  1. Multiply the base area by the water depth: $6{,}000\times40=240{,}000\text{ cm}^3$.
  1. Convert cubic centimeters to liters. Because $1{,}000\text{ cm}^3=1\text{ L}$, divide by 1,000: $240{,}000/1{,}000=240\text{ L}$.
  1. Convert liters to US liquid gallons: $240/3.785411784\approx63.4013$ US gal.
  1. Convert liters to Imperial gallons: $240/4.54609\approx52.7928$ imp gal.

The geometric water volume is therefore 240,000 cm³, 0.24 m³, 240 L, approximately 63.40 US liquid gallons, or approximately 52.79 Imperial gallons. If rocks and equipment displace 18 L, the estimated net water quantity would be about 222 L; that deduction is a separate adjustment, not part of the rectangular-prism formula.

Detailed calculation guide

AI Overview: The Segment Volume Calculator multiplies length, width, and height or filled depth to measure a rectangular three-dimensional space. All measurements must use the same linear unit. The result is reported in that unit cubed and converted to cubic meters, liters, US liquid gallons, and Imperial gallons. Use internal measurements for capacity and current liquid depth for a partially filled rectangular tank.

Featured Snippet: To calculate the volume of a rectangular box or tank, measure its internal length, width, and height in the same unit, then multiply them: volume equals length times width times height. If the tank is partly full, substitute the liquid depth for its full internal height.

Volume describes three-dimensional space. A length measures one direction, area combines two perpendicular directions, and volume combines three. Consequently, a measurement in meters produces an area in square meters only after two dimensions are multiplied and a volume in cubic meters only after all three dimensions are multiplied. The exponent is not decorative: it records how many independent directions contributed to the measurement.

The word “segment” can have several geometric meanings. In this calculator, it means a rectangular portion of a box-shaped space: the full prism or a shallower occupied segment with constant length and width. It does not mean a circular segment cut from a cylinder or sphere. That distinction is especially important for horizontal cylindrical tanks, where equal changes in liquid depth do not correspond to equal changes in volume.

The core model is a rectangular prism, also called a cuboid. Its opposite faces are parallel, adjacent faces meet at right angles, and its cross-sectional area remains constant through the height. First calculate the rectangular base area by multiplying length by width. Then multiply that area by the perpendicular height or depth. This two-stage interpretation is useful when auditing a result because it separates the footprint from the vertical extent.

Units must be handled dimensionally. If all three values are centimeters, the direct answer is cubic centimeters. If they are feet, it is cubic feet. Converting a linear unit requires applying the conversion factor three times to a volume. One foot equals 0.3048 meter, so one cubic foot equals $0.3048^3$ cubic meter, not merely 0.3048 cubic meter. The calculator performs this cubic conversion after computing the volume in the selected input unit.

Metric capacity relationships are particularly convenient. One cubic centimeter is exactly one milliliter, one cubic decimeter is exactly one liter, and one cubic meter is exactly 1,000 liters. A box measuring 100 cm by 100 cm by 100 cm therefore contains 1,000,000 cm³, which is 1,000 L or 1 m³. These identities make metric results easy to check by changing the scale in powers of ten.

US liquid gallons and Imperial gallons are different units. One US liquid gallon is 3.785411784 liters, while one Imperial gallon is 4.54609 liters. Because the Imperial gallon is larger, a fixed container has a smaller numerical capacity in Imperial gallons than in US gallons. A result labeled only “gallons” is ambiguous; this calculator reports both systems explicitly.

Common Mistakes

  • Mixing units, such as entering length in feet and width in inches, creates a hybrid unit that has no useful interpretation. Convert every dimension to one common unit before entry.
  • Using external dimensions overstates usable capacity when walls, insulation, framing, or a double skin occupy space. Internal dimensions are normally required for a tank, carton, drawer, or bin capacity.
  • Reporting cubic volume as a linear or square unit loses dimensional meaning. The direct product of three lengths must carry a cubed unit.
  • Using a tank’s full height for a partial fill calculates total geometric capacity rather than the current liquid quantity. Use the actual vertical liquid depth.
  • Treating US and Imperial gallons as interchangeable can introduce a difference of about one-fifth. Always retain the gallon system in the label.
  • Rounding converted dimensions before multiplication can magnify error. Keep full available precision through the calculation and round only the final displayed or reported result.

Assumptions

The calculation assumes that the object is a true rectangular prism: its length, width, and height are mutually perpendicular; each relevant surface is flat; and the cross-sectional area does not change with depth. Measurements are treated as exact numeric values in the chosen unit. The calculator also assumes that the requested quantity is geometric volume rather than a manufacturer-certified working capacity.

For liquid calculations, the free surface is assumed to be level and the container is assumed to stand level. The measured depth must be perpendicular to the base. If a tank is tilted, the liquid surface may intersect the walls unevenly, invalidating a single-depth rectangular model even when the empty tank itself is box-shaped.

Limitations

Real containers rarely offer every cubic unit of their bounding geometry. Wall thickness, rounded internal corners, welds, baffles, pumps, pipes, filters, rocks, substrate, packaging inserts, and structural members displace material. A tank may also require freeboard so liquid never reaches the top. The geometric result should therefore be understood as a model whose accuracy depends on both the shape and the measurements supplied.

Bulging flexible tanks, tapered bins, hopper bottoms, sloped floors, arched roofs, irregular rooms, and containers with changing cross-sections require other methods. Divide a composite object into recognizable solids when practical, calculate each component, and add or subtract volumes as appropriate. For highly irregular shapes, manufacturer data, calibrated filling, displacement measurement, a survey, or a three-dimensional model may be more defensible.

Measurement uncertainty matters. If length, width, and height each have small independent errors, their effects combine in the product. A rough first-order relative uncertainty estimate is the sum of the three relative uncertainties when establishing a conservative bound. For example, tolerances of 1% in each dimension can permit a volume deviation approaching 3%, before shape irregularity is considered.

Practical Applications

Homeowners can estimate soil for a rectangular raised bed, water in a box-shaped pond, storage inside a cabinet, or the air volume of a room. Contractors can estimate concrete for a rectangular pad or excavation, although they should add an appropriate project allowance and use job-specific specifications. Warehouse planners can compare usable bin and bay capacity. Aquarium owners can estimate gross water volume before deducting substrate, decor, equipment, and unfilled headspace.

Students can use the tool to check unit analysis and compare metric and customary capacities. Logistics teams can compare internal carton volume with external shipping volume, which answer different questions. Facility planners can calculate the bounding volume occupied by rectangular equipment, while recognizing that clearances and access space must be assessed separately.

Tips

  • Measure each dimension along a straight line and in a direction perpendicular to the other two.
  • Choose a unit that suits the object. Millimeters or centimeters are convenient for small boxes; meters or feet are usually clearer for rooms and large tanks.
  • For usable capacity, measure inside face to inside face. For floor-space planning or shipping clearance, exterior dimensions may be the correct choice.
  • Take several measurements when walls are not perfectly parallel. An average can provide an estimate, but a segmented model is better when the variation is material.
  • Record the unrounded result and the measurement precision. Many displayed decimal places do not compensate for a tape measure read only to the nearest centimeter.

Interpretation

The primary result is the direct cubic volume in the selected input unit. Cubic meters provide a common SI comparison, while liters and gallons translate geometric volume into familiar liquid-capacity terms. These conversions do not change the physical amount; they only change its numerical representation. A very large number of cubic millimeters can describe the same space as a modest number of liters.

Consider significant figures when communicating the answer. Inputs of 2 m, 1 m, and 0.5 m may indicate limited precision, so reporting exactly 1.00000000 m³ would imply more certainty than the measurements support. Use the calculator’s detailed output for computation, then round the reported result according to the least precise measurement and the decision being made.

Related Formulas

The base area is $A=l\times w$, and the volume is $V=A\times h$. Rearranging the volume equation gives $h=V/(l\times w)$ when volume, length, and width are known. Similar rearrangements solve for either horizontal dimension. A cube is the special case $V=s^3$. A full upright cylinder uses $V=\pi r^2h$, while a triangular prism uses $V=(bh/2)L$. Composite volumes can often be formed by adding required solids and subtracting voids.

Surface area is related but not interchangeable with volume. A closed rectangular box has surface area $2(lw+lh+wh)$, measured in square units. Material purchasing for walls may depend on surface area, while fill quantity depends on volume. Two objects can have identical volume but substantially different surface areas and material requirements.

Best Practices

Start by defining the quantity needed: gross external envelope, internal geometric capacity, current contents, or practical working capacity. Select measurement boundaries that match that definition. Keep all dimensions in one unit, document whether height means full height or current depth, retain precision during conversion, and label the final cubic or capacity unit explicitly.

For purchasing, compare the geometric estimate with supplier coverage rates, packaging increments, compaction, waste, spillage, and required safety margins. Do not silently embed an allowance in a dimension because that makes the audit trail difficult to reconstruct. Calculate the geometric quantity first, then show any contingency as a separate, explained adjustment.

When NOT to use this calculator

Do not use this rectangular model for a cylinder, sphere, cone, horizontal round tank, tapered vessel, curved aquarium, hopper, vessel with a domed end, or irregular excavation unless it has first been decomposed into appropriate shapes. Do not rely on it as a certified tank calibration, legal trade measurement, structural design, hazardous-material containment calculation, or dosage basis. Those uses may require calibrated instruments, regulations, safety factors, and qualified professional review.

Real-world examples

A 60 cm by 40 cm by 35 cm storage crate has a geometric internal volume of 84,000 cm³, equivalent to 84 L. Actual packed capacity will be lower if objects do not tessellate efficiently. A rectangular water trough 2 m long, 1 m wide, and filled to 0.5 m contains a geometric 1 m³ or 1,000 L before displacement and freeboard adjustments.

An 8 ft by 4 ft excavation with a uniform depth of 2.5 ft has a geometric volume of 80 ft³. That value describes the in-place rectangular space, not necessarily the volume of loosened excavated material. Likewise, concrete ordering may require allowances for grade variation, form deflection, waste, and supplier increments.

Comparison and educational context

A direct formula is often faster than a calculator when dimensions are simple, but the Segment Volume Calculator is useful when conversions must remain consistent across cubic units, liters, and two gallon systems. Its value is not merely producing a number: it exposes the multiplication, preserves unit labels, and distinguishes geometric capacity from usable or rated capacity. That auditability makes the result easier to check, explain, and apply responsibly.

Beginner: one-cubic-meter rectangular tank segment

1 m³; 1,000 L; approximately 264.172052 US gal; approximately 219.969249 imp gal

Multiplying 2 m by 1 m by 0.5 m gives exactly 1 m³. This is also a useful benchmark because one cubic meter equals exactly 1,000 liters.

Intermediate: metric storage crate

84,000 cm³; 0.084 m³; 84 L; approximately 22.19045 US gal

The three internal dimensions produce 84,000 cubic centimeters. Dividing by 1,000 converts that result to an internal geometric capacity of 84 liters.

Advanced: rectangular excavation in feet

80 ft³; approximately 2.26534773 m³; approximately 2,265.347727 L

This is the in-place rectangular excavation volume. Loose soil may occupy a different volume after removal, so bulking and project allowances should be evaluated separately.

Edge case: shallow fill measured in inches

36 in³; approximately 0.589934 L; approximately 0.155844 US gal

A small positive depth remains valid. Preserving 0.125 inch through multiplication avoids the large relative error that premature rounding could introduce.

Real-world: rectangular equipment tank in millimeters

324,000,000 mm³; 0.324 m³; 324 L; approximately 85.5962 US gal

Millimeter dimensions can produce a large cubic number even when practical capacity is moderate. The liter conversion shows that the geometric capacity is 324 liters before displacement or freeboard.

Frequently asked questions

How do I calculate the volume of a rectangular box?

Measure the box’s length, width, and height in the same unit, then multiply the three values. The answer uses that unit cubed, such as cm³, m³, in³, or ft³. Use internal dimensions for holding capacity and external dimensions for the space the box occupies.

How do I calculate rectangular tank capacity in liters?

Multiply the internal length, width, and height after converting them to one unit. If the measurements are centimeters, divide cubic centimeters by 1,000 to obtain liters. If they are meters, multiply cubic meters by 1,000.

Should I measure the inside or outside of a container?

Use inside dimensions when estimating how much the container can hold. Use outside dimensions when planning shipping, shelving, floor space, or clearance. Wall thickness means these two calculations can produce materially different results.

How do I calculate water in a partially filled rectangular tank?

Multiply the tank’s internal length and width by the current vertical water depth, not by the tank’s total height. The container must be level and rectangular for one depth measurement to represent the liquid accurately.

Can this calculator find the volume of a cylindrical tank?

No. A full cylinder uses the formula $V=\pi r^2h$. A partly filled horizontal cylinder requires circular-segment geometry because volume does not increase linearly with liquid depth.

Why must all three measurements use the same unit?

Multiplying measurements expressed in different units creates a mixed unit that is difficult to interpret. Converting first ensures that the product has a meaningful cubic unit and that every capacity conversion is dimensionally consistent.

Is one cubic meter exactly equal to 1,000 liters?

Yes. One liter is one cubic decimeter, and ten decimeters fit along each dimension of a cubic meter. Therefore, a cubic meter contains $10\times10\times10=1{,}000$ cubic decimeters or liters.

Are US liquid gallons and Imperial gallons the same?

No. One US liquid gallon equals 3.785411784 liters, while one Imperial gallon equals 4.54609 liters. The Imperial gallon is larger, so the same tank has a smaller numerical capacity in Imperial gallons.

Does calculated geometric tank volume equal rated capacity?

Not necessarily. Wall thickness, rounded corners, fittings, baffles, deformation, equipment, freeboard, and manufacturing tolerances can reduce usable capacity. Manufacturer-rated capacity or calibrated measurements may be more appropriate.

What does cubic volume mean?

Cubic volume measures three-dimensional space. A cubic unit represents a cube one unit long, one unit wide, and one unit high. For example, one cubic centimeter is the volume of a 1 cm by 1 cm by 1 cm cube.

How accurate is the Segment Volume Calculator?

The arithmetic uses precise conversion constants, but real accuracy depends on measurement quality and how closely the object matches a rectangular prism. Irregular surfaces, uncertain boundaries, and rounded inputs can dominate the final error.

How should I round a volume calculation?

Keep full precision during multiplication and conversion, then round the final result to match the least precise measurement or the practical decision. Extra displayed decimals should not be treated as evidence of extra physical accuracy.

Related calculators

Browse all calculators in this category

Editorial review

Author: JD

Sources

Enable JavaScript to use interactive calculators.