if you have a stop order on an open position, then your margin is reduced by 50%, as it is "aware" of the fact you have a stop in there.
if the total loss in the case of the stop being hit is greater than 50% of your initial margin, then this value will be your total margin