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.
How to use the Milligram to gram
- Type the number of milligrams.
- Click Convert.
- 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
| Milligrams | Grams |
|---|---|
| 0.1 mg | 0.0001 g |
| 0.5 mg | 0.0005 g |
| 1 mg | 0.001 g |
| 2 mg | 0.002 g |
| 3 mg | 0.003 g |
| 5 mg | 0.005 g |
| 10 mg | 0.01 g |
| 20 mg | 0.02 g |
| 25 mg | 0.025 g |
| 50 mg | 0.05 g |
| 100 mg | 0.1 g |
| 250 mg | 0.25 g |
| 500 mg | 0.5 g |
| 1,000 mg | 1 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
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.