ph of a solution calculator

Interactive pH Calculator

Choose a method, enter your values, and calculate pH instantly (assuming 25°C, where pH + pOH = 14).

Enter a positive concentration value.

What is pH and why it matters

pH is a logarithmic scale that describes how acidic or basic a solution is. It is one of the most common measurements in chemistry, biology, medicine, agriculture, environmental science, and industrial process control.

Because pH uses a logarithm (base 10), each 1-unit change represents a tenfold change in hydrogen ion concentration. A solution with pH 3 is ten times more acidic than pH 4, and one hundred times more acidic than pH 5.

Core equations used in this calculator

Fundamental definitions

  • pH = -log10([H+])
  • pOH = -log10([OH-])
  • pH + pOH = 14 (at 25°C)
  • [H+][OH-] = 1.0 × 10-14 (at 25°C)

Strong acids and bases

Strong acids and bases are treated as fully dissociated in water for typical general-chemistry calculations. If a strong acid releases n protons per molecule:

  • [H+] = C × n

For a strong base releasing n hydroxide ions:

  • [OH-] = C × n

Weak acids and weak bases

Weak species only partially ionize. For weak acids and weak bases, this calculator uses the quadratic solution rather than a rough approximation so results stay more reliable across a wider range of concentrations.

How to use this pH of a solution calculator

  • Select the mode that matches your known data.
  • Enter values in mol/L for concentrations and Ka/Kb as unitless equilibrium constants.
  • Click Calculate pH.
  • Read pH, pOH, [H+], [OH-], and acid/base classification in the result panel.

Example calculations

Example 1: Strong acid

Suppose you have 0.010 M HCl. HCl is a strong monoprotic acid, so [H+] = 0.010 M. Therefore, pH = -log10(0.010) = 2.00.

Example 2: Strong base

For 0.020 M NaOH, [OH-] = 0.020 M. pOH = -log10(0.020) = 1.699, so pH = 14 - 1.699 = 12.301.

Example 3: Weak acid

A 0.10 M acetic acid solution with Ka = 1.8 × 10-5 gives a pH near 2.88 using the quadratic method. That is much less acidic than a strong acid at the same concentration.

Common mistakes to avoid

  • Entering percentages or mg/L directly without converting to mol/L.
  • Confusing [H+] and [OH-] modes.
  • Assuming all acids/bases are strong.
  • Forgetting that pH can be below 0 or above 14 for very concentrated solutions.
  • Ignoring temperature effects (this calculator assumes 25°C).

Quick interpretation guide

  • pH < 7: acidic solution
  • pH = 7: neutral solution (at 25°C)
  • pH > 7: basic (alkaline) solution

Final note

This tool is designed for education, lab checks, and quick estimates. For high-precision work, especially in buffered, highly concentrated, or non-ideal systems, use activity corrections and full equilibrium modeling software.

🔗 Related Calculators