Omni Calculator logo

pH Calculator

Created by Julia Żuławińska
Reviewed by Bogna Szyk, Jack Bowater and Adena Benn
Last updated: Mar 06, 2024


With this pH calculator, you can determine the pH of a solution in a few ways. It can convert pH to H+, as well as calculate pH from the ionization constant and concentration. The pH value is an essential factor in chemistry, medicine, and daily life. Read the text below to find out what is the pH scale and the pH formula. In the end, we will also explain how to calculate pH with an easy step-by-step solution.

Our calculator may ask you for the concentration of the solution. If you don't know, you can calculate it using our concentration calculator. You can also use the solution dilution calculator to calculate the concentration of ions in a diluted solution.

How to use the pH calculator

A pH calculator is an invaluable educational tool, helping students and teachers alike. So, let's dive in and see how this pH calculator can simplify your life in a few simple steps.

The first thing you must decide is how to calculate the pH. We'll cover the steps involved in each option:

From the concentration of an acid:

  1. You are provided with a list of some common acids. Please choose one of them.

  2. Next, enter the concentration in molar units.

  3. The tool will immediately determine the pH and concentration of hydrogen ions.

  4. If you cannot find your acid in the list of options, choose Custom.

    • Now, you have to input your acid's ionization constant (Ka) value along with the concentration.
  5. The tool will calculate the pH and H+ values based on the provided information.

From the concentration of a base:

  1. Calculating the pH of a base is the same as for the acid mentioned above.

  2. The only difference is when you don't find the base of your choice in the list of options and you choose to enter a custom base, you will enter the ionization constant (Kb) of a base instead of Ka.

  3. The tool will determine the pH and H+ values instantly.

From the mass and volume of an acid:

  1. Choose the acid of your liking from the list of 22 common acids.

  2. Enter the weight of the solid compound. The default unit is grams, but you may select another mass unit from the list per your requirement. (Make sure to change the unit before inputting the value; otherwise, it will only change your input to the later selected unit).

  3. Lastly, input the total volume of the solution.

  4. The result is displayed as pH and H+.

  5. You also have the option to choose custom if your acid is not on the list.

    • The additional input required in such a case is the acid ionization constant Ka.
  6. The pH and H+ are calculated based on the provided information.

From the mass and volume of a base:

  1. In this situation, the pH calculation for base is the same as for acid, as mentioned above.
  2. The only exception is that all the data you input would be for your required base.

From ion concentration:

  1. pH can be calculated from ion concentration using either of the three variables.

    a. Concentration of hydrogen ions [H+];
    b. pOH value; and
    c. Concentration of hydroxide ions [OH-].

  2. You may input any one of them, and the remaining will be calculated, along with the result: the pH value.

Advanced mode:

For the first four methods, click the advanced mode button to show the pOH value, the concentration of hydroxide ions [OH-], and the pKa.

The pH scale

The pH scale (pH) is a numeric scale used to define how acidic or basic an aqueous solution is. It commonly ranges between 0 and 14 but can go beyond these values if sufficiently acidic/basic. The pH value is logarithmically and is inversely related to the concentration of hydrogen ions in a solution. The pH to H+ formula that represents this relation is:

pH=log([H+])\small \rm {pH = -\log([H^+])}

The solution is acidic if its pH is less than 7. If the pH is higher, the solution is basic (also referred to as alkaline). Solutions with a pH that is equal to 7 are neutral.

Apart from the mathematical way of determining pH, you can also use pH indicators. The most universally used pH test is the litmus paper. It changes its color according to the pH of the solution in which it was dipped. These colors often inspire colorful pH scales:

pH scale with product examples

The pH in our bodies is close to neutral. For example, the pH of blood should be around 7.4. The only exception is the stomach, where stomach acids can even reach a pH of 1.

Molecules can have a pH at which they are free of a negative charge. That is what our isoelectric point calculator determines.

Definitions of an acid and a base

Three different theories define acid and base:

  • According to the Arrhenius theory, in an aqueous solution, an acid is a substance able to donate hydrogen ions, while a base donates hydroxide ions.
  • Brønsted–Lowry theory says that acid can donate protons while a base can accept them.
  • Lewis theory states that an acid is something that can accept electron pairs. Analogously, a base donates electron pairs.

The higher the concentration of hydrogen ions from acid molecules, the lower the pH of the solution and, consequently, the higher its acidity. The reverse is true for hydroxide ions and bases. The higher the concentration of hydroxide ions from base molecules, the higher the pH of the solution and, consequently, the higher its basicity.

We can describe the reaction of an acid, HA, in water as:

HAH++A\small \rm HA ⇌ H^+ + A^-

with the acid ionization constant:

Ka=[A][H+]/[HA]\small \rm Ka = [A^-][H^+]/[HA]

A similar chemical reaction between base BOH and water looks like this:

BOHOH+B+\small \rm BOH ⇌ OH^- + B^+

The next equation gives the base ionization constant for the above formula:

Kb=[OH][B+]/[BOH]\small\rm Kb = [OH^-][B^+]/[BOH]

If you want to know more about chemical equilibrium constants, check out the equilibrium constant calculator or the reaction quotient calculator.

How to find pH – pH formula

pH is defined as the negative of the base-ten logarithm of the molar concentration of hydrogen ions present in the solution. The unit for the concentration of hydrogen ions is moles per liter. To determine pH, you can use this pH to H⁺ formula:

pH=log([H+])\small\rm pH = -log([H^+])

If you already know pH but want to calculate the concentration of ions, use this transformed pH equation:

[H+]=10pH\rm \small [H^+] = 10^{-pH}

There also exists a pOH scale - which is less popular than the pH scale. pOH is the negative of the logarithm of the hydroxide ion concentration:

pOH=log([OH]),\rm \small pOH = -log([OH^-]),

or:

[OH]=10pOH\rm\small [OH^-] = 10^{-pOH}

pH and pOH are related to one another by this pOH and pH equation:

pH+pOH=14\small \rm pH + pOH = 14

How to calculate pH? – step by step solution

Here are the steps to calculate the pH of a solution:

  1. Let's assume that the concentration of hydrogen ions is equal to 0.0001 mol/L.

  2. Calculate pH by using the pH to H⁺ formula:

pH=log(0.0001)=4\qquad \small\rm pH = -log(0.0001) = 4
  1. Now, you can also easily determine pOH and a concentration of hydroxide ions using the formulas:
  pOH=144=10[OH]=1010=0.0000000001\quad\ \ \small \begin{align*} \rm pOH &= 14 - 4 = 10\\[.5em] \rm [OH-] &= 10^{-10} = 0.0000000001\\[.5em] \end{align*}

Of course, you don't have to perform all of these calculations by hand! Choose the option to determine pH with ion concentration in the calculator, and type in any of these four values! Then, watch as the tool does all the work for you!

  1. Alternatively, you can find a chemical from the lists (of acids or bases). Let's say you want to know how to find the pH of formic acid – HCOOH. Its Ka is 0.00018.
  2. Choose the concentration of the chemical. Let's assume that it's equal to 0.1 mol/L.
  3. To find a concentration of H⁺ ions, you have to...:
HCOOH=HCOO+H+\qquad \small \rm HCOOH = HCOO^- + H^+
Ka=[H+]×[HCOO][HCOOH],\qquad \rm \small Ka = \frac{[H^+] × [HCOO^-]}{[HCOOH]},

where:

Ka=x2cx\qquad \small {\rm Ka} = \frac{x^2}{c - x}

Here cc is the molar concentration of the solution, and xx is equal to the molar concentration of H⁺.

For 0.1 M HCOOH:

  [H+]=0.004154pH=log([H+])=log(0.004154)=2.38\small \quad\ \ \begin{align*} \rm [H+] &= 0.004154\\[.5em] \rm pH &= -\log(\rm [H^+]) \\[.5em] &= -\log(0.004154) = 2.38 \end{align*}

Now you know how to calculate pH using pH equations. If you find these calculations time-consuming, feel free to use our pH calculator. Select your chemical and its concentration, and watch it do all the work for you.

The mind behind the pH calculator

Biochemists, environmental scientists, and materials scientists frequently need to calculate or adjust pH values for their research. Realizing this need, I thought a pH calculator would speed up these processes, allowing efficient experimentation.

I'm Julia Żuławińska, the brains behind this efficient pH calculator, and I stand out as an exemplary figure in the scientific community, particularly within Biophysics and Molecular Biotechnology. My work embodies an intersection of science and sustainability, significantly underscoring my role as a forward-thinking researcher poised to contribute to ecological conservation and biotechnological innovation.

It is possible to determine pollution sources and the health of ecosystems by monitoring the pH of natural water bodies. Environmental scientists could use pH calculators to assess water quality instantly.

We ensure our tools are based on authentic information and proper research. After an expert makes the calculator, another expert in the field reviews it thoroughly. Then, a native language speaker proofreads the content, ensuring further refinement; only then is the tool released for our users. To learn more about our commitment to quality, please refer to our Editorial Policies page.

FAQ

What is pH?

pH measures the concentration of positive hydrogen ions in a solution. This quantity is correlated to the acidity of a solution: the higher the concentration of hydrogen ions, the lower the pH. This correlation derives from the tendency of an acidic substance to cause dissociation of water: the higher the dissociation, the higher the acidity.

How do I calculate the pH of a solution?

To calculate the pH of a solution:

  1. Measure the concentration of hydrogen ion in the solution. Alternatively, you can measure the activity of the same species. We can call it [H+].

  2. Calculate the base 10 logarithm of this quantity: log10([H+]).

  3. Take the additive inverse of this quantity. The pH is given by:
    pH = - log10([H+])

What is the difference between pH and pOH?

The pOH is a similar measurement to the pH and correlates to the concentration of hydroxide ions in a solution. The formula for the pOH is:

pOH = -log10([OH-])

In specific conditions (aqueous solutions at room temperature), we can define a useful relationship between pH and pOH:

pH = 14 - pOH

What are some examples of pH?

Here are some examples of pH:

  1. The pH of pure water is 7, which is the midpoint of the pH scale.

  2. The pH of our stomach varies from 1.5 to 3.5: our stomach is quite acidic!

  3. The acid in your car's battery has a pH of about 0.5: don't put your hands in there!

  4. House products like drain cleaners are strong bases: some can reach a pH of 14!

Julia Żuławińska
To calculate the pH of a buffer, go to the buffer pH calculator!
I want calculate the pH from..
concentration of an acid
Acid:
Hydrochloric acid - HCl
Concentration
M
Result
pH
[H⁺]
M
Check out 20 similar mixtures and solutions calculators ⚗️
Activity coefficientAlligationBleach dilution… 17 more
People also viewed…

Car crash force

With this car crash calculator, you can find out how dangerous car crashes are.

Diffusion coefficient

The diffusion coefficient calculator quickly tells you the diffusion coefficient in Einstein-Smoluchowski diffusion processes.

Lost socks

Socks Loss Index estimates the chance of losing a sock in the laundry.

Molarity

Determine solution molarity and understand molar concentration with our intuitive Molarity Calculator.