Conversion

Grams to milliliters converter

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Source

Please enter a valid URL. Only HTTPS URLs are supported.

Styling

Input border focus color, switchbox checked color, select item hover color etc.

Advanced

Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a grams to milliliters converter?

A grams to milliliters converter is an online tool that changes a mass in grams (g) into a volume in milliliters (mL), and back again. Grams measure how much something weighs, while milliliters measure how much space it takes up. The two are not interchangeable on their own - the link between them is the substance’s density. That is why this converter includes a product selector with ready-made densities for water, milk, oil, flour, sugar, honey, and other common materials, plus a custom option for any density you know.

Choose a product, type a value in grams or milliliters, and the other field updates using the correct density.

How does it work?

Density is mass divided by volume. If you know the density of a substance, you can move between mass and volume with two simple rearrangements:

volume=massdensitymass=volume×density\text{volume} = \frac{\text{mass}}{\text{density}} \qquad \text{mass} = \text{volume} \times \text{density}

Water is the reference case: its density is very close to 1 gram per milliliter, so 1 g of water occupies almost exactly 1 mL. Substances denser than water (like honey or syrup) pack more grams into each milliliter, while lighter ones (like oil or flour) fit fewer.

Formula

To convert grams to milliliters:

mL=gramsρ\text{mL} = \frac{\text{grams}}{\rho}

To convert milliliters to grams:

grams=mL×ρ\text{grams} = \text{mL} \times \rho

where ρ\rho is the density in grams per milliliter.

Worked examples

Example 1: 500 g of water to milliliters

Water has a density of about 1 g/mL, so:

5001.0500 mL\frac{500}{1.0} \approx 500 \text{ mL}

Example 2: 1000 mL of water to grams

One liter of water:

1000×1.0999 g1000 \times 1.0 \approx 999 \text{ g}

The result is a hair under 1000 g because the density preset (8.34 lb/gal) works out to roughly 0.9994 g/mL rather than a perfectly round 1.

Example 3: 500 g of cooking oil to milliliters

Oil is less dense than water (about 0.89 g/mL), so the same mass takes up more space:

5000.89562 mL\frac{500}{0.89} \approx 562 \text{ mL}

Approximate densities

ProductDensity (g/mL)
Water1.00
Milk1.04
Oil0.89
Flour0.54
Sugar0.85
Honey1.42

Notes

  • Because density varies with temperature and exact composition, treat kitchen conversions as close approximations rather than laboratory values.
  • Flour and sugar densities depend heavily on how tightly they are packed; the presets assume a typical, unsifted state.
  • If your substance is not listed, pick “Custom Product” and enter its density directly. For an alternative interface, see our ml to grams converter.

Frequently asked questions

How many milliliters is 500 grams?

It depends on the substance. For water, 500 g is about 500 mL. For oil (density about 0.89 g/mL) it is roughly 562 mL, and for honey it is only about 352 mL.

Are grams and milliliters the same for water?

Very nearly. Water’s density is about 1 g/mL, so 1 gram of water is close to 1 milliliter. This one-to-one shortcut only works for water and similar low-density liquids.

Why is 1000 mL of water not exactly 1000 g?

The converter uses a density preset of 8.34 pounds per gallon for water, which equals about 0.9994 g/mL. That gives roughly 999 g for a liter, matching typical room-temperature water.

Can I convert flour or sugar with this tool?

Yes. Select flour or sugar from the product list and the converter applies a typical density for it. Keep in mind that packing and humidity can shift the real value.

Report a bug

This field is required.