HomeUnit Conversion › Milligrams to Grams

Milligrams to Grams (mg to g)

Convert milligrams to grams: 1 mg = 0.001 g. Exact conversion factor, formula, 22-row table and worked examples, with JSON API and MCP access.

Formula

1 mg = 0.001 g

grams = milligrams × 0.001 — reverse: milligrams = grams × 1000

The factor is derived from the SI definitions of both units (base unit: kg) as listed in NIST SP 811; results on this page are shown to 6 significant figures, the API returns up to 12.

Worked examples

Milligrams to grams conversion table

Milligrams (mg)Grams (g)
10.001
20.002
30.003
40.004
50.005
60.006
70.007
80.008
90.009
100.01
150.015
200.02
250.025
300.03
400.04
500.05
750.075
1000.1
2000.2
2500.25
5000.5
10001

FAQ

How many grams are in one milligram?

1 mg = 0.001 g. The factor comes from the SI definitions of both units (NIST SP 811 / BIPM), so it is exact or correct to at least 10 significant figures.

What is the formula to convert milligrams to grams?

Multiply the value in milligrams by 0.001: grams = milligrams × 0.001. For example, 5 mg = 0.005 g.

How do I convert grams back to milligrams?

Multiply by the inverse factor 1000 (milligrams = grams × 1000), or use the grams-to-milligrams page.

Related conversions

Machine access

Sources