keepcalculator

06 Numbers and Powers

How to Convert mL to Grams (Step-by-Step)

Card No. 06·1070 · Updated · Standard formula, shown below

Mass 100.00 g
Volume
100 mL
You entered
Density
1 g/mL
You entered
You enter
Volume, Density
You get
Mass
Rounding
2 dp

This guide shows you how to convert milliliters (mL) to grams (g) for any liquid or substance. You enter the volume in milliliters and the density of the substance, and you get the mass in grams. The key is density: mass equals volume times density. No special tools are needed—just the density value, which you can find on product labels or in reference tables.

Formula

The conversion uses the fundamental density formula:

Mass (g) = Volume (mL) × Density (g/mL)

Where:

  • Mass is the weight of the substance in grams (g).
  • Volume is the amount of space it occupies in milliliters (mL).
  • Density is the mass per unit volume, expressed in grams per milliliter (g/mL).

For water at room temperature, density is approximately 1 g/mL, so 1 mL of water weighs about 1 gram. For other substances, density differs—oil is less dense (~0.92 g/mL), while honey is denser (~1.4 g/mL).

Worked Example

Using the default values from the calculator: volume = 100 mL, density = 1 g/mL (water).

Step 1: Write down the formula: Mass = Volume × Density

Step 2: Plug in the numbers: Mass = 100 mL × 1 g/mL

Step 3: Multiply: Mass = 100 g

So, 100 mL of water weighs exactly 100 grams. The calculator shows 100.00 g.

When to Use This Conversion

You need this conversion when a recipe gives ingredients in milliliters but your kitchen scale measures grams, or when you’re mixing chemicals and need precise masses. It’s also useful in science labs, cooking, baking, and even for calculating shipping weights of liquids. Always remember: the conversion is only valid for a specific substance at a specific temperature, because density changes with temperature (liquids expand when heated, so density decreases).

How to Read the Result

The result tells you how many grams a given volume of the substance weighs. For water, the number is the same as the volume (since density = 1). For denser substances (like honey), the grams will be higher than the milliliters. For less dense substances (like vegetable oil), the grams will be lower. This is why you can’t just assume 1 mL equals 1 g for everything—it’s only true for water.

Common Mistakes

  • Using the wrong density: Confusing g/mL with g/L or kg/L. Always check the units. If density is given in kg/L, multiply by 1000 to get g/mL.
  • Ignoring temperature: Density changes with temperature. For example, water at 4°C has a density of 1.000 g/mL, but at 80°C it’s about 0.972 g/mL. For cooking, the difference is small, but for precise lab work, it matters.
  • Assuming all liquids are like water: Many people think 1 mL = 1 g for everything. That’s false. Olive oil weighs about 0.91 g per mL, so 100 mL of olive oil is only 91 grams.
  • Mixing up units: If you have volume in liters, convert to mL first (1 L = 1000 mL). If you have mass in kilograms, convert to grams (1 kg = 1000 g).

Tips

  • For water at room temperature (around 20°C), use 1 g/mL as a good approximation. For precise work, use the exact density at your temperature.
  • Check product labels—many food items list density or you can find it online from reliable sources.
  • If you’re measuring sticky substances like honey, spray the measuring cup with a little oil to make it pour out cleanly, but remember that the oil residue might slightly affect the volume.
  • Use a digital kitchen scale for best accuracy when baking. Weighing ingredients in grams is more consistent than measuring by volume.
  • When converting a recipe, convert all ingredients using the same method to keep proportions correct.

Troubleshooting

My result seems too high or too low. Double-check the density value. For example, if you used 1 g/mL for milk, it’s actually about 1.03 g/mL, so the result will be slightly off. Look up the exact density for your substance.

I don’t know the density. If you can’t find it, you can measure it yourself: weigh a known volume (e.g., 10 mL) on a scale, then divide the weight in grams by the volume in mL to get density.

The calculator shows “Cannot compute” for negative results. This happens if you enter a negative volume or density. Check your inputs—both should be positive numbers.

My recipe uses cups, not mL. First convert cups to mL (1 US cup = 236.6 mL), then use the density to get grams. Or, find a weight-based recipe.

Temperature is affecting results. If you’re working with hot liquids, let them cool to room temperature before measuring, or use a density table for that specific temperature.

Frequently Asked Questions

Q: Is 1 mL always equal to 1 gram?
A: No, only for water at 4°C (or roughly at room temperature). For other substances, the mass depends on density. For example, 1 mL of mercury weighs about 13.5 grams.

Q: How do I convert grams to milliliters?
A: Use the same formula rearranged: Volume (mL) = Mass (g) ÷ Density (g/mL). If you have 50 g of olive oil (density 0.91 g/mL), the volume is 50 ÷ 0.91 ≈ 54.95 mL.

Q: What is the density of common cooking ingredients?
A: Water: 1 g/mL, milk: ~1.03 g/mL, vegetable oil: ~0.92 g/mL, honey: ~1.4 g/mL, flour: ~0.55 g/mL (but this varies a lot with how it’s packed).

Q: Does the conversion work for solids too?
A: Yes, if you know the density of the solid in g/mL (or g/cm³, which is the same). For example, 10 mL of salt (density ~1.2 g/mL) weighs 12 g. But for irregular solids, it’s easier to weigh directly.

Q: Why does temperature matter?
A: Most substances expand when heated, so the same mass takes up more volume. This lowers density. For example, hot water is less dense than cold water, so 100 mL of hot water weighs slightly less than 100 g.

Q: Can I use this for medications?
A: Only if you have the exact density from a pharmacist or the medication label. Never guess, as dosage errors can be dangerous. Always follow medical advice.

Related

Formula used
in vol | Volume | mL | 100 | 0 | 1000000
in dens | Density | g/mL | 1 | 0 | 20
out mass | Mass | g | vol * dens | 2

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, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →