molecalculator

Moles & Molar Mass

pH Calculator: Find pH from Hydrogen Ion Concentration

Calculator No. 01-4443 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A pH calculator converts hydrogen-ion concentration into pH, or converts pH into hydrogen-ion concentration. Enter either a pH value or a concentration in mol/L; the calculator returns both values using the standard logarithmic definition of pH.

Formula

The pH formula is pH = −log10([H+]), where pH is dimensionless and [H+] is hydrogen-ion concentration in mol/L. Its inverse is [H+] = 10−pH mol/L. The calculator accepts both values so you can enter one and get the corresponding other value. The unused input must be set to the value calculated from the input you do use; the two inputs are checked for consistency.

The logarithm requires a positive concentration. The concentration input therefore has a minimum of zero in the form, but exactly zero cannot be used in the logarithm; enter a positive value. The calculator uses base-10 logarithms, not natural logarithms.

Worked Example

The defaults are pH = 7 and [H+] = 0.0000001 mol/L. These are consistent because:

  • pH = −log10(0.0000001 mol/L) = −log10(10−7) = 7.0000.
  • [H+] = 10−7 = 0.0000001 mol/L.

The displayed outputs are therefore pH 7.0000 and hydrogen-ion concentration 0.00000010 mol/L (the latter rounded to eight decimal places as specified by the calculator).

Assumptions

  • The input concentration represents hydrogen-ion concentration in mol/L, not mass concentration or the concentration of an acid before it dissociates.
  • The calculation applies the concentration-based introductory definition of pH. More exact chemical pH is defined using hydrogen-ion activity.
  • No temperature, ionic-strength correction, acid-dissociation model, or buffer-equilibrium calculation is included.
  • This is for study and lab-planning arithmetic, not for clinical, medication, or animal-use calculations.

What pH Means and When to Use the Calculator

pH is a logarithmic way to express acidity. A smaller pH corresponds to a larger hydrogen-ion concentration; a larger pH corresponds to a smaller concentration. The scale is often introduced as running from 0 to 14 for dilute aqueous solutions near room temperature, but that is a useful convention, not a universal boundary. Concentrated solutions and other conditions can have values outside that familiar range.

Use this calculation when you need to translate a stated hydrogen-ion concentration into the pH scale, or when you need the ideal concentration associated with a stated pH. For example, pH 3 corresponds to [H+] = 10−3 mol/L, while pH 5 corresponds to 10−5 mol/L. The difference of two pH units means a hundredfold difference in the concentration-based value, not a difference of just two concentration units.

For an actual solution, pH depends on chemical equilibria and the solution environment. A weak acid does not necessarily release all its hydrogen ions, and a mixture containing several acids, bases, salts, or buffers cannot generally be described by treating the material weighed out as free hydrogen-ion concentration. Use an equilibrium calculation or a validated method appropriate to the solution when those effects matter.

How to Enter Values and Read the Result

Enter one value and make the other input match the corresponding result. For instance, to convert pH 3.2, enter 3.2 as pH and 0.00063096 mol/L as the hydrogen-ion concentration (approximately 10−3.2). To convert concentration instead, enter a positive mol/L value and its corresponding pH. The outputs let you check the conversion in either direction.

  • Use mol/L: 1 mmol/L is 0.001 mol/L. Convert units before entering the concentration; do not type a number in mmol/L while labeling it mol/L.
  • Keep the pair consistent: if the calculator reports a mismatch, recalculate the unused input from the one you intend to use.
  • Pay attention to significant figures: a concentration with limited precision cannot justify a highly precise pH. The displayed decimals are formatting, not a claim about measurement accuracy.
  • Do not enter zero: log10(0) is undefined. A very small positive concentration is valid mathematically, although its precision and physical meaning depend on the context.

Concentration, Activity, and Practical Limits

The simple formula uses concentration as a stand-in for chemical activity. In thermodynamic terms, pH is defined as the negative base-10 logarithm of hydrogen-ion activity, which is dimensionless relative to a standard state. In sufficiently dilute solutions, concentration is often a useful approximation. In solutions with appreciable ionic strength, interactions among ions can make activity differ from concentration, so a concentration-only result may not match a measured pH.

Temperature also matters. It affects acid and base equilibria and the neutral pH of water; neutral pH is not exactly 7 at every temperature. For a real sample, a calibrated pH meter or a suitable validated measurement method is the practical check. A calculated concentration alone does not account for calibration, temperature compensation, contamination, junction effects, or the sample’s composition. For pH and buffer work, the meter reading is the real check because temperature and ionic strength shift pH.

Do not infer the pH of a prepared acid solution from the amount of acid alone unless the acid’s strength, dissociation, concentration, and relevant equilibrium conditions are known. Strong-acid approximations may be useful in an appropriate dilute range, but they are not universal rules. For buffers, the Henderson–Hasselbalch relation can estimate pH under its assumptions, but it needs the acid’s pKa and the ratio of conjugate-base to acid concentrations. Follow your lab method, the safety data sheet (SDS) and your supervisor when bench work is involved.

Frequently Asked Questions

How do I calculate pH from hydrogen-ion concentration?
Take the negative base-10 logarithm of the concentration in mol/L: pH = −log10([H+]). For 1.0 × 10−4 mol/L, pH is 4.

How do I calculate hydrogen-ion concentration from pH?
Use [H+] = 10−pH mol/L. At pH 6, the concentration-based result is 1 × 10−6 mol/L.

Is pH 7 always neutral?
No. pH 7 is commonly used as neutral for water near 25 °C. The neutral pH changes with temperature and conditions; neutrality means hydrogen-ion and hydroxide-ion activities are equal.

Why does a one-unit pH change matter?
On the concentration scale, a one-unit decrease in pH corresponds to a tenfold increase in hydrogen-ion concentration. A two-unit decrease corresponds to a hundredfold increase.

Can I calculate the pH of a weak acid with this calculator?
Not from the acid’s total concentration alone. You also need information such as its dissociation constant and the relevant equilibrium conditions; this calculator only converts pH and hydrogen-ion concentration.

Why can a calculated pH differ from a meter reading?
The simple conversion treats concentration as activity and does not model the sample’s equilibria, temperature, or ionic strength. Measurement calibration and sample properties can also affect the reading.

Related

Formula used
in h | pH | - | 7 | -
in c | Hydrogen-ion concentration | mol/L | 0.0000001 | 0
out p | pH | - | -log10(c) | 4
out hc | Hydrogen-ion concentration | mol/L | 10 ^ (-h) | 8

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 with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →