Blucalculator Open Tool

pH Calculator

Calculate pH, pOH, H⁺ concentration, and OH⁻ concentration from any known value. Includes pH scale visualization and acid/base classification.

Enter H⁺ concentration in mol/L. Scientific notation supported (e.g., 1e-7 for pure water).

Embed This Calculator

Copy the code and paste it into any webpage to embed this calculator.

WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.

More embed options

Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.

pH of Common Substances

Substance pH
Battery acid 0–1
Gastric acid (stomach) 1.5–3.5
Lemon juice 2.0–2.6
Vinegar 2.5–3.0
Coffee 5.0
Milk 6.3–6.8
Pure water at 25°C 7.0
Human blood 7.35–7.45
Seawater 8.1
Baking soda solution 8.3
Bleach 11–12.5
Oven cleaner / NaOH 13–14

How to use this calculator

Four input mode tabs let you calculate from whichever value you know. Select the tab, enter your value, and press Calculate.

From [H+]: Enter hydrogen ion concentration in mol/L. Scientific notation is supported: type 1e-7 for 1×10⁻⁷ mol/L (neutral water at 25°C).

From [OH-]: Enter hydroxide ion concentration in mol/L. The calculator computes [H+] via Kw = 1×10⁻¹⁴.

From pOH: Enter the pOH value. pH = 14 − pOH at 25°C.

From pH: Enter a known pH and the calculator returns [H+], [OH-], pOH, and the acid/base classification.

Example: finding pH from [H+] = 3.2 × 10⁻⁴ mol/L

Select the “From [H+]” tab. Enter 3.2e-4. Press Calculate. Result: pH = 3.49 (acidic). pOH = 10.51. [OH-] = 3.13 × 10⁻¹¹ mol/L.


The Origin of the pH Scale

The pH scale was introduced by Danish biochemist Søren Peter Lauritz Sørensen in 1909. Working at the Carlsberg Laboratory in Copenhagen, Sørensen was studying the effect of hydrogen ion concentration on enzyme activity during beer production. He found it inconvenient to work with values like 0.000001 mol/L and devised a logarithmic notation to simplify the numbers. He chose the letter “p” from the German word “Potenz” (power or potency) and “H” for hydrogen, creating “pH.”

His original definition was slightly different from the modern form, but was corrected in 1924 by Sørensen himself in collaboration with Niels Bjerrum and Kaj Linderstrøm-Lang to account for ion activity rather than simple concentration. The modern definition, pH = -log₁₀([H⁺]), has been standard since the 1930s.

The Mathematical Definition

pH is defined as the negative base-10 logarithm of hydrogen ion concentration:

pH = -log₁₀([H⁺])

where [H⁺] is the molar concentration of hydrogen ions (mol/L). The negative sign ensures that low concentrations (acidic solutions with many H⁺ ions per liter) give high numbers in terms of acidity representation: lower pH means more acidic.

The base-10 logarithm means that each pH unit represents a tenfold change in H⁺ concentration. A solution at pH 3 has ten times more hydrogen ions than one at pH 4, and one hundred times more than one at pH 5. This logarithmic compression is what makes the 0-14 pH scale practical; the actual H⁺ concentrations range from 1 mol/L (pH 0) to 10⁻¹⁴ mol/L (pH 14), spanning 14 orders of magnitude.

Understanding Hydrogen Ion Concentration

In aqueous solution, water undergoes autoionization:

H₂O ⇌ H⁺ + OH⁻

At 25°C, the ion product of water (Kw) is:

Kw = [H⁺][OH⁻] = 1 × 10⁻¹⁴ mol²/L²

In pure water, [H⁺] = [OH⁻] = 1 × 10⁻⁷ mol/L, giving pH = 7.

When an acid is added, it donates H⁺ ions to the solution, increasing [H⁺] above 10⁻⁷ mol/L and pushing pH below 7. When a base is added, it accepts H⁺ ions (or donates OH⁻), reducing [H⁺] and raising pH above 7.

The relationship between pH and pOH:

pH + pOH = 14 (at 25°C)

where pOH = -log₁₀([OH⁻]). This holds because log₁₀(Kw) = log₁₀(10⁻¹⁴) = -14, and the negative logs of [H⁺] and [OH⁻] must sum to 14.

Strong vs Weak Acids: Complete vs Partial Dissociation

A fundamental distinction in acid chemistry is between strong and weak acids.

Strong acids dissociate completely in water. Every molecule releases its H⁺:

  • Hydrochloric acid (HCl): HCl → H⁺ + Cl⁻
  • Sulfuric acid (H₂SO₄): H₂SO₄ → 2H⁺ + SO₄²⁻ (first dissociation complete)
  • Nitric acid (HNO₃): HNO₃ → H⁺ + NO₃⁻

For a strong acid, pH is simply -log₁₀(C) where C is the acid concentration. A 0.1 mol/L HCl solution has pH = -log₁₀(0.1) = 1.

Weak acids only partially dissociate. They reach an equilibrium between dissociated and undissociated forms, described by the acid dissociation constant Ka:

Ka = [H⁺][A⁻] / [HA]

For acetic acid (Ka = 1.8 × 10⁻⁵), a 0.1 mol/L solution reaches pH approximately 2.87, which is much higher than the pH 1 of an equal concentration strong acid. Only about 1.3% of acetic acid molecules have dissociated. This partial dissociation is what makes weak acids less corrosive and why they buffer solutions.

The pKa is the negative log of Ka. Acids with pKa below 0 are considered strong acids. Weak acids have pKa values ranging from about 2 to 12. The lower the pKa, the stronger the acid. Acetic acid has pKa 4.76; carbonic acid (CO2 dissolved in water) has pKa1 = 6.35.

Temperature Dependence of Neutral pH

One of the most frequently misunderstood aspects of pH is that neutral pH is only 7 at exactly 25°C. At other temperatures, the Kw changes, and so does the neutral pH point:

Temperature (°C)KwNeutral pH
01.14 × 10⁻¹⁵7.47
251.01 × 10⁻¹⁴7.00
37 (body temperature)2.39 × 10⁻¹⁴6.81
505.47 × 10⁻¹⁴6.63
1005.13 × 10⁻¹³6.14

At body temperature (37°C), neutral pH is 6.81. Blood pH of 7.4 is therefore more basic relative to neutral at body temperature than it might appear compared to the 25°C reference point. Pure water at 37°C has pH about 6.8: it is not acidic, just neutral at that temperature.

This means pH meters require temperature compensation to give accurate readings. Most laboratory pH meters have automatic temperature compensation (ATC) built in.

Biological pH Regulation

The human body operates within tightly controlled pH ranges. Blood pH must stay between 7.35 and 7.45 for normal function. Deviations cause serious problems:

  • Below 7.35: acidosis. Impairs enzyme function, reduces hemoglobin’s oxygen affinity, causes irregular heart rhythms. Severe acidosis below pH 7.0 can be fatal.
  • Above 7.45: alkalosis. Causes muscle spasms, tingling, tetany. Severe alkalosis above pH 7.8 is also dangerous.

Blood is buffered primarily by the carbonate/bicarbonate system. CO₂ dissolves in blood to form carbonic acid (H₂CO₃), which equilibrates with bicarbonate (HCO₃⁻):

CO₂ + H₂O ⇌ H₂CO₃ ⇌ H⁺ + HCO₃⁻

The lungs control CO₂ concentration (and therefore carbonic acid). The kidneys control bicarbonate concentration. Together they maintain pH within the narrow safe range.

Different compartments in the body have different pH values. Stomach gastric acid: pH 1.5-3.5 (hydrochloric acid secreted by parietal cells). Small intestine: pH 6-7.5. Lysosomal interior in cells: pH 4.5-5.0. Mitochondrial matrix: pH 7.5-8. Urine: pH 4.5-8.5 depending on diet and hydration.

Industrial pH Control

Water treatment: Drinking water is typically adjusted to pH 7.5-8.5 before distribution to minimize corrosion of pipes and distribution infrastructure. Low pH water dissolves lead and copper from plumbing. High pH reduces corrosion but can cause scaling. Lime (calcium hydroxide) or sodium hydroxide is used to raise pH; carbon dioxide or sulfuric acid is used to lower it.

Food preservation: pH below 4.6 inhibits the growth of Clostridium botulinum, the organism responsible for botulism. This is why acidified foods (pickles, canned tomatoes, hot sauces) have pH well below 4.6. The FDA defines a low-acid food as having equilibrium pH above 4.6.

Pharmaceutical manufacturing: Most drug molecules are either weak acids or weak bases. Their solubility, stability, and membrane permeability depend heavily on pH. Tablets are often buffered to specific pH ranges. Injectable formulations require pH close to physiological (7.4) to minimize irritation at injection sites.

Fermentation: Yeast for beer and wine fermentation works optimally at pH 4.0-4.5. Bacteria in yogurt production lower pH from about 6.5 in milk to below 4.6 as they produce lactic acid. pH control in bioreactors is critical for maintaining optimal enzyme and organism activity.

How pH Meters Work

A pH meter measures the electrical potential (voltage) of a solution using a glass electrode. The glass electrode contains an internal reference solution (often 0.1 mol/L HCl) separated from the test solution by a thin, specially formulated glass membrane. Hydrogen ions can migrate through this glass membrane, creating a potential difference proportional to the pH difference across it.

The Nernst equation governs this potential:

E = E₀ - (RT/F) × ln([H⁺]outside / [H⁺]inside)

At 25°C, this simplifies to approximately 59.16 mV per pH unit (the Nernst slope). So a change of 1 pH unit corresponds to a 59.16 mV change in electrode potential. The meter electronics read this voltage and convert it to pH.

Calibration using two or three buffer solutions of known pH is essential. Single-point calibration (pH 7 buffer only) sets the offset; two-point calibration (usually pH 4 and 7, or 7 and 10) corrects both offset and slope. The slope should be between 95% and 105% of the theoretical 59.16 mV/pH for a functioning electrode.

Titration and pH Curves

Acid-base titrations track pH as one solution is gradually added to another. The resulting pH curve has a characteristic S-shape with a steep inflection point at the equivalence point, where moles of acid equal moles of base.

For a strong acid titrated with a strong base, the equivalence point is at pH 7. For a weak acid titrated with strong base, the equivalence point pH is above 7 (the conjugate base of a weak acid is itself weakly basic). The buffer region of the titration curve, roughly 1 pH unit above and below the half-equivalence point, is where the weak acid/conjugate base pair provides buffering capacity.

The Henderson-Hasselbalch equation describes pH in the buffer region:

pH = pKa + log([A⁻] / [HA])

where [A⁻] is the concentration of conjugate base and [HA] is the concentration of weak acid. When [A⁻] = [HA], the log term is zero and pH = pKa. This is the optimal buffer pH, the point at which the buffer has maximum capacity to resist change when acid or base is added.

Common laboratory buffers and their useful pH ranges: phosphate buffer (pH 5.8-8.0), HEPES (pH 6.8-8.2), TRIS (pH 7.0-9.0), acetate buffer (pH 3.6-5.6), citrate buffer (pH 3.0-6.2).

Worked Example: pH of 0.005 mol/L HCl

HCl is a strong acid and completely dissociates: HCl → H⁺ + Cl⁻

So [H⁺] = 0.005 mol/L = 5 × 10⁻³ mol/L

pH = -log₁₀(5 × 10⁻³) = -log₁₀(5) - log₁₀(10⁻³) = -0.699 + 3 = 2.30

The solution has pH 2.30, which is strongly acidic. pOH = 14 - 2.30 = 11.70, and [OH⁻] = 10⁻¹¹·⁷⁰ = 2.0 × 10⁻¹² mol/L.


pH in industrial processes

Industrial processes depend on pH control to optimize reaction rates, prevent corrosion, ensure product quality, and meet discharge regulations.

Water treatment: Municipal water treatment adjusts pH to 7.5-8.5 during disinfection to balance microbial inactivation efficiency with minimizing disinfection byproduct formation. After chlorination, pH is re-adjusted. Lead and copper corrosion from distribution pipes is strongly pH-dependent: lower pH increases metal leaching.

Food production: Yogurt, cheese, and fermented beverages depend on pH for flavor and safety. Lactic acid fermentation lowers pH to 4-4.5, which inhibits pathogens. Canning processes lower pH below 4.6 (the threshold for Clostridium botulinum growth) with added acid.

Electroplating and surface finishing: Metal deposition baths operate at specific pH ranges. Nickel plating typically uses pH 3.5-4.5. Chrome plating operates in strongly acidic conditions (pH 0-2). pH control directly affects deposit quality and bath stability.

Pharmaceutical manufacturing: API synthesis reactions often require precise pH control for yield and selectivity. Enzyme-catalyzed reactions must be carried out at the enzyme’s optimal pH. Drug stability is pH-dependent: many drugs are stable only within a narrow pH range.

Paper and pulp: Cellulose hydrolysis rates are strongly pH-dependent. Acidic conditions favor certain bleaching reactions. Mill wastewater must be neutralized to pH 6-9 before discharge.


Temperature dependence of the pH scale

The pH scale is not fixed at 0-14 for all temperatures. The autoionization constant of water (Kw) is temperature-dependent, which means the neutral pH changes with temperature.

TemperatureKwNeutral pH
0°C1.14 × 10⁻¹⁵7.47
25°C1.00 × 10⁻¹⁴7.00
37°C2.42 × 10⁻¹⁴6.81
60°C9.61 × 10⁻¹⁴6.51

At body temperature (37°C), neutral pH is 6.81, not 7.00. Blood at pH 7.4 is slightly basic relative to the neutral point at body temperature.

This also means pH meters must be temperature-compensated. Modern meters include a temperature sensor and automatically adjust the neutral reference. Manual temperature compensation is required for precision measurements with basic pH equipment.

Frequently Asked Questions

What is pH?

pH is a logarithmic measure of hydrogen ion concentration in a solution. The scale runs from 0 to 14. pH 7 is neutral (pure water at 25°C), values below 7 are acidic, and values above 7 are basic (alkaline). The term pH stands for potential of hydrogen, introduced by Danish chemist Søren Sørensen in 1909.

How do you calculate pH from concentration?

pH = -log₁₀([H⁺]), where [H⁺] is the hydrogen ion concentration in mol/L. For example, if [H⁺] = 1×10⁻⁷ mol/L (pure water), then pH = -log₁₀(10⁻⁷) = 7. If [H⁺] = 0.01 mol/L, then pH = -log₁₀(0.01) = 2.

What is neutral pH and why is it 7?

At 25°C, pure water has a hydrogen ion concentration of 1×10⁻⁷ mol/L and an equal hydroxide ion concentration. pH = -log₁₀(10⁻⁷) = 7. This is the neutral point. At higher temperatures, the ion product of water (Kw) increases, so neutral pH is actually less than 7 at temperatures above 25°C — at 37°C (body temperature), neutral pH is about 6.8.

What is the difference between strong and weak acids?

Strong acids (HCl, H₂SO₄, HNO₃) completely dissociate in water, so [H⁺] equals the initial acid concentration. Weak acids (acetic acid, citric acid) only partially dissociate. For a 0.1 mol/L HCl solution, pH = 1. For 0.1 mol/L acetic acid, pH is approximately 2.87 because only about 1.3% of molecules dissociate.

What are the pH values of common household substances?

Common household pH values: battery acid 0–1, gastric acid 1–2, lemon juice 2, vinegar 2.5–3.5, orange juice 3.3–4.2, tomato juice 4, coffee 5, milk 6.3–6.8, pure water 7, blood 7.4, baking soda solution 8.3, sea water 8.1, antacid tablets 9–10, bleach 11–12.5, oven cleaner 13.

How does temperature affect pH?

Temperature affects the ion product of water (Kw). At 25°C, Kw = 1×10⁻¹⁴, giving neutral pH = 7. At 50°C, Kw = 5.5×10⁻¹⁴, so neutral pH = 6.63. At 0°C, Kw = 1.14×10⁻¹⁵, giving neutral pH = 7.47. However, a neutral solution remains non-acidic and non-basic regardless of temperature: it simply has equal [H⁺] and [OH⁻].

What is pOH and how is it related to pH?

pOH is defined as -log₁₀([OH⁻]), analogously to pH. At 25°C, pH + pOH = 14 (because Kw = [H⁺][OH⁻] = 10⁻¹⁴). So if pH = 9, then pOH = 5, and [OH⁻] = 10⁻⁵ mol/L. pOH is rarely used in everyday chemistry but is useful in solving base problems and in electrochemistry.

What are pH buffers?

A buffer is a solution that resists changes in pH when small amounts of acid or base are added. Buffers consist of a weak acid and its conjugate base (or a weak base and its conjugate acid). Blood is buffered at pH 7.4 by the carbonate/bicarbonate system. The Henderson-Hasselbalch equation describes buffer pH: pH = pKa + log([A⁻]/[HA]).

How do pH meters work?

A pH meter uses a glass electrode that develops a voltage proportional to the H⁺ concentration in solution. The glass membrane allows H⁺ ions to migrate through it, creating a potential difference. This voltage is measured against a reference electrode and converted to pH by the meter electronics. The Nernst equation governs the relationship: 59.16 mV per pH unit at 25°C.

What is the pH of human blood and why is it critical?

Human blood is maintained at pH 7.35–7.45 by several buffer systems. Below pH 7.35 is called acidosis; above 7.45 is alkalosis. Even small deviations affect enzyme function, oxygen binding by hemoglobin, and nerve signaling. Severe acidosis (pH below 7.0) or alkalosis (pH above 7.8) can be fatal. The kidneys and lungs work together to maintain this narrow range.

Related Calculators