Convert from one unit to another gram to milligram To convert from gram into milligram we multiply by 1000. To convert from milligram into gram we do the opposite. We divide by 1000. Example: 7g X 1000 = 7000mg.