A buffer resists changes in pH when small amounts of acid or alkali are added. An acidic buffer is a weak acid plus its conjugate base (e.g. ethanoic acid + sodium ethanoate). Rearranging Ka:
[H+]=Ka×[A−][HA](or pH=pKa+lg[HA][A−])
It is the ratio of acid to conjugate base — not the absolute amounts — that sets the pH.
How it works — the buffer holds a large reservoir of both species:
Added H+:CH3COO−+H+→CH3COOH
Added OH−:CH3COOH+OH−→CH3COO−+H2O
so [H⁺] (and pH) barely changes.
Worked. 0.20 mol dm⁻³ acid + 0.10 mol dm⁻³ ethanoate, Ka = 1.8 × 10⁻⁵:
[H+]=(1.8×10−5)0.100.20=3.6×10−5⇒pH=4.44
Indicators. Choose an indicator whose colour-change range lies within the steep (vertical) part of the titration curve — e.g. phenolphthalein for a weak acid–strong base titration (alkaline equivalence point), methyl orange for strong acid–weak base.