Mathematically, pH is defined as:

pH = - log [H+]

Enter into your calculator the following H+ ion concentrations and see if you arrive at the pH values as indicated.

[H+]
(molarity)
pH
1 x 10-1
1
1 x 10-3
3
1 x 10-9
9
1 x 10-11
11

Approximate pH of some common solutions:

Solution
pH
lemon juice
2.3
vinegar
2.5-3.5
coke
2.0-4.0
blood
7.4
milk of magnesia
10.5
household ammonia
11