pH Calculator
Calculate pH, pOH, hydrogen ion concentration, and hydroxide concentration. Determine if a solution is acidic, neutral, or basic.
About this calculator
pH is a logarithmic measure of hydrogen ion concentration: pH = -log10([H+]), which is why a solution that's ten times more concentrated in H+ ions has a pH exactly one unit lower. This calculator works in three modes, selected with Solve For: computing pH directly from a known [H+] concentration, computing [H+] concentration from a known pH, or computing pOH from a known [OH-] concentration. Because water's own self-ionization fixes pH + pOH = 14 at 25C, knowing any one of pH, pOH, [H+], or [OH-] is enough to derive the other three. The Classification output labels a result Acidic below pH 6.5, Basic above pH 7.5, and Neutral in between, framing the small window around pH 7 (pure water) as neutral rather than requiring an exact match.
One detail worth knowing: in "pH from [H+]" mode, because pH is -log10 of a concentration expressed in mol/L, entering a concentration ABOVE 1 mol/L (a very concentrated acid) actually produces a NEGATIVE pH value -- this is mathematically correct, not an error, and reflects real concentrated-acid chemistry, though solutions that concentrated are rare outside industrial settings. The equivalent behavior in "pOH from [OH-]" mode is different: a concentration above 1 mol/L there drives pOH negative, which flows through pH = 14 - pOH as a HIGH pH (above 14), not a negative one -- so which extreme you see depends on which mode you're in. At the opposite, very DILUTE end, this calculator accounts for water's own self-ionization rather than using the naive -log10(C) formula all the way down, so a nominal 1e-7 mol/L strong acid correctly reports a pH just under 7 (around 6.79), not exactly 7 -- pure -log10(C) would overstate how neutral an extremely dilute acid or base really is. The built-in reference table of common substance pH values (battery acid at the low end, drain cleaner at the high end) is included for context, not computed from your inputs.
Inputs
Results
pH
3
How to Use This Calculator
- Select the calculation mode: pH from [H+] concentration, pOH from [OH-], or [H+] from pH.
- Enter the known Concentration (mol/L) — used in the two concentration-based modes — or the known pH Value — used only in the [H+] from pH mode.
- Review pH, pOH, hydrogen ion concentration, and hydroxide ion concentration.
- pH + pOH = 14 at 25C -- use this to quickly find the conjugate value.
- Use for acid-base chemistry, buffer preparation, and water quality assessment.
How the result changes with Concentration (mol/L)
| Concentration (mol/L) | pH |
|---|---|
| 0 | 3.301 |
| 0 | 3.1249 |
| 0 | 2.8239 |
| 0 | 2.6021 |
What each input means
- Solve For
- The variable to solve for.
- Concentration (mol/L)
- Molar concentration of H⁺ or OH⁻ ions.
- pH Value
- Used when solving for H⁺ from pH.
How this is calculated
Worked example, using the default values
- Identify Input ParametersSolve For = 0, Concentration (mol/L) = 0.001, pH Value = 7 = 3 input(s) provided
- Calculate pHpH3 = 3
- Calculate pOHpOH11 = 11
- Calculate [H⁺][H⁺] = hConc0.00100000001 = 0.00100000001
Engine last updated . Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why did I get a negative pH value?
In "pH from [H+]" mode, pH = -log10(concentration in mol/L). Any concentration above 1 mol/L makes the log10 term positive, which the leading minus sign flips negative -- so a very concentrated acid (above roughly 1 molar in H+) genuinely does produce a negative pH mathematically. This is correct chemistry, not a calculator error, though such high concentrations are uncommon outside concentrated industrial acids. This specific behavior is mode-specific: the same concentration above 1 mol/L entered in "pOH from [OH-]" mode instead pushes pH above 14, not below 0.
How are pH and pOH related to each other?
At the standard reference temperature of 25C, pH + pOH always equals 14, a consequence of water's own ion-product constant. That means once you know either value you can find the other by simple subtraction, which is exactly what this calculator does internally in every solve mode.
What does the Classification output actually measure?
It buckets the computed pH into three bands: Acidic below pH 6.5, Basic above pH 7.5, and Neutral in the small window between them (pure water sits at pH 7). The bands are intentionally a bit wider than a single point at 7 to account for the practical reality that "neutral" readings rarely land on exactly 7.0000.
Do I need to enter both a concentration and a pH value?
No -- only the field relevant to your chosen Solve For mode is used. Solving pH from [H+] or pOH from [OH-] uses only the Concentration field; solving [H+] from pH uses only the pH Value field. The unused field in each mode has no effect on the result.
Why does a one-unit change in pH mean such a big change in [H+]?
Because pH is a logarithmic scale: pH = -log10[H+], so reversing the log means each whole-number step in pH corresponds to a power-of-ten change in the underlying hydrogen ion concentration. A solution at pH 4 has 10 times the [H+] of one at pH 5, and 100 times the [H+] of one at pH 6 -- the same tenfold relationship holds for [OH-] and pOH. That's why this calculator's [H+] and [OH-] outputs need so many decimal places to render correctly across the full pH range: the underlying values span many orders of magnitude even though pH itself only moves in small, easy-to-read numbers.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Density Calculator
Calculate density, mass, or volume using the formula ρ = m/V. Includes a reference table of common material densities.
Science & EngineeringMolar Mass Calculator
Calculate molar mass, convert between grams and moles, and find the number of molecules for elements and common compounds.
ChemistryBuffer Solution Calculator
Calculate buffer pH using the Henderson-Hasselbalch equation. Enter pKa, acid concentration, and conjugate base concentration.
Food SciencepH Adjustment Calculator
Calculate acid dose needed to reach a target pH for food preservation, using buffer capacity and acid type.
Cosmetics FormulationpH Adjustment (Cosmetics) Calculator
Acid or base addition for target pH in formulations.
More in Science & Physics.