pH calculator
pH = −log₁₀[H⁺], and at 25 °C pH + pOH = 14, so 0.01 M HCl is pH 2.00 and 0.05 M NaOH is pH 12.70. A weak acid also needs its pKa: 0.1 M acetic acid (pKa 4.76) is pH 2.88. This calculator converts between pH, pOH, [H⁺] and [OH⁻], solves strong and weak acids and bases exactly (including water’s own ions), and gives buffer pH, or the base-to-acid ratio for a target pH, with the Henderson–Hasselbalch equation, pH = pKa + log₁₀([A⁻]/[HA]).
- What it does
- Converts between pH, pOH, [H⁺] and [OH⁻], gives the exact pH of strong and weak acids and bases, and designs buffers with Henderson–Hasselbalch, at 25 °C.
- Formula
- Example
- 0.1 M acetic acid (pKa 4.76) gives [H⁺] = 1.31 × 10⁻³ M, so pH = 2.88 with 1.3 % ionised.
Loading pH calculator…
At a glance
| Converts | pH, pOH, [H⁺] and [OH⁻] ( |
|---|---|
| Strong acids and bases | Fully dissociated, with water’s own ions, so very dilute solutions come out right |
| Weak acids and bases | Solved exactly from the charge balance, from |
| Buffers | |
| Limit | Concentrations stand in for activities, which is accurate for dilute solutions |
| Runs in | Your web browser; nothing is uploaded |
| Price | Free, no account needed |
What it does
How to use the pH calculator
- Choose a calculatorConvert a value, or calculate for a strong acid/base, a weak acid/base or a buffer.
- Enter the valuesType the concentration and, for weak acids, bases and buffers, the
(or pick a common one). - Read the resultGet the pH with pOH, [H⁺] and [OH⁻], plus the fraction ionised or the buffer ratio.
How it works
Strong acids are treated as fully dissociated with water’s own ions included, so a
Worked examples: HCl, NaOH, acetic acid, ammonia and buffers
Six common cases, each the value the calculator gives (25 °C, concentrations for activities).
- Strong acid: 0.01 M HCl. Fully dissociated, so
and . - Very dilute acid: 10⁻⁸ M HCl. Not pH 8: water’s own ions dominate, and solving
gives pH 6.98. - Strong base: 0.05 M NaOH.
, so . - Weak acid: 0.1 M acetic acid (pKa 4.76).
, pH 2.88, 1.3 % ionised. The shortcut gives the same 2.88 here. - Weak base: 0.1 M ammonia (pKa of NH₄⁺ 9.25).
with : pH 11.12. - Buffer: equal amounts of acetic acid and sodium acetate.
. For pH 7.4 with phosphate (pKa₂ 7.20) the ratio is .
pKa table of common buffers and weak acids
Choose a buffer whose pKa is within one unit of the pH you need. Values are thermodynamic pKa at 25 °C (Goldberg et al. 2002); the last numeric column is the change in pKa per °C. In real buffers, ionic strength lowers the apparent pKa of phosphate and citrate noticeably, so always finish with a pH meter.
| Acid or buffer | pKa | Useful pH range | ΔpKa per °C | Notes |
|---|---|---|---|---|
| Citric acid | 3.13, 4.76, 6.40 | 2.1–7.4 | Three pKa values; antigen retrieval at pH 6.0 | |
| Acetic acid | 4.76 | 3.8–5.8 | +0.0002 | Hardly changes with temperature |
| MES | 6.27 | 5.3–7.3 | −0.011 | Good’s buffer |
| Carbonic acid / bicarbonate | 6.35, 10.33 | 5.4–7.4 and 9.3–11.3 | Exchanges CO₂ with air; cell culture media with 5 % CO₂ | |
| Imidazole | 6.99 | 6.0–8.0 | Also the His-tag elution reagent | |
| PIPES | 7.14 | 6.1–8.1 | −0.0085 | Good’s buffer |
| MOPS | 7.18 | 6.2–8.2 | −0.011 | RNA electrophoresis |
| Phosphoric acid | 2.15, 7.20, 12.35 | 6.2–8.2 (pKa₂) | −0.0028 | PBS; its apparent pKa₂ falls to about 6.8 at 0.1 M ionic strength |
| HEPES | 7.56 | 6.6–8.6 | −0.014 | Cell culture outside a CO₂ incubator |
| Tris | 8.07 | 7.1–9.1 | −0.028 | Strongly temperature dependent: set the pH at the working temperature |
| Tricine | 8.14 | 7.1–9.1 | Tricine-SDS-PAGE | |
| Bicine | 8.33 | 7.3–9.3 | Good’s buffer | |
| Boric acid | 9.24 | 8.2–10.2 | TBE, borate buffers | |
| Ammonium (NH₄⁺/NH₃) | 9.25 | 8.2–10.2 | Ammonia is the base form | |
| CHES | 9.39 | 8.4–10.4 | Good’s buffer | |
| Glycine | 2.35, 9.78 | 8.8–10.8 (pKa₂) | Glycine-NaOH; glycine-HCl near pH 2–3 | |
| CAPS | 10.50 | 9.5–11.5 | Western transfer at pH 11 |
How to make a buffer of a given pH
Henderson–Hasselbalch gives the fraction in the base form:
- 0.1 M sodium phosphate, pH 7.4 (pKa₂ 7.20):
, so 61.3 % base. Weigh 8.70 g Na₂HPO₄ (61.3 mM) and 5.34 g NaH₂PO₄·H₂O (38.7 mM). Because ionic strength lowers the apparent pKa₂ to about 6.8, the measured pH comes out lower; laboratory tables made with a pH meter use about 77 : 23 for pH 7.4. Titrate with NaOH to 7.4. - 50 mM Tris-HCl, pH 8.0 at 25 °C (pKa 8.07): 54.0 % of the Tris must be protonated. Dissolve 6.057 g Tris base in 800 mL and add about 27.0 mL of 1 M HCl, check with a pH meter, then make up to 1 L. Used at 4 °C, the same solution reads about pH 8.6.
- 0.1 M sodium acetate, pH 5.0 (pKa 4.76):
, 63.5 % acetate. Weigh 8.64 g sodium acetate trihydrate and add 2.09 mL glacial acetic acid, then make up to 1 L.
pH, [H⁺] and pOH at a glance
| pH | [H⁺] (mol/L) | pOH | |
|---|---|---|---|
| 0 | 1 | 14 | Acidic |
| 1 | 10⁻¹ | 13 | Acidic |
| 2 | 10⁻² | 12 | Acidic |
| 3 | 10⁻³ | 11 | Acidic |
| 4 | 10⁻⁴ | 10 | Acidic |
| 5 | 10⁻⁵ | 9 | Acidic |
| 6 | 10⁻⁶ | 8 | Acidic |
| 7 | 10⁻⁷ | 7 | Neutral |
| 8 | 10⁻⁸ | 6 | Basic |
| 9 | 10⁻⁹ | 5 | Basic |
| 10 | 10⁻¹⁰ | 4 | Basic |
| 11 | 10⁻¹¹ | 3 | Basic |
| 12 | 10⁻¹² | 2 | Basic |
| 13 | 10⁻¹³ | 1 | Basic |
| 14 | 10⁻¹⁴ | 0 | Basic |
Each pH unit is a tenfold change in [H⁺]: pH 6 has ten times the [H⁺] of pH 7. At 37 °C,
Common mistakes with pH and buffers
- Taking −log of the acid concentration for a weak acid. 0.1 M acetic acid is pH 2.88, not 1; only strong acids are fully dissociated.
- Using the base’s pKb as a pKa. For ammonia or Tris, use the pKa of the conjugate acid (9.25 and 8.07); pKa + pKb = 14.
- Ignoring temperature. Tris loses about 0.028 pH units per °C: a buffer set to pH 8.0 at 25 °C is about 8.6 at 4 °C and 7.7 at 37 °C.
- Trusting Henderson–Hasselbalch for the final pH. It uses concentrations instead of activities, so salt shifts the real pH; use it to get close, then adjust with a pH meter.
- Diluting a 10× buffer and expecting the same pH. The ratio stays the same, but the ionic strength changes and the pH can shift by 0.1 or more, especially for phosphate.
- Choosing a buffer far from its pKa. Outside pKa ± 1 there is little buffering capacity.
References
- Goldberg RN, Kishore N, Lennen RM. Thermodynamic quantities for the ionization reactions of buffers. J Phys Chem Ref Data 2002;31:231–370. doi:10.1063/1.1416902
- Good NE, Winget GD, Winter W et al. Hydrogen ion buffers for biological research. Biochemistry 1966;5:467–477. doi:10.1021/bi00866a011
- Ferguson WJ, Braunschweiger KI, Braunschweiger WR et al. Hydrogen ion buffers for biological research. Anal Biochem 1980;104:300–310. doi:10.1016/0003-2697(80)90079-2
- Stoll VS, Blanchard JS. Buffers: principles and practice. Methods Enzymol 1990;182:24–38. doi:10.1016/0076-6879(90)82006-N
- Cohen ER, Cvitaš T, Frey JG et al. Quantities, Units and Symbols in Physical Chemistry (IUPAC Green Book), 3rd ed. RSC Publishing; 2007. doi:10.1039/9781847557889
Frequently asked questions
How do you calculate pH from concentration?
For a strong acid,
What is the Henderson–Hasselbalch equation?
Why is pH + pOH = 14?
Because water’s ion product
Can pH be negative?
Yes, for very concentrated strong acids (above 1 M), although activities then differ from concentrations and measured values deviate from the simple formula.
Does Tris buffer pH change with temperature?
Yes, strongly: Tris’s
How do I calculate pH from pKa?
For a buffer,
Which buffer should I use for pH 7.4?
One with a pKa between about 6.4 and 8.4: HEPES (7.56), phosphate (7.20), MOPS (7.18) or PIPES (7.14) at 25 °C. Tris (8.07) works at 7.4 but buffers weakly there and shifts with temperature.
What is the pH of pure water?
7.00 at 25 °C, where
Link to this tool
Using it in a protocol, lab wiki or course page? Copy a link or citation.
<a href="https://www.labcanvas.com/tools/ph-calculator">pH calculator</a> (LabCanvas)LabCanvas. pH calculator [online tool]. https://www.labcanvas.com/tools/ph-calculatorMake the whole figure in LabCanvas
Vector figure editor, slides, 3D models, protein structures and Prism-style graphs, in your browser.
Get started