For an acetic acid-sodium acetate buffer to have a pH of 4.64, what molar ratio

of CH3COOH to Na+ CH3COO– is needed?

I know that the Ka value for acetic acid is 1.8e-5 and that I have to divide this value by the value of sodium acetate but I do not understand how you get the value for sodium acetate.

4 answers

You want the molar ratio. The easy way to do that is to use the Henderson-Hasselbalch equation.
pH = pKa + log (base)/(acid)
4.64 = 4.74 + log(acetate)/(acetic acid)
Solve for the ratio of
acetate/acetic acid.
The other way to do it is
Ka = (H^+)(Ac^-)/(HAc)
Ka/(H^+) = (Ac^-)/(HAc)
1.8E-5/2.29E-5 = (Ac^-)/(HAc)
For the second way, where did the 2.29e-5 come from?
pH of 4.64. (H^+) = 2.29E-5