What Is the Grams to Milliliters Calculator?
Grams (g) measure mass, while milliliters (mL) measure volume. You cannot convert directly between them without knowing the density of the substance, because the same mass occupies a different volume depending on how dense the material is. This calculator does the conversion for you using the simple relationship between mass, volume, and density.
How to Use It
Enter the mass in grams and the density of your substance in grams per milliliter (g/mL). The calculator returns the equivalent volume in milliliters. Pure water has a density of about 1 g/mL, so 100 g of water equals 100 mL. Other substances differ: cooking oil is roughly 0.92 g/mL, milk about 1.03 g/mL, and honey around 1.42 g/mL.
The Formula Explained
The conversion uses the rearranged density equation. Since density \(\rho = \text{mass} \div \text{volume}\), solving for volume gives:
$$\text{Volume (mL)} = \frac{\text{Mass (g)}}{\text{Density (g/mL)}}$$
Higher density means less volume for the same mass, while lower density means more volume.
Worked Example
Suppose you have 200 grams of vegetable oil with a density of 0.92 g/mL. The volume is:
$$V = \frac{200}{0.92} = 217.39 \text{ mL}$$
So 200 g of this oil fills about 217 milliliters.
Common Substance Densities (g/mL)
Converting grams to milliliters requires the density of the substance: \(V = m / \rho\). The values below are typical figures at about 20–25°C. The last column shows the volume of 100 g of each substance.
| Substance | Density (g/mL) | Volume of 100 g (mL) |
|---|---|---|
| Water (20°C) | 0.998 (≈1.00) | ≈100.2 (100 using 1.00) |
| Ethanol | ≈0.789 | ≈126.7 |
| Acetone | ≈0.79 | ≈126.6 |
| Vegetable / olive oil | ≈0.91–0.92 | ≈108.7–109.9 |
| Milk | ≈1.03 | ≈97.1 |
| Glycerin | ≈1.26 | ≈79.4 |
| Honey | ≈1.42 | ≈70.4 |
| Sugar, granulated (bulk) | ≈0.85 | ≈117.6 |
| Mercury | 13.53 | ≈7.4 |
Note: Density changes with temperature and concentration. Liquids generally expand when warmed, so their density drops slightly. Mixtures such as milk, honey, and sugar solutions vary by composition and water content. The sugar figure is a bulk density for powdery or granular material, which includes air gaps between grains, so it depends on how the sugar is packed. Use the density printed on your product label or data sheet when you have it.
Volume of 100 g for Different Substances
The same mass occupies very different volumes depending on density. Each row uses \(V = m/\rho\) with \(m = 100\) g.
| Substance | Density (g/mL) | Calculation | Volume (mL) |
|---|---|---|---|
| Ethanol | 0.789 | \(V = \frac{100}{0.789}\) | 126.7 |
| Olive / vegetable oil | 0.92 | \(V = \frac{100}{0.92}\) | ≈108.7 |
| Water | 1.00 | \(V = \frac{100}{1.00}\) | 100 |
| Milk | 1.03 | \(V = \frac{100}{1.03}\) | ≈97.1 |
| Honey | 1.42 | \(V = \frac{100}{1.42}\) | 70.4 |
| Mercury | 13.53 | \(V = \frac{100}{13.53}\) | ≈7.4 |
Substances less dense than water (ethanol, oil) take up more than 100 mL per 100 g. Denser substances (honey, mercury) take up less. Results are approximate because real densities vary with temperature and composition.
FAQ
Are grams and milliliters always equal? Only when density equals 1 g/mL, as with pure water at 4°C. For everything else you must divide by the actual density.
Where do I find density values? Check the product label, a reference table, or measure it yourself by dividing a known mass by its measured volume.
Can I use this for any substance? Yes, as long as you provide an accurate density in g/mL for that material at the relevant temperature.