pH Calculator

calculatorsonline.co.uk

pH Calculator

Convert between pH, pOH and ion concentration, and find the pH of strong acids, weak acids, bases and buffers. Every answer shows the working and where it sits on the pH scale.

🧪 pH from [H⁺]
[H⁺] and [OH⁻] from pH
⚗️ Strong & weak acids
⚖️ Buffer solutions

How to Work Out pH

pH measures how acidic or alkaline a solution is by tracking the concentration of hydrogen ions in it. Because those concentrations span many orders of magnitude, the scale is logarithmic: every whole pH unit represents a tenfold change. Use the calculator for an instant answer, then read the formula behind it.

1

pH from hydrogen ion concentration

The definition of pH. Take the hydrogen ion concentration in moles per litre and apply the negative base-10 logarithm. A concentration of 0.001 mol/L gives a pH of 3, and a tenfold dilution raises the pH by exactly one unit.

pH = −log₁₀[H⁺]
2

Concentration from pH, and the link to pOH

Reverse the logarithm to get the concentration back. Water itself sets the relationship between the two ions: at 25 °C the ion product Kw is 1.0 × 10⁻¹⁴, which is why pH and pOH always add up to 14 at that temperature.

[H⁺] = 10⁻ᵖᴴ  ·  pH + pOH = 14
3

Strong acids and strong bases

Strong acids such as HCl dissociate essentially completely, so the hydrogen ion concentration equals the acid concentration. For a strong base, find the hydroxide concentration first, take its pOH, then subtract from 14. Multiply by the number of ionisable protons for diprotic acids like H₂SO₄.

Acid: pH = −log₁₀(C)  ·  Base: pH = 14 − (−log₁₀(C))
4

Weak acids, weak bases and buffers

Weak acids only partly dissociate, so you need the dissociation constant Ka and an equilibrium calculation. For a buffer — a weak acid sitting alongside its conjugate base — the Henderson–Hasselbalch equation gives the pH directly, and the pH equals the pKa whenever the two concentrations match.

Ka = x²/(C − x)  ·  pH = pKa + log₁₀([A⁻]/[HA])
💡 Sense check: A pH below 7 is acidic, exactly 7 is neutral, and above 7 is alkaline — at 25 °C. If a calculated pH lands outside 0–14, check your units: concentrations must be in moles per litre, not grams per litre or percent.
Acidic
Result
pH 3.00
−log₁₀(0.001) = 3.00
0 · acidic7 · neutral14 · alkaline
⚠️ Model assumptions: Results assume 25 °C, Kw = 1.0 × 10⁻¹⁴, and ideal dilute solutions where concentration stands in for activity. Very concentrated solutions deviate from these values.

pH Formulas

The equations behind every calculation on this page, with a worked example for each. All values assume 25 °C.

What you want Formula Worked example When to use it
pH from hydrogen ion concentrationpH = −log₁₀[H⁺][H⁺] = 1 × 10⁻³ → pH 3.00Any solution where [H⁺] is known
Hydrogen ion concentration from pH[H⁺] = 10⁻ᵖᴴpH 4 → 1 × 10⁻⁴ mol/LReversing a meter reading
pOH from hydroxide concentrationpOH = −log₁₀[OH⁻][OH⁻] = 1 × 10⁻² → pOH 2.00Alkaline solutions
pH from pOHpH = 14 − pOHpOH 2 → pH 12.00Converting between the two scales
Ion product of waterKw = [H⁺][OH⁻] = 1 × 10⁻¹⁴[H⁺] = 1 × 10⁻⁵ → [OH⁻] = 1 × 10⁻⁹Finding the partner ion
pH of a strong acidpH = −log₁₀(n × C)0.01 mol/L HCl → pH 2.00HCl, HNO₃, H₂SO₄ (n = 2)
pH of a strong basepH = 14 + log₁₀(n × C)0.01 mol/L NaOH → pH 12.00NaOH, KOH, Ca(OH)₂ (n = 2)
pH of a weak acidKa = x² / (C − x), pH = −log₁₀(x)0.1 mol/L acetic acid → pH 2.87Partially dissociating acids
pH of a weak baseKb = x² / (C − x), pH = 14 + log₁₀(x)0.1 mol/L ammonia → pH 11.13Ammonia, amines
Buffer pH (Henderson–Hasselbalch)pH = pKa + log₁₀([A⁻]/[HA])pKa 4.76, equal amounts → pH 4.76Acid and conjugate base mixtures
pKa from KapKa = −log₁₀(Ka)Ka = 1.8 × 10⁻⁵ → pKa 4.74Reading data tables
Percent dissociation(x ÷ C) × 100x = 1.34 × 10⁻³, C = 0.1 → 1.34%Judging acid strength

pH of Common Substances

Typical values for everyday liquids and laboratory solutions. Real samples vary with concentration, temperature and source, so treat these as approximate.

Substance Typical pH Approx. [H⁺] (mol/L) Classification
Battery acid0.53 × 10⁻¹Strongly acidic
Gastric acid1.5 – 3.53 × 10⁻²Strongly acidic
Lemon juice2.0 – 2.61 × 10⁻²Acidic
Vinegar2.4 – 3.44 × 10⁻³Acidic
Orange juice3.3 – 4.25 × 10⁻⁴Acidic
Black coffee4.8 – 5.21 × 10⁻⁵Weakly acidic
Rainwater5.0 – 5.61 × 10⁻⁵Weakly acidic
Milk6.5 – 6.83 × 10⁻⁷Weakly acidic
Pure water at 25 °C7.01 × 10⁻⁷Neutral
Human blood7.35 – 7.454 × 10⁻⁸Weakly alkaline
Seawater7.5 – 8.41 × 10⁻⁸Weakly alkaline
Baking soda solution8.35 × 10⁻⁹Alkaline
Milk of magnesia10.53 × 10⁻¹¹Alkaline
Household ammonia11.0 – 11.51 × 10⁻¹¹Strongly alkaline
Bleach12.5 – 13.03 × 10⁻¹³Strongly alkaline
Drain cleaner (NaOH)13.5 – 14.03 × 10⁻¹⁴Strongly alkaline

pH FAQ

Answers to the questions people most often get stuck on when calculating pH.

pH is the negative base-10 logarithm of the hydrogen ion concentration in moles per litre, written pH = −log₁₀[H⁺]. To reverse it, [H⁺] = 10⁻ᵖᴴ. A solution with a hydrogen ion concentration of 0.01 mol/L therefore has a pH of 2, and diluting it tenfold moves the pH to 3.

At 25 °C, pH + pOH = 14. This follows from the ion product of water, Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴. Because Kw changes with temperature, the sum is only exactly 14 at 25 °C — at higher temperatures the neutral point sits below 7.

A strong acid dissociates almost completely, so nearly every molecule releases a hydrogen ion. A weak acid settles at an equilibrium where most molecules stay intact, producing far fewer ions. At 0.1 mol/L, hydrochloric acid sits near pH 1 while acetic acid is closer to pH 2.87 — roughly a 75-fold difference in hydrogen ion concentration.

Yes. The 0 to 14 range is a convention covering the concentrations met in most laboratory work, not a hard limit. Concentrated hydrochloric acid can show a negative pH and concentrated sodium hydroxide can exceed 14. At those concentrations, however, ion activity rather than simple concentration governs the true value, so calculated figures become unreliable.

Use the Henderson–Hasselbalch equation: pH = pKa + log₁₀([A⁻] ÷ [HA]), where [A⁻] is the conjugate base concentration and [HA] is the weak acid concentration. When the two are equal the logarithm is zero, so the pH equals the pKa. The equation holds best when the ratio stays between about 1:10 and 10:1.

Yes. The ion product of water rises with temperature, so neutral water at 50 °C has a pH of about 6.63 rather than 7.00. The water is still neutral, because hydrogen and hydroxide concentrations remain equal — only the numerical value of neutrality shifts. This is why pH meters include temperature compensation.

Because the scale is logarithmic, one unit is a tenfold change in hydrogen ion concentration. A solution at pH 4 is ten times more acidic than one at pH 5 and a hundred times more acidic than one at pH 6. This is why small shifts in the pH of blood or ocean water represent large chemical changes.

Similar Posts

  • Gaussian Distribution Calculator

    Gaussian Distribution Calculator | Normal Distribution Probability calculatorsonline.co.uk Gaussian Distribution Calculator Calculate probabilities for Gaussian (Normal) distributions. Enter the mean and standard deviation to find probability density, cumulative probability, or area under the curve. 📊 Probability density 📈 Cumulative probability 🎯 Area under curve Gaussian Distribution Calculator Calculate normal distribution probabilities Distribution Parameters Mean (μ)…

  • Cycling Calorie Calculator

    Cycling Calorie Calculator | Calories Burned Biking calculatorsonline.co.uk Cycling Calorie Calculator Estimate calories burned while cycling based on distance, speed, weight, and time. Supports indoor and outdoor cycling with scientifically accurate MET values. 🚴 Calories Burned ⏱️ Time & Distance ⚖️ Weight Based 🚲 Indoor & Outdoor Cycling Calorie Calculator Estimate calories burned biking Your…

  • Pub Quiz Score Calculator

    Pub Quiz Score Calculator | Track Team Points & Averages calculatorsonline.co.uk Pub Quiz Score Calculator Easily track your team’s points across multiple rounds, calculate averages, and add bonus points to see your final leaderboard standing. 🧠 Instant Totals 📊 Round Averages 🏆 Leaderboard Ready 🔒 100% Free & Private Free Estimation Tool Calculate Your Quiz…

  • Cycle to Work Calculator

    Cycle to Work Calculator | Salary Sacrifice Bike Scheme Savings calculatorsonline.co.uk Cycle to Work Calculator Estimate your income tax and National Insurance savings on a new bike and accessories through salary sacrifice, plus your monthly cost and effective final price. 🚲 Salary Sacrifice ⚡ Instant Estimate 💷 Tax & NI Savings 📱 Mobile Friendly Salary…

  • Netflix Hours Vs Books Read Calculator

    Netflix Hours Vs Books Read Calculator | Reading Potential calculatorsonline.co.uk Netflix Hours Vs Books Read Calculator Discover how many books you could read in the time you spend watching Netflix. Swap screen time for page time and track your potential reading achievements. 📺 Netflix 📚 Books ⏱️ Time Swapped 🧠 Productivity Viewing & Reading Details…

  • UK Debt Management Guide 2026

    UK Debt Management Guide 2026 | Strategies, Solutions & Free Resources Updated for 2026 Regulations UK Debt Management Guide 2026 Take control of your finances. Understand your debt relief options, from Debt Management Plans (DMPs) to the Breathing Space scheme, and build a clear path to financial freedom. 📋 Debt Management Plans 🛡️ Breathing Space…