0.4 g x 1000 = 400 mg
0.4 g = 400 mg
Multiply the value in grams by 1000 to get mg.
Open grams to mg converter