In 1 milligrams there are 0.001 grams. Meanwhile in 1 grams there are 1,000 milligrams. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Grams to Milligrams calculator above to convert any number.
* Values rounded to 6 decimal places for readability
To convert milligrams (mg) to grams (g), use this base fact: 1 g = 1,000 mg.
Divide by 1,000 to change mg to g.
grams = milligrams ÷ 1,000
Move the decimal three places left.
This is the same as dividing by 1,000.
Examples
Use this conversion when you need to switch mg to g for labels, doses, recipes, or lab values.
Divide milligrams by 1,000 to get grams.
Formula: g = mg ÷ 1,000
There are 0.001 grams in 1 milligram.
1 mg = 0.001 g
There are 1,000 milligrams in 1 gram.
1 g = 1,000 mg
Think of 1,000 as the key number. Milligrams are smaller, so you divide by 1,000 to convert to grams. Move the decimal three places left.
Multiply grams by 1,000 to get milligrams.
Formula: mg = g × 1,000
A milligram (mg) is smaller than a gram (g).
1 gram equals 1,000 milligrams, so a milligram is one-thousandth of a gram.
To convert mg to g, move the decimal three places to the left.
Example: 2500 mg = 2.5 g
100 mg = 0.1 g
Calculation: 100 ÷ 1,000 = 0.1
500 mg = 0.5 g
Calculation: 500 ÷ 1,000 = 0.5
1,000 mg = 1 g
Calculation: 1,000 ÷ 1,000 = 1
2,500 mg = 2.5 g
Calculation: 2,500 ÷ 1,000 = 2.5
10,000 mg = 10 g
Calculation: 10,000 ÷ 1,000 = 10
Many labels list small amounts in mg because it’s more precise. Grams work better for larger amounts. Converting helps you compare totals and avoid mix-ups.
They’re all metric units of mass.
A common mistake is moving the decimal the wrong way.
Only if you know the liquid’s density. Milligrams and grams measure mass. Milliliters measure volume. For water, 1 mL is about 1 g, but other liquids can differ.
Use the standard abbreviations:
The Calculate Box tool to convert milligrams to grams uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a milligrams value in the box and have it instantly converted to grams.