Milliliters ↔ Grams Converter - Ingredient-Specific Conversions

Convert milliliters (ml) to grams or grams to ml for cooking and baking. Free bidirectional converter with accurate densities for all common ingredients.

Reviewed by the Calcura editorial team · Last reviewed

Question
How do I convert milliliters to grams?
Answer
grams = mL × density. For water it's a 1:1 conversion (1 mL = 1 g) since water has density 1.00 g/mL. Other ingredients vary: oil ≈ 0.92 g/mL, milk ≈ 1.03, honey ≈ 1.42, heavy cream ≈ 1.00, all-purpose flour ≈ 0.55, granulated sugar ≈ 0.85. So 100 mL of oil weighs 92 g, while 100 mL of honey weighs 142 g. Always multiply by the ingredient's specific density.
▸Show formula & caveats
Formula
grams = mL × density_g_per_mL
Caveats
  • Density is temperature-dependent — warm oil is slightly less dense than cold oil (±2%).
  • Flour density varies with sifted/settled/packed; real values range 0.50–0.60 g/mL.
  • Water-weight equivalence (1 mL = 1 g) is exact only at 4°C; at room temperature, 1 mL of water is 0.9982 g.

Milliliters to Grams Conversion Table (by Ingredient)

Values use typical ingredient densities from USDA FoodData Central. Expect ±5% real-world variation.

IngredientDensity (g/mL)100 mL (g)250 mL (g)500 mL (g)
Water1.00100 g250 g500 g
Milk (whole)1.03103 g258 g515 g
Heavy cream1.00100 g250 g500 g
Olive oil0.9292 g230 g460 g
Vegetable oil0.9292 g230 g460 g
Honey1.42142 g355 g710 g
Maple syrup1.33133 g333 g665 g
All-purpose flour0.5555 g138 g275 g
Granulated sugar0.8585 g213 g425 g
Brown sugar (packed)0.9393 g233 g465 g
Butter (melted)0.9191 g228 g455 g

What This Calculator Does

This calculator converts volume (mL) to mass (grams) or vice versa, using the ingredient's density. Water is the trivial case: 1 mL = 1 g by definition. Everything else needs a density factor — oil is 0.92 g/mL, honey is 1.42, flour settles around 0.55–0.60 depending on how it's packed. The tool uses published densities for 20+ common ingredients. Densities are approximate: real values vary with temperature, brand, humidity, and packing, so expect ±5% precision in practice.

When To Use This Calculator

Converting a volume spec to a weight spec

Recipe calls for 200 mL olive oil; scale's in grams. Olive oil ≈ 0.91 g/mL, so 200 × 0.91 = 182 g. Weigh 182 g directly onto the mixing bowl.

Adapting a beekeeper's or maple producer's label

A 250 g jar of honey: 250 / 1.42 = 176 mL. Useful when a recipe asks for '⅔ cup honey' (≈ 158 mL) and you're comparing to a weight-labeled jar.

Sourdough hydration calculations

500 g flour at 75% hydration needs 375 g water. Since water is 1 g/mL, that's 375 mL — measured on the same gram scale without switching units.

Brand substitution with different packaging units

Recipe lists '100 mL heavy cream.' Your US pint container (473 mL total) shows fl oz, not mL. Quick math: 100 / 29.57 = 3.4 fl oz, easier to eyeball against the carton.

How It Works

Density (ρ) is mass per unit volume: ρ = m / V. Rearranging: m = ρ × V and V = m / ρ. For water, ρ = 1.000 g/mL at 4°C (slightly lower at room temp). Oils are ~0.91–0.93; syrups and honey run 1.3–1.45 depending on sugar content; flours are 0.5–0.6 depending on type and packing. Densities shift with temperature — warm oil is less dense than cold — so laboratory-precise cooking would specify temperature. For home recipes, room-temperature values are standard and close enough.

Formula

grams = mL × density (g/mL) mL = grams / density ρ_water = 1.00 g/mL ρ_honey ≈ 1.42 ρ_oil ≈ 0.92 ρ_flour ≈ 0.59 (varies by pack)

Real-World Example

Scenario

A home cook halving a pancake recipe that calls for 240 mL milk, 30 mL maple syrup, 50 g flour, wanting all measurements in grams for consistency on a single digital scale.

Calculation

Milk (ρ ≈ 1.03): 240 × 1.03 = 247 g → halved = 124 g Maple syrup (ρ ≈ 1.32): 30 × 1.32 = 40 g → halved = 20 g Flour: already in grams, halved = 25 g

Result

Use one scale, tare between additions: 124 g milk, 25 g flour, 20 g maple syrup. Eliminates the mental-model switch between volume (mL) and mass (g) partway through a recipe. For accuracy: 247 g milk is within 2% of reality (density varies by fat content — skim is 1.035, whole is 1.030).

Common Mistakes to Avoid

Mistake: Assuming 1 mL = 1 g for everything

Solution: Only true for water (and approximately for skim milk, clear juices). Honey, syrups, and flour all break the 1:1 assumption. Using ρ = 1 universally gives 42% error on honey and 69% error on powdered sugar.

Mistake: Using liquid density for packed solids

Solution: Flour's 0.59 g/mL assumes a loosely spooned cup. Scooped and packed, flour reads 0.65–0.70 g/mL. Sugar packed versus granulated differs by 10%. When in doubt, weigh both options and calibrate.

Mistake: Ignoring temperature effects on oils

Solution: Cold olive oil is ~0.92 g/mL; at 100°C it's ~0.87. For room-temp home cooking the difference is 1–2%, but for confectionery or chocolate tempering, use temperature-corrected densities.

Mistake: Applying generic 'flour' density to specialty flours

Solution: All-purpose flour is ~0.59 g/mL. Cake flour is lighter (~0.54). Whole wheat is heavier (~0.62). Almond flour is denser (~0.68). Match the density to the specific flour, or weigh directly.

mL to Grams vs. Related Calculators

When This Isn't the Right Tool

Scientific or pharmaceutical precision

Use instead: Cooking densities are tabulated values with 2–5% tolerance. For chemistry, pharmacy, or lab work, use temperature-corrected density tables and a balance calibrated for the specific substance.

Packed solids where packing dominates

Use instead: Brown sugar's density depends heavily on how hard it's packed — 'packed cup' varies by 20% between cooks. For consistent results, weigh directly and skip the volume-mass conversion.

Foamed or whipped ingredients

Use instead: Whipped cream, beaten egg whites, and meringue trap air, dropping apparent density to 0.3–0.5 g/mL. Measure these by volume after whipping, or weigh before whipping.

High-viscosity ingredients at non-standard temperature

Use instead: Cold molasses can be twice as viscous and slightly denser than warm. For critical applications, use a temperature-matched density or warm the ingredient to a known reference temp.

How to Verify This Calculation

For water, 100 mL = 100 g (±0.1 at room temp). Check a known ingredient: a 240 mL US measuring cup of water should weigh 240 g on your scale. Any larger discrepancy indicates scale calibration issues or a non-US measuring cup.

Sources

  • USDA FoodData Central — USDA's nutrient database includes weight-per-measure data for thousands of ingredients, the reference for most cooking density values.
  • NIST — Density of Water — NIST's reference for water density at various temperatures — 1.000 g/mL at 4°C, 0.9982 at 20°C, 0.9584 at 100°C.
  • BIPM — SI Brochure — Defines the kilogram and the liter (1 L = 1 dm³) that anchor every gram-to-milliliter conversion.

Reviewed by the Calcura editorial team · Last reviewed

Related Calculators

Frequently Asked Questions