if you know molar ratio converting it to mass ratio (hint: molar mass) is trivial. Mass ratio can be always expressed as percentage (hint: if you mix 10g of this with 30g of that, mass percentage of this is 10/(10+30)×100%, just apply the definition).

Note: sugar/nitrate mixture borders pyrotechnics, we don't discuss pyrotechnics at the forum.