Convert milliliters (mL) to grams (g) for cooking by entering a volume and choosing the ingredient’s density. The calculator returns the ingredient’s estimated mass; because milliliters measure volume and grams measure mass, there is no single conversion that works for every food.
Formula
Weight in grams = volume in milliliters × density in grams per milliliter.
- V is the ingredient volume in milliliters (mL).
- ρ (rho) is the ingredient’s density in grams per milliliter (g/mL).
- m is the resulting mass in grams (g).
In symbols, m = V × ρ. The calculator’s density field is a value you supply: use a reliable ingredient-specific figure when available. Its default of 1 g/mL is a useful starting point for water, not a universal cooking conversion. The result is rounded to one decimal place for grams; the kilogram output is rounded to three decimal places.
Worked Example
Using the calculator’s default inputs—100 mL and a density of 1 g/mL:
- Multiply volume by density: 100 mL × 1 g/mL = 100 g.
- Convert grams to kilograms: 100 g ÷ 1,000 = 0.100 kg.
The displayed results are 100.0 g and 0.100 kg. The mL units cancel in the first calculation, leaving grams.
Why Milliliters Do Not Always Equal Grams
A milliliter is a unit of volume, describing how much space an ingredient occupies. A gram is a unit of mass, describing how much matter it contains. Density links the two. A milliliter of water is approximately 1 gram under ordinary cooking conditions, so water is often treated as a 1:1 conversion. That convenient rule does not hold for oil, flour, honey, sugar, or other ingredients.
Ingredients pack and flow differently. A spoonful of loosely filled flour contains less mass than the same volume of compacted flour. Granulated sugar, powdered sugar, and brown sugar also have different packing behavior. Liquids vary too: oils are generally less dense than water, while a thick syrup can be denser. Temperature and the exact composition of an ingredient can make small differences as well.
For that reason, the calculator asks for density instead of silently assuming every ingredient behaves like water. If you do not know the density, look for a dependable reference for that specific ingredient and form. A label or recipe may give a mass for a stated volume, which you can divide to find density: grams ÷ milliliters = g/mL.
How to Use the Calculator
- Enter the volume shown in your recipe, in milliliters. Use the same unit throughout; convert teaspoons, tablespoons, cups, or fluid ounces to mL first if needed.
- Enter the ingredient’s density in g/mL. Do not use a density for a different ingredient or a differently packed form.
- Read the gram result as an estimate and use the kilogram result when a larger unit is convenient.
For example, if a product’s reference gives 90 g for 100 mL, its density is 90 ÷ 100 = 0.9 g/mL. Entering 100 mL and 0.9 g/mL gives 90 g. This illustrates the calculation only; it is not a general density for all cooking oils or products.
Choosing a Density and Understanding Accuracy
The most useful density is one that matches the ingredient and the way it is measured. Flour may be sifted or settled; brown sugar may be loose or firmly packed; chopped ingredients may have irregular air spaces. These differences make a universal density table imperfect, especially for dry ingredients.
- Prefer a mass-and-volume figure for the exact ingredient and form you are using.
- Check whether a recipe’s cup or spoon measure is level, packed, sifted, or otherwise specified.
- For a repeatable recipe, weighing the ingredient directly is usually more reliable than estimating its density.
- Keep sensible precision: a density quoted to several decimal places does not make an imprecise volume measurement exact.
Density values may also vary with temperature, moisture, and product formulation. A calculator can apply the formula accurately to the figures entered, but it cannot correct an inaccurate density or a poorly measured volume. The displayed decimal places are rounding, not a guarantee of laboratory-level precision.
Common Conversion Mistakes
- Assuming 1 mL always equals 1 g: this is a practical approximation for water, not a general rule for ingredients.
- Confusing fluid ounces with ounces by weight: fluid ounces measure volume, while ounces on a scale measure mass. They are not interchangeable without density.
- Mixing units: the calculator expects mL and g/mL. A density stated in kg/L has the same numerical value as g/mL, but other density units need conversion first.
- Applying a dry-ingredient density to a liquid: density must match the ingredient, not just the container or recipe category.
- Over-rounding: rounding the density before multiplying can change the final result, particularly for larger quantities. Keep the best available value until the final answer.
For reference, 1,000 mL equals 1 liter, and 1,000 g equals 1 kilogram. In US customary measures, one US cup is 236.588 mL and one US fluid ounce is 29.5735 mL. Recipe conventions may round these figures, and an imperial cup or fluid ounce is different from a US measure. Convert the volume carefully before applying density.
Frequently Asked Questions
How many grams are in 100 mL?
It depends on the ingredient. For water, 100 mL is approximately 100 g. For another ingredient, multiply 100 mL by its density in g/mL.
Is 1 mL equal to 1 gram when cooking?
Approximately for water in ordinary cooking contexts. It is not true for every liquid or solid ingredient because different materials have different densities.
How do I convert mL to grams without knowing density?
You cannot calculate an ingredient-specific mass accurately from volume alone. Find a matching density or a reliable weight-for-volume reference, or weigh the ingredient directly.
Can I use this calculator for flour and sugar?
Yes, if you enter a suitable density for the particular flour or sugar and its measured state. Packing and preparation can change how much mass fits in a given volume.
How do I convert grams back to milliliters?
Rearrange the formula: volume in mL = mass in grams ÷ density in g/mL. This also requires an appropriate density.
Related
Formula used
in ml | Volume | mL | 100 | 0 in den | Ingredient density | g/mL | 1 | 0.01 out gram | Weight | g | ml * den | 1 out kg | Weight | kg | gram / 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, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- 5 Grams to mL Conversion Calculator: Formula & Examples5.00 mL
- Catering Calculator: Food Per Person for Any Event22,500 g
- 100 Grams to Milliliters: Calculator and Ingredient Guide
- ML to G Calculator: Convert Milliliters to Grams100.00 g
- Catering Food Quantity Calculator and Portion Guide25.00 kg
- Convert Pints to Pounds Calculator: Formula and Examples1.04 lb