ml to mg Calculator

Milliliters to Milligrams Calculator








Convert milliliters (ml) to milligrams (mg) for any liquid by entering its density. Volume and weight are different things, so the density is what links them.

How to use it

  1. Enter the amount in Milliliters (ml).
  2. Enter the Density (mg/ml) of your liquid.
  3. Click Convert.

The formula

mg = ml × density (mg/ml)

Water has a density of about 1,000 mg/ml at room temperature, so 5 ml of water weighs about 5,000 mg (5 grams). Cooking oil is lighter, at roughly 910 to 930 mg/ml.

About medicines

For liquid medicines, the label usually tells you the strength, for example “160 mg per 5 ml”. That figure is not the liquid’s density. To find how many mg of medicine are in a dose, divide the mg by the ml on the label and multiply by your dose in ml. Always follow the dose on the label or from your doctor or pharmacist. This calculator is not medical advice.

Going the other way? Use the mg to ml Calculator.

Nazim Khan

Made by Nazim Khan, an MBA (Finance) and Excel trainer with 10+ years in accounts and MIS. Last updated November 18, 2026.

Leave a Comment