To calculate the pH of a \(1 \times 10^{-4}\) mol/L HCl solution, we first recognize that HCl is a strong acid and dissociates completely in water. This means that the concentration of hydrogen ions \([H^+]\) will be equal to the concentration of the HCl solution, which is \(1 \times 10^{-4}\) mol/L.
The pH is calculated using the formula:
\[ \text{pH} = -\log[H^+] \]
Substituting the concentration of hydrogen ions:
\[ \text{pH} = -\log(1 \times 10^{-4}) \]
Calculating this gives:
\[ \text{pH} = -(-4) = 4 \]
Therefore, the pH of the solution is 4.
So the correct response is:
4