First, it is to be understood that logarithms allow a person to subject a number as an exponent of a base. As an example of ways in which logarithm is used to aid us in difficult calculations is when we calculate for the pH of a substance which has a formula of, pH = -log[H+]