Ammonia is NH3 and not NH4, or do you mean NH4+ ammonium.
4 NH3 + 5 O2 => 4 NO + 6 H2O
2 NO + O2 => 2 NO2
4 NO2 + 2 H2O + O2 => 4 HNO3
The mass can calculated by using the mole. For 4 mol ammonia you need 5 Mole oxygen or in other words for 1 mol ammonia you need 1,25 mole oxygen. 17 g NH3 to 40 g O2 or 1g to 2,35 g