I want to use the Henderson–Hasselbalch equation to solve for the concentration of acetic acid when I know the ph. Most everything I see solves for the ph. I can find that out with a ph meter :-).

Since it is all theoretical I don't care which base is chosen, as long as I know which it is. I need to see how the formula is set up so I understand where the numbers come from.