Milligrams measure mass and milliliters measure volume — converting between them isn’t a fixed ratio, it depends on the density of whatever you’re measuring.
How it works
Dividing milligrams by the substance’s density (in mg per mL) gives milliliters. The default density is water’s (1,000 mg per mL), adjustable for any other liquid.
What this does not include
This does not include a built-in density lookup table for common liquids or medications — you’ll need to know (or look up separately) the specific density of whatever you’re converting.
How to use this calculator
- Enter the milligrams and the substance’s density (defaults to water).
Frequently asked questions
Why can’t mg just convert to mL directly like other units?
Because milligrams and milliliters measure fundamentally different things — mass versus volume — and the relationship between them depends entirely on how dense the specific substance is.
Why does water default to 1,000 mg per mL?
Because 1 milliliter of water weighs almost exactly 1 gram (1,000 milligrams) at standard conditions — a convenient, commonly cited reference point.
Where is this conversion commonly needed?
Medication dosing (converting a prescribed mass dose to a liquid volume to measure) is one of the most common real-world uses, though the exact density used should always come from the specific medication’s labeling, not assumed to be water’s.