molecalculator

Moles & Molar Mass

Volume Calculation: Formulas, Units & Examples

Calculator No. 01-7649 · Updated · Formula and assumptions shown below

Volume 500.00 mL
Volume in liters
0.500 L
= Volume ÷ 1000
Density
1 g/mL
Set in the form below
Mass
500 g
Set in the form below
You enter
Density (g/mL), Mass (g)
You get
Volume (mL), Volume in liters (L)
Rounding
2 dp · 3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Volume calculation determines the three-dimensional space an object or substance occupies, typically in cubic units or liters. You enter the object’s dimensions (or a liquid’s mass and density), and the calculator returns its volume in your chosen unit. This guide covers the core formulas, unit conversions, and practical applications for regular solids, liquids, and irregular objects.

Formula

The fundamental relation for volume from mass and density is:

Volume = Mass ÷ Density

  • V = volume (mL or cm³)
  • m = mass (g)
  • ρ (rho) = density (g/mL or g/cm³)

For geometric shapes, volume formulas use length measurements:

  • Cube: V = a³ (a = edge length)
  • Rectangular prism: V = l × w × h
  • Cylinder: V = π × r² × h
  • Sphere: V = (4/3) × π × r³
  • Cone: V = (1/3) × π × r² × h

Worked Example

Using the default values from the calculator: mass = 500 g, density = 1.000 g/mL (density of water at 4 °C).

  1. Volume = 500 g ÷ 1.000 g/mL = 500 mL
  2. Convert to liters: 500 mL ÷ 1000 = 0.500 L

The calculator shows 500.00 mL and 0.500 L.

Assumptions

  • The substance is homogeneous (uniform density throughout).
  • Temperature and pressure are constant; density changes with temperature for most substances.
  • For liquids, the volume is the actual space occupied, not the container’s capacity.
  • For gases, volume depends strongly on pressure and temperature (ideal gas law applies).

Common Volume Formulas for Regular Shapes

For objects with regular geometry, volume is calculated directly from dimensions. Here are the most common formulas:

  • Rectangular box (e.g., shipping container): V = length × width × height. A box 2 m × 1 m × 0.5 m has volume 1 m³.
  • Cylinder (e.g., a can or pipe): V = π × radius² × height. A cylinder with radius 5 cm and height 20 cm: 3.14159 × 25 × 20 = 1570.8 cm³ (or 1.5708 L).
  • Sphere (e.g., a ball): V = (4/3) × π × radius³. A sphere with radius 10 cm: (4/3) × 3.14159 × 1000 = 4188.79 cm³.
  • Cone (e.g., a funnel): V = (1/3) × π × radius² × height.

These formulas assume perfect geometry; real objects may have slight deviations.

Volume from Mass and Density

For liquids, powders, or irregular solids, volume is often found using mass and density. The formula V = m/ρ is essential in chemistry and cooking.

Example: You have 250 g of olive oil (density 0.91 g/mL). Volume = 250 / 0.91 = 274.7 mL. This is useful when a recipe calls for a volume but you only have a scale.

For irregular solids, use water displacement: fill a graduated cylinder with a known volume of water, submerge the object, and the rise in water level equals the object’s volume. This works because the object displaces its own volume of water.

Units and Conversions

Volume units are frequently confused. Here are the key relationships:

  • 1 mL = 1 cm³ (exactly)
  • 1 L = 1000 mL = 1000 cm³ = 1 dm³
  • 1 m³ = 1000 L
  • 1 gallon (US) = 3.78541 L
  • 1 quart (US) = 0.946353 L
  • 1 fluid ounce (US) = 29.5735 mL

When calculating, ensure all dimensions are in the same unit system. Mixing meters and centimeters leads to errors by factors of 100 or 1000.

Common Mistakes and Misconceptions

  • Confusing mass and volume: Mass is the amount of matter; volume is the space it takes. 1 kg of feathers and 1 kg of lead have the same mass but vastly different volumes.
  • Using diameter instead of radius: For cylinders and spheres, the radius is half the diameter. Using the diameter without halving gives a volume 8 times too large for a sphere.
  • Ignoring temperature: Liquids and gases expand when heated. A volume of water at 20 °C is slightly different at 80 °C. For precise work, specify temperature.
  • Forgetting to convert units: If density is in g/mL and mass is in kg, you must convert kg to g (multiply by 1000) before dividing.

Practical Applications

Volume calculations appear in many fields:

  • Cooking: Converting between weight and volume for ingredients with known densities (flour ~0.5 g/mL, water 1 g/mL).
  • Aquariums: Calculating tank volume in liters or gallons from dimensions (length × width × height in cm ÷ 1000 = liters).
  • Shipping: Determining freight volume for boxes (cubic meters) to estimate shipping costs.
  • Medicine (lab only): Preparing solutions requires precise volume measurements; for example, dissolving a mass of solute to a final volume.
  • Construction: Estimating concrete volume for a slab (length × width × thickness).

Limits of Volume Formulas

Geometric formulas assume perfect shapes. Real objects might have irregularities (e.g., a rock is not a perfect sphere). For such cases, water displacement is more accurate. Also, for gases, volume is not a fixed property—it changes with pressure and temperature. The ideal gas law (PV = nRT) is needed, where V is volume, P is pressure, n is moles, R is the gas constant, and T is temperature in kelvin.

For very small volumes (e.g., a drop of water ~0.05 mL), standard formulas still apply, but measurement precision becomes critical. Always use appropriate significant figures based on your measuring tool.

Frequently Asked Questions

How do I calculate the volume of a cylinder?

Use V = π × r² × h, where r is the radius of the circular base and h is the height. For a can with radius 3 cm and height 10 cm, V = 3.14159 × 9 × 10 = 282.74 cm³ (about 283 mL).

What is the difference between volume and capacity?

Volume is the space an object occupies; capacity is how much a container can hold. They are measured in the same units (liters, cubic meters), but capacity refers to the interior volume of a container. A bottle with capacity 1 L holds 1 L of liquid, but its total volume (including walls) is slightly larger.

How do I find the volume of an irregular object?

Use water displacement. Fill a graduated cylinder with a known volume of water (e.g., 50 mL). Carefully submerge the object. Record the new water level (e.g., 62 mL). The object’s volume is 62 – 50 = 12 mL (or 12 cm³). This works for objects that sink; for floating objects, use a sinker or push it down with a thin rod.

Why does density change with temperature?

Most substances expand when heated, increasing volume while mass stays the same, so density (mass/volume) decreases. Water is an exception between 0 °C and 4 °C, where it contracts. For precise volume calculations, use density at the actual temperature of the substance.

Can I convert volume to weight without density?

No. Volume and weight (mass) are related only through density. For example, 1 L of water weighs 1 kg, but 1 L of olive oil weighs about 0.91 kg. You must know the density of the specific substance.

Related

Formula used
in d | Density | g/mL | 1.000 | 0
in m | Mass | g | 500 | 0
out v | Volume | mL | m / d | 2
out vl | Volume in liters | L | v / 1000 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →