mg to mL Converter
Convert weight and volume using a preset liquid, custom density, or medication concentration.
Conversion setup
Enter one known value
Results
Step-by-step derivation
References
- Volume from weight: mL = mg ÷ concentration
- Weight from volume: mg = concentration × mL
- Preset approximations: water ≈ 1000 mg/mL, milk ≈ 1035 mg/mL, cooking oil ≈ 911 mg/mL
Milligrams and milliliters describe different physical quantities, so converting between them requires one additional piece of information. The mg to mL Calculator uses either a medication concentration or a liquid’s density to connect mass with volume and show the calculation in both directions.
Why mg and mL Cannot Be Converted Directly
A milligram measures mass, while a milliliter measures volume. Because different liquids can have different amounts of mass in the same volume, there is no universal value for converting mg to mL.
The correct relationship depends on what is being converted:
- Medication or solution: Use the labelled concentration, such as 50 mg/mL or 100 mg/5 mL.
- Ordinary liquid: Use the liquid’s density, such as grams per milliliter.
- Preset liquid: Use the calculator’s approximate stored density for water, milk, or cooking oil.
Do not use a density value as a medication concentration. These values describe different properties and are not interchangeable.
What the mg to mL Calculator Converts
The mg to mL Calculator works in both directions. Depending on which known value you enter, it can calculate:
- Milliliters from a known number of milligrams
- Milligrams from a known liquid volume
- Medication volume using a labelled mg/mL concentration
- Liquid volume using a preset or custom density
- Converted results in the supported mass and volume units
Enter only one known mass or volume value. The calculator uses the selected concentration or density to determine the corresponding result.
How to Use the mg to mL Calculator
- Select medication concentration, custom density, or an available preset liquid.
- Enter the concentration exactly as printed on the medication label or enter the liquid density.
- Enter either the known weight or the known volume—not both.
- Select the correct input unit.
- Click Calculate to view the converted mass and volume.
- Check the step-by-step derivation before using the result.
For medication conversions, confirm whether the label states mg/mL, mg/5 mL, or another amount per volume. A product labelled 100 mg/5 mL does not have a concentration of 100 mg/mL.
Medication Concentration Formula
When concentration is provided in milligrams per milliliter, the volume formula is:
Volume (mL) = mass (mg) ÷ concentration (mg/mL)
The reverse formula is:
Mass (mg) = concentration (mg/mL) × volume (mL)
If a medication label gives the concentration as an amount per 5 mL, first convert it to mg/mL:
Concentration in mg/mL = labelled milligrams ÷ 5 mL
For example, a label showing 100 mg/5 mL represents:
100 ÷ 5 = 20 mg/mL
The mg to mL Calculator must use 20 mg/mL for this product—not 100 mg/mL.
Liquid Density Formula
For a non-medication liquid with density expressed in grams per milliliter:
Volume (mL) = mass (mg) ÷ [density (g/mL) × 1,000]
The reverse calculation is:
Mass (mg) = volume (mL) × density (g/mL) × 1,000
The multiplication by 1,000 converts grams to milligrams. A density of 1 g/mL is therefore equal to 1,000 mg/mL.
Preset densities are practical approximations. Actual density can change with temperature, product formulation, fat content, dissolved ingredients, and other physical properties.
Medication Conversion Example
Suppose a liquid medication has a concentration of 50 mg/mL and you need to convert a known amount of 200 mg into milliliters:
Volume = 200 mg ÷ 50 mg/mL
Volume = 4 mL
Therefore, 200 mg equals 4 mL only for a product with a concentration of 50 mg/mL. If another product contains 25 mg/mL, the same 200 mg amount would require 8 mL.
Liquid-Density Example
Suppose a non-medication liquid has a density of 0.8 g/mL and the known mass is 4,000 mg:
Volume = 4,000 ÷ (0.8 × 1,000)
Volume = 5 mL
This result applies only to a liquid with that density. A different liquid could occupy a different volume even when its mass is also 4,000 mg.
Critical Medication Safety Information
This calculator converts values using information you provide. It does not determine which medication to take, recommend a dose, confirm that a prescribed amount is safe, or account for age, weight, allergies, pregnancy, kidney or liver function, interactions, or medical history.
- Use the exact concentration printed on the current product or pharmacy label.
- Do not copy the concentration from a different bottle, brand, formulation, or strength.
- Check decimal placement and measurement units carefully.
- Follow the prescribed or labelled dose rather than creating a dose with this calculator.
- Use the calibrated measuring device supplied with or recommended for the liquid product.
- Ask a pharmacist or qualified healthcare professional if the label or calculation is unclear.
Medication concentration errors can produce a result that is several times too high or too low. Never use an approximate food or household-liquid density to calculate a medicine volume.
If you already have a prescribed weight-based dose and need to check dose arithmetic, see the Dose Calculator. For non-medication kitchen ingredients, use the mL to Grams Converter. For laboratory concentration units, try the mmol/L to mg/dL Calculator.
Frequently Asked Questions
Is 1 mg equal to 1 mL?
No. One milligram equals one milliliter only when a solution has a concentration of exactly 1 mg/mL. For ordinary liquids, the conversion depends on density.
How many mL is 100 mg?
The concentration is required. At 20 mg/mL, 100 mg equals 5 mL. At 50 mg/mL, the same 100 mg equals 2 mL.
How do I convert 100 mg/5 mL into mg/mL?
Divide 100 mg by 5 mL. The resulting concentration is 20 mg/mL.
How do I convert mL back to mg?
Multiply the volume in mL by the concentration in mg/mL. For example, 4 mL multiplied by 50 mg/mL equals 200 mg.
Can the mg to mL Calculator determine a medication dose?
No. The mg to mL Calculator only converts a known mass or volume using a known concentration. Medication choice and dosing must come from the product label, prescription, pharmacist, or qualified healthcare professional.