The purpose of this simulation is to teach the logarithmic nature of the pH scale and to show students how pH changes during successive neutralisations. It is not intended as an accurate titration simulator, but to demonstrate the concepts that underpin this.
The pH scale is a measure of how acidic or alkaline a solution is. Most solutions you will encounter in a school lab have pH values between 0 (highly acidic) and 14 (highly alkaline), although it is possible for acids to have pH values well below 0 and for alkalis to have pH values over 14. The pH of a neutral solution is 7.
Acids have low pH values because, when they dissolve in water, the acid molecules dissociate (separate) to form hydrogen ions, H+. Alkalis have high pH values because, when they dissolve in water, the alkali molecules dissociate to form hydroxide ions, OH−.
The pH of a solution is determined by the concentration of hydrogen ions, H+, in the solution: the higher the H+ concentration, the lower the pH. pH is not a linear scale but a logarithmic scale; this means that each step up or down the pH scale corresponds to a tenfold change in H+ concentration. One step down the pH scale represents a 10-times increase in the H+ concentration; one step up the pH scale represents a 10-times decrease in H+ concentration. This is illustrated in the diagram below:
When taking multiple steps along the pH scale, the tenfold changes stack up, for example:
In the same way that the behaviour of acids is caused by the H+ ion, the behaviour of alkalis is caused by the hydroxide ion, OH−. At pH values above 7, there is an excess of OH− ions relative to H+ ions, and every step up the pH scale represents a tenfold increase in the concentration of OH− ions.
Post-16 only: Given the above, you might be wondering why the pH scale has switched from measuring H+ concentration to OH− concentration, and the answer is that it hasn’t! To understand this, we need to look a little more closely at water. Water molecules have the ability to break up into ions—known as self-ionisation—such that at 25 °C, roughly one in every 550 million water molecules dissociates into H+ and OH− ions in a reversible reaction:
At pH 7, the concentrations of H+ and OH− ions are equal. We have already seen that every step down the pH scale represents a tenfold increase in H+ concentration, which is achieved by adding acid molecules, and every step up the pH scale represents a tenfold decrease in H+ concentration, so how can the H+ concentration be decreased below the level seen in pure water? The answer is to do with the equilibrium above. Adding additional hydroxide ions to water at pH 7 (for example, by dissolving sodium hydroxide) also has the effect of reducing the concentration of H+ ions. In fact, every tenfold increase in OH− concentration results in a further tenfold decrease in H+ concentration, so as we increase pH above 7, we continue to see the same tenfold decrease in H+ with each step.
When H+ ions collide with OH− ions, they react to form water. This is known as a neutralisation reaction.
As you add an alkali (OH− ions) to an acid, due to the tenfold nature of the pH scale, you have to neutralise 90% of the H+ ions for the pH to increase by one (leaving 10% of the H+ ions untouched), which takes a large amount of alkali. To increase the pH by a further one, you need to neutralise 90% of the remaining H+, which is only 9% of the original amount, so it takes ten times less alkali to go up the second pH point compared to the first. This pattern continues such that, in a typical school lab experiment, the pH can go up by several points from about pH 5 to pH 9 with the addition of a single drop of alkali, producing graphs that have the characteristic shape shown below.
Note: In this simulation, when H+ and OH− react, a blue water molecule is formed; however, it disappears after 5 seconds to avoid visual clutter.
Substances that change colour depending on the pH are known as indicators. Most indicators have just one colour change, such that, with the addition of a single drop of an alkali or acid, they change from one colour to another, indicating whether the solution is acidic or alkaline (Note: most indicators don’t change colour at pH 7, but they do normally change colour in a pH range where the concentrations of H+ and OH− are so low that it takes only a very small quantity of acid or alkali to significantly change the pH). As such, indicators are not generally used to measure the pH, but to determine whether the pH is above or below the range in which the indicator changes colour.
Universal indicator is made of a mixture of indicators, so it has a large number of colour changes across the pH range; however, it still should not be used to measure pH due to the difficulty of accurately measuring a colour.
In order to demonstrate the key concepts more clearly, this simulation makes a number of simplifications and compromises: