Grams to milligrams

Type a value in grams to see it in milligrams straight away, or type in the second box to convert back.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Type the value in the grams box.
  2. Read the result in milligrams as you type, and pick the precision you need.
  3. Swap the direction to convert back, or copy the result.

How it is calculated

mg = g × 1,000

Multiply the value in grams by 1,000 to get milligrams.

Example

To convert 25 g to milligrams: 25 × 1,000 = 25,000 mg.

Conversion table

Grams (g)Milligrams (mg)
11,000
22,000
33,000
55,000
1010,000
2020,000
2525,000
5050,000
100100,000
250250,000
500500,000
1,0001,000,000

About the units

Gram
One thousandth of a kilogram, the usual unit for weighing gold and food.
Milligram
One thousandth of a gram, used for medicine and supplement doses.

Limits and caveats

  • Results are rounded for display and computed with the browser's floating point precision (about 15 significant digits).
  • Both unit factors are exact by their official definitions.

Questions about this tool

How many milligrams are in one gram?

1 g = 1,000 mg exactly.

How do I convert grams to milligrams?

Use mg = g × 1,000. For example, 25 g = 25,000 mg.

How many grams are in one milligram?

1 mg = 0.001 g.

Are mass and weight the same thing?

Strictly no: mass is the amount of matter, in kilograms, while weight is the force of gravity on it, in newtons. Scales display mass, so everyday language uses the two words interchangeably.

What is the difference between an ounce and a troy ounce?

An ordinary ounce is 28.349523125 grams and is used for food and goods, while a troy ounce is 31.1034768 grams and is used to price gold and silver.