Convert the given unit of weight to the unit indicated

540 mg to g

To convert milligrams (mg) to grams (g), divide the given weight by 1000.

540 mg ÷ 1000 = 0.54 g