If a solution has a hydrogen ion concentration of 10-5M what is its pH?

The pH of a solution is defined as -log10[H+]. Thus a solution with a hydrogen ion concentration of 10-5M has a pH of 5. [H+] = 10-5
pH = -log[H+]
pH = - log [10-5]
pH = 5