Gram to Milligram Converter
Weight · unit-converter
Convert Gram to Milligram with a fixed input and output unit, step-by-step formula line, and reference tables. All calculations use gram-based factors (international avoirdupois pound and metric definitions). The full Weight Converter also includes carat, grain, and US/UK hundredweight.
Calculator
From: Gram (g)
To: Milligram (mg)
About Gram
The gram is one thousandth of a kilogram. Recipes, lab work, and small masses typically use grams.
About Milligram
The milligram is one thousandth of a gram. Medication doses and fine measurements use milligrams.
How to convert grams to milligrams
1 gram is equal to 1000 milligram:
1 g = (1 g ÷ 0.001 g) mg = 1000 mg
1 gram = 1,000 milligrams (metric).
Each gram is defined as 1 g and each milligram as 0.001 g, so one g equals 1 ÷ 0.001 mg = 1000 mg.
Let w(g) be the numeric value of the same mass measured in Gram (g), and w(mg) the value in Milligram (mg). Then:
w(mg) = w(g) × (1 / 0.001)
Equivalently, divide by how many g fit into one mg (grams per mg divided by grams per g):
w(mg) = w(g) ÷ 0.001
Or: milligram = gram ÷ 0.001
Examples
Example #1: Convert 20 g to milligram
20 g = 20 g × (1/0.001) mg = 20000 mg
20 g = 20 g ÷ 0.001 = 20000 mg
Example #2: Convert 50 g to milligram
50 g = 50 g × (1/0.001) mg = 50000 mg
50 g = 50 g ÷ 0.001 = 50000 mg
Summary
To convert Gram to Milligram, multiply the value in g by the ratio of grams per g divided by grams per mg. Equivalently: value_mg = value_g × (1 / 0.001). Numerically, 1 g equals 1000 mg.
Relationship context
Both units are metric (SI) and tied to the gram via the kilogram. Conversions use exact ratios from their gram definitions. The factor from Gram to Milligram is 1.000000e+3 (1 g = 1000 mg).
Conversion tables
| Gram (g) | Milligram (mg) |
|---|---|
| 0.1 | 100 |
| 1 | 1,000 |
| 2 | 2,000 |
| 3 | 3,000 |
| 4 | 4,000 |
| 5 | 5,000 |
| 6 | 6,000 |
| 7 | 7,000 |
| 8 | 8,000 |
| 9 | 9,000 |
| Gram (g) | Milligram (mg) |
|---|---|
| 10 | 10,000 |
| 20 | 20,000 |
| 30 | 30,000 |
| 40 | 40,000 |
| 50 | 50,000 |
| 60 | 60,000 |
| 70 | 70,000 |
| 80 | 80,000 |
| 90 | 90,000 |
| 100 | 100,000 |