Guide

How many liters does your container hold?

A box, a round tank and a sphere need different formulas. Capacity also depends on the space inside, rather than the outside measurements. Choosing the correct solid and measuring its dimensions gives you a clear route to the geometric volume in liters or cubic units.

Wooden solids, ruler and a notebook with geometric shapes and a solved equation.
Illustrative image

Quick answer

How do dimensions become liters?

Start with the formula for your chosen solid. Dimensions entered in centimeters give a result in cubic centimeters; divide that by 1,000 for liters. If the dimensions are in meters, the formula returns cubic meters, which you multiply by 1,000 to obtain liters.

What matters

Internal measurements determine capacity

A cuboid uses length, width and height, measured in mutually perpendicular directions. For a storage box or a rectangular aquarium, use internal dimensions and the usable height. The calculator does not subtract wall thickness or fittings on your behalf.

For an upright cylinder, radius and height define a circular interior. A sphere needs just its internal radius for the full enclosed space. Each result assumes an ideal solid. Curved bases, rounded corners or fittings call for a more detailed breakdown or the manufacturer's capacity specification.

Radius has a stronger effect than a single height

A cylinder uses the square of its radius; a sphere uses its cube. Entering a diameter as a radius therefore makes the cylinder volume four times too large and the sphere volume eight times too large. Measure from the center to the edge, or halve the diameter first.

The height of a cylinder is measured perpendicular to its circular ends. At a fixed radius, its volume grows in direct proportion to height. A partly filled sphere or a horizontal cylinder needs different formulas; those partial-fill models are outside this calculator's scope.

Match cubic units to liters

One liter is one cubic decimeter. A cube with sides ten centimeters long therefore contains 1,000 cubic centimeters, equivalent to one liter. This volume relationship applies whether the space contains water, air, sand or a solid object.

A change in length units affects all three dimensions. One cubic meter consequently equals one million cubic centimeters. The calculator also supports cubic inches, feet and yards using their fixed length factors. Gallons are omitted because US and imperial gallons have different definitions.

Examples and comparisons

A rectangular container with taller sides

From three dimensions to liters

Cuboid: a = Length, b = Width, h = Height. Schematic, not to scale.abh
CuboidV = a × b × h
a · Length
80 cm
b · Width
40 cm
h · Height
50 cm

80 × 40 × 50 cm³
= 160,000 cm³

1 L = 1,000 cm³160 L

Use inside dimensions for capacity. The drawing is schematic; it does not deduct walls or allow for a fill limit.

Solid shapeCuboid / rectangular box
Unit for all dimensionscm
Internal length80 cm
Internal width40 cm
Internal height50 cm
Result unitL
Volume160 L

Load this example’s inputs in the calculator. Review them, calculate the result, then adapt the values to your own case.

More height, more space

Ten extra centimeters of internal height

Sensitivity check · only one input changedInternal height → Volume

Direct comparison

Data points for the two calculated scenarios: Internal height and Volume
ScenarioInternal heightVolume
Scenario 150 cm160 L
Scenario 260 cm192 L
Change from scenario 1 to scenario 232 L · +20% relative

Also verify before making a decisionThe rectangular interior remains 80 cm long and 40 cm wide. Height increases from 50 to 60 cm; neither result separately deducts fittings or an unfilled rim.

Assess your case

Which measurements describe usable capacity?

If only outside dimensions are available

Measure inside or account for walls and the base separately. A container's outside volume is different from the space available for its contents.

If an upright cylinder will not be filled completely

Use the actual fill height. A partially filled horizontal cylinder cannot be calculated with this simple circular-area-times-height method.

If you need an order quantity or a weight

Check packaging sizes, compaction and material density as well. Geometric volume is not an automatic purchase quantity for a particular material.

Checklist

Check before calculating volume

  • Identify the shape of the space or solid and measure its required dimensions.
  • Use only internal measurements and usable fill height when calculating capacity.
  • Check radius, diameter and units; calculate mass and material allowances separately.

Common mistakes

Three common volume mistakes

Treating outside volume as inside space

Walls, the base and fittings occupy space. Outside measurements can therefore overstate usable capacity.

Confusing radius and diameter

Powers of the radius amplify this input error. Check which distance was actually measured.

Relabeling liters as kilograms

Mass requires a suitable density as well. Volume on its own does not establish the weight of the contents.

How does extra height affect capacity?

A rectangular interior measuring 80 cm long, 40 cm wide and 50 cm high has a geometric volume of 160 liters. At 60 cm high, it holds 192 liters, an increase of 32 liters. Length and width are unchanged, so the added volume comes from the same base with 10 cm of extra height. Wall thickness, fittings and an unfilled rim are not separately deducted.

  • The selected solid matches my container or object.
  • Capacity uses internal measurements and an appropriate fill height.
  • Liters describe volume; weight and material quantities need further information.

Calculator for this guide

Check capacity using internal measurements

Measure the inside length, width and usable fill height rather than outside dimensions. Account for fittings separately. To calculate the weight of a filling, you also need the density of the actual material.
Open the matching calculator

How the calculation works

Calculation

Calculation method and model limits

A shape calculation starts by expressing its dimensions in a common base unit. A conversion instead starts with a known volume. Both routes produce equivalent values across the available volume units.

1
Select the solid and dimensions

Choose the matching shape and decide whether outside size or internal capacity is needed.

2
Find the enclosed volume

Multiply the dimensions according to the solid's formula, using the radius for round shapes.

3
Convert to your result unit

Apply the appropriate source and destination factors to express the calculated volume.

The same volume appears in your selected unit, liters, cubic meters and cubic centimeters. The worked formula helps you check the radius, height and units used.

Simplified formula

Cuboid: V = length × width × height. Cylinder: V = π × radius² × height. Sphere: V = 4 ÷ 3 × π × radius³. Volume in liters = volume in m³ × 1,000 = volume in cm³ ÷ 1,000.

Transparency

Scope and assumptions

The calculation itself is country-independent. Language and display choices do not change its mathematical logic.

Calculation
Country-independent calculation
Applies to
International
Currency
No monetary calculation
Units
Units follow an explicit calculation or billing model

Questions about volume, solids and liters

How many liters are in a cubic meter?

One cubic meter is exactly 1,000 liters. A liter is also 1,000 cubic centimeters or one cubic decimeter. These are different units for the same volume.

Can I calculate a partly filled sphere?

Sphere mode calculates the complete enclosed sphere. A partial volume up to a fill level needs a spherical-cap formula, which is not included. For an upright cuboid or cylinder, you can instead use fill height in place of total height.

Why might the real contents differ from the result?

The formulas assume ideal solids. Measurement differences, irregular walls, fittings and space left at the top change usable capacity. Check the actual construction and the manufacturer's information for a specific product.

Continue calculating

Add area, quantities and allowances

Check a base area, scale a known quantity or calculate a percentage allowance for your project.

Editorial method

We test the worked example automatically with the same logic used by the calculator. Sources, inputs, rounding and model limits are listed separately. This does not replace case-specific professional advice.