Convert a known volume into mass by entering volume, density, and units, then get the answer with automatic unit conversion.
Advanced options
How to use our Volume to Mass Calculator
- Enter Volume value using a number greater than 0.
- Choose the matching Volume unit for that number, such as mL, L, ft3, or gal.
- Enter Density value, which means mass per unit volume.
- Select the density pair using Density mass unit and Density volume unit so the calculator knows exactly what your density means.
- Choose Output mass unit for the final answer, such as g, kg, oz, or lb.
- If needed, open Advanced options and choose Display format and Decimal places for reporting.
- Click Calculate to see Mass, Density in base units, and Volume in base units.
- Sanity-check the result: if you enter water-like density near 1 g/mL, then 1 L should come out near 1 kg, and Density in base units should be near 1000 kg/m3.
Definitions
Volume value: The amount of space the material takes up, entered in the selected volume unit.
Density value: How much mass fits into each unit of volume. Density is mass per unit volume [1].
Density mass unit: The mass part of the density unit, such as g, kg, oz, or lb.
Density volume unit: The volume part of the density unit, such as mL, L, ft3, or gal.
Output mass unit: The unit used to show the final Mass result.
Mass: The amount of matter in the material [2].
Density in base units: Your entered density converted to kg/m3 so unit handling is easier to check.
Volume in base units: Your entered volume converted to m3 before the main calculation.
Common mistakes and quick fixes
Mistake: Typing a value in Volume value but leaving Volume unit on the wrong unit, such as entering 250 for mL while L is selected.
Fix: Make sure Volume unit matches the number you typed before you calculate Mass .
Mistake: Entering Density value without matching it to the correct Density mass unit and Density volume unit .
Fix: If your density is 0.92 g/mL, set Density mass unit to g and Density volume unit to mL.
Mistake: Using 0, a negative number, or a blank field in Volume value or Density value .
Fix: Enter numbers greater than 0 in both Volume value and Density value .
Mistake: Expecting Mass to stay the same number after changing Output mass unit .
Fix: Remember that changing Output mass unit changes only the unit label and number scale, not the physical amount.
Mistake: Thinking mL and cm3 are different-sized units and entering a converted number by hand first.
Fix: Enter the original value once and choose the correct Volume unit or Density volume unit ; 1 mL equals 1 cm3 exactly.
Mistake: Reading a very small or very large Mass and assuming it is wrong because it uses scientific notation.
Fix: Open Advanced options and change Display format or Decimal places to show the result the way you want.
Limitations & Key Assumptions / Boundary Conditions
- Results are only as accurate as the Density value you enter. Real materials can change density with temperature, pressure, concentration, or composition.
- The calculator assumes one uniform density for the whole volume. Mixtures, foams, wet materials, and layered materials may not follow that assumption well.
- All calculations use deterministic unit conversions, so unusual results usually come from mismatched input units rather than from the math.
- Volume value and Density value must be greater than 0. Blank, zero, negative, or non-numeric entries are blocked as errors.
- Display format and Decimal places change only how numbers are shown, not the internal calculation.
- Very large or very small finite results can be shown in scientific notation for readability, especially when Display format is set to Auto.
Methodology
Core idea
The calculator uses the standard density relationship and solves for mass after converting all units to a compatible basis.
ρ (density) = m (mass) / V (volume)
m (mass) = ρ (density) x V (volume)
How unit conversion is handled
First, the entered density is converted into kg/m3. Then the entered volume is converted into m3. Multiplying those gives mass in kilograms. Last, that mass is converted into your selected Output mass unit.
m_out = (ρ_in x conv_mass_density x V_in x conv_volume) / conv_output_mass
Here, conv_mass_density converts the chosen density unit pair into kg/m3, conv_volume converts the chosen volume unit into m3, and conv_output_mass converts kilograms into the selected output mass unit.
Base conversion factors used
1 mL = 1e-6 m3
1 L = 0.001 m3
1 cm3 = 1e-6 m3
1 gal = 0.003785411784 m3
1 fl oz = 2.95735295625e-5 m3
1 in3 = 1.6387064e-5 m3
1 ft3 = 0.028316846592 m3
1 lb = 0.45359237 kg
1 oz = 0.028349523125 kg
1 g = 0.001 kg
1 mg = 1e-6 kg
Worked mini-example
Suppose Volume value is 250, Volume unit is mL, Density value is 0.92, Density mass unit is g, Density volume unit is mL, and Output mass unit is g.
ρ = 0.92 g/mL = 920 kg/m3
V = 250 mL = 0.00025 m3
m = 920 x 0.00025 = 0.23 kg
0.23 kg = 230 g
So the final Mass is 230 g, Density in base units is 920 kg/m3, and Volume in base units is 0.00025 m3.
Assumptions used in the calculation
The method assumes density is constant over the full volume and that the entered unit selections exactly match the numbers you typed. If your material changes density with conditions, real-world mass can differ from the calculated result.