The pH, for definition, is the negative logarithm of H+ ion concentration in a solution; mathematically speaking : pH =- log[H+]
The values ran from 0 to 7 for acidity and from 7 to 14 for basicity. The pH measurement is important in every field of application like food industry, pharmaceutical, cosmetics, galvanic, etc.