A pretzel has a massive 5 g what is the mass in milligrams?

1000 mg equals 1 g

The mass of the pretzel in milligrams would be 5000 mg (5 g x 1000 mg/g = 5000 mg).