ThisCalculator

Everyday

How to Calculate pH from Ion Concentration

Updated · Standard formula, shown below

pH 4.00
pOH
10.00
Result
[OH⁻] concentration
0.000 mol/L
Result
Ion concentration (H⁺)
0.0001 mol/L
You entered

How to Calculate pH from Ion Concentration

This calculator determines the pH of a solution from the concentration of hydrogen ions (H⁺) or hydronium ions (H₃O⁺). You enter the ion concentration in moles per liter (M), and the calculator returns the pH value on the 0–14 scale. It also shows the pOH and the hydroxide ion concentration for a complete picture of the solution’s acidity or basicity.

Formula

The pH is defined as the negative base-10 logarithm of the hydrogen ion concentration:

pH = -log₁₀[H⁺]

Where:

  • [H⁺] is the molar concentration of hydrogen ions in moles per liter (mol/L or M).
  • log₁₀ is the base-10 logarithm.

The pOH is related by the water ion product at 25 °C:

pOH = 14 – pH

And the hydroxide ion concentration is:

[OH⁻] = 1 × 10⁻¹⁴ / [H⁺]

Worked Example

Using the default ion concentration of 0.0001 mol/L (which is 1 × 10⁻⁴ M):

  1. Take the base-10 logarithm of 0.0001: log₁₀(0.0001) = -4
  2. Apply the negative sign: pH = -(-4) = 4
  3. So the pH is 4.00, which is acidic.

The calculator gives the same result: pH = 4.00. The pOH is 14 – 4 = 10.00, and the hydroxide concentration is 1e-14 / 0.0001 = 1.000 × 10⁻¹⁰ mol/L.

When to Use This Calculator

Use this calculator when you have the hydrogen ion concentration from a lab measurement, a textbook problem, or a chemical reaction. It is useful for:

  • Checking the acidity of a solution in chemistry homework or lab work.
  • Converting between pH and ion concentration in buffer preparations.
  • Understanding the relationship between pH, pOH, and ion concentrations in aqueous solutions.

How to Read the Result

The pH scale runs from 0 (very acidic) to 14 (very basic), with 7 being neutral at 25 °C. A pH below 7 means the solution is acidic; above 7 means basic. Each whole pH unit represents a tenfold change in hydrogen ion concentration. For example, a solution with pH 3 has ten times more H⁺ than one with pH 4.

The pOH result is complementary: pOH + pH = 14 at 25 °C. The hydroxide ion concentration [OH⁻] is useful when you need to know the basicity side of the equilibrium.

Common Mistakes

  • Forgetting the negative sign: pH is the negative logarithm. If you forget the minus, you get the wrong value (e.g., 4 instead of -4).
  • Using the wrong logarithm base: pH uses base-10 log, not natural log (ln). Using ln gives a different number.
  • Mixing up concentration units: The concentration must be in moles per liter (M). If you have millimoles per liter (mM), convert to M by dividing by 1000 first.
  • Assuming pH 7 is always neutral: At temperatures above or below 25 °C, the neutral pH shifts slightly. This calculator assumes 25 °C.

Tips

  • Use scientific notation for very small concentrations, e.g., 1e-7 for 1 × 10⁻⁷ M. The calculator accepts this format.
  • If you know the pOH instead, you can calculate pH = 14 – pOH, then find [H⁺] = 10^(-pH).
  • For strong acids that fully dissociate, the H⁺ concentration equals the acid concentration. For weak acids, you need the acid dissociation constant (Ka) to find [H⁺] first.
  • Always include units in your final answer: pH is unitless, but concentrations are in mol/L.

Troubleshooting

  • Getting a negative pH or pH above 14: This can happen with extremely concentrated strong acids or bases (e.g., 2 M HCl gives pH ≈ -0.3). The formula is still valid, but the pH scale is just a convention. For most practical solutions, pH stays in 0–14.
  • The result seems off: Double-check that you entered the concentration in mol/L, not in g/L or mmol/L. Also verify that you didn’t accidentally add extra zeros.
  • Calculator shows an error for zero concentration: The logarithm of zero is undefined. Enter a positive number. If you have pure water, use 1e-7 M.
  • Confusion between H⁺ and H₃O⁺: In aqueous solution, H⁺ exists as hydronium (H₃O⁺). The concentration is the same for practical purposes, so using either is fine.

Frequently Asked Questions

What is the pH of pure water?

At 25 °C, pure water has [H⁺] = 1 × 10⁻⁷ M, so pH = 7.00.

How do I convert pH back to ion concentration?

Use the inverse: [H⁺] = 10^(-pH). For example, pH 5 gives [H⁺] = 1 × 10⁻⁵ M.

Does temperature affect pH?

Yes. The neutral pH shifts from 7.00 at 25 °C to about 6.92 at 37 °C. This calculator assumes 25 °C.

Can pH be negative?

Yes, for very strong acids with concentration above 1 M, the pH can be negative. The formula still works.

What is the difference between pH and pOH?

pH measures acidity (H⁺ concentration), while pOH measures basicity (OH⁻ concentration). They always sum to 14 at 25 °C.

Why is the pH scale 0–14?

It comes from the ion product of water: [H⁺][OH⁻] = 1 × 10⁻¹⁴. The scale conveniently covers typical concentrations, but values outside 0–14 are possible.

Related

Formula used
in c | Ion concentration (H⁺) | mol/L | 0.0001 | 0
out ph | pH | - | -log10(c) | 2
out poh | pOH | - | 14 - (-log10(c)) | 2
out oh | [OH⁻] concentration | mol/L | 1e-14 / c | 3

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.