Convert 40 g to mg
40 grams = 40,000 milligrams
Sumwise · Maintained by Theo Abbott (pen name) · automated checks · Data: exact arithmetic; unit definitions from NIST SP 811 · Updated · How the checks work
How to convert grams to milligrams
- Formula:
milligrams = grams × 1,000 - Put in the value: 40 grams.
- Result: 40,000 milligrams.
Grams to milligrams table
Converting the other way: milligrams to grams
grams = milligrams × 0.001. So 40,000 milligrams is back to 40 grams; one milligram is 0.001 grams. See the milligrams to grams table.
Quick estimate in your head
For a rough answer, multiply by about 1000: 40 × 1000 ≈ 40,000 mg, against the exact 40,000 mg (0.0% out). Good enough to check that a calculated result is sensible.
Common mistakes
The usual slip is using the factor the wrong way round. A gram is bigger than a milligram, so the number of milligrams must come out larger than the number of grams. If your answer goes the other way, divide instead of multiplying.
About the units
Gram (g) and milligram (mg) are both units of mass. One gram equals 1,000 milligrams, and one milligram equals 0.001 grams. Results on this page are rounded for display; the conversion itself uses the exact definitions.
Mass conversions come up in cooking and baking, shipping and luggage limits, body weight, medicine doses and buying food by weight.
40 grams in other units
The most readable unit for this amount is ounces (1.410958).
- 40,000 mg
- 0.04 kg
- 0.00004 t
- 1.410958 oz
- 0.0881849 lb
- 0.00629892 st
- 0.00004409 ton
- 200 ct
How answers are calculated and checked: methodology.
Questions
How many milligrams are in 40 grams?
40,000 milligrams.
What is the formula to convert grams to milligrams?
milligrams = grams × 1,000
How many milligrams are in one gram?
One gram is 1,000 milligrams, so multiply any number of grams by 1,000.
Is 40 g more than 40 mg?
Yes. 40 grams is 40,000 milligrams, which is more than 40 milligrams.
How do I convert grams to milligrams in a spreadsheet?
Put the number of grams in A1 and type =A1*1000 in the next cell. Fill the formula down to convert a whole column.