pH Calculator

Convert between pH and hydrogen-ion concentration, and get pOH and hydroxide concentration at 25 °C. Tells you whether the solution is acidic, neutral or basic.

Last updated 28 November 2026

ResultEnter values to calculate
    Show calculation steps

    What is pH?

    pH Definition (Sørensen): pH is the negative base-10 logarithm of the hydrogen-ion activity, approximately −log₁₀[H⁺] in dilute solutions. — S. P. L. Sørensen, 1909

    Lemon juice tastes sour, soap feels slippery, and pure water is neither. The difference is the concentration of hydrogen ions, H⁺, in the solution. More precisely, these are hydronium ions, H₃O⁺, because a bare proton always attaches to a water molecule. Acids release H⁺, and bases remove it.

    The trouble is that H⁺ concentrations span an enormous range, from more than 1 mol/L in strong acids to less than 10⁻¹³ mol/L in strong bases. In 1909 the Danish chemist Søren Sørensen, working at the Carlsberg Laboratory in Copenhagen, proposed a simpler scale. Take the negative logarithm, and the range becomes roughly 0 to 14. That number is the pH.

    • pH below 7 is acidic, pH 7 is neutral (at 25 °C), and above 7 is basic (alkaline).
    • Each step of 1 pH unit is a tenfold change in H⁺ concentration. pH 3 is ten times more acidic than pH 4, and a thousand times more acidic than pH 6.
    SubstanceTypical pH
    Stomach acid1.5–3.5
    Lemon juiceabout 2–2.6
    Black coffeeabout 5
    Pure water (25 °C)7.0
    Human blood7.35–7.45
    Sea waterabout 8.1
    Baking soda solutionabout 8.3
    Household bleachabout 12–13

    The formula explained

    pH = −log10[H+]    pH + pOH = 14
    SymbolQuantitySI unitMeaning
    pHpH—Acidity on the logarithmic pH scale
    [H⁺]Hydrogen ion concentrationmol/m³Molar concentration of hydrogen (hydronium) ions

    The definition. pH = −log₁₀[H⁺], with [H⁺] in mol/L. Strictly, pH is defined using the activity of H⁺, its "effective" concentration. In dilute solutions activity and concentration are almost equal, which is why the simple formula works for most coursework.

    Going back. [H⁺] = 10−pH. A pH of 4.0 means [H⁺] = 1 × 10⁻⁴ mol/L.

    pOH and the water constant. Water always contains a little H⁺ and OH⁻ from its own ionisation. At 25 °C their product is Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴. Taking logs gives pH + pOH = 14.00, where pOH = −log₁₀[OH⁻].

    Strong acids and bases. These dissociate completely. For HCl, [H⁺] equals the acid concentration. For NaOH, [OH⁻] equals the base concentration, so pOH = −log₁₀[NaOH] and pH = 14 − pOH.

    Weak acids. Acetic acid and other weak acids only partly dissociate. For a weak acid of concentration C and acid constant Ka, a good approximation is [H⁺] ≈ √(KaC). Calculate [H⁺] that way, then enter it here to get the pH.

    How to use this calculator

    1. Choose the quantity you want to find in the Calculate menu. It is highlighted as the result field.
    2. Enter the known values. Scientific notation such as 1.6e-11 is accepted.
    3. Select a unit for each value. Units are converted to SI automatically.
    4. The answer updates as you type. Open Show calculation steps to see the working, or use Copy result to share a link with your inputs.

    Step-by-step worked example

    Problem. Find the pH of (a) a solution with [H⁺] = 1 × 10⁻⁴ mol/L, (b) 0.010 M NaOH, and (c) 0.10 M acetic acid (Ka = 1.8 × 10⁻⁵). (d) What is [H⁺] in blood at pH 7.40?

    Part (a)

    1. pH = −log₁₀(1 × 10⁻⁴) = 4.0, which is acidic.
    2. pOH = 14 − 4 = 10, and [OH⁻] = 10⁻¹⁰ mol/L.

    Part (b)

    1. NaOH is a strong base, so [OH⁻] = 0.010 mol/L and pOH = −log₁₀(0.010) = 2.0.
    2. pH = 14.0 − 2.0 = 12.0.

    Part (c)

    1. [H⁺] ≈ √(KaC) = √(1.8 × 10⁻⁵ × 0.10) = √(1.8 × 10⁻⁶) = 1.34 × 10⁻³ mol/L.
    2. pH = −log₁₀(1.34 × 10⁻³) = 2.87. A strong acid at the same concentration would have pH 1.0, so acetic acid is much less acidic than its concentration suggests.

    Part (d)

    1. [H⁺] = 10⁻⁷·⁴⁰ = 3.98 × 10⁻⁸ mol/L, or about 40 nmol/L. Clinicians sometimes report blood acidity in exactly these units.

    Try it: the calculator's defaults reproduce part (a). Choose "[H⁺]" in the Calculate menu for part (d).

    How to interpret the result

    • Think in factors of ten. A drop from pH 8.2 to 8.1 sounds tiny, but it is a 26% increase in [H⁺] (100.1 = 1.26).
    • Decimal places = significant figures. If [H⁺] is known to two significant figures (1.3 × 10⁻³), quote pH to two decimal places (2.89). The digits before the decimal point only set the power of ten.
    • Neutral is pH 7 only at 25 °C. Kw rises with temperature, so pure water at 37 °C has pH ≈ 6.8 and is still neutral, because [H⁺] = [OH⁻].
    • Very dilute acids are not "basic". 1 × 10⁻⁸ M HCl does not have pH 8. Water's own H⁺ (10⁻⁷ M) dominates, and the pH is just below 7, about 6.98.

    Real-world applications

    • Medicine. Blood pH is held between 7.35 and 7.45. Values outside that range (acidosis or alkalosis) are medical emergencies, and blood-gas analysers measure pH routinely.
    • Agriculture. Soil pH controls which nutrients plants can absorb. Most crops grow best between about pH 6 and 7.5, so farmers add lime to raise pH or sulfur to lower it.
    • Swimming pools and drinking water. Pools are kept at about pH 7.2–7.8 so that chlorine disinfects effectively without irritating eyes. Water utilities adjust pH to prevent pipe corrosion.
    • Food safety. Foods with pH at or below 4.6 do not support growth of the bacterium that causes botulism. That threshold decides whether a home-canned food can be processed in boiling water or needs a pressure canner.
    • Ocean acidification. As the oceans absorb CO₂, surface sea water pH has fallen from about 8.2 before the industrial era to about 8.1 today. That is roughly a 30% increase in [H⁺], which makes it harder for corals and shellfish to build their shells.

    Common mistakes and unit-conversion tips

    1. Forgetting the minus sign. log₁₀(10⁻⁴) = −4, so pH = −(−4) = 4.
    2. Using ln instead of log₁₀. pH uses base-10 logarithms. ln(10⁻⁴) = −9.21 gives a nonsense pH.
    3. Treating a weak acid as strong. 0.1 M acetic acid has pH ≈ 2.9, not 1.0. Use Ka first.
    4. Miscounting H⁺ from polyprotic acids. H₂SO₄ releases its first proton completely but its second only partly. "Twice the concentration" is only an approximation.
    5. Calculating NaOH's pH as −log[NaOH]. That gives the pOH. Subtract from 14 to get the pH.
    6. Assuming pH + pOH = 14 at all temperatures. It is 14.00 only at 25 °C.

    Frequently asked questions

    Can pH be negative or above 14?

    Yes. Very concentrated strong acids can have pH below 0, and concentrated strong bases can exceed 14, although activity effects then make the simple formula approximate.

    Is neutral always pH 7?

    Only at 25 °C. K_w increases with temperature, so neutral water at 37 °C has pH ≈ 6.8 and at 100 °C about 6.1.

    How do I calculate pH from concentration?

    For a strong monoprotic acid, pH = −log₁₀(acid concentration in mol/L). For a strong base, pH = 14 + log₁₀(base concentration). For a weak acid, first estimate [H⁺] ≈ √(Ka × C), then take −log₁₀.

    How do I find [H⁺] from pH?

    [H⁺] = 10^(−pH) mol/L. For example, pH 5.5 gives [H⁺] = 10^(−5.5) = 3.16 × 10⁻⁶ mol/L. Choose "[H⁺]" in the Calculate menu to do this automatically.

    Why is the pH scale logarithmic?

    Hydrogen-ion concentrations in everyday solutions vary over more than 14 powers of ten. A logarithmic scale turns that huge range into small, convenient numbers, with each unit representing a tenfold change.

    Sources and further reading

    1. Sørensen, S. P. L. (1909). Enzymstudien. II. Über die Messung und die Bedeutung der Wasserstoffionenkonzentration bei enzymatischen Prozessen. Biochemische Zeitschrift, 21, 131–304.
    2. Buck, R. P., et al. (2002). Measurement of pH. Definition, standards, and procedures (IUPAC Recommendations 2002). Pure and Applied Chemistry, 74(11), 2169–2200.
    3. Harris, D. C. (2015). Quantitative Chemical Analysis (9th ed.). W. H. Freeman. Chapters on acids and bases.
    4. National Oceanic and Atmospheric Administration (NOAA), Pacific Marine Environmental Laboratory. Ocean acidification overview.