What is a grams to ml converter?
A grams to ml converter is a tool that translates between mass (measured in grams) and volume (measured in milliliters). Because grams measure how heavy something is and milliliters measure how much space it occupies, the two are not interchangeable on their own. The bridge between them is density — how tightly the matter is packed. Once you know the density of the substance, the converter can move freely in either direction: grams to milliliters, or milliliters back to grams. This is handy in the kitchen when a recipe lists flour in grams but you only have a measuring cup, in a chemistry lab when preparing solutions, and in everyday tasks like estimating how much a bottle of oil weighs.
Understanding density
Density (the Greek letter ρ, “rho”) is defined as mass divided by volume. For water at room temperature it is almost exactly 1 g/ml, which is what makes water such a convenient reference: 1 ml of water weighs 1 g. Other substances differ. Cooking oil is lighter than water (about 0.92 g/ml), while honey is much heavier (about 1.42 g/ml). Dry, airy ingredients like flour have a low bulk density (around 0.53 g/ml) because of the air trapped between particles. The converter ships with presets for these common substances and lets you type a custom density for anything else.
How does the calculator work?
Pick a substance to load its density (or choose Other and enter your own), then type a value into either the mass or the volume field. The calculator fills in the matching field instantly using the density you selected, and you can switch the units of each field independently. The core relationship is mass equals volume times density:
Rearranging for volume gives the reverse direction:
When density is expressed in g/ml, mass in grams, and volume in milliliters, the units cancel cleanly and no extra conversion factors are needed.
Formula
To go from milliliters to grams, multiply the volume by the density:
To go from grams to milliliters, divide the mass by the density:
Examples
-
Example 1: Water (grams to ml)
- Substance: Water
- Mass: 250 g
- Density: 1 g/ml
- Calculation:
-
Example 2: Honey (ml to grams)
- Substance: Honey
- Volume: 100 ml
- Density: 1.42 g/ml
- Calculation:
-
Example 3: Oil (grams to ml)
- Substance: Oil
- Mass: 92 g
- Density: 0.92 g/ml
- Calculation:
Practical notes
- For pure water at typical room temperature, the conversion is effectively one-to-one: 1 g equals 1 ml.
- Density changes slightly with temperature, so for high-precision lab work use the density that matches your working temperature.
- Bulk densities for powders such as flour and sugar depend on whether the ingredient is packed, sifted, or scooped, so treat the presets as good estimates rather than exact figures.
- If a substance is not listed, look up its density and enter it under the Other option; the converter accepts a wide range of density units.
FAQs
Is 1 gram the same as 1 ml?
Only for substances with a density of 1 g/ml, such as pure water. For anything denser or lighter, the gram and milliliter values differ and you must apply the substance’s density.
Why do I need the density to convert grams to ml?
Grams measure mass and milliliters measure volume — two different physical properties. Density is the conversion factor that links them, telling you how much mass fits into a given volume.
Can I convert grams to ml for dry ingredients like flour?
Yes, using the ingredient’s bulk density. Keep in mind that bulk density varies with how the ingredient is packed, so the result is an estimate rather than an exact value.
How do I convert ml to grams?
Multiply the volume in milliliters by the density in g/ml. For example, 200 ml of milk at 1.03 g/ml weighs 206 g.
What density should I use if my substance is not listed?
Look up the substance’s density from a reliable reference and enter it under the Other option. You can also explore the density unit converter to switch between density units.