Free calculators with the working shown
CalcTools

Free unit converter

Grams to Milligrams Converter

Convert grams to milligrams instantly. 1 g = 1,000 mg. Formula, worked example, everyday values and a full g to mg table.

Start calculating →How it works ↓

  • 100% free
  • Instant results
  • No sign-up, private
Grams to Milligrams Converter

⇄ Convert milligrams to grams

Free · No sign-up · Calculated in your browser

How to convert grams to milligrams

One gram equals 1,000 milligrams, so multiply the number of grams by 1,000:

mg = g × 1,000
g = mg ÷ 1,000 (1 mg = 0.001 g)

Example: 0.5 g → 0.5 × 1,000 = 500 mg.

Going the other way, divide by 1,000, or multiply by 0.001; the milligrams to grams converter does it for you.

Everyday values

GramsMilligramsFor example
0.5 g500 mg500 mg
1 g1,000 mgone gram
2.3 g2,300 mg2.3 g of sodium, a common daily limit
5 g5,000 mga teaspoon of salt, roughly

When you need this conversion

Multiply grams by 1,000. Nutrition labels sometimes show sodium in grams and sometimes in milligrams; 2.3 g is 2,300 mg, a daily sodium limit recommended in US dietary guidelines.

Gram to milligram conversion table

gmggmg
0.1 g100 mg1.3 g1,300 mg
0.2 g200 mg1.4 g1,400 mg
0.3 g300 mg1.5 g1,500 mg
0.4 g400 mg1.6 g1,600 mg
0.5 g500 mg1.7 g1,700 mg
0.6 g600 mg1.8 g1,800 mg
0.7 g700 mg1.9 g1,900 mg
0.8 g800 mg2 g2,000 mg
0.9 g900 mg2.1 g2,100 mg
1 g1,000 mg2.2 g2,200 mg
1.1 g1,100 mg2.3 g2,300 mg
1.2 g1,200 mg2.4 g2,400 mg

About the units

  • Gram (g): one thousandth of a kilogram.
  • Milligram (mg): one thousandth of a gram.

Both are units of weight (mass). The conversion factor comes from the exact definitions above, so the calculator is exact; results are only rounded for display (up to six significant digits).

Frequently asked questions

How many milligrams are in one gram?

One gram is 1,000 milligrams. One milligram is 0.001 grams.

How do I convert grams to milligrams?

Multiply the value in grams by 1,000. To go back, divide by 1,000.

What is 0.5 g in milligrams?

0.5 g = 500 mg.

What is 2.3 g in milligrams?

2.3 g = 2,300 mg.

Sources

  • NIST Special Publication 811 (2008), Guide for the Use of the International System of Units (SI), Appendix B: conversion factors.
  • NIST Handbook 44 (2024), Appendix C: General tables of units of measurement.

Last reviewed 5 October 2026. Results are estimates; see our disclaimer.

Related calculators