Ammonia has other properties useful as well. For example, it reacts with water to form ammonium hydroxide, nitrogen and hydrogen aren't appreciably soluble in water. Ammonia reacts with other reagents as well, which you can look up. You can also look up the production of ammonia industrially, and you'll see the information Hunter2: provided. I doubt you're going to put any producers out of business anytime soon -- pressurizing, and cooling and re-routing unreacted N2 and H2 back for more reactions is a chemical engineering feat, and very energy intensive.