pH = -log[H3O+]
For a 10-4 M HCl solution, [H3O+] = 10-4 M.
Therefore, pH = -log(10-4) = 4.
So the pH of a 10-4 M HCl solution is 4.