Purpose. Acid dissociation constants (pK(a) values) denote the extent of ionization of drug molecules at different pH values, which is important in understanding their penetration through biological membranes and their interaction with the receptors. However, many drug molecules are sparingly soluble in water or contain ionization centres with overlapping pK(a) values, making precise pK(a) determination difficult using conventional spectrophotometric titration. In this work, we investigate a multiwavelength spectrophotometric titration (WApH) method for the determination of pK(a) values. Methods. Spectral changes which arise during pH-metric titrations of substances with concentration of about 10(-5) M were captured by means of an optical system developed in this study. All experiments were carried out in 0.15 M KCI solution at 25 +/- 0.5 degrees C. Mathematical treatments based on the first derivative spectrophotometry procedure and the target factor analysis method were applied to calculate the pK(a) values from the multiwavelength absorption titration data. Results. pK(a) values were determined by the WApH technique for six ionizable substances, namely, benzoic acid, phenol, phthalic acid, nicotinic acid, p-aminosalicylic acid and phenolphthalein. Conclusions. The pK(a) values measured using the WApH technique are in excellent agreement with those measured pH-metrically. We have demonstrated that the first derivative spectrophometry procedure provides a relatively simple way to visualize the pK(a) values which are consistent with those determined using the target factor analysis method. However, for ionization systems with insufficient spectral data obtained around the sought pK(a) values or with closely overlapping pK(a) values, the target factor analysis method outperforms the first derivative procedure in terms of obtaining the results. Using the target factor analysis method, it has been shown that the two-step ionization of phenolphthalein involves a colorless anion intermediate and a red colored di-anion.