How do I calculate the yield when an amine reacts with an acid halide?
You could calculate this straightforwardly; of course there is a catch.....
Acid halides react with added bases such as amines........
Normally we add TWO equiv of base; one to react at the carbonyl centre, and t'other to remove the hydrogen halide as the ammonium salt. Are you with me?
If the amine were really expensive, say something you had to synthesize over a few steps, or it was an optically active amine, you could use ONE equiv of so-called non-nucleophilic base, e.g.
Given stoichiometric amine (i.e. 2 equivs), the yield is:
I think it is fairly clear in your scenario that you ARE adding 2 equiv of aniline, so you adjust your yield calculation accordingly.