pH Calculator

Created by Julia Żuławińska
Reviewed by Bogna Szyk, Jack Bowater and Adena Benn
Last updated: Jul 30, 2022

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.

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 {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 a 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 HA ⇌ H^+ + A^-

with the acid ionization constant:

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

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

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

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

Kb=[OH][B+]/[BOH]\small 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 pH = -log([H^+])`

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

[H+]=10pH \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])\small pOH = -log([OH⁻])


[OH]=10⁻ᵖᴼᴴ\small [OH⁻] = 10⁻ᵖᴼᴴ

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

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

How to calculate pH? - step by step 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\small 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]=10⁻¹⁰=0.0000000001\small \begin{align*} pOH &= 14 - 4 = 10\\[.5em] [OH-] &= 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+\small HCOOH = HCOO^- + H^+
Ka=[H+×[HCOO]/[HCOOH]\small Ka = [H^+ × [HCOO^-] / [HCOOH]


Ka=x²/(cx)\small Ka = x²/(c - x)


  • c is the molar concentration of the solution; and
  • x is equal to the molar concentration of H⁺.

For 0.1 M HCOOH:

[H+]=0.004154pH=log([H+])=log(0.004154)=2.38\small \begin{align*} [H+] &= 0.004154\\[.5em] pH &= -\log([H^+]) \\[.5em] &= -\log(0.004154) = 2.38\\[.5em] \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. When you're finished, check out the titration calculator!

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
hydrochloric acid - HCl
Check out 38 similar stoichiometry and solutions calculators 🧪
Actual yieldAlligationAtom… 35 more
People also viewed…

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.

Hydraulic retention time

The hydraulic retention time calculator will help you determine the length of time a liquid will remain in a reactor or aeration tank.

Ionic strength

The ionic strength calculator is a convenient tool to help you calculate the ionic strength of a solution based on the ions present in it and their charge.

Plastic Footprint

Find out how much plastic you use throughout a year with this plastic footprint calculator. Rethink your habits, reduce your plastic waste, and make your life a little greener.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background