Substitute the known pH into the formula, and represent with the variable x:

Multiply both sides by :

Rewrite as an exponential equation to solve for x: