Convert milligrams to grams instantly — type any value and the result appears as you type. Below you will find the exact formula, a mg to g conversion table and a worked example.
Formula: Grams = milligrams ÷ 1,000. There are exactly 1,000 milligrams in 1 gram, so dividing by 1,000 is exact.
Question: How many grams is 500 mg — a 500 mg medicine tablet?
Steps: Take the value in milligrams: 500 mg. Apply the formula: Grams = milligrams ÷ 1,000. That gives 500 → 0.5 g (rounded to four decimal places).
Result: 500 mg = 0.5 g.
| Milligrams (mg) | Grams (g) |
| 1 mg | 0.001 g |
| 2 mg | 0.002 g |
| 5 mg | 0.005 g |
| 10 mg | 0.01 g |
| 15 mg | 0.015 g |
| 20 mg | 0.02 g |
| 30 mg | 0.03 g |
| 50 mg | 0.05 g |
| 100 mg | 0.1 g |
| 150 mg | 0.15 g |
| 200 mg | 0.2 g |
Need a value that is not in the table — or the reverse direction? Use the converter at the top of this page or the grams to milligrams converter, or the full Unit Converter for every unit in one place.
Divide the value in milligrams by 1,000: mg ÷ 1,000 = g. For example, 500 mg ÷ 1,000 = 0.5 g. The converter above does this instantly.
0.001 g (to four decimal places). The full relationship: Grams = milligrams ÷ 1,000.
500 mg = 0.5 g — a 500 mg medicine tablet.
Use the reverse conversion — our grams to milligrams converter does it instantly. For a quick check, multiply by the same factor instead.
Exactly 1,000 mg — the prefix 'milli' means one thousandth.
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.