1 mg = 0.001 g
Show this value in every weight and mass unit
- Kilograms kg
- 0.000001
- Grams g
- 0.001
- Milligrams mg
- 1
- Micrograms µg
- 1000
- Metric Tons t
- 1 × 10⁻⁹
- Pounds lb
- 0.00000220462
- Ounces oz
- 0.000035274
- Stone st
- 0.000000157473
- US Tons ton (US)
- 1.10231 × 10⁻⁹
- Imperial Tons ton (UK)
- 9.84207 × 10⁻¹⁰
- Troy Ounces oz t
- 0.0000321507
- Carats ct
- 0.005
- Grains gr
- 0.0154324
- Drams dr
- 0.000564383
- US Hundredweights cwt (US)
- 2.20462 × 10⁻⁸
- Imperial Hundredweights cwt (UK)
- 1.96841 × 10⁻⁸
- Slugs slug
- 6.85218 × 10⁻⁸
Quick answer
- 1 mg = 0.001 g
- 1 g = 1000 mg
Milligrams to Grams formula, and back
grams = milligrams ÷ 1000
Divide the number of milligrams by 1000.
milligrams = grams × 1000
Multiply the number of grams by 1000.
Where the factor comes from: one milligram is 0.000001 and one gram is 0.001 of the reference unit (kilograms). Dividing the first by the second gives 0.001.
Worked examples
Convert 5 milligrams to grams.
5 mg ÷ 1000 = 0.005 g
Convert 12.5 milligrams to grams.
12.5 mg ÷ 1000 = 0.0125 g
Convert 250 milligrams to grams.
250 mg ÷ 1000 = 0.25 g
Convert 5 grams to milligrams.
5 g × 1000 = 5000 mg
Convert 12.5 grams to milligrams.
12.5 g × 1000 = 12,500 mg
Convert 250 grams to milligrams.
250 g × 1000 = 250,000 mg
Conversion tables
Common values in both directions, calculated with the same engine as the converter above.
| Milligrams (mg) | Grams (g) |
|---|---|
| 1 mg | 0.001 g |
| 2 mg | 0.002 g |
| 3 mg | 0.003 g |
| 5 mg | 0.005 g |
| 10 mg | 0.01 g |
| 15 mg | 0.015 g |
| 20 mg | 0.02 g |
| 25 mg | 0.025 g |
| 50 mg | 0.05 g |
| 75 mg | 0.075 g |
| 100 mg | 0.1 g |
| 250 mg | 0.25 g |
| 500 mg | 0.5 g |
| 1000 mg | 1 g |
| Grams (g) | Milligrams (mg) |
|---|---|
| 1 g | 1000 mg |
| 2 g | 2000 mg |
| 3 g | 3000 mg |
| 5 g | 5000 mg |
| 10 g | 10,000 mg |
| 15 g | 15,000 mg |
| 20 g | 20,000 mg |
| 25 g | 25,000 mg |
| 50 g | 50,000 mg |
| 75 g | 75,000 mg |
| 100 g | 100,000 mg |
| 250 g | 250,000 mg |
| 500 g | 500,000 mg |
| 1000 g | 1,000,000 mg |
When this conversion is useful
Medicine strengths, supplement doses and nutrition labels are stated in milligrams, while the pack or serving weight is given in grams. Sodium on a food label is a common example.
Milligrams are used for medicine doses and nutrition labels, while grams are used for recipes and food labels. Converting between them comes up whenever a value from one of those settings has to be read in the other, so this page works in both directions: press the swap button above to turn milligrams to grams into grams to milligrams.
The units
What is a milligram?
A milligram is one thousandth of a gram. Medicine doses and nutrient amounts are usually listed in milligrams.
What is a gram?
A gram is one thousandth of a kilogram. Food labels, recipes and postal weights for small items use grams.
Milligrams compared with grams
A gram is the larger unit: one gram equals 1000 milligrams.
Accuracy and precision
Results are calculated from the exact definition of each unit and rounded to 6 significant figures for display, or 12 when "More decimal places" is switched on. Round your final answer to match the precision of the measurement you started with.
Ounces and pounds are avoirdupois units. Tons on this page are metric tons (1,000 kg); a US short ton is 2,000 pounds and a UK long ton 2,240 pounds.
Frequently asked questions
How many milligrams are in a gram?
One gram equals 1000 milligrams.
How do I convert milligrams to grams?
Divide the number of milligrams by 1000. For example, 5 mg ÷ 1000 = 0.005 g.
How do I convert grams to milligrams?
Multiply the number of grams by 1000. For example, 5 g × 1000 = 5000 mg.
Which is larger, a milligram or a gram?
A gram is larger. One gram is 1000 milligrams.
Is this converter exact?
Yes, within display rounding. Both units are defined exactly in terms of the same reference unit, and the converter uses those definitions directly.
Related conversions
- Grams and Pounds
- Carats and Milligrams
- Carats and Grams
- Grams and Ounces
- Milligrams and Ounces
- Pounds and Milligrams
- Grams and Kilograms
Learn more
Think a conversion is incorrect? Email contact@sjwebtechwork.com with the page address, the value you entered, the result you saw and the result you expected.