HomeChemistry › pH Calculator

pH Calculator

Converts between pH, pOH, hydrogen-ion concentration and hydroxide-ion concentration at 25 °C (Kw = 1.0×10⁻¹⁴) from any one of them, and classifies the solution as acidic, neutral or basic.

When to use

You know one of pH, pOH, [H⁺] or [OH⁻] for an aqueous solution (for example the concentration of a fully dissociated strong acid or base) and need the others.

Do not use when: The solution contains a weak acid or base or a buffer, where [H⁺] is not equal to the nominal concentration (use henderson-hasselbalch for buffers), or the temperature differs a lot from 25 °C.

Formula

pH = −log10[H⁺]; pOH = −log10[OH⁻]; pH + pOH = pKw = 14.00 at 25 °C; [H⁺] × [OH⁻] = Kw = 1.0×10⁻¹⁴

Assumes an aqueous solution at 25 °C and that a strong acid or base is completely dissociated, so [H⁺] (or [OH⁻]) equals its nominal molarity; activity effects at high concentration and the autoionisation contribution below about 10⁻⁶ mol/L are ignored.

Inputs

ParameterTypeUnitRequiredDescription
h_concentration_mol_per_lnumbermol/LnoHydrogen-ion (hydronium) concentration, e.g. the molarity of a strong monoprotic acid such as HCl. Range: > 0, ≤ 100
oh_concentration_mol_per_lnumbermol/LnoHydroxide-ion concentration, e.g. the molarity of NaOH. Used when [H⁺] is not given. Range: > 0, ≤ 100
phnumbernoKnown pH; when given it takes precedence over the other inputs. Range: ≥ -2, ≤ 16
pohnumbernoKnown pOH; used when pH is not given. Range: ≥ -2, ≤ 16

Outputs

OutputTypeUnitDescription
phnumber−log10[H⁺].
pohnumber−log10[OH⁻] = 14 − pH at 25 °C.
h_concentration_mol_per_lnumbermol/LHydrogen-ion concentration = 10^(−pH).
oh_concentration_mol_per_lnumbermol/LHydroxide-ion concentration = 10^(−pOH) = Kw / [H⁺].
h_concentration_scientificstring[H⁺] in scientific notation, mol/L.
oh_concentration_scientificstring[OH⁻] in scientific notation, mol/L.
classificationstringAcidic (pH < 7), Neutral (pH = 7) or Basic (pH > 7) at 25 °C.

Example

0.001 M HCl: {"h_concentration_mol_per_l":0.001}{"ph":3,"poh":11,"oh_concentration_mol_per_l":1e-11,"h_concentration_scientific":"1.000e-3","classification":"Acidic"}

pH 8.5 solution: {"ph":8.5}{"poh":5.5,"h_concentration_mol_per_l":3.1623e-9,"oh_concentration_mol_per_l":0.0000031623,"h_concentration_scientific":"3.162e-9","classification":"Basic (alkaline)"}

GET https://tttkmbb.com/api/v1/calculate/ph?h_concentration_mol_per_l=0.001

Machine access

Sources

FAQ

Why is the pH of a 10⁻⁸ M HCl solution not 8?

Below about 10⁻⁶ mol/L the H⁺ from water's autoionisation matters and the real pH stays just under 7; this calculator ignores that contribution and reports the formal value.

Does the neutral point change with temperature?

Yes. Kw rises with temperature, so neutral water has pH 7.00 only at 25 °C (about 6.63 at 50 °C); all results here use pKw = 14.00.

Related calculators