Convert grams to milligrams instantly — type any value and the result appears as you type. Below you will find the exact formula, a g to mg conversion table and a worked example.
Formula: Milligrams = grams × 1,000. There are exactly 1,000 milligrams in 1 gram, so multiplying by 1,000 is exact.
Question: How many milligrams is 5 g — a 5 g sachet of dried yeast?
Steps: Take the value in grams: 5 g. Apply the formula: Milligrams = grams × 1,000. That gives 5 → 5000 mg (rounded to four decimal places).
Result: 5 g = 5000 mg.
| Grams (g) | Milligrams (mg) |
| 1 g | 1000 mg |
| 2 g | 2000 mg |
| 5 g | 5000 mg |
| 10 g | 10000 mg |
| 15 g | 15000 mg |
| 20 g | 20000 mg |
| 30 g | 30000 mg |
| 50 g | 50000 mg |
| 100 g | 100000 mg |
| 150 g | 150000 mg |
| 200 g | 200000 mg |
Need a value that is not in the table — or the reverse direction? Use the converter at the top of this page or the milligrams to grams converter, or the full Unit Converter for every unit in one place.
Multiply the value in grams by 1,000: g × 1,000 = mg. For example, 5 g × 1,000 = 5000 mg. The converter above does this instantly.
1000 mg (to four decimal places). The full relationship: Milligrams = grams × 1,000.
5 g = 5000 mg — a 5 g sachet of dried yeast.
Use the reverse conversion — our milligrams to grams converter does it instantly. For a quick check, divide by the same factor instead.
Because doses are tiny — a typical tablet holds 250–500 mg of active ingredient, and milligrams give a precision that grams cannot.
All units in one tool
Weight conversion
Weight conversion
Weight conversion
Weight conversion
Weight conversion
Weight conversion
Weight conversion
Cm to Inches Converter · Inches to Cm Converter · Mm to Inches Converter · Metres to Feet Converter · Feet to Metres Converter · Km to Miles Converter · Miles to Km Converter · Yards to Metres Converter · Kg to Pounds Converter · Pounds to Kg Converter · Grams to Ounces Converter · Ounces to Grams Converter · Pounds to Ounces Converter · Stone to Kg Converter · Celsius to Fahrenheit Converter · Fahrenheit to Celsius Converter · Litres to Gallons Converter · Gallons to Litres Converter · Millilitres to Fluid Ounces Converter · Fluid Ounces to Millilitres Converter · Km/h to Mph Converter · Mph to Km/h Converter · Square Metres to Square Feet Converter · Square Feet to Square Metres Converter
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.