how to calculate percentage by mass of nitrogen in ammonia?
You can write the percent composition of nitrogen in ammonium sulfate by dividing the molar mass of the two nitrogen atoms by the molar mass of the compound, and multiplying the result by 100.