Example 1
- Direction: milliliters to grams
- Water
- 100 ml
100 g
100 ml water × 1.00 g/ml = 100 g.
Enter milliliters or grams and pick a product. The calculator multiplies volume by density ρ in g/ml or divides mass by ρ: m = V × ρ. One hundred ml of water is 100 g, one hundred ml of oil is 91 g, 250 ml of sugar is 200 g. Sugar at 0.80 and flour at 0.52 g/ml match the cup-to-mass table.
Enter milliliters. The result will appear here.
Full cups, rather than any milliliter amount, are on cup to mass. Spoons at 15 ml and 5 ml are on tablespoon and teaspoon.
The ml to grams calculator converts volume to mass or mass to volume at a chosen density. The formula is m = V × ρ and V = m / ρ. Units are milliliters, grams, and g/ml. For water ρ = 1.00, so 100 ml is 100 g.
Oil in the table is 0.91 g/ml, so 100 ml of oil is 91 g. Honey is 1.42 g/ml and milk is 1.02 g/ml. Sugar and flour keep the cup-page constants: 200 g and 130 g per 250 ml, or 0.80 and 0.52 g/ml. At 250 ml of sugar the result is 200 g. At 100 ml of flour the result is 52 g.
Choose milliliters to grams or grams to milliliters, then a product from the list. Enter the number in the volume or mass field. For a custom density, enter ρ greater than zero. A comma in 0.91 works the same as a period.
This is not cup to mass — that page counts full cups. Tablespoon volume at 15 ml and teaspoon volume at 5 ml, without density, are on the spoon page. Here you can enter any milliliter amount, for example 37 or 250.
The result is not a lab measurement. Loose flour, another oil brand, or warm honey weigh differently. Currency and the US/metric header switch do not change ρ from the table.
Enter 100 ml with water and compare the result with 100 g. With oil and 100 ml the result is 91 g. With sugar and 250 ml the result is 200 g. The other way, 100 g of water is 100 ml.
m = V × ρ · V = m / ρ
m in grams, V in milliliters, ρ in g/ml. Water 1.00 · oil 0.91 · sugar 0.80 · flour 0.52. Example: 100 × 0.91 = 91 g of oil.
Mass is milliliters times ρ. 100 ml of water is 100 g. 100 ml of oil is 91 g. 250 ml of sugar is 200 g.
100 g
100 ml water × 1.00 g/ml = 100 g.
91 g
100 ml oil × 0.91 g/ml = 91 g.
200 g
250 ml sugar × 0.80 g/ml = 200 g (same as the cup page).
The calculator multiplies volume in milliliters by product density in g/ml. For water at 1.00 g/ml the gram result equals the milliliters you entered. The other way, grams are divided by the same density.
They are kitchen constants from this page’s table: water 1.00, milk 1.02, oil 0.91, honey 1.42, sugar 0.80, and flour 0.52 g/ml. Sugar and flour match 200 g and 130 g per 250 ml, the same as on the cup page.
Here you enter any milliliter or gram amount. The cup page counts full cups with the same density table. Tablespoons at 15 ml and teaspoons at 5 ml are on the spoon page, without density.
Pick custom density on the product list and enter a number in g/ml greater than zero. The calculator uses that value instead of a table row. Zero and negative values are rejected.
No. These are kitchen constants for a recipe. Loose flour, another oil brand, or warm honey change the real mass. Use a scale for precise weighing.
Choose milliliters to grams or grams to milliliters first, then the product, then the number. With custom density, fill the g/ml field before you calculate.
Yes. A comma and a period are the same fraction in the amount field and in the density field. At oil 0.91 g/ml, one hundred milliliters is 91 g.
The primary result is the converted mass or volume. The other side echoes the value you entered in the input unit. Beside them, you see the density ρ used, in g/ml.
Zero is allowed and still converts to zero. A negative number is rejected. An empty field yields no result.
A 15 ml tablespoon and a 5 ml teaspoon are on the spoon page. Cups of sugar or flour are on cup to mass.
Water at ρ = 1.00: 100 ml × 1 = 100 g. Oil at ρ = 0.91: 100 × 0.91 = 91 g.
Sugar is 0.80 g/ml, so 250 × 0.80 = 200 g. That is the same constant as one 250 ml cup on the cup-to-mass page.
Divide mass by ρ. Example: 91 g of oil ÷ 0.91 = 100 ml. Switch direction to grams to milliliters on this page.
Only for water (ρ ≈ 1 g/ml). Honey is 1.42, oil 0.91, flour 0.52 — without density there is no single conversion.
Water 1.00, milk 1.02, oil 0.91, honey 1.42, sugar 0.80, flour 0.52 g/ml. Custom density accepts any ρ > 0.
Here you enter any ml or g. Tablespoon ml uses 15 ml and 5 ml. Cup to mass counts full 250 ml cups with the same ρ table.
Density links mass and volume: m = V × ρ. Kitchen practice treats water as about 1 g/ml.
Page updated November 3, 2026.