mg ⇄ 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
Use this mg to mL Calculator to convert between weight and volume when you know the liquid density or medication concentration. Choose a preset liquid, enter a custom density, or use the concentration shown on a medicine label, then calculate the converted weight or volume.
Important Note: This mg to mL Calculator converts between mass and volume using a known liquid density or medication concentration. Milligrams measure mass, while milliliters measure volume, so there is no universal mg-to-mL conversion without density or concentration.
For non-medication liquids, use density. For medicines, use the exact concentration printed on the label, prescription, pharmacy label, or package, such as mg/mL or mg/5 mL.
This calculator does not decide a medicine dose, check whether a dose is safe, identify the correct medicine strength, adjust for age, body weight, diagnosis, pregnancy, kidney/liver function, interactions, or pet dosing. For medication use, always follow the label, prescription, pharmacist, or clinician instructions.
Reviewed by: AjaxCalculators Editorial Team
Last updated: April 28, 2026
Method source: Standard density and concentration formulas using mg, g, mL, L, g/mL, mg/mL, and mg/5 mL
Editorial standards: AjaxCalculators Editorial Policy
What This mg to mL Calculator Converts
This calculator converts between weight and volume using either liquid density or medication concentration. It is useful when you know how many milligrams are contained in each milliliter, or when you know the density of the liquid.
The calculator can convert:
- mg to mL
- mL to mg
- g to mL
- mL to g
- L to mg or g
- mg/mL concentration to volume
- mg/5 mL label concentration to volume
- density-based liquid weight and volume
The live tool includes presets for water, milk, cooking oil, medication, and custom liquid. It supports custom density in g/mL or mg/mL, and medication concentration in mg/mL or mg/5 mL.
Important: mg and mL Are Not the Same Type of Unit
mg stands for milligram. It measures weight or mass.
mL stands for milliliter. It measures volume.
Because milligrams and milliliters measure different things, there is no single universal conversion from mg to mL. The conversion depends on the liquid’s density or the medicine’s concentration.
For example, 500 mg of water is about 0.5 mL because water is close to 1,000 mg/mL. But 500 mg of cooking oil is a different volume because oil has a different density.
How the mg to mL Calculator Works
1) Medication Concentration Method
For medication-style conversions, the calculator uses concentration. Concentration tells you how many milligrams are in each milliliter.
Volume (mL) = weight (mg) ÷ concentration (mg/mL)
For example, if a liquid medicine concentration is 100 mg/mL and you enter 250 mg:
mL = 250 ÷ 100 = 2.5 mL
This means 250 mg equals 2.5 mL for that specific concentration.
2) Reverse Medication Conversion
If you know the volume and concentration, the calculator can convert mL back to mg.
Weight (mg) = concentration (mg/mL) × volume (mL)
For example, if the concentration is 100 mg/mL and the volume is 3 mL:
mg = 100 × 3 = 300 mg
3) mg/5 mL Concentration Method
Some medicine labels show concentration as mg per 5 mL. In that case, the calculator first converts the label concentration into mg/mL.
Concentration (mg/mL) = label mg ÷ 5
For example, if a label says 100 mg/5 mL:
Concentration = 100 ÷ 5 = 20 mg/mL
Then the normal mg-to-mL formula can be used:
mL = mg ÷ concentration
4) Density Method for Non-Medication Liquids
For non-medication liquids, the calculator uses density. Density tells you how much mass is in a specific volume.
If density is entered in g/mL:
Volume (mL) = weight (g) ÷ density (g/mL)
Because 1 g = 1,000 mg, the mg version is:
Volume (mL) = weight (mg) ÷ (density in g/mL × 1,000)
For example, if a liquid has a density of 1 g/mL and the weight is 500 mg:
mL = 500 ÷ (1 × 1,000) = 0.5 mL
Preset Liquid Values Used by the Calculator
The calculator includes practical preset density approximations. These values are estimates because real product density can vary by temperature, brand, ingredients, formulation, and measurement method.
| Preset Liquid | Approximate Density | Equivalent Concentration | Use Note |
|---|---|---|---|
| Water | 1.000 g/mL | 1,000 mg/mL | Useful for simple water-based estimates. |
| Milk | 1.035 g/mL | 1,035 mg/mL | Approximate value only; varies by fat content and formulation. |
| Cooking oil | 0.911 g/mL | 911 mg/mL | Approximate value only; varies by oil type and temperature. |
| Medication | Uses label concentration | mg/mL or mg/5 mL | Use only the concentration printed on the exact medicine label or prescription. |
| Custom liquid | User-entered density | g/mL or mg/mL | Best when you have a product label, lab value, or specification sheet. |
Use these presets for general estimates only. For exact product, lab, industrial, or medical work, use the actual density or concentration from the product label, specification sheet, prescription, or verified source.
Worked Example: Convert mg to mL Using mg/mL
Suppose a liquid has a concentration of 50 mg/mL, and you want to convert 200 mg to mL.
Step 1: Use the formula
mL = mg ÷ concentration
Step 2: Substitute the values
mL = 200 ÷ 50
Step 3: Calculate
mL = 4 mL
So, 200 mg equals 4 mL when the concentration is 50 mg/mL.
Worked Example: Convert mL to mg Using mg/mL
Suppose a liquid has a concentration of 25 mg/mL, and you want to convert 6 mL to mg.
Step 1: Use the formula
mg = concentration × mL
Step 2: Substitute the values
mg = 25 × 6
Step 3: Calculate
mg = 150 mg
So, 6 mL equals 150 mg when the concentration is 25 mg/mL.
Worked Example: Convert mg/5 mL to mL
Suppose a label says 100 mg/5 mL, and you need to convert 50 mg into mL.
Step 1: Convert the label concentration to mg/mL
100 mg ÷ 5 mL = 20 mg/mL
Step 2: Use the mg-to-mL formula
mL = mg ÷ concentration
Step 3: Substitute the values
mL = 50 ÷ 20
Step 4: Calculate
mL = 2.5 mL
So, 50 mg equals 2.5 mL when the label concentration is 100 mg/5 mL.
Worked Example: Convert mg to mL Using Density
Suppose you want to convert 500 mg of water to mL. Water is approximately 1 g/mL, or 1,000 mg/mL.
Step 1: Use the formula
mL = mg ÷ concentration
Step 2: Substitute the values
mL = 500 ÷ 1,000
Step 3: Calculate
mL = 0.5 mL
So, 500 mg of water is approximately 0.5 mL.
How to Use This mg to mL Calculator
- Select the conversion type: Water, Milk, Cooking oil, Medication, or Custom liquid.
- If using a custom liquid, enter the density and choose g/mL or mg/mL.
- If using medication mode, enter the concentration exactly as shown on the label, such as mg/mL or mg/5 mL.
- Enter only one known value: either Weight or Volume.
- Choose the input unit, such as mg, g, mL, or L.
- Click Calculate.
- Review the converted weight, converted volume, and step-by-step derivation.
- Click Reset to clear the calculator and start again.
How to Interpret the Result
| Result | What It Means | Important Caution |
|---|---|---|
| Converted weight | The mass equivalent of the entered volume using the selected density or concentration. | Only valid for the selected liquid, density, or medication concentration. |
| Converted volume | The mL or L equivalent of the entered weight using the selected density or concentration. | Do not assume the same mL result applies to another liquid or medicine. |
| Step-by-step derivation | The formula path used by the calculator. | Check whether the calculation used density, mg/mL, or mg/5 mL concentration. |
| Medication result | A math conversion from a known medicine concentration. | It does not confirm whether the dose is correct, safe, prescribed, or appropriate. |
mg to mL Formula Summary
| What You Want to Convert | Formula | Use Case |
|---|---|---|
| mg to mL using mg/mL | mL = mg ÷ concentration | Use when concentration is given as mg per 1 mL. |
| mL to mg using mg/mL | mg = concentration × mL | Use when volume and concentration are known. |
| mg/5 mL to mg/mL | mg/mL = label mg ÷ 5 | Use when a label says something like 100 mg/5 mL. |
| mg to mL using g/mL density | mL = mg ÷ (density × 1,000) | Use for non-medication liquids when density is in g/mL. |
| mL to mg using g/mL density | mg = mL × density × 1,000 | Use for volume-to-mass conversion when density is in g/mL. |
| g to mg | mg = g × 1,000 | Converts grams into milligrams. |
| L to mL | mL = L × 1,000 | Converts liters into milliliters. |
Medication Concentration Examples
Medication labels can show concentration in different ways. Copy the concentration exactly and choose the matching unit in the calculator.
| Label Format | Meaning | Converted Concentration | Example Conversion |
|---|---|---|---|
| 100 mg/mL | 100 mg in each 1 mL | 100 mg/mL | 200 mg ÷ 100 = 2 mL |
| 100 mg/5 mL | 100 mg in 5 mL | 20 mg/mL | 100 mg ÷ 20 = 5 mL |
| 250 mg/5 mL | 250 mg in 5 mL | 50 mg/mL | 100 mg ÷ 50 = 2 mL |
| 400 mg/5 mL | 400 mg in 5 mL | 80 mg/mL | 160 mg ÷ 80 = 2 mL |
Do not use a concentration from one medicine for another medicine. Different products can have different strengths even when the active ingredient name looks similar.
Density vs Concentration
Density and concentration both connect mass and volume, but they are not the same idea.
| Term | What It Means | Example | Best Used For |
|---|---|---|---|
| Density | Mass of the whole liquid per unit volume. | Water ≈ 1 g/mL | Non-medication liquids such as water, milk, oil, syrup, or custom liquids. |
| Concentration | Amount of active ingredient per unit volume. | Medicine = 100 mg/5 mL | Medication, supplement, or solution labels where active ingredient strength is given. |
For non-medication liquids, use density. For medicines, use the medication concentration from the label, pharmacy label, prescription, or clinician instructions.
Why You Cannot Always Say 1 mg = 1 mL
A milligram measures mass, while a milliliter measures volume. Because they measure different things, they are not directly equal without density or concentration.
| Statement | Correct? | Explanation |
|---|---|---|
| 1 mg = 1 mL for every liquid | No | Mass and volume need density or concentration to convert. |
| 1 mL of water weighs about 1,000 mg | Approximately yes | Water is close to 1 g/mL, and 1 g = 1,000 mg. |
| 1 mg of water is about 0.001 mL | Approximately yes | Using water’s approximate density, 1 mg is one-thousandth of a milliliter. |
| 500 mg of a 100 mg/mL medicine equals 5 mL | Yes, for that exact concentration | mL = 500 ÷ 100 = 5 mL. |
| 500 mg of one medicine always equals the same mL as another medicine | No | Different medicines and strengths can have different concentrations. |
When to Use This Calculator
This calculator can be useful for:
- converting a known liquid weight into volume
- converting volume into weight when density is known
- checking water, milk, or cooking oil estimates
- converting a custom liquid using g/mL or mg/mL density
- converting medication label concentration into volume when the correct mg amount is already known
- understanding the relationship between mg, g, mL, and L
Medication Safety Notes
This calculator should not be used to decide what dose someone should take. It only converts between mg and mL when a known concentration is provided.
| Safety Rule | Why It Matters |
|---|---|
| Follow the label, prescription, pharmacist, or clinician instructions. | The calculator does not decide the correct dose. |
| Use the exact concentration printed on the bottle or package. | Different strengths can require very different mL amounts. |
| Use a proper oral syringe or dosing device when instructed. | Kitchen spoons and mismatched devices can cause inaccurate dosing. |
| Do not use teaspoons, tablespoons, or household spoons unless specifically instructed by a professional label or clinician. | Household spoons are not reliable calibrated dosing devices. |
| Do not guess concentration from another bottle or product. | Similar-looking products can have different strengths. |
| Do not convert adult, child, or pet doses without professional guidance. | Safe dosing can depend on age, weight, species, diagnosis, kidney/liver function, and other factors. |
| Ask a pharmacist or clinician if the label, dose, concentration, or unit is unclear. | Medication-dose uncertainty should be handled by a qualified professional. |
Common Mistakes to Avoid
| Mistake | Why It Causes Problems |
|---|---|
| Assuming mg and mL are interchangeable | Milligrams measure mass; milliliters measure volume. |
| Entering both weight and volume when the calculator asks for one known value | The calculator needs one known value to solve the other direction clearly. |
| Using water density for milk, oil, syrup, or another liquid | Different liquids have different densities, so the volume result changes. |
| Entering mg/5 mL as if it were mg/mL | 100 mg/5 mL is 20 mg/mL, not 100 mg/mL. |
| Ignoring the concentration unit on a medication label | mg/mL and mg/5 mL produce different calculations. |
| Using this calculator to choose a medicine dose | The calculator only converts; it does not decide what dose is safe or correct. |
| Using a rounded result for high-risk medicines without confirmation | Small volume differences can matter for some medicines. |
| Confusing mL with L | 1 L equals 1,000 mL, so this mistake can create a 1,000× error. |
| Using kitchen spoons for medication dosing | Kitchen spoons are not reliable calibrated dosing devices. |
Why Results Can Differ Between Liquids
Different liquids have different densities and concentrations. That means the same mass can correspond to different volumes depending on the liquid or medicine strength.
| Liquid or Product | Why the Result Can Differ | Example |
|---|---|---|
| Water | Water is close to 1 g/mL under common conditions. | 1,000 mg of water is about 1 mL. |
| Cooking oil | Cooking oil is usually less dense than water. | 1,000 mg of oil may be slightly more than 1 mL. |
| Milk | Milk density varies by fat content and formulation. | 1,000 mg of milk may be slightly less than 1 mL. |
| Syrup or thick liquids | Density can be higher than water. | The same mass may occupy less volume than water. |
| Liquid medicine | The active ingredient concentration controls the mg-to-mL conversion. | 100 mg may be 1 mL, 2 mL, 5 mL, or another volume depending on strength. |
Practical Uses
This mg to mL Calculator can be useful for:
- liquid density conversions
- water, milk, and cooking oil estimates
- custom liquid conversions when density is known
- understanding medication concentration math
- checking mg/mL and mg/5 mL label calculations
- converting between mg, g, mL, and L
- educational chemistry, health, and measurement examples
- avoiding the common mistake of treating mg and mL as the same unit
When This Calculator Is Not Enough
This calculator is not enough when the correct dose, safe amount, product concentration, or liquid density is unknown.
| Situation | What to Use Instead |
|---|---|
| You do not know the medication concentration | Check the label, prescription, pharmacy label, or ask a pharmacist or clinician. |
| You need to decide a medicine dose | Use the prescription, label directions, or clinician/pharmacist instructions. |
| You are dosing a child, older adult, pregnant person, or pet | Use professional medical or veterinary guidance. |
| You are using injectable, IV, controlled, or high-risk medication | Do not rely on a general calculator; use professional instructions and safety protocols. |
| You do not know the liquid density | Use a product label, safety data sheet, lab measurement, or manufacturer specification. |
| You are doing lab, industrial, or regulated work | Use a verified density, method, instrument, specification sheet, or formal procedure. |
| You need mass percent, molarity, dilution, ppm, or dose-by-weight calculation | Use a calculator designed for that specific calculation. |
Important Assumptions and Limitations
| Assumption or Limitation | What It Means |
|---|---|
| Density or concentration required | mg and mL cannot be converted directly without a mass-per-volume relationship. |
| Preset densities are approximate | Water, milk, and oil presets are planning values, not exact product-specific measurements. |
| Medication mode uses known concentration only | The calculator assumes the entered mg/mL or mg/5 mL value is correct. |
| No dose decision | The calculator does not decide the correct medicine dose for any person or animal. |
| No safety screening | It does not check age, body weight, condition, interactions, organ function, pregnancy, allergies, or contraindications. |
| No product identity check | It does not verify that the concentration belongs to the exact medicine or liquid being used. |
| No temperature correction | Liquid density can change with temperature. |
| No viscosity or measurement-device correction | Thick liquids, syrups, and dosing-device markings can affect real-world measurement accuracy. |
| Rounded output | Displayed values may be rounded for readability and should not replace professional dosing instructions. |
References
- USGS Water Science School — Water Density
- FDA — Standardize the Dosing Designations on Prescription Container Labels for Oral Liquid Medications
- FDA — Dosage Delivery Devices for Orally Ingested OTC Liquid Drug Products
- NIST SP 811 — Guide for the Use of the International System of Units
- BIPM — SI Base Units
Related Calculators
- Grams to Ounces Calculator
- mL to Grams Converter
- Grams to Cups Converter
- Grams to Calories Calculator
- Dilution Ratio Calculator
- Alcohol Dilution Calculator
- Cholesterol Units Converter
- Percentage Calculator
mg to mL Calculator Disclaimer
This mg to mL Calculator converts between mass and volume using a selected density or known concentration. It is useful for educational conversions, density-based liquid estimates, and concentration-based math when the correct density or concentration is already known.
It does not decide medication dose, verify medical safety, identify the correct medicine strength, check product identity, adjust for age, body weight, medical condition, pregnancy, kidney/liver function, interactions, allergies, pet dosing, or high-risk medication requirements. For medicines, always use the exact label concentration and a proper dosing device, and follow the label, prescription, pharmacist, clinician, or qualified healthcare professional instructions.
For non-medication liquids, results depend on the actual density, temperature, formulation, product type, and measurement method. For lab, industrial, regulated, food, chemical, or safety-critical work, use verified density data, product specifications, safety data sheets, lab protocols, or qualified professional guidance.