According to the conversion relationship between mg and g, 1 g is equal to 1000 mg. So to convert milligrams into grams, you can use the following mathematical formula: 100 milligrams divided by 1000 equals 0. 1 gram. So 100 mg is really equal to 0.1g.