Conversion · Units

Grams to Milliliters Calculator

Convert grams to milliliters or milliliters to grams when the ingredient or material density is known.

Conversion inputs

g
g/mL
Calculated in your browser.
Conversion result

500 mL

Volume from mass and density

Input500 g
Density1 g/mL
Reverse check500 g
Formulamilliliters = grams ÷ densityMass and volume need the substance density; water-like 1 g/mL is only an editable example.

Convert with the units shown

How do you convert grams to milliliters?

Divide grams by density in grams per milliliter. For the reverse direction, multiply milliliters by density.

Formula and unit basis

Mass and volume are different physical quantities. Density is required, so 1 g/mL is an editable water-like example rather than a promise for flour, sugar, oil, or another ingredient.

Conversion rulesmL = grams ÷ density (g/mL)grams = mL × density (g/mL)

Unit reference: NIST Guide to the SI conversion factors.

Worked example: 500 grams

Mass500 g
Density example1 g/mL
Volume500 mL

Enter the ingredient density from a reliable label or reference when the material is not close to water.

Limits and assumptions

This does not infer ingredient density, recipe yield, packing behavior, or a fluid-ounce result.

Grams to Milliliters Calculator FAQs

Are grams and milliliters interchangeable?

No. They match numerically only when the substance density is 1 g/mL.

Can I convert flour grams to milliliters?

Yes if you have a density that matches the flour and packing condition; volume measures vary by ingredient.