This calculator converts a weight in grams to a volume in milliliters, but only when you also specify the density of the substance. You enter the mass in grams and the density in grams per milliliter (g/mL), and the calculator returns the volume in milliliters. For water at 4°C, the conversion is 1 g = 1 mL, but for most other substances, the density changes the result.
Formula
The relationship between mass, volume, and density is one of the most fundamental in physics and chemistry:
Volume (mL) = Mass (g) ÷ Density (g/mL)
Where:
- Mass is the amount of matter, measured in grams (g).
- Density is the mass per unit volume, measured in grams per milliliter (g/mL).
- Volume is the space the substance occupies, measured in milliliters (mL).
This formula works for any substance, but the density value is the key variable. For example, water has a density of about 1.00 g/mL at room temperature, so 100 g of water occupies 100 mL. Olive oil has a density of about 0.91 g/mL, so 100 g of olive oil occupies about 110 mL.
Worked Example
Using the default values from the calculator (mass = 100 g, density = 1 g/mL):
- Start with the formula: Volume = Mass ÷ Density
- Plug in the numbers: Volume = 100 g ÷ 1 g/mL
- Perform the division: Volume = 100 mL
The calculator shows 100.00 mL, which matches exactly. For a different substance, say honey with a density of 1.42 g/mL, the same 100 g would give 100 ÷ 1.42 ≈ 70.42 mL.
Why Density Matters
Many people assume that 1 gram always equals 1 milliliter, but that is only true for water (and substances with the same density). Density is defined as mass per unit volume, and it varies widely between materials. For example:
- Water: 1.00 g/mL
- Milk: about 1.03 g/mL
- Olive oil: about 0.91 g/mL
- Honey: about 1.42 g/mL
- Flour (unsifted): about 0.59 g/mL
- Salt (granulated): about 1.20 g/mL
So 100 g of flour is about 169 mL, while 100 g of honey is only about 70 mL. If you ignore density, you can mis-measure by a factor of two or more. This is especially critical in baking, where precision matters, and in chemistry, where solutions must be exact.
How to Find the Density of a Substance
If you don’t know the density, you have several options:
- Look it up in a reference table or a reliable website. Most common liquids and solids have published densities at standard temperatures.
- Read the label – many food products list density or specific gravity, especially syrups, oils, and chemical solutions.
- Measure it yourself – weigh a known volume of the substance. For example, measure 10 mL with a graduated cylinder, weigh it on a scale, then divide the weight by the volume.
- Use a hydrometer – for liquids, a hydrometer directly measures density or specific gravity.
Remember that density changes with temperature. Most liquids expand when heated, so their density decreases. For precise work, note the temperature and use the density value for that temperature.
Common Mistakes and Misconceptions
Here are the most frequent errors people make when converting grams to milliliters:
- Assuming 1 g = 1 mL for everything – as shown above, this only works for water. Always check the density.
- Confusing grams and milliliters – grams measure mass (how much matter), milliliters measure volume (how much space). They are different physical quantities.
- Using the wrong density – for example, using the density of water for oil, or the density of sugar for flour. Always use the density of the exact substance you have.
- Ignoring temperature – density changes with temperature. For cooking, room temperature is usually fine, but for lab work, you need to control it.
- Rounding too early – if you round the density to 1 for water, you lose precision. Use at least two or three significant figures.
Another common misconception is that a milliliter and a cubic centimeter are different. They are actually identical: 1 mL = 1 cm³. So if you see a density in g/cm³, you can use it directly in this calculator.
Practical Applications
Converting grams to milliliters is useful in many everyday situations:
- Cooking and baking – recipes often list ingredients by weight (grams) but you may have a measuring cup (milliliters). This is especially common with flours, sugars, and liquids.
- Nutrition and portion control – food labels list serving sizes in grams, but you might want to measure in cups or milliliters.
- Science experiments – preparing solutions requires exact volumes from known masses, or vice versa.
- DIY and crafts – mixing paints, resins, or essential oils often requires converting between weight and volume.
- Medicine and supplements – some liquid medications are dosed by weight, but you measure by volume. Always follow professional advice, never guess.
In each case, the same formula applies. The only variable is the density of the specific substance you are working with.
Limitations and When to Use a Different Tool
This calculator is accurate for pure substances and simple mixtures, but it has limits:
- Temperature dependence – the density value you enter must match the temperature of your substance. For water, the density varies from about 0.958 g/mL at 100°C to 0.9998 g/mL at 0°C.
- Mixtures and solutions – if you have a solution (e.g., salt water), the density depends on the concentration. You need the density of that specific solution, not the pure solvent.
- Gases – this calculator is not suitable for gases, as their density is extremely low and highly dependent on pressure and temperature.
- Granular materials – powders like flour or sugar have variable density depending on how tightly they are packed. A cup of sifted flour weighs less than a cup of packed flour, so the density is not a fixed number.
For such cases, you may need a more specialized tool, or you should measure the volume directly with a graduated cylinder or measuring cup.
Frequently Asked Questions
Is 1 gram always equal to 1 milliliter?
No, only for water at 4°C (and a few other substances with the same density). For most materials, 1 gram occupies more or less than 1 milliliter. For example, 1 g of oil is about 1.1 mL, while 1 g of honey is about 0.7 mL.
How do I convert grams to milliliters without a density?
You cannot do it accurately without knowing the density. If you don’t have a reference, you can measure it yourself: take a known volume (like 10 mL) of the substance, weigh it, and divide the weight by the volume to get the density. Then use that density in the formula.
What is the density of water in g/mL?
Water has a density of about 1.00 g/mL at 4°C (its maximum density). At room temperature (20°C), it is about 0.998 g/mL, which is close enough to 1 for most everyday purposes. For lab work, use the precise value for your temperature.
Can I convert milliliters to grams with this calculator?
Yes, the same formula can be rearranged: Mass = Volume × Density. If you have a volume in mL and a density in g/mL, you can multiply them to get grams. This calculator is set up for grams to milliliters, but you can use the formula in reverse.
Why do cooking recipes sometimes use grams instead of milliliters?
Weighing ingredients in grams is more accurate than measuring by volume because volume can be affected by packing, settling, and humidity. For example, a cup of flour can weigh anywhere from 120 to 150 grams depending on how you scoop it. Weighing eliminates that variability, which is why professional bakers prefer it.
Does temperature affect the conversion?
Yes, density changes with temperature. Most liquids expand when heated, so they become less dense. For example, 100 g of water at 4°C is 100 mL, but at 80°C it is about 101 mL. For precise measurements, always use the density at the same temperature as your substance.
Related
Formula used
in mass | Mass | g | 100 | 0 | 1000000 in dens | Density | g/mL | 1 | 0.001 | 1000 out vol | Volume | mL | mass / dens | 2
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
- Measuring Light Speed & Wavelength: How It Works
- Draco Race Blox Fruits: How to Get It
- Forza Horizon 6: Unlock Legend Island & Earn Horizon Legend
- Clean Hair Dryer Filter: Improve Airflow
- How to Automatically Create a Table of Contents
- No Loss Persistence: Data Protection at Every Boundary