Unit Converter→Specialized Version
šŸ“

Grams to Milligrams Converter

Convert g to mg

1,000
1 g = 1,000 mg
Quick Reference: 1 Grams
Kilograms0.001 kg
Milligrams1,000 mg
Pounds0.002205 lb
Ounces0.035274 oz
Metric Tons0.000001 t

Grams to Milligrams

Convert grams (g) to milligrams (mg). Both measure mass and weight, and the conversion comes up in cooking, shipping, fitness work.

The Formula

`` milligrams = grams Ɨ 1000 grams = milligrams Ɨ 0.001 `

One gram is 1,000 milligrams, and one milligram is 0.001 grams.

Conversion Table

GramsMilligrams
1 g1,000 mg
2 g2,000 mg
5 g5,000 mg
10 g10,000 mg
25 g25,000 mg
50 g50,000 mg
100 g100,000 mg
500 g500,000 mg
1,000 g1,000,000 mg

The Other Direction

MilligramsGrams
1 mg0.001 g
2 mg0.002 g
5 mg0.005 g
10 mg0.01 g
25 mg0.025 g
50 mg0.05 g
100 mg0.1 g
500 mg0.5 g
1,000 mg1 g

What Each Unit Is

Grams (g) — one thousandth of a kilogram. The metric unit for small masses; cooking, nutrition and postage all work in grams.

Milligrams (mg) — one thousandth of a gram. The metric unit for doses and trace quantities.

A Sense of Scale

  • A paperclip is about 1 g
  • A sheet of A4 is 5 g
  • A tennis ball is 58 g
  • A grain of sand is about 1 mg
  • An aspirin tablet is 300–500 mg
  • Nutrition labels use mg for sodium

Precision

The factor 1000 is rounded. For engineering work carry more digits than the table above, and round only at the end — rounding at each step compounds.

In Code

`javascript const gramToMilligram = (value) => value * 1000; ``

Where This Conversion Comes Up

  • Cooking
  • Shipping
  • Fitness
  • Medicine
  • Manufacturing

How Many Decimals Do You Need?

Rounding the factor costs accuracy, and how much depends on the factor. Converting 137 g with the factor truncated at each decimal place:

Decimals keptFactor137 g becomesError
01000137,000—
11000137,000—
21000137,000—
31000137,000—
41000137,000—
A rule that holds for any conversion: round once, at the end. Rounding the factor and then multiplying compounds the error through every subsequent calculation, while carrying full precision and rounding the final answer does not.

The right number of significant figures is set by your input, not by the converter. If you measured grams to three significant figures, the answer in milligrams is only good to three — writing more digits claims precision the measurement never had.

Other Conversions From Grams

The same value in every other unit this converter supports for weight:

FromToUnit
1 g0.001 kgKilograms
1 g0.00220462 lbPounds
1 g0.035274 ozOunces
1 g1.5747e-4 stStone
1 g1.0000e-6 tTons
Chaining conversions works — grams to metres to feet gives the same answer as grams to feet — but each step rounds, so a chain of three conversions carries three roundings. Convert directly where a direct factor exists.

Frequently Asked Questions

How do I convert grams to milligrams?

Multiply by 1000. For example, 10 g is 10,000 mg. Going the other way, divide by 1000 or multiply by 0.001.

How many milligrams are in one gram?

Exactly 1,000 milligrams in one gram, so 25 g is 25,000 mg and 100 g is 100,000 mg. Going the other way, one milligram is 0.001 grams.

Is the grams to milligrams conversion exact?

The factor 1000 is rounded. For engineering work carry more digits than the table above, and round only at the end — rounding at each step compounds.

Related Tools

Explore other tools you might find useful:

More Unit Converter tools

You might also need