Mg to Grams Converter — Free Milligrams ⇄ Grams Calculator 2026 | AllInOneTools
💊 Free Converter

Milligrams ⇄ Grams

Convert milligrams to grams and grams to milligrams instantly — type in either field. Animated precision scale, pill dosage visualization, step-by-step formula, all weight units, and medicine reference chart.

Milligrams ⇄ Grams
💊
MILLIGRAMS
Metric (mg)
MG
mg
⚖️
GRAMS
Metric (g)
G
g
1 g = 1,000 mg | 1 mg = 0.001 g | 1 kg = 1,000,000 mg
Mg ⇄ Grams
--
02505007501000 mg
Milligrams
--
Grams
--
Kilograms
--
Micrograms
--
Ounces
--
Grains
--
Mg ⇄ Grams Medicine & Weight Reference Chart
MilligramsGramsOuncesCommon Use
💡 Dosage Insight

Milligrams and Grams: Complete Guide to Conversion, Medicine Dosage, Supplements, Nutrition Labels, Chemistry, and Practical Applications

The milligram-to-gram conversion is one of the most critical everyday conversions — particularly in medicine, pharmacy, nutrition, and science. While the math is simple (divide or multiply by 1,000), the stakes can be extremely high: a medicine dosage error of even one decimal place can mean a ten-fold overdose. This bidirectional converter provides instant, accurate results with pill dosage visualization, precision scale animation, and comprehensive breakdowns across all weight units.

The Exact Relationship

One gram equals exactly 1,000 milligrams. The prefix "milli" means one thousandth (from Latin mille = thousand). So 1 milligram is exactly 1/1,000 of a gram. Converting is straightforward: divide milligrams by 1,000 to get grams, multiply grams by 1,000 to get milligrams. In practice, move the decimal point three places — right for g→mg, left for mg→g.

Mg → Grams: g = mg ÷ 1,000
Grams → Mg: mg = g × 1,000

1 mg = 0.001 g = 1,000 µg (micrograms)
1 g = 1,000 mg = 0.001 kg
1 kg = 1,000 g = 1,000,000 mg
1 g = 0.03527 ounces
1 mg = 0.01543 grains (pharmaceutical)

Medicine and Pharmacy

Drug dosages are primarily measured in milligrams. Common examples: aspirin = 325 or 500 mg, ibuprofen = 200 or 400 mg, acetaminophen/paracetamol = 500 or 1,000 mg, amoxicillin = 250 or 500 mg, metformin = 500 or 850 mg. Pediatric doses are often calculated as mg per kg of body weight (e.g., 10 mg/kg means a 20 kg child receives 200 mg). Understanding mg-to-gram conversion is vital because prescriptions may be written in mg while pharmacy labels or compounding instructions reference grams.

Example: Common Medicine Dosages
Aspirin: 325 mg = 0.325 g
Ibuprofen: 400 mg = 0.4 g
Paracetamol: 500 mg = 0.5 g
Amoxicillin: 500 mg = 0.5 g
Metformin: 850 mg = 0.85 g
Vitamin C: 1,000 mg = 1 g
Calcium supplement: 1,200 mg = 1.2 g
Omega-3 fish oil: 1,000 mg = 1 g per capsule

Vitamins and Supplements

Supplement labels use milligrams extensively: Vitamin C = 500–2,000 mg, Vitamin D = 25–125 µg (1,000–5,000 IU), Magnesium = 200–400 mg, Zinc = 15–50 mg, Iron = 18–65 mg, Calcium = 500–1,200 mg, B12 = 0.5–5 mg (500–5,000 µg). Note that some vitamins are measured in micrograms (µg), which are 1,000 times smaller than milligrams. Always check whether a label says "mg" or "µg" — confusing the two means a 1,000× error.

Nutrition Labels

Food nutrition facts use both grams and milligrams. Macronutrients (protein, fat, carbs) are in grams, while micronutrients (sodium, cholesterol, potassium, vitamins) are in milligrams or micrograms. The WHO recommends less than 2,000 mg (2 g) of sodium per day. A single teaspoon of table salt contains about 2,300 mg (2.3 g) of sodium. Cholesterol intake guidelines suggest under 300 mg (0.3 g) per day. Trans fat is reported in grams, but even 0.5 g (500 mg) per serving is considered significant.

Critical: mg vs µg
Never confuse milligrams (mg) with micrograms (µg or mcg). 1 mg = 1,000 µg. Some vitamins (like D, B12, K, folic acid) are dosed in micrograms. Mistaking µg for mg means a 1,000× overdose. Example: Vitamin D recommendation is 15–20 µg/day (not mg). Folic acid is 400 µg (not 400 mg). Always verify the unit carefully on labels and prescriptions.

Chemistry and Laboratory

Chemical concentrations often use mg/L (milligrams per liter, equivalent to parts per million in water). Water quality testing measures contaminants in mg/L: safe drinking water has less than 0.01 mg/L arsenic, less than 0.015 mg/L lead, and 250 mg/L or less chloride. Analytical chemistry requires precision balances that measure to 0.1 mg (100 µg). Reagent preparations often involve weighing milligram quantities to prepare molar solutions — converting between mg and g is constant in lab work.

Caffeine Content

Caffeine is measured in milligrams: an 8 oz cup of coffee contains about 95 mg (0.095 g), espresso has 63 mg per shot, a can of cola has 34 mg, and energy drinks range from 80–300 mg. The FDA considers 400 mg (0.4 g) per day a generally safe caffeine limit for adults. A caffeine tablet is typically 200 mg (0.2 g). Understanding these milligram values helps track daily intake and avoid exceeding recommended limits.

Decimal Shortcut
Moving mg → g: shift decimal 3 places left. 500 mg = 0.500 g. 1,250 mg = 1.250 g. Moving g → mg: shift decimal 3 places right. 0.75 g = 750 mg. 2.5 g = 2,500 mg. Quick reference: 1,000 mg = 1 g, 500 mg = 0.5 g, 250 mg = 0.25 g, 100 mg = 0.1 g.

Jewelry and Precious Metals

Fine jewelry and gemstones use milligrams for precision. A carat (gemstone weight) equals 200 mg (0.2 g). A 1-carat diamond weighs 200 mg; a 0.5-carat diamond weighs 100 mg. Gold leaf is about 1–2 mg per sheet. Gold purity testing measures impurities in mg per gram. Gold dust and fine powder are weighed in milligrams on precision balances.

How to Use This Converter

This is a bidirectional converter — type in either the milligrams or grams field and the other updates automatically. Quick-value buttons include common medicine doses (5, 10, 25, 50, 100, 200, 250, 500, 750, 1000 mg). The swap button exchanges the two values. Press "Convert" to see the precision scale, pill dosage visual (showing the dose as pill icons), all weight units, step-by-step calculation, and reference chart with common uses.

Frequently Asked Questions

How many mg in 1 gram?
Exactly 1,000 mg. The prefix "milli" means one thousandth, so 1 milligram = 1/1,000 of a gram.
How many grams is 500 mg?
500 mg = 0.5 grams. This is the standard dose for paracetamol/acetaminophen and many antibiotics.
Is 1000 mg the same as 1 gram?
Yes, exactly. 1,000 mg = 1 gram. No rounding needed — this is the exact metric definition.
What is the difference between mg and µg?
1 mg = 1,000 µg. Micrograms (µg or mcg) are 1,000× smaller than milligrams. Some vitamins (D, B12, K) use µg. Never confuse them — a 1,000× error can be dangerous.
How do I convert mg to grams?
Divide by 1,000 or move the decimal 3 places left. Example: 750 mg ÷ 1,000 = 0.75 g.
How many mg in 1 kg?
1 kg = 1,000,000 mg (one million milligrams). 1 kg = 1,000 g, and each gram = 1,000 mg.
What is 250 mg in grams?
250 mg = 0.25 grams (¼ gram). A common antibiotic and supplement dosage.