Convert milligrams to grams

Enter a value in milligrams (mg) to get grams (g). One milligram is 0.001 grams; one gram is 1,000 milligrams.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Milligram to gram

  1. Type the number of milligrams.
  2. Click Convert.
  3. Read the result in grams, plus the same value in every other weight & mass unit.

mg to g formula

grams = milligrams × 0.001. To go the other way, milligrams = grams × 1,000 (see grams to milligrams).

Worked example

12 mg × 0.001 = 0.012 g.

Milligrams to grams conversion table

MilligramsGrams
0.1 mg0.0001 g
0.5 mg0.0005 g
1 mg0.001 g
2 mg0.002 g
3 mg0.003 g
5 mg0.005 g
10 mg0.01 g
20 mg0.02 g
25 mg0.025 g
50 mg0.05 g
100 mg0.1 g
250 mg0.25 g
500 mg0.5 g
1,000 mg1 g

About the milligram

One thousandth of a gram. Medicine doses and nutrition labels use milligrams.

About the gram

One thousandth of a kilogram; the kitchen and postal unit across the metric world.

Related conversions

grams to milligrams · any unit.

Frequently asked questions

How many grams in a milligram?

0.001 grams.

How many milligrams in a gram?

1,000 milligrams.

Is the factor exact?

The factor 0.001 is derived from the units' exact definitions; only the display is rounded.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.