This converter turns milligrams into grams instantly, using the exact factor 1 milligram = 0.001 grams. Type any number and the result updates as you go — nothing is sent to a server, so the arithmetic happens entirely in your browser.
One thousandth of a gram, the standard unit for medication doses and nutrients. One thousandth of a kilogram — the workhorse unit of cooking and postage.
Because the relationship is a simple proportion, one multiplication does the whole job. The table further down gives pre-computed values for the amounts people look up most often, and the result panel also reports the reverse conversion so you can check the figure both ways.
The formula
milligrams- The amount you are converting, measured in milligrams
0.001- The exact number of grams in one milligram
grams- The converted result
How it works, step by step
- Enter the number of milligrams you want to convert.
- The value is multiplied by 0.001, the exact conversion factor.
- The result is displayed in grams, rounded for readability.
- The unrounded value and the reverse conversion appear underneath so you can verify it.
Worked examples
Converting 5 milligrams
Multiply 5 by 0.001. That gives 0.005 grams. A quick sanity check: one milligram is smaller than one gram, so the number should get smaller — and it does.
Converting 72 milligrams
72 × 0.001 = 0.072 grams. Working backwards, 0.072 ÷ 0.001 returns 72 milligrams, which confirms the factor is applied the right way round.
How to read your score
Frequently asked questions
How many grams are in one milligram?
Exactly 0.001. Every conversion on this page is that single number multiplied by your input, so the result carries no rounding error beyond what is shown.
What is the formula to convert milligrams to grams?
Grams = milligrams × 0.001. To reverse it, divide instead: milligrams = grams ÷ 0.001, which is the same as multiplying by 1000.
Is the milligram bigger than the gram?
No. One milligram is only 0.001 of a gram, so the gram is the larger unit.
Why does my answer differ slightly from other mg to grams converters?
Most differences come from rounding the factor too early. This tool keeps full double precision through the calculation and only rounds at the final display step, and it also shows the unrounded value so you can see exactly where any difference appears.
What is a milligram?
One thousandth of a gram, the standard unit for medication doses and nutrients.
What is a gram?
One thousandth of a kilogram — the workhorse unit of cooking and postage.
Milligrams to grams reference table
| Milligrams | Grams |
|---|---|
| 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 |
| 15 mg | 0.015 g |
| 20 mg | 0.02 g |
| 25 mg | 0.025 g |
| 50 mg | 0.05 g |
| 75 mg | 0.075 g |
| 100 mg | 0.1 g |
| 250 mg | 0.25 g |
| 500 mg | 0.5 g |
| 1000 mg | 1 g |
Exact factor: 1 milligram = 0.001 grams. Values rounded for display.