Convert milligrams to grams

Milligram (mg) to gram (g). One milligram equals 0.001 grams.

1 mg =0.001g (grams)

Formula

grams = milligrams ÷ 1000

Milligram to gram conversion table

MilligramsGramsGramsMilligrams
1 mg0.001 g1 g1000 mg
2 mg0.002 g2 g2000 mg
3 mg0.003 g3 g3000 mg
5 mg0.005 g5 g5000 mg
10 mg0.01 g10 g10000 mg
20 mg0.02 g20 g20000 mg
50 mg0.05 g50 g50000 mg
100 mg0.1 g100 g100000 mg
500 mg0.5 g500 g500000 mg
1000 mg1 g1000 g1000000 mg

To convert milligrams to grams, divide the number of milligrams by 1000. One milligram equals 0.001 grams, and one gram equals 1000 milligrams, so the relationship is fixed and exact. As a worked example, 10 mg comes to 0.01 g. Enter your own figure in the converter above to get an instant answer, or use the swap button to flip the direction. This is a mass conversion, and like every tool on UnitGlide it runs locally in your browser with no account or upload required. The table further down shows a range of common milligram values already worked out in grams, plus the reverse gram to milligram direction, which is handy for quick reference or double-checking a result by hand.

Frequently asked questions

How many grams are in a milligram?

One milligram equals 0.001 grams. The ratio is constant, so you can multiply any number of milligrams by 0.001 to get grams.

What is the formula to convert milligrams to grams?

Use grams = milligrams ÷ 1000. UnitGlide applies this exact formula for every value, so results stay accurate across the whole range.

How do I convert grams back to milligrams?

Go the other way by using one gram equals 1000 milligrams. You can also press the swap button in the converter above to flip the direction in one click.

Is this milligram to gram converter accurate?

Yes. It uses internationally defined SI conversion factors, as maintained by the BIPM, and all math runs in your browser so nothing is rounded away on a server. For everyday use the displayed precision is more than enough.

Related conversions

Embed this converter or use the API

Put this converter on your own site, or call the free JSON API. Full documentation is on the developers page.

Embed (iframe)

<iframe src="https://unitglide.net/embed/mg-to-g" width="360" height="200"
        style="border:1px solid #e2e6ec;border-radius:12px"
        title="Milligram to Gram converter"></iframe>
<p><a href="https://unitglide.net/convert/mg-to-g">Milligram to Gram Converter</a> by UnitGlide</p>

API

https://unitglide.net/api/convert?from=mg&to=g&value=1