Gram to Milligram Converter (and vice versa)

Created by: tinycalcs.com/en
Number of supported units: 2
Last update: 2026

This converter allows you to convert grams [g] to milligrams [mg] or milligrams [mg] to grams [g]. Calculations are performed in both directions. The calculation result and the entered value are displayed with up to 20 decimal places for maximum accuracy.

1 gram [g] = 1,000 milligrams [mg]1 milligram [mg] = 0.001 grams [g]

Convert grams to milligrams

There are two simple ways to convert grams [g] to milligrams [mg]. In the first calculation method, the value in grams [g] is divided by 0.001. The second method multiplies the value in grams [g] by 1,000.

  • Milligrams [mg] = grams [g] ÷ 0.001
  • Milligrams [mg] = grams [g] * 1,000

Convert milligrams to grams

Converting milligrams [mg] to grams [g] is easy and can be done in two ways. The first method involves multiplication, whereby the value in milligrams [mg] is multiplied by 0.001. The second variant is a division. Here, the value in milligrams [mg] is divided by 1,000.

  • Grams [g] = milligrams [mg] * 0.001
  • Grams [g] = milligrams [mg] ÷ 1,000

Converter

Decimal places

How it's calculated

Factor: 
1,000
Milligrams=Grams*1,000
Grams=
Milligrams1,000

To all available units

Grams

Nanograms

Grams

Ounces

Grams

Picograms

Grams

Pounds

Grams

Troy ounces