Calculate pH from Hydrogen Ion Concentration
The pH scale quantifies the acidity or alkalinity of an aqueous solution by measuring the molar concentration of hydrogen ions [H⁺]. The core formula is pH = −log₁₀([H⁺]), where [H⁺] is expressed in mol/L (molarity). The scale runs from 0 (most acidic) to 14 (most alkaline), with 7.0 representing perfect neutrality at 25 °C. This calculator is essential in chemistry labs, environmental monitoring, medicine, food science, and water treatment — any context where knowing the exact ionic concentration translates directly into a meaningful acidity classification and practical interpretation.
When to use this calculator
- Checking whether a swimming pool or drinking water supply falls within the EPA-recommended pH range of 6.5–8.5 for safe human contact and consumption.
- Determining the acidity of a soil sample in agricultural settings — most crops thrive at pH 6.0–7.0, and knowing [H⁺] helps guide lime or sulfur amendments.
- Verifying the pH of a pharmaceutical buffer solution in a lab, where a deviation of just 0.2 pH units from the target can affect drug stability and bioavailability.
- Monitoring industrial wastewater effluent before discharge — the EPA Clean Water Act requires effluents to fall between pH 6.0 and 9.0 to protect aquatic ecosystems.
- Calculating the pH of a vinegar sample (typically [H⁺] ≈ 1.6×10⁻³ mol/L, pH ≈ 2.8) for quality control in food production.
- Evaluating blood pH in a clinical context, where the normal arterial range is 7.35–7.45; values outside this range indicate acidosis or alkalosis.
Calculation Example
- [H⁺]=0.001
- pH = -log(0.001) = 3
- Acidic
How it works
3 min readHow It's Calculated
The pH of a solution is defined by the Sørensen equation, formalized in 1909:
pH = −log₁₀([H⁺])Where:
The inverse formula to recover [H⁺] from a known pH is:
[H⁺] = 10^(−pH)At 25 °C, the ion-product constant of water is Kw = 1.0 × 10⁻¹⁴, so:
pH + pOH = 14
[H⁺] × [OH⁻] = 1.0 × 10⁻¹⁴This means every pH value has a corresponding hydroxide concentration, making the two scales mirror images of each other.
---
Reference Table
| [H⁺] (mol/L) | pH | Classification | Example |
|---|---|---|---|
| 1.0 × 10⁰ (1.0) | 0 | Strongly acidic | Hydrochloric acid (concentrated) |
| 1.0 × 10⁻¹ | 1 | Strongly acidic | Stomach acid (~0.1 M HCl) |
| 1.0 × 10⁻² | 2 | Strongly acidic | Lemon juice |
| 1.0 × 10⁻³ | 3 | Acidic | Vinegar (approx.) |
| 1.0 × 10⁻⁴ | 4 | Acidic | Tomato juice |
| 1.0 × 10⁻⁵ | 5 | Weakly acidic | Black coffee |
| 1.0 × 10⁻⁶ | 6 | Weakly acidic | Urine (low end) |
| 1.0 × 10⁻⁷ | 7 | Neutral | Pure water at 25 °C |
| 1.0 × 10⁻⁸ | 8 | Weakly alkaline | Seawater (~8.1) |
| 1.0 × 10⁻⁹ | 9 | Alkaline | Baking soda solution |
| 1.0 × 10⁻¹⁰ | 10 | Alkaline | Milk of magnesia |
| 1.0 × 10⁻¹¹ | 11 | Strongly alkaline | Ammonia solution |
| 1.0 × 10⁻¹² | 12 | Strongly alkaline | Soapy water |
| 1.0 × 10⁻¹³ | 13 | Strongly alkaline | Bleach |
| 1.0 × 10⁻¹⁴ | 14 | Strongly alkaline | Sodium hydroxide (1 M NaOH) |
---
Typical Cases
Case 1 — Vinegar quality check
A food lab measures [H⁺] = 1.585 × 10⁻³ mol/L in a white vinegar sample.
pH = −log₁₀(1.585 × 10⁻³)
pH = −(log₁₀(1.585) + log₁₀(10⁻³))
pH = −(0.200 − 3) = 2.80Result: pH 2.80 → Acidic. This falls within the normal range for distilled white vinegar (pH 2.4–3.4), confirming product quality.
Case 2 — Drinking water compliance
A municipal water sample has [H⁺] = 2.512 × 10⁻⁸ mol/L.
pH = −log₁₀(2.512 × 10⁻⁸)
pH = −(0.400 − 8) = 7.60Result: pH 7.60 → Weakly alkaline. This is within the EPA Secondary Drinking Water Standard of 6.5–8.5, so the supply is compliant.
Case 3 — Blood acidosis detection
A patient's arterial blood sample shows [H⁺] = 5.012 × 10⁻⁸ mol/L.
pH = −log₁₀(5.012 × 10⁻⁸)
pH = −(0.700 − 8) = 7.30Result: pH 7.30 → Below the normal range of 7.35–7.45. This indicates respiratory or metabolic acidosis and requires immediate clinical evaluation.
---
Common Errors
1. Forgetting the negative sign: The formula is −log₁₀([H⁺]), not +log₁₀([H⁺]). Because [H⁺] is always a small positive number (<1 mol/L for most solutions), its log₁₀ is negative — the leading minus sign flips it to a positive pH value.
2. Using the wrong logarithm base: pH uses base-10 (common) logarithm, not natural log (ln). Using ln instead of log₁₀ will give a result ~2.303× too large. Always use log₁₀.
3. Entering [H⁺] in the wrong units: The formula requires molarity in mol/L. If your concentration is in mmol/L (e.g., from a clinical report), divide by 1,000 before applying the formula. [H⁺] = 40 nmol/L (normal blood) = 4.0 × 10⁻⁸ mol/L → pH 7.40.
4. Assuming pH 7 = neutral at all temperatures: The neutral point (where [H⁺] = [OH⁻]) is pH 7.00 only at 25 °C. At 37 °C (body temperature), Kw = 2.4 × 10⁻¹⁴, so neutral pH ≈ 6.81. This is why physiological "neutral" pH references differ slightly from standard lab conditions.
5. Confusing [H⁺] with [H₃O⁺]: In aqueous chemistry, H⁺ does not exist as a free proton — it binds to water to form the hydronium ion H₃O⁺. For pH calculation purposes, [H⁺] and [H₃O⁺] are numerically equivalent and interchangeable.
6. Rounding intermediate results: Because the pH scale is logarithmic, small rounding errors during intermediate steps cause disproportionately large errors in the final pH. Always carry at least 4 significant figures in [H⁺] before applying the logarithm.
---
Related Calculators
Since no internal related slugs are specified for this calculator, explore other science tools on Hacé Cuentas to complement your chemistry work.
Frequently asked questions
What does the pH formula pH = −log₁₀([H⁺]) actually mean?
It means pH is the negative base-10 logarithm of the hydrogen ion concentration in mol/L. Because [H⁺] in typical solutions is a very small number (like 10⁻⁴), the log is negative, and the leading minus sign makes pH a positive, easy-to-read value. A tenfold increase in [H⁺] decreases pH by exactly 1 unit.
What is the normal pH range for drinking water according to US standards?
The US EPA sets a Secondary Drinking Water Standard of pH 6.5 to 8.5 for public water systems. This is a non-enforceable guideline focused on aesthetics and corrosion control, but water outside this range can corrode pipes (too acidic) or leave mineral deposits (too alkaline). The WHO guideline is the same: 6.5–8.5.
How does a change of 1 pH unit translate to actual [H⁺] concentration?
Because pH is a base-10 logarithmic scale, each 1-unit decrease in pH corresponds to a 10-fold increase in [H⁺]. For example, pH 4 has 10× more H⁺ than pH 5, and 100× more than pH 6. A change from pH 7 to pH 5 — just 2 units — means [H⁺] increases by a factor of 100.
Why is blood pH so tightly regulated, and what range is considered normal?
Human arterial blood must stay within pH 7.35–7.45 for enzymes and proteins to function correctly. Values below 7.35 indicate acidosis; above 7.45 indicate alkalosis. Both conditions are life-threatening. The body uses three buffer systems — the bicarbonate buffer, phosphate buffer, and protein buffer — to maintain this narrow range within seconds to minutes.
Can pH be negative or greater than 14?
Yes. Highly concentrated strong acid solutions can have negative pH values. For example, a 10 mol/L HCl solution has [H⁺] = 10 mol/L and pH = −log₁₀(10) = −1. Similarly, a 10 mol/L NaOH solution has pH ≈ 15. These extreme values are outside the 0–14 textbook scale, which applies to dilute aqueous solutions at 25 °C.
What is the difference between a strong acid and a weak acid in terms of [H⁺]?
A strong acid (e.g., HCl, H₂SO₄) dissociates 100% in water, so [H⁺] equals the acid's molar concentration directly. A weak acid (e.g., acetic acid, Ka = 1.8 × 10⁻⁵) only partially dissociates, so [H⁺] must be calculated using the equilibrium expression: [H⁺] = √(Ka × C). For 0.1 M acetic acid, [H⁺] ≈ 1.34 × 10⁻³ mol/L → pH ≈ 2.87, not the pH 1 you'd get from a strong acid.
How does temperature affect pH measurement?
Temperature changes Kw, the water dissociation constant, which shifts the neutral point. At 25 °C, Kw = 1.0 × 10⁻¹⁴ and neutral pH = 7.00. At 37 °C (body temp), Kw ≈ 2.4 × 10⁻¹⁴ and neutral pH ≈ 6.81. At 0 °C, Kw ≈ 1.14 × 10⁻¹⁵ and neutral pH ≈ 7.47. Lab pH meters include automatic temperature compensation (ATC) to correct for this effect.
What is pOH and how is it related to pH?
pOH = −log₁₀([OH⁻]) and measures hydroxide ion concentration. At 25 °C, the relationship is always pH + pOH = 14 (derived from Kw = 10⁻¹⁴). So if a solution has pH 3, its pOH = 11 and [OH⁻] = 10⁻¹¹ mol/L. This identity lets you instantly calculate either value if you know the other.
How is ocean acidification measured and why does it matter?
Ocean pH is monitored by NOAA and has dropped from approximately 8.2 to 8.1 since the Industrial Revolution — a seemingly small change that represents a 26% increase in [H⁺] due to CO₂ absorption forming carbonic acid. This affects marine organisms that build shells from calcium carbonate (CaCO₃), which dissolves more readily in acidic water. NOAA's Ocean Acidification Program tracks this globally using real-time buoy sensors.