molecalculator

Moles & Molar Mass

pH Log Calculator: Convert pH and Hydrogen Ion

Calculator No. 01-4430 · 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 log calculator converts between pH and hydrogen-ion activity; for a dilute aqueous solution, it estimates hydrogen-ion concentration in moles per litre (mol/L). Enter either a pH value or a hydrogen-ion concentration to calculate the other, using the standard base-10 relationship.

Formula

The pH scale is defined using hydrogen-ion activity: pH = −log10(aH+), where aH+ is a dimensionless activity relative to the standard state. For sufficiently dilute solutions, activity is often approximated by concentration divided by the standard concentration of 1 mol/L. In that approximation:

  • pH = −log10([H+]/(1 mol/L))
  • [H+] ≈ 10−pH mol/L

Here, pH is dimensionless and [H+] is hydrogen-ion concentration in mol/L. The calculator’s concentration-to-pH expression, 0 − log10(c), treats the numerical value c as the concentration in mol/L, referenced to 1 mol/L. Its pH-to-concentration expression is 10(0 − p). The two outputs are calculated independently from the two inputs; use the output matching the quantity you know.

Worked Example

The default inputs are pH = 7 and [H+] = 0.0000001 mol/L.

  1. From pH to concentration: [H+] = 10(0 − 7) mol/L = 10−7 mol/L = 0.0000001 mol/L.
  2. From concentration to pH: pH = 0 − log10(0.0000001) = 7.0000.

Both results are the standard dilute-solution conversion for the default values. The calculator displays the concentration to six decimal places; since this value is small, a scientific-notation display such as 1.000000 × 10−7 mol/L is more informative than rounding it to 0.000000 mol/L. The exact numerical presentation may vary by display format.

Assumptions

  • The concentration approximation is used in place of hydrogen-ion activity, which is the quantity in the thermodynamic definition of pH.
  • The sample is treated as a dilute aqueous solution where this approximation is reasonable.
  • The supplied value is on a scale compatible with the usual pH range. Some concentrated, strongly acidic or alkaline solutions can have values outside 0–14.
  • No temperature, ionic-strength, or substance-specific activity correction is included.

How the pH Log Scale Works

“pH” is a logarithmic measure, not a linear concentration scale. A one-unit decrease in pH corresponds to ten times the hydrogen-ion activity; a one-unit increase corresponds to one-tenth as much. A difference of two pH units means a factor of 100, not a difference of two concentration units.

For example, an ideal dilute solution at pH 3 has an approximate hydrogen-ion concentration of 10−3 mol/L, while one at pH 5 has about 10−5 mol/L. The pH 3 solution therefore has about 100 times the hydrogen-ion concentration under this approximation. This comparison does not mean its total acidity or ability to neutralize a base is exactly 100 times greater: other dissolved species and buffering capacity also matter.

The familiar 0–14 range is a useful convention for many dilute water-based solutions near room temperature, not an absolute boundary. pH can be below 0 or above 14 in concentrated systems. The calculator limits its pH input to 0–14 for a straightforward introductory conversion, so it does not calculate those extreme cases.

When to Use the Calculator

Use the pH-to-concentration conversion when you want an approximate hydrogen-ion concentration corresponding to a reported pH. Use the concentration-to-pH conversion when a solution’s hydrogen-ion concentration is already known and you need its corresponding idealized pH. The inputs are independent, so entering a pH does not change the concentration input, or vice versa.

  • Check the units before entering a concentration: the calculator expects mol/L, not mmol/L, µmol/L, or mol/mL.
  • Convert units first. For example, 1 mmol/L is 0.001 mol/L; entering the number 1 as if it were mol/L would produce a very different answer.
  • Keep adequate significant figures for small concentrations. Rounding 0.0000001 mol/L to zero before calculating its logarithm would make the calculation impossible.
  • Use a measured pH when accuracy for a real solution matters, rather than treating an estimated concentration as a substitute for a measurement.

Limits, Measurement, and Common Misconceptions

The formal pH definition uses hydrogen-ion activity, which accounts for interactions among ions. Concentration and activity are close enough for many dilute solutions, but they can differ substantially as ionic strength or concentration increases. Consequently, a computed concentration is an estimate whenever the input is a pH measurement rather than a direct, well-defined concentration.

Another common misconception is that neutral pH is always exactly 7. Neutrality means equal hydrogen-ion and hydroxide-ion activities. Their values depend on temperature, so neutral pH is not universally 7 at every temperature. The calculator does not infer neutrality or correct for temperature.

For bench work, the meter reading is the real check: temperature and ionic strength shift pH, and the meter and measurement method should be suitable for the sample. Follow your lab method, the safety data sheet (SDS) and your supervisor.

Frequently Asked Questions

How do I calculate hydrogen-ion concentration from pH?
For a dilute aqueous solution, use [H+] ≈ 10−pH mol/L. A pH of 4 corresponds to approximately 10−4 mol/L, or 0.0001 mol/L.

How do I calculate pH from hydrogen-ion concentration?
Use pH = −log10([H+]/(1 mol/L)). Enter the concentration in mol/L; for 0.001 mol/L, the calculated pH is 3.

Does a pH difference of one mean ten times the acidity?
It means a tenfold difference in hydrogen-ion activity, and approximately in concentration for dilute solutions. It does not necessarily mean ten times the total acid present or ten times the solution’s neutralizing capacity.

Can pH be below 0 or above 14?
Yes. Those values can occur in concentrated solutions; 0–14 is not a universal limit. This calculator’s pH input range is restricted to 0–14 and therefore does not handle such cases.

Why can calculated pH differ from a meter reading?
The calculation uses concentration as an approximation for activity and does not account for temperature, ionic strength, or measurement conditions. A properly calibrated meter measures the sample’s pH under the actual conditions.

Related

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

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 →