MG to ML Converter

Why milligrams and milliliters need a density figure

Milligrams measure mass, milliliters measure volume — they aren't directly convertible without knowing the density of the substance, because a milliliter of a dense liquid weighs more than a milliliter of a light one. This calculator solves that by asking for density in g/mL and computing ml = mg / (density × 1000), or the reverse, mg = ml × (density × 1000).

Worked example: water

Water has a density of 1 g/mL (the calculator's default). Converting 500 mg of water: 500 / (1 × 1000) = 0.5 ml. This 1:1000 relationship — where mg and ml are numerically equivalent divided by 1000 — only holds for substances with density exactly 1 g/mL.

Worked example: a denser liquid

Honey has a density of roughly 1.42 g/mL. Converting 500 mg of honey: 500 / (1.42 × 1000) = 500 / 1420 = 0.352 ml — notably less volume than the water figure, because honey packs more mass into the same space.

Why this matters for dosing

Liquid medications are often dosed by mg (the active ingredient's mass) but measured out by ml (what a syringe or dropper actually shows). Using the wrong density — or assuming water's 1 g/mL for a different liquid — will give an incorrect volume. Always use the density value specified on the product's own label or by a pharmacist, not a generic assumption, when the calculation affects an actual dose.