25 ml of cloudy ammonia solution is added to a 250 ml Erlenmeyer flask. 50 ml of .1 M HCl is then immediately added to the flask, which reacted with the ammonia in the solution. Next, the solution was titrated with .025 M NaOH to neutralize the excess HCl that was not neutralized by the ammonia. 21.50 ml of NaOH was added to neutralize the excess HCl. Calculate the concentration of ammonia in the cloudy cleaning solution.

NH3 + HCl ==>NH4Cl

Excess HCl + NaOH ==> NaCl + H2O

Mols HCl added initially = M x L = 0.1M x 0.050L = ?
mols NaOH to neutralize excess HCl = M x L = 0.025M x 0.02150 = ?
mols HCl used by ammonia = mols initially - mols excess = ? = mols NH3 initially.
M NH3 = mols NH3/L NH3 = mols from above/0.025L = ?

I understand everything except how to calculate the mols NH3? Do the mols of HCL used by ammonia equal the mols of NH3 initially? Also, what is the mols excess that you used to calculate the mols of HCl used by ammonia?

yes.

The problem in words works out this way. You have so many mols NH3 at the beginning. You had an excess of HCl which reacts with all of the NH3 and leaves extra HCl in the solution. The first thing you want to do is to find the how much excess HCl is there. You do that by titrating the HCl with a known volume and concn of NaOH. The NaOH is used to determined how much excess HCl you had. The mols NaOH used = mols HCl the NH3 DID NOT USE. So the difference in mols HCl you started with minus the mols HCl the NH3 did not use = mols NH3 used.

Oh, okay. I understand now, thank you so much for your help.

To calculate the concentration of ammonia in the cloudy cleaning solution, we need to use the information provided in the problem. Let's break down the steps:

1. Determine the moles of HCl used:
- Volume of HCl = 50 ml
- Concentration of HCl = 0.1 M
- Moles of HCl = Volume * Concentration = 50 ml * 0.1 M = 5.0 mmol

2. Determine the moles of NaOH used to neutralize the excess HCl:
- Volume of NaOH = 21.50 ml
- Concentration of NaOH = 0.025 M
- Moles of NaOH = Volume * Concentration = 21.50 ml * 0.025 M = 0.5375 mmol

3. Determine the moles of HCl that reacted with ammonia:
- Moles of HCl reacted = Moles of NaOH used = 0.5375 mmol

4. Determine the moles of ammonia reacted:
- Since ammonia and HCl react in a 1:1 stoichiometric ratio, the moles of ammonia reacted are also 0.5375 mmol.

5. Determine the concentration of ammonia in the cloudy ammonia solution:
- Volume of ammonia solution = 25 ml = 0.025 L
- Moles of ammonia = Moles of ammonia reacted = 0.5375 mmol = 0.0005375 mol
- Concentration of ammonia = Moles of ammonia / Volume of ammonia solution = 0.0005375 mol / 0.025 L = 0.0215 M

So, the concentration of ammonia in the cloudy cleaning solution is 0.0215 M.