A gram is one thousandth of a kilogram.
Grams to Milligrams Converter — g to mg
Convert Gram (g) to Milligram (mg) using the exact conversion factor (1 gram = 1,000 milligram). See the formula, worked examples, conversion table, history, and common uses.
Grams to Milligrams converter
Converter
Cooking Converter
Convert cooking volume and mass units used in recipes and nutrition workflows.
Milligram is 0.001 gram units.
Result = input x 0.001 / 1e-6.
Mass units are compatible.
Reserved above the conversion cards and below the converter.
About Converting Grams to Milligrams
Gram and Milligram both show up in recipes, and converting between them matters whenever a recipe from one country's cookbook needs to be followed with another country's measuring tools. Gram is most often used for cooking and nutrition labeling worldwide (including in the us, alongside ounces).
Formula
milligrams = grams × 1000
This factor comes from each unit's defined relationship to the category's base unit: 1 gram equals 0.001 base units, and 1 milligram equals 0.000001 base units, so dividing one by the other gives the direct gram-to-milligram factor of 1000.
Simple example
1 g × 1000 = 1,000 mg
1 gram = 1,000 milligrams.
Real-world example
2 g × 1000 = 2,000 mg
2 grams = 2,000 milligrams.
Conversion table
| Gram (g) | Milligram (mg) |
|---|---|
| 0.25 g | 250 mg |
| 0.5 g | 500 mg |
| 1 g | 1,000 mg |
| 2 g | 2,000 mg |
| 4 g | 4,000 mg |
| 8 g | 8,000 mg |
Reverse conversion: Milligram to Gram
1 mg × 0.001 = 0.001 g
1 milligram = 0.001 grams.
grams = milligrams × 0.001
For a page dedicated to this direction, see Milligram to Gram.
Understanding the Gram
Gram (g) measures mass. A gram is one-thousandth of a kilogram, the SI base unit of mass. It is classified as a SI derived (metric prefix) unit.
Where it's used: Standard small-mass unit worldwide
Uses of the Gram today
- Cooking and nutrition labeling worldwide (including in the US, alongside ounces)
- Precious metal and small-item weighing
- Scientific and laboratory measurement
History of the Gram
Originally defined in 1795 as the mass of one cubic centimeter of water, the gram follows directly from the kilogram (1/1000 of it) under the modern SI system, inheriting the kilogram's various historical and current definitions.
Historical origin. Gram was not the invention of a single named person; it developed through the process described above.
Understanding the Milligram (mg)
Milligram is 0.001 gram units.
Gram — sources
- BIPM — The kilogram (SI base unit) — Basis for the gram as 1/1000 of the kilogram.
Reserved between the cards and the FAQ so the page stays balanced.
Frequently asked questions
How many milligrams are in 1 gram?
1 gram equals 1,000 milligrams, using the exact defined conversion factor rather than an estimate.
How do I convert gram to milligram?
Multiply the gram value by 1000. The converter above does this instantly to whatever precision you set.
How do I convert milligram back to gram?
Use the reverse factor: 1 milligram equals 0.001 grams. You can also use the swap control in the converter above to flip the direction instantly.
What is a gram?
Gram (g) measures mass. A gram is one-thousandth of a kilogram, the SI base unit of mass. It is classified as a SI derived (metric prefix) unit.
What is a milligram?
Milligram (mg) is a unit of cooking.
Is the gram to milligram conversion exact?
Yes. Both gram and milligram are defined by fixed standards rather than physical artifacts, so the factor of 1000 used above is exact to as many digits as you choose to display.
Where is the gram still used today?
Standard small-mass unit worldwide