How to Convert Milligrams to Grams
Master the milligrams to grams conversion with the simple formula, worked examples for medication dosing and nutrition, and a reference chart.
Last updated: 2026-03-15
The Milligrams to Grams Formula
Grams = Milligrams ÷ 1,000
This is an exact metric conversion. Simply move the decimal point three places to the left. The prefix "milli" always means one-thousandth in the metric system.
Step-by-Step Examples
Example 1: 500 mg of Vitamin C
- Calculation: 500 ÷ 1,000 = 0.5 grams.
- Result: A 500 mg vitamin C tablet contains 0.5 grams.
Example 2: Daily Sodium Intake of 2,300 mg
- Calculation: 2,300 ÷ 1,000 = 2.3 grams.
- Result: The recommended daily sodium limit is 2.3 grams.
Example 3: Caffeine in Coffee (95 mg)
- Calculation: 95 ÷ 1,000 = 0.095 grams.
- Result: An average cup of coffee contains 0.095 grams of caffeine.
Common Measurements Reference
| Milligrams | Grams | Common Example |
|---|---|---|
| 1 | 0.001 | Trace mineral dose |
| 5 | 0.005 | Melatonin supplement |
| 25 | 0.025 | Zinc supplement |
| 100 | 0.1 | Caffeine pill |
| 200 | 0.2 | Ibuprofen tablet |
| 500 | 0.5 | Vitamin C tablet |
| 1,000 | 1.0 | Fish oil capsule |
| 2,000 | 2.0 | Vitamin C daily limit |
| 5,000 | 5.0 | Creatine dose |
Real-World Applications
Medication Dosing
Medication is prescribed in milligrams but pharmacy scales measure in grams. A prescription for 250 mg three times daily means 0.75 grams total per day. Understanding this conversion is critical for patient safety.
Nutrition Labels
Food labels show some nutrients in milligrams (sodium, cholesterol, vitamins) and others in grams (fat, protein, carbohydrates). Converting between them helps you understand your total intake.
Chemistry and Lab Work
Laboratory measurements may need conversion between mg and g for preparing solutions, measuring reagents, and recording experimental data. Analytical balances typically display in grams.
Metric Weight Hierarchy
- 1 microgram (μg) = 0.001 mg
- 1,000 micrograms = 1 mg
- 1,000 mg = 1 gram
- 1,000 grams = 1 kilogram
For any weight conversion, use our weight converter.