Convert grams to milligrams
Gram (g) to milligram (mg). One gram equals 1000 milligrams.
Formula
Gram to milligram conversion table
| Grams | Milligrams | Milligrams | Grams |
|---|---|---|---|
| 1 g | 1000 mg | 1 mg | 0.001 g |
| 2 g | 2000 mg | 2 mg | 0.002 g |
| 3 g | 3000 mg | 3 mg | 0.003 g |
| 5 g | 5000 mg | 5 mg | 0.005 g |
| 10 g | 10000 mg | 10 mg | 0.01 g |
| 20 g | 20000 mg | 20 mg | 0.02 g |
| 50 g | 50000 mg | 50 mg | 0.05 g |
| 100 g | 100000 mg | 100 mg | 0.1 g |
| 500 g | 500000 mg | 500 mg | 0.5 g |
| 1000 g | 1000000 mg | 1000 mg | 1 g |
To convert grams to milligrams, multiply the number of grams by 1000. One gram equals 1000 milligrams, and one milligram equals 0.001 grams, so the relationship is fixed and exact. As a worked example, 10 g comes to 10000 mg. 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 gram values already worked out in milligrams, plus the reverse milligram to gram direction, which is handy for quick reference or double-checking a result by hand.
Frequently asked questions
How many milligrams are in a gram?
One gram equals 1000 milligrams. The ratio is constant, so you can multiply any number of grams by 1000 to get milligrams.
What is the formula to convert grams to milligrams?
Use milligrams = grams × 1000. UnitGlide applies this exact formula for every value, so results stay accurate across the whole range.
How do I convert milligrams back to grams?
Go the other way by using one milligram equals 0.001 grams. You can also press the swap button in the converter above to flip the direction in one click.
Is this gram to milligram 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.