Hydrogen Concentration Calculator: pH & More
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the hydrogen ion concentration [H⁺] in a solution from its pH value, or the pH from a given [H⁺], using the standard water chemistry formulas. You enter either the pH or the molar concentration (mol/L) and the calculator returns the corresponding value, with the option to also see pOH and [OH⁻] for the same solution.
Formula
The core relationship is the definition of pH: pH = −log₁₀[H⁺], where [H⁺] is the molar concentration of hydrogen ions in mol/L. Rearranging gives [H⁺] = 10^(−pH). At 25°C, water’s ion product constant (Kw) is 1.0 × 10⁻¹⁴, so pOH = 14 − pH and [OH⁻] = 10^(−pOH).
Variables:
- [H⁺] – hydrogen ion concentration (mol/L)
- pH – negative base‑10 logarithm of [H⁺] (unitless)
- [OH⁻] – hydroxide ion concentration (mol/L)
- pOH – negative base‑10 logarithm of [OH⁻] (unitless)
- Kw – ion product of water (1.0 × 10⁻¹⁴ at 25°C)
Worked Example
Using the default pH of 7 (pure water at 25°C):
- [H⁺] = 10^(−7) = 1.0 × 10⁻⁷ mol/L
- pOH = 14 − 7 = 7
- [OH⁻] = 10^(−7) = 1.0 × 10⁻⁷ mol/L
The calculator returns [H⁺] = 0.0000001 mol/L (1.0 × 10⁻⁷), pH = 7.00, pOH = 7.00, and [OH⁻] = 0.0000001 mol/L.
When to Use This Calculator
Use it whenever you need to convert between pH and hydrogen ion concentration, which is common in chemistry lab work, biology buffer preparation, aquatics, agriculture, and environmental monitoring. For example, if you measure a solution’s pH with a meter and need the actual [H⁺] for a kinetics study, or you need to prepare a buffer at a specific pH and must know the required acid concentration.
It also helps when comparing acid strengths: a solution with pH 3 has [H⁺] = 10⁻³ mol/L, which is ten times more acidic than pH 4 (10⁻⁴ mol/L). The calculator handles the logarithmic math instantly, avoiding manual exponent calculations.
How to Read the Results
The primary output is the hydrogen ion concentration in moles per liter (mol/L). This is the molarity of H⁺ ions, not the concentration of the acid itself (a strong acid like HCl dissociates completely, so [H⁺] equals the acid’s molarity for monoprotic acids; weak acids only partially dissociate).
pH values range typically from 0 (very acidic) to 14 (very basic), but can go outside that range for concentrated strong acids or bases. A pH of 7 is neutral at 25°C; lower is acidic, higher is basic. pOH is the complementary scale; for any aqueous solution at 25°C, pH + pOH = 14.
Note that the calculator assumes ideal behavior and a temperature of 25°C. At other temperatures, Kw changes (e.g., at 0°C Kw ≈ 1.14 × 10⁻¹⁵, at 100°C Kw ≈ 5.13 × 10⁻¹³), so the neutral pH shifts (e.g., 7.47 at 0°C, 6.14 at 100°C). For most practical purposes at room temperature, the 25°C value is sufficient.
Common Mistakes and Misconceptions
- Confusing [H⁺] with acid concentration: For weak acids, the concentration of the acid is much higher than [H⁺] because only a fraction dissociates. This calculator gives the actual free ion concentration, not the total acid added.
- Forgetting the negative sign: pH = −log[H⁺], so a higher pH means a lower [H⁺]. A common error is to think pH 3 has fewer H⁺ than pH 5; it actually has 100 times more.
- Unit mix-ups: Concentration must be in mol/L (M). If you have mg/L, convert to moles first using the molar mass. For example, 36.5 mg/L of HCl (molar mass 36.5 g/mol) is 0.001 mol/L, giving pH 3.
- Rounding too early: When converting pH to [H⁺], keep enough significant figures. pH 7.00 gives 1.00 × 10⁻⁷, while pH 7.0 gives 1.0 × 10⁻⁷; the difference matters in precise work.
- Assuming pH always sums to 14: That only holds for aqueous solutions at 25°C. In non‑aqueous solvents or at extreme temperatures, the relationship changes.
Limitations of the Formula
The simple pH‑[H⁺] relationship assumes ideal solutions (low ionic strength) and complete dissociation of strong acids. In real samples with high salt content or complex mixtures, activity coefficients deviate from 1, and the effective concentration (activity) differs from the measured molarity. pH meters actually measure activity, not true concentration, so the calculator’s output may differ slightly from a meter reading in such cases.
Also, the formula only applies to aqueous solutions. For non‑aqueous solvents (e.g., ethanol, DMSO), the pH scale is different and not directly comparable. The calculator is intended for water‑based solutions at room temperature.
Alternatives and Related Calculations
If you need to find pH from a known amount of strong acid or base, you can calculate [H⁺] directly: for a strong monoprotic acid at concentration C, [H⁺] = C; for a strong base like NaOH, [OH⁻] = C, then [H⁺] = Kw / C. This calculator can then convert that [H⁺] to pH.
For weak acids, you’d need the acid dissociation constant (Ka) and an equilibrium calculation, which is beyond this simple converter. Similarly, buffer pH calculations require the Henderson‑Hasselbalch equation. This tool is best for direct conversions, not for solving equilibrium problems.
Frequently Asked Questions
How do I calculate hydrogen ion concentration from pH?
Use the formula [H⁺] = 10^(−pH). For example, if pH = 4.5, then [H⁺] = 10^(−4.5) ≈ 3.16 × 10⁻⁵ mol/L. Enter the pH in the calculator and it does this instantly.
What is the hydrogen ion concentration of pure water?
At 25°C, pure water has [H⁺] = 1.0 × 10⁻⁷ mol/L, which corresponds to pH 7. This is because water autoionizes to a very small extent: H₂O ⇌ H⁺ + OH⁻.
How do I convert mg/L of H⁺ to pH?
First convert mg/L to mol/L by dividing by the molar mass of H⁺ (1.008 g/mol). For example, 0.001 mg/L = 0.000001 g/L ÷ 1.008 g/mol ≈ 9.92 × 10⁻⁷ mol/L. Then pH = −log(9.92 × 10⁻⁷) ≈ 6.00. You can use the calculator by entering the concentration in mol/L.
Does the calculator work for bases?
Yes. For a basic solution, you can enter the pH (e.g., 12) and get both [H⁺] and [OH⁻]. Alternatively, enter the [OH⁻] concentration and use pOH = −log[OH⁻], then pH = 14 − pOH. The calculator includes pOH and [OH⁻] outputs for this purpose.
Why does the pH scale go from 0 to 14?
The scale is based on water’s ion product: at 25°C, Kw = 1 × 10⁻¹⁴, so pH + pOH = 14. This limits the range for dilute aqueous solutions, but concentrated acids can have negative pH and concentrated bases can have pH above 14.
What is the difference between pH and pOH?
pH measures the concentration of hydrogen ions (acidity), while pOH measures the concentration of hydroxide ions (basicity). They are inversely related: as pH increases, pOH decreases, and pH + pOH = 14 at 25°C. A neutral solution has both equal to 7.
Related
Formula used
in pH | pH value | - | 7 | 0 in conc | [H⁺] concentration | mol/L | 0.0000001 | 0 out h_conc | [H⁺] concentration | mol/L | 10^(-pH) | 6 out ph_out | pH | - | -log10(conc) | 2 out poh | pOH | - | 14 - pH | 2 out oh_conc | [OH⁻] concentration | mol/L | 10^(-(14-pH)) | 6
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.