Skip to main content
🔬 Advanced

pH Calculator – From H+ Concentration or pH Value

Calculate pH from hydrogen ion concentration, or find [H+] and [OH-] from pH value. Try this free online science calculator for instant, accurate results.

★★★★★ 4.8/5 · 📊 0 calculations · 🔒 Private & free

What Is pH?

pH, an abbreviation for "potential of hydrogen," is a dimensionless quantity that describes the acidity or alkalinity of an aqueous solution. Formally introduced by Danish chemist Søren Peder Lauritz Sørensen in 1909 while working at the Carlsberg Laboratory in Copenhagen, pH revolutionized how scientists quantify the acid-base character of a solution. The concept replaced earlier, less precise methods and gave chemists a universal, logarithmic scale that compresses a vast range of hydrogen-ion activities into a compact 0-to-14 number line.

Mathematically, pH is defined as the negative base-10 logarithm of the hydrogen-ion activity: pH = −log₁₀(aH⁺). In dilute solutions where activity coefficients approach unity, this simplifies to pH ≈ −log₁₀[H⁺], where [H⁺] is the molar concentration in mol L⁻¹. Because the scale is logarithmic, each whole-number step represents a tenfold change in H⁺ concentration. Lemon juice at pH 2, for instance, contains 100,000 times more hydrogen ions per liter than pure water at pH 7.

A pH of exactly 7.00 at 25 °C corresponds to neutrality—the point where [H⁺] equals [OH⁻] at 1.0 × 10⁻⁷ mol L⁻¹ each. Solutions with pH < 7 are acidic (excess H⁺), and those with pH > 7 are basic or alkaline (excess OH⁻). It is important to note that the neutral point shifts with temperature: at 37 °C (body temperature) the ion product of water Kw increases, and neutral pH drops to approximately 6.8.

The Mathematics Behind pH

The pH scale derives from the autoionization equilibrium of water: 2 H₂O ⇌ H₃O⁺ + OH⁻. The equilibrium constant for this reaction is the ion product of water, Kw = [H⁺][OH⁻], which equals 1.01 × 10⁻¹⁴ at 25 °C. From Kw we also define pOH = −log₁₀[OH⁻], and at 25 °C the relationship pH + pOH = 14.00 holds.

To convert a known hydrogen-ion concentration to pH, apply the formula directly. For [H⁺] = 4.7 × 10⁻⁴ mol L⁻¹: pH = −log₁₀(4.7 × 10⁻⁴) = −(−3.328) = 3.33. The reverse conversion is equally straightforward: [H⁺] = 10−pH. For pH 5.20: [H⁺] = 10⁻⁵·²⁰ = 6.31 × 10⁻⁶ mol L⁻¹.

In concentrated or mixed-electrolyte solutions, activity coefficients (γ) deviate significantly from 1, and the operational definition of pH requires calibration against certified buffer standards. The Debye–Hückel theory or its extended forms (Davies equation, Pitzer model) estimate γ for ions in solution, but in practice the glass-electrode pH meter—calibrated against NIST-traceable buffers at pH 4.005, 6.865, and 9.180 (at 25 °C)—remains the gold standard for routine measurement.

<table>
  <caption>Key pH Conversion Formulas</caption>
  <thead><tr><th>Given</th><th>Find</th><th>Formula</th><th>Example</th></tr></thead>
  <tbody>
    <tr><td>[H⁺]</td><td>pH</td><td>pH = −log₁₀[H⁺]</td><td>[H⁺] = 0.001 → pH 3.00</td></tr>
    <tr><td>pH</td><td>[H⁺]</td><td>[H⁺] = 10<sup>−pH</sup></td><td>pH 4.5 → 3.16 × 10⁻⁵ M</td></tr>
    <tr><td>[OH⁻]</td><td>pOH</td><td>pOH = −log₁₀[OH⁻]</td><td>[OH⁻] = 0.01 → pOH 2.00</td></tr>
    <tr><td>pH</td><td>[OH⁻]</td><td>[OH⁻] = 10<sup>−(14−pH)</sup></td><td>pH 10 → [OH⁻] = 10⁻⁴ M</td></tr>
    <tr><td>pH</td><td>pOH</td><td>pOH = 14 − pH (at 25 °C)</td><td>pH 3 → pOH 11</td></tr>
  </tbody>
</table>

pH Scale Reference Values

Understanding the pH of everyday substances provides an intuitive feel for the scale. Battery acid sits near the extreme acidic end, while household drain cleaner occupies the extreme basic end. The table below lists common substances and their approximate pH at 25 °C.

<table>
  <caption>pH of Common Substances at 25 °C</caption>
  <thead><tr><th>Substance</th><th>Approximate pH</th><th>Character</th></tr></thead>
  <tbody>
    <tr><td>Battery acid (H₂SO₄)</td><td>0.5</td><td>Strongly acidic</td></tr>
    <tr><td>Gastric acid</td><td>1.5 – 3.5</td><td>Strongly acidic</td></tr>
    <tr><td>Lemon juice</td><td>2.0 – 2.6</td><td>Acidic</td></tr>
    <tr><td>Vinegar (acetic acid)</td><td>2.4 – 3.4</td><td>Acidic</td></tr>
    <tr><td>Orange juice</td><td>3.3 – 4.2</td><td>Acidic</td></tr>
    <tr><td>Tomato juice</td><td>4.0 – 4.5</td><td>Mildly acidic</td></tr>
    <tr><td>Black coffee</td><td>4.8 – 5.1</td><td>Mildly acidic</td></tr>
    <tr><td>Milk</td><td>6.5 – 6.8</td><td>Slightly acidic</td></tr>
    <tr><td>Pure water (25 °C)</td><td>7.0</td><td>Neutral</td></tr>
    <tr><td>Human blood</td><td>7.35 – 7.45</td><td>Slightly basic</td></tr>
    <tr><td>Seawater</td><td>7.8 – 8.3</td><td>Mildly basic</td></tr>
    <tr><td>Baking soda solution</td><td>8.3 – 9.0</td><td>Basic</td></tr>
    <tr><td>Milk of magnesia</td><td>10.5</td><td>Basic</td></tr>
    <tr><td>Household ammonia</td><td>11.0 – 12.0</td><td>Strongly basic</td></tr>
    <tr><td>Household bleach (NaOCl)</td><td>12.5</td><td>Strongly basic</td></tr>
    <tr><td>Drain cleaner (NaOH)</td><td>13 – 14</td><td>Very strongly basic</td></tr>
  </tbody>
</table>
<p>Note that the pH of carbonated beverages typically falls between 2.5 and 4.0, which is why frequent consumption is associated with dental enamel erosion. Rainwater in unpolluted areas has a pH near 5.6 due to dissolved atmospheric CO₂ forming carbonic acid (H₂CO₃). Acid rain, caused by sulfur dioxide and nitrogen oxides, can reach pH values below 4.0.</p>

How to Measure pH in the Laboratory

Three primary methods are used to measure pH, each with distinct advantages and limitations:

1. Glass-Electrode pH Meter. The most accurate routine method. A thin glass membrane separates an internal reference solution from the test solution. A potential difference develops across the membrane proportional to the difference in [H⁺]. Modern combination electrodes integrate the glass and reference electrodes into a single probe. Accuracy of ±0.01 pH units is standard; research-grade instruments reach ±0.001. Calibration with two or three buffers is essential before each session.

2. Indicator Dyes. Chemical indicators such as phenolphthalein, bromothymol blue, and universal indicator change color at characteristic pH ranges. Universal indicator paper (pH strips) gives a quick estimate to ±0.5 units. Indicators work by protonation equilibria that shift the chromophore's absorption spectrum.

3. Ion-Selective Field-Effect Transistor (ISFET). Semiconductor-based sensors that detect H⁺ activity at a gate insulator surface. ISFETs are miniaturizable, robust, and do not require a liquid internal reference, making them ideal for in-line process monitoring and micro-fluidic applications.

<table>
  <caption>pH Measurement Methods Compared</caption>
  <thead><tr><th>Method</th><th>Accuracy (pH units)</th><th>Response Time</th><th>Cost</th><th>Best For</th></tr></thead>
  <tbody>
    <tr><td>Glass electrode</td><td>±0.01</td><td>5–30 s</td><td>Medium</td><td>Lab analysis, titrations</td></tr>
    <tr><td>pH indicator strips</td><td>±0.5</td><td>Instant</td><td>Very low</td><td>Field screening, education</td></tr>
    <tr><td>ISFET sensor</td><td>±0.02</td><td>1–10 s</td><td>High</td><td>Process control, micro-fluidics</td></tr>
    <tr><td>Colorimetric (spectro)</td><td>±0.05</td><td>1–5 min</td><td>Medium</td><td>Remote sensing, aquaria</td></tr>
  </tbody>
</table>
<p>When measuring pH, temperature compensation is critical because K<sub>w</sub> changes with temperature. Most modern meters include automatic temperature compensation (ATC) via a built-in thermistor. Electrode maintenance—proper storage in 3 M KCl, periodic cleaning with pepsin/HCl solution for protein-fouled probes, and replacement every 12–18 months—ensures reliable readings.</p>

pH in Biology and Medicine

Living organisms are exquisitely sensitive to pH because it governs enzyme conformation, membrane potential, and metabolic pathway efficiency. Human blood, for example, is maintained between pH 7.35 and 7.45 by a sophisticated buffer system dominated by carbonic acid/bicarbonate (H₂CO₃/HCO₃⁻). Deviations beyond this narrow window—acidosis (pH < 7.35) or alkalosis (pH > 7.45)—trigger compensatory mechanisms in the lungs (adjusting CO₂ exhalation) and kidneys (modulating HCO₃⁻ reabsorption). A blood pH below 6.8 or above 7.8 is generally incompatible with life.

The stomach lumen operates at pH 1.5–3.5, generated by hydrochloric acid secreted from parietal cells via the H⁺/K⁺-ATPase proton pump. This extreme acidity serves three functions: activating pepsinogen to pepsin for protein digestion, killing ingested pathogens, and denaturing food proteins to expose peptide bonds. Proton-pump inhibitors (PPIs) like omeprazole raise gastric pH to treat conditions such as gastroesophageal reflux disease (GERD).

In cell biology, intracellular pH is tightly regulated near 7.2 by Na⁺/H⁺ exchangers, Cl⁻/HCO₃⁻ exchangers, and V-type H⁺-ATPases. Lysosomes, the cell's recycling centers, maintain an internal pH of 4.5–5.0 to activate acid hydrolases. Cancer cells often exhibit a reversed pH gradient—elevated intracellular pH and acidic extracellular microenvironment—which promotes invasion and drug resistance, a phenomenon studied intensively in tumor biology.

In agriculture and soil science, soil pH determines nutrient availability. Most crops thrive in soil pH 6.0–7.5. Below pH 5.5, aluminum toxicity becomes a concern; above pH 8.0, iron and manganese become less available. Lime (CaCO₃) raises soil pH, while elemental sulfur or aluminum sulfate lowers it.

Buffers, Titrations, and pH Control

A buffer solution resists changes in pH upon addition of small amounts of acid or base. Buffers consist of a weak acid and its conjugate base (e.g., acetic acid/sodium acetate) or a weak base and its conjugate acid (e.g., ammonia/ammonium chloride). The Henderson–Hasselbalch equation relates pH to the buffer composition:

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

A buffer is most effective when pH ≈ pKa (within ±1 pH unit), where the ratio [A⁻]/[HA] lies between 0.1 and 10. Buffer capacity, defined as the moles of strong acid or base needed to change pH by one unit per liter, depends on total buffer concentration and how close the pH is to the pKa.

<table>
  <caption>Common Laboratory Buffers</caption>
  <thead><tr><th>Buffer System</th><th>pK<sub>a</sub> (25 °C)</th><th>Useful pH Range</th><th>Typical Use</th></tr></thead>
  <tbody>
    <tr><td>Phosphate (H₂PO₄⁻/HPO₄²⁻)</td><td>7.20</td><td>5.8 – 8.0</td><td>Biochemistry, cell culture</td></tr>
    <tr><td>Tris (Tris/TrisH⁺)</td><td>8.07</td><td>7.0 – 9.0</td><td>Molecular biology, electrophoresis</td></tr>
    <tr><td>HEPES</td><td>7.48</td><td>6.8 – 8.2</td><td>Cell culture, tissue staining</td></tr>
    <tr><td>Acetate (CH₃COOH/CH₃COO⁻)</td><td>4.76</td><td>3.7 – 5.8</td><td>Protein purification</td></tr>
    <tr><td>Citrate</td><td>3.13, 4.76, 6.40</td><td>2.1 – 7.4</td><td>Blood anticoagulation, food industry</td></tr>
    <tr><td>Carbonate (HCO₃⁻/CO₃²⁻)</td><td>10.33</td><td>9.2 – 10.8</td><td>Environmental samples</td></tr>
  </tbody>
</table>

<p>In acid-base titrations, pH is monitored continuously as a titrant is added to the analyte. The equivalence point—where moles of acid equal moles of base—is detected by a sharp inflection in the titration curve. For strong acid–strong base titrations the equivalence pH is 7.00; for weak acid–strong base it is above 7 (the conjugate base is formed); and for weak base–strong acid it is below 7. The choice of indicator must match the equivalence-point pH: phenolphthalein (pH 8.2–10) for weak acid titrations, methyl orange (pH 3.1–4.4) for weak base titrations.</p>
<p>Industrial pH control is critical in water treatment (maintaining pH 6.5–8.5 for safe drinking water), swimming pool management (pH 7.2–7.8 for chlorine efficacy), aquaculture (species-specific pH tolerance), and chemical manufacturing where reaction yields and product purity depend on precise pH.</p>

pH in Environmental Science

Environmental pH monitoring tracks the health of aquatic ecosystems, the impact of pollution, and climate-change-driven shifts. Ocean surface pH has declined from approximately 8.21 in pre-industrial times to about 8.10 today—a 26 % increase in [H⁺]—a process called ocean acidification driven by the absorption of anthropogenic CO₂. This threatens calcifying organisms (corals, mollusks, foraminifera) whose calcium carbonate shells dissolve more readily at lower pH.

Freshwater ecosystems are similarly sensitive. Most fish species tolerate pH 6.5–9.0; below pH 5, aluminum mobilization from sediments becomes toxic to gill tissue. Acid mine drainage, produced when sulfide minerals in exposed rock react with water and oxygen, can depress stream pH to 2–3, devastating aquatic life for kilometers downstream.

Atmospheric chemistry links pH to air quality. Acid rain forms when SO₂ and NOx emissions react with water vapor to produce sulfuric and nitric acids. Clean rainwater has pH ≈ 5.6 (carbonic acid); acid rain can reach pH 4.0 or lower. International regulation (e.g., the US Clean Air Act amendments, the EU's National Emission Ceilings Directive) has significantly reduced acid-rain severity since the 1980s, and many impacted lakes in Scandinavia and North America have shown partial recovery.

Frequently Asked Questions

What pH is considered neutral?

pH 7.00 is neutral at 25 °C, where [H⁺] = [OH⁻] = 1.0 × 10⁻⁷ mol L⁻¹. At other temperatures neutrality shifts: at 37 °C neutral pH is about 6.81, and at 60 °C it is about 6.51, because the ion product of water Kw increases with temperature.

What is the pH of common household substances?

Lemon juice: ~2.0, Vinegar: ~2.8, Orange juice: ~3.5, Coffee: ~5.0, Milk: ~6.6, Pure water: 7.0, Baking soda solution: ~8.5, Household ammonia: ~11.5, Bleach: ~12.5, Drain cleaner (NaOH): ~14.

How do I convert between pH and H⁺ concentration?

Use [H⁺] = 10−pH to go from pH to concentration. For pH 3: [H⁺] = 10⁻³ = 0.001 mol L⁻¹. For pH 7: [H⁺] = 10⁻⁷ = 0.0000001 mol L⁻¹. Reverse: pH = −log₁₀[H⁺].

Can pH be negative or greater than 14?

Yes. Very concentrated strong acids can produce pH below 0 (e.g., 10 M HCl has a formal [H⁺] of 10 M, giving pH ≈ −1). Likewise, concentrated NaOH solutions exceed pH 14. These extreme values are less common in routine work.

What is the difference between pH and pOH?

pH measures hydrogen-ion activity; pOH measures hydroxide-ion activity. At 25 °C, pH + pOH = 14. A solution with pH 3 has pOH 11, meaning it is highly acidic with a very low hydroxide concentration.

How does temperature affect pH readings?

Temperature alters Kw and therefore the neutral point. It also changes electrode response slope (ideally 59.16 mV per pH unit at 25 °C, increasing at higher temperatures). pH meters with automatic temperature compensation (ATC) correct for the electrode effect, but the actual pH of the solution itself still changes with temperature.

What is a buffer and why is it important?

A buffer is a solution that resists pH change when small amounts of acid or base are added. Buffers contain a weak acid and its conjugate base (or vice versa). They are essential in biology (blood bicarbonate buffer), laboratory experiments, and industrial processes where pH stability is critical.

How do I calibrate a pH meter?

Use at least two standard buffer solutions (e.g., pH 4.01 and pH 7.00, or pH 7.00 and pH 10.01) that bracket your expected measurement range. Rinse the electrode with deionized water between buffers. Calibrate daily or before each measurement session for best accuracy.

Why is ocean acidification a concern?

Increasing atmospheric CO₂ dissolves in seawater to form carbonic acid, lowering pH. Since pre-industrial times, ocean pH has dropped from ~8.21 to ~8.10—a 26 % increase in acidity. This reduces carbonate-ion concentration, making it harder for corals, shellfish, and plankton to build calcium carbonate structures.

What is the Henderson–Hasselbalch equation used for?

It calculates the pH of a buffer solution: pH = pKa + log₁₀([A⁻]/[HA]). It is used to design buffers at a target pH, predict how pH shifts when acid or base is added, and understand the protonation state of amino-acid side chains in proteins.

},{"@type":"Question","name":"What is the pH of common household substances?","acceptedAnswer":{"@type":"Answer","text":"Lemon juice: ~2, Vinegar: ~2.8, Coffee: ~5, Milk: ~6.6, Pure water: 7, Baking soda: ~8.5, Bleach: ~12.5, Drain cleaner: ~14."}},{"@type":"Question","name":"How do I convert between pH and H+ concentration?","acceptedAnswer":{"@type":"Answer","text":"[H⁺] = 10^(-pH). For pH 3: [H⁺] = 10⁻³ = 0.001 mol/L. Reverse: pH = −log₁₀[H⁺]."}},{"@type":"Question","name":"Can pH be negative or greater than 14?","acceptedAnswer":{"@type":"Answer","text":"Yes. Very concentrated strong acids can produce pH below 0, and concentrated NaOH solutions can exceed pH 14."}},{"@type":"Question","name":"What is the difference between pH and pOH?","acceptedAnswer":{"@type":"Answer","text":"pH measures hydrogen-ion activity; pOH measures hydroxide-ion activity. At 25 °C, pH + pOH = 14."}},{"@type":"Question","name":"How does temperature affect pH readings?","acceptedAnswer":{"@type":"Answer","text":"Temperature changes Kw (the neutral point shifts) and electrode response slope. Use automatic temperature compensation (ATC) on your pH meter."}},{"@type":"Question","name":"What is a buffer and why is it important?","acceptedAnswer":{"@type":"Answer","text":"A buffer resists pH change when small amounts of acid or base are added. They contain a weak acid and its conjugate base, essential in biology, lab work, and industry."}},{"@type":"Question","name":"How do I calibrate a pH meter?","acceptedAnswer":{"@type":"Answer","text":"Use at least two standard buffer solutions that bracket your measurement range. Rinse the electrode between buffers. Calibrate before each session."}},{"@type":"Question","name":"Why is ocean acidification a concern?","acceptedAnswer":{"@type":"Answer","text":"CO₂ dissolving in seawater lowers ocean pH, making it harder for corals and shellfish to build calcium carbonate structures."}},{"@type":"Question","name":"What is the Henderson–Hasselbalch equation used for?","acceptedAnswer":{"@type":"Answer","text":"It calculates buffer pH: pH = pKa + log([A⁻]/[HA]). Used to design buffers, predict pH shifts, and understand protein protonation states."}}]}