Free ml to Grams Converter

ml
g

Select an ingredient and enter a value in ml or grams

The conversion updates automatically

A free online Milliliters to Grams Converter helps you convert between volume (mL) and mass (g) for any ingredient or liquid. Whether you're following a recipe, mixing a chemical solution, or calculating a medication dose, this tool eliminates guesswork. Choose a product from the ingredient list, enter a value in milliliters or grams, and the conversion appears instantly. If the substance you need isn't listed, you can manually enter its density using the custom ingredient option.

Understanding the Conversion Principle

Milliliters measure volume, while grams measure mass. The link between them is the substance's density — the mass per unit volume. The fundamental formula is:

mass (g)=volume (mL)×density (g/mL)\text{mass (g)} = \text{volume (mL)} \times \text{density (g/mL)}

To find volume from mass, simply rearrange:

volume (mL)=mass (g)density (g/mL)\text{volume (mL)} = \dfrac{\text{mass (g)}}{\text{density (g/mL)}}

Thus, converting mL to g is not a fixed ratio; it depends entirely on the density of the material at hand.

The Special Case of Water

Water has a density of 1 g/mL at 4°C (39.2°F), which means 1 mL of water equals exactly 1 g. At typical room temperatures (20–25°C / 68–77°F), water's density remains very close to 1 g/mL, so the approximation holds for everyday use. This unique behavior — water is densest at 4°C — also explains why ice floats and why deep lakes stay liquid in winter. For precise scientific work, however, you should account for temperature variations.

How to Use the ml to Grams Converter

Using the tool is straightforward:

  1. Select an ingredient from the built‑in list (which covers dozens of common foods, oils, chemicals, and liquids).
  2. Enter the quantity you have — either in milliliters or grams.
  3. The converter instantly displays the corresponding mass or volume.

If your substance isn't pre‑listed, choose “Custom ingredient.” Then type its density (in g/mL or kg/m³) and the known value; the calculator will perform the conversion. This feature effectively makes it a Grams to Milliliters Converter as well.

Applications in Cooking, Medicine, and Science

Cooking & Baking: Recipe ingredients are sometimes listed in volume (mL) but need to be weighed for accuracy. With the converter, you can switch between units for milk, oil, honey, flour, and many other staples.

Medicine: Liquid medications are often dosed by body weight and have concentrations expressed in mg/mL. By converting mL to g (or using the density to find the mass), you can calculate the correct dose.

Chemistry: Preparing solutions requires accurate mass‑volume relationships. The density reference table below includes 50 common liquids at specified temperatures, helping you perform conversions without external cross‑referencing.

Density Reference Table for Common Liquids

The following data are sourced from engineeringtoolbox.com. Densities are given in kg/m³; to convert to g/mL, divide by 1000.

LiquidTemperatureDensity (kg/m³)
Acetic Acid25 °C / 77 °F1049
Acetone25 °C / 77 °F784.6
Alcohol, ethyl (ethanol)25 °C / 77 °F785.1
Alcohol, methyl (methanol)25 °C / 77 °F786.5
Alcohol, propyl25 °C / 77 °F800
Ammonia (aqua)25 °C / 77 °F823.5
Aniline25 °C / 77 °F1019
Benzene25 °C / 77 °F873.8
Butyric Acid20 °C / 68 °F959
Butane25 °C / 77 °F599
Caproic acid25 °C / 77 °F921
Carbolic acid (phenol)15 °C / 59 °F956
Carbon disulfide25 °C / 77 °F1261
Carbon tetrachloride25 °C / 77 °F1584
Chloroform20 °C / 68 °F1489
Chloroform25 °C / 77 °F1465
Citric acid, 50% aqueous solution15 °C / 59 °F1220
Cyclohexane20 °C / 68 °F779
Cyclopentane20 °C / 68 °F745
Decane25 °C / 77 °F726.3
Dichloromethane20 °C / 68 °F1326
Diethylene glycol15 °C / 59 °F1120
Ethane-89 °C / -128 °F570
Ether25 °C / 77 °F713.5
Ethylamine16 °C / 60.8 °F681
Ethyl Acetate20 °C / 68 °F901
Formaldehyde45 °C / 113 °F812
Formic acid 10% concentration20 °C / 68 °F1025
Formic acid 80% concentration20 °C / 68 °F1221
Fuel oil15.5 °C / 60 °F890
Glycerine25 °C / 77 °F1259
Glycerol25 °C / 77 °F1126
Heptane25 °C / 77 °F679.5
Hexane25 °C / 77 °F654.8
Hydrazine25 °C / 77 °F795
Isobutyl Alcohol20 °C / 68 °F802
Iso-Octane20 °C / 68 °F692
Isopropyl Alcohol20 °C / 68 °F785
Napthalene25 °C / 77 °F820
Nitric acid0 °C / 32 °F1560
Palmitic Acid25 °C / 77 °F851
Phenol (carbolic acid)25 °C / 77 °F1072
Phosgene0 °C / 32 °F1378
Propanol25 °C / 77 °F804
Propylene25 °C / 77 °F514.4
Silane25 °C / 77 °F718
Silicone oil25 °C / 77 °F965–980
Sodium Hydroxide (caustic soda)15 °C / 59 °F1250
Toluene20 °C / 68 °F867
Turpentine25 °C / 77 °F868.2

Using this reference together with the converter allows you to handle most laboratory and kitchen conversion tasks with confidence. For any substance not listed, a quick online search for its density and the custom ingredient feature will give you the answer.

The ml to g Converter is designed to be your go‑to measurement companion — accurate, flexible, and free to use. Whether you're a home cook, a student, or a professional, it makes converting between milliliters and grams effortless.

FAQ

1. How does the ml to grams converter work?

It uses the formula mass = volume × density. You select an ingredient, enter a value in milliliters or grams, and the tool looks up the density and automatically computes the corresponding mass or volume.

2. Is 1 mL always equal to 1 gram?

No. Only for water at 4°C does 1 mL exactly equal 1 g because its density is 1 g/mL. Other substances like oil or honey have different densities, so the conversion is not 1:1.

3. Can I convert grams to milliliters with this tool?

Yes, the converter works both ways. If you enter a mass in grams, it will calculate the volume in milliliters for the ingredient you've selected.

4. What if my ingredient isn't in the built‑in list?

Choose the “Custom ingredient” option and input the density of your substance (in g/mL or kg/m³). Then enter the known value to get the conversion.

5. How can I find the density of a liquid that isn't in the table?

Search online for its density (e.g., “density of glycerol g/mL”). Once you have the value, use the custom ingredient feature in the converter to perform the conversion.

How to Use

  1. Select an ingredient from the dropdown list (Water, Milk, Flour, Sugar, etc.) or choose 'Custom ingredient' to set your own density.
  2. Enter a value in the Milliliters (ml) field to convert to grams, or enter a value in the Grams (g) field to convert to milliliters.
  3. The converted value updates automatically. The ingredient density and formula are shown in the results panel for reference.