pH of a solution calculator
These online calculators calculate the pH of a solution. There are two calculators – one for either strong acid or strong base, and another for either weak acid or weak base.
This content is licensed under Creative Commons Attribution/ShareAlike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8840/. Also, please do not modify any references to the original work (if any) contained in this content.
Below you can find two calculators that you can use to check answers to chemistry problems. The first one calculates the pH of a strong acid or strong base solution, and the second one calculates the pH of a weak acid or weak base solution. Some theory and an explanation of the calculations with formulas can be found below the calculators.
pH of a solution
pH means 'potential of hydrogen' or 'power of hydrogen'. pH is the negative of the base 10 logarithm of the hydrogen ion activity.
In most chemistry problems, however, we do not use hydrogen ion activity, but molar concentration or molarity. How are these two related? Of course, ion activity depends on ion concentration and this is described by the equation
where,
– hydrogen ion activity
– hydrogen ion activity coefficient
– hydrogen ion concentration
The activity coefficient is a function of the ion concentration and approaches 1 as the solution becomes increasingly dilute. For dilute (ideal) solutions, the standard state of the solute is 1.00 M, so its molarity equals its activity. That's why for most problems that assume ideal solutions we can use the base 10 logarithm of the molar concentration, not the activity.
Why do we need pH at all? pH is a measure used to specify acidity or basicity of an aqueous solution. Whether an aqueous solution reacts as an acid or a base depends on its hydrogen ion (H+) content.
However, even chemically pure, neutral water contains some hydrogen ions^{1} due to the auto dissociation of water.
It is known that at equilibrium under standard conditions (750 mmHg and 25°C), 1 L of pure water contains mol and mol ions, hence, water at standard temperature and pressure (STP) has a pH of 7. Acids release hydrogen ions, so their aqueous solutions contain more hydrogen ions than neutral water and are considered acidic with a pH less than 7. Bases accept hydrogen ions (they bind to some of the hydrogen ions formed from the dissociation of the water), so their aqueous solutions contain fewer hydrogen ions than neutral water and are considered basic with pH more than 7. Note that the pH scale is logarithmic (difference by one means difference by order of magnitude, or tenfold) and inversely indicates the concentration of hydrogen ions in the solution. A lower pH indicates a higher concentration of hydrogen ions and vice versa.
The calculation of pH using molar concentration is different in the case of a strong acid/base and weak acid/base. More on this below.
Strong acid/base
Strong acids and bases are compounds that, for practical purposes, completely dissociate into their ions in water. Hence the concentration of hydrogen ions in such solutions can be taken to be equal to the concentration of the acid. The calculation of pH becomes straightforward
For basic solutions, you have the concentration of the base, thus, the concentration of the hydroxide ions OH. You can calculate pOH.
Based on equilibrium concentrations of H+ and OH− in water (above), pH and pOH are related by the following equation
, which is true for any aqueous solution.
Hence, in the case of a basic solution
There are only seven common strong acids:
– hydrochloric acid HCl
– nitric acid HNO3
– sulfuric acid H2SO4
– hydrobromic acid HBr
– hydroiodic acid HI
– perchloric acid HClO4
– chloric acid HClO3
There aren't very many strong bases either, and some of them are not very soluble in water. Those that are soluble are
– sodium hydroxide NaOH
– potassium hydroxide KOH
– lithium hydroxide LiOH
– rubidium hydroxide RbOH
– cesium hydroxide CsOH
A solution of a strong acid at concentration 1 M (1 mol/L) has a pH of 0. A solution of a strong alkali at concentration 1 M (1 mol/L) has a pH of 14. Thus, in most problems that arise pH values lie mostly in the range 0 to 14, though negative pH values and values above 14 are entirely possible.
Weak acid/base
Weak acids/bases only partially dissociate in water. Finding the pH of a weak acid is a bit more complicated. The pH equation is still the same: , but you need to use the acid dissociation constant (Ka) to find [H+].
The formula for Ka is:
where:
– concentration of H+ ions
– concentration of conjugate base ions
– concentration of undissociated acid molecules
for a reaction
This formula describes the equilibrium. In order to deduce the formula for H+ from the formula above, we can use an ICE (initial – change – equilibrium) table. Let x represent the concentration of H+ that dissociates from HB, then we can fill the table like this:
HB  H+  B  

Initial concentration  C M  0 M  0 M 
Change in concentration  x M  +x M  +x M 
Equilibrium concentration  (Cx) M  x M  x M 
Now, plug these into the Ka formula:
After rearrangement, we get a quadratic equation:
To find x we need to solve the quadratic equation and pick the positive root.
Finally, plug x into the pH formula to find the pH value.
The same applies to bases, where you use the base dissociation constant Kb. Ka and Kb are usually given, or can be found in tables.
You may notice that tables list some acids with multiple Ka values. This means that acid is polyprotic, which means it can give up more than one proton. However, due to molecular forces, the value of the constant for each next proton becomes smaller by several orders of magnitude. For example, for phosphoric acid
So, usually only one proton is considered, and you use stoichiometric coefficient equals to one for all calculations.

The hydrogen ion does not remain as a free proton for long, as it is quickly hydrated by a surrounding water molecule. The result is the hydronium ion ↩
Comments