Skip to content
OverCalculator
Theme
ConversionMore in Volume & cookingComparisons: ConversionAngles & coordinatesData & number systemsEnergy & powerLength & areaMass & weightMore conversions

Grams in ml Converter

Convert grams to milliliters with density-aware presets for water, milk, oil, honey, flour, sugar, and custom ingredients.

Published

Volume

Milliliters
100 mL
Mass entered
100 g
Density used
1 g/mL
Ingredient
Water

100 g at 1 g/mL occupies 100 mL.

Enter the mass you want to convert to milliliters.
g

Results update as you type.

Worked example

grams: 100 · material: water · density: 1

Result: 100 mL

Try it →

Grams in ml Converter

This grams in ml converter is the canonical mass-to-volume page for answering a deceptively common question: how many milliliters does a weighed amount occupy? The form does not assume every ingredient behaves like water. It reads the mass in grams, reads the selected material, chooses the corresponding density, and divides grams by that density. Water is the default at 1.00 g/mL, but the same screen can use milk at 1.03, vegetable oil at 0.92, honey at 1.42, all-purpose flour at 0.59, granulated sugar at 0.85, or any positive custom density you enter.

That density step is the whole conversion. Grams describe mass. Milliliters describe volume. A scale can tell you that a jar contains 250 g of something, but it cannot tell you how much space the material takes unless density is known. Dense liquids squeeze more grams into each milliliter, so a given mass takes fewer milliliters. Light oils and aerated powders need more milliliters for the same mass. The result is therefore not a universal gram-to-milliliter truth; it is a statement about the chosen substance and density.

What the calculator does

The calculator requires a finite, nonnegative number in the Mass field. For an ingredient preset, it uses the listed density. For Custom density, it uses the positive g/mL value from the custom field. Finally, it returns the primary result in milliliters and displays the mass entered, density used, and ingredient label. If the density is zero, negative, missing, or not a number, the calculation is invalid instead of guessing.

This matters most when the input came from a scale but the next task uses a jug, beaker, dosing cup, packaging line, or storage container. A cook may weigh sugar but need to know whether a 500 mL jar is large enough. A lab technician may receive a reagent mass but dispense by volume after confirming density. A fuel, oil, or chemical buyer may compare delivery tickets by mass while tanks are marked by volume. Each case has the same formula but a different density source.

For surrounding tools, use the density converter calculator when your density is listed in another unit, the kg to mL converter when your mass starts in kilograms, the ml to kg converter for the reverse direction, and the volume converter for pure volume-unit changes.

Density relationship

Density is mass per unit volume. Written in the direction used by this page, volume equals mass divided by density:

volume in mL=mass in gdensity in g/mL\text{volume in mL} = \frac{\text{mass in g}}{\text{density in g/mL}}

The same relationship can be rearranged into the familiar density identity:

mass=density×volume\text{mass} = \text{density} \times \text{volume}

The units show why it works. Dividing grams by grams per milliliter leaves milliliters. If the density is 1 g/mL, the numbers match. If the density is above 1 g/mL, the denominator is larger and the volume is smaller. If the density is below 1 g/mL, the denominator is smaller and the volume is larger.

Example: converting grams to milliliters

Use the default example: 100 g of water. The water preset uses 1.000 g/mL. The conversion method performs:

volume in mL=1001.000=100.00\text{volume in mL} = \frac{100}{1.000} = 100.00

The calculator shows 100.00 mL, with Mass entered: 100 g, Density used: 1.000 g/mL, and Ingredient: Water, plus the conversion summary “100 g ÷ 1 g/mL = 100 mL”. Change only the ingredient to honey and the same mass becomes:

volume in mL=1001.42=70.42\text{volume in mL} = \frac{100}{1.42} = 70.42

The water answer and honey answer are both correct for their selected densities. Neither says that grams and milliliters are permanently interchangeable.

Reference densities for context

These values are practical rounded references for comparing calculator behavior. Use a product label, laboratory measurement, or data sheet when accuracy matters.

Substance or ingredientDensity to useWhat it means for 100 g
Water1.000 g/mL100.00 mL
Milk1.030 g/mL97.09 mL
Vegetable oil0.920 g/mL108.70 mL
Honey1.420 g/mL70.42 mL
All-purpose flour preset0.590 g/mL169.49 mL
Granulated sugar0.850 g/mL117.65 mL
Glycerin, for comparisonabout 1.26 g/mLabout 79.37 mL

The flour row deserves caution. Flour is a bulk material, not a uniform liquid. A sifted spoonful, a gently scooped measuring cup, and a packed container can have noticeably different bulk densities. The table above uses the same density preset as the calculator, so its values match what the calculator shows, but a serious baking or manufacturing process should establish its own density from the actual ingredient and handling method.

Where this conversion appears

In cooking, grams-to-milliliters conversions are often a bridge between recipe traditions. European-style recipes may give grams for repeatability, while older measuring tools are marked in milliliters or cups. The conversion can estimate container size, pour volume, or how far a bottle will fill, but the scale remains the more accurate instrument for dry ingredients.

In laboratories, the same math helps prepare solutions, aliquot liquids, or compare a weighed sample with a volumetric flask. The difference is documentation: a lab note should include the density value, temperature, concentration, and source. A material safety data sheet or certificate of analysis is usually better than a generic table.

In fuel, lubricant, resin, and chemical work, density often changes with formulation and temperature. A liter of gasoline, diesel, syrup, or solvent is not one kilogram by default. If money, safety, or regulatory reporting depends on the number, measure density under the relevant conditions instead of relying on a cooking-style shortcut.

Common pitfalls

The first pitfall is treating “grams in ml” as if it were a fixed unit conversion. It is not. The second is using the right density but the wrong units. The form expects g/mL; kg/L is numerically equivalent, while g/L must be divided by 1000. The third is forgetting that temperature and concentration affect liquids. Warm liquids usually expand, dissolved solids increase density, and aeration lowers apparent density. Finally, avoid mixing volume tools and mass tools in the same recipe without converting each ingredient separately. Oil, flour, honey, and water all need their own density.

Sources

  • NIST Chemistry WebBook, Water fluid properties — reference data showing water density depends on temperature and pressure.
  • NIST Office of Weights and Measures, SI Units: Volume — unit context for liters and milliliters.
  • USDA FoodData Central, food and measure data — food entries and household measures useful for ingredient-specific mass and volume checks.
  • Engineering ToolBox, liquid densities — engineering reference values for comparing common liquids.

Frequently asked questions

Is one gram the same as one milliliter?
Only for a substance whose density is 1 gram per milliliter. The calculator defaults to water, so 100 grams of water becomes 100 milliliters. Oil, honey, flour, and sugar use different preset densities, so their milliliter results are smaller or larger than the gram number.
What does this grams in ml converter actually calculate?
It divides the entered mass in grams by the selected density in grams per milliliter. The form includes presets for water, milk, vegetable oil, honey, all-purpose flour, and granulated sugar, plus a custom density option. The answer only applies to the selected substance or density.
Which density should I choose for cooking?
Choose the preset that matches the ingredient as closely as possible, but treat dry ingredients as estimates. Flour and sugar can pack differently by brand, humidity, sifting, and scooping technique. For reliable baking, weigh the ingredient and use milliliters only as a practical volume estimate.

Sources

  • NIST-SI-UNITS-VOLUME

    primary · Aug 11, 2026

    Supports: NIST SI volume guidance supports the milliliter as a cubic-centimeter volume unit and the volume-equals-mass-divided-by-density conversion framing used by the form.

  • NIST-WEBBOOK-WATER

    primary · Aug 11, 2026

    Supports: NIST Chemistry WebBook water fluid-property data supports the default water preset at 1.00 g/mL and the page's claim that liquid density depends on temperature and pressure.

  • USDA-FDC

    secondary · Aug 11, 2026

    Supports: USDA FoodData Central household-measure records support the article's caution that flour and other dry ingredients have bulk densities that vary with sifting and scooping method.

  • ENGINEERINGTOOLBOX-LIQUID-DENSITIES

    secondary · Aug 11, 2026

    Supports: Engineering ToolBox liquid-density reference values support the milk, vegetable oil, honey, and glycerin comparison rows in the article's reference table.

Related calculators

Grams in ml Converter updated at

Verified

Corrected — see corrections historyFound an error? Report it