A buffer solution must contain a weak acid and its conjugate base. A buffer can be made by dissolving a weak acid and a salt containing the conjugate base, or dissolving a weak base and a salt containing the conjugate acid in the same solution. A buffer can also be made by adding a strong base to partially neutralize a solution of a weak acid or by adding a strong acid to partially neutralize a solution of a weak base. Both NaOH and KOH are strong bases.