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

Mass/Weight Converter

Convert SI mass, imperial weight, jewelry, atomic, and astronomy mass units.

Result 1 gram = 1,000 milligram
Advertisement Converter ad slot

Reserved below the result so the calculator remains usable.

From definition

A gram is one thousandth of a kilogram.

To definition

Milligram is 0.001 gram units.

Formula

Result = input x 0.001 / 1e-6.

Mass uses the kilogram as the base unit.

Advertisement Ad slot: content top (728x90)

Reserved above the conversion cards and below the converter.

About Converting Grams to Milligrams

Weight conversions between Gram and Milligram come up constantly in everyday commerce, shipping, and cooking, since US packaging is usually labeled in pounds while most of the rest of the world uses kilograms. 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

50 g × 1000 = 50,000 mg

50 grams = 50,000 milligrams.

Conversion table

Gram (g)Milligram (mg)
1 g1,000 mg
5 g5,000 mg
10 g10,000 mg
25 g25,000 mg
50 g50,000 mg
100 g100,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.
Advertisement Ad slot: content middle (728x90)

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 mass/weight.

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