TAN value can be deduced by a couple of different methods, eg: by color indicator titration, by potentiometric titration.
The sample is normally dissolved in toluene and propanol with a little water and titrated with alcoholic potassium hydroxide (if sample is acidic). A glass electrode and reference electrode is immersed in the sample and connected to a voltmeter/potentiometer. The meter reading (in millivolts) is plotted against the volume of titrant. The end point is taken at the distinct inflection of the resulting curve corresponding to the basic buffer solution.
Color Indicating Titration
An appropriate pH color indicator eg: Phenolphthalein, is used. Titrant is added to the sample by means of a burette. The volume of titrant used to cause a permanent color change in the sample is recorded and used to calculate the TAN value.