molecalculator

Moles & Molar Mass

How to Calculate pH on a Scientific Calculator

Calculator No. 01-4373 · 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.

Calculate pH from hydrogen-ion concentration by entering its value and taking the negative base-10 logarithm. The result is a dimensionless pH value; this method assumes the concentration is in mol/L and is a useful estimate for dilute aqueous solutions.

Formula

The concentration-based calculation is pH = −log10([H+]). Here, pH is dimensionless, log10 is the base-10 logarithm, and [H+] is the hydrogen-ion concentration in mol/L. The calculator’s second output converts the same concentration to mmol/L by multiplying by 1000.

For a more exact thermodynamic definition, pH = −log10(aH+), where aH+ is hydrogen-ion activity, a dimensionless effective concentration relative to the standard state. Activity depends on solution composition and ionic strength, so a concentration calculation is an approximation. For a reliable experimental value, check with a calibrated pH meter at the sample’s temperature.

Worked Example

Use the default input, [H+] = 0.001 mol/L.

  1. Enter 0.001, or 1 × 10−3, in the concentration field.
  2. Evaluate the base-10 logarithm: log10(0.001) = −3.
  3. Apply the negative sign: pH = −(−3) = 3.00.
  4. For the additional output, convert concentration: 0.001 mol/L × 1000 = 1.000 mmol/L.

The headline answer is pH 3.00. This is the result from the concentration formula, not a guarantee that a real sample will measure exactly 3.00.

Assumptions

  • The input is a positive hydrogen-ion concentration in mol/L.
  • The solution is dilute enough that concentration is a reasonable approximation to hydrogen-ion activity.
  • No temperature or ionic-strength correction is applied. Temperature and ionic strength can shift pH; the meter reading is the real check.
  • The calculation is for study and lab-planning arithmetic, not a substitute for a measurement or a validated method.

What You’ll Need

  • A scientific calculator with a base-10 logarithm key, usually marked log, or this calculator.
  • The hydrogen-ion concentration in mol/L, from a problem statement, a valid calculation, or a measurement-related source.
  • If working with a real sample, the applicable lab method and suitable pH measurement equipment.

Do not confuse the log key with ln, which calculates the natural logarithm. The pH definition uses log base 10. Follow your lab method, the safety data sheet (SDS) and your supervisor when bench work is involved.

Step-by-Step

  1. Identify the quantity you have. The direct formula needs hydrogen-ion concentration, not pH, hydroxide concentration, or the amount of acid added. Use a value expressed in mol/L. If the problem gives another unit, convert it first.
  2. Convert concentration units when needed. For mmol/L, divide by 1000 to obtain mol/L; for μmol/L, divide by 1,000,000. For example, 2 mmol/L is 0.002 mol/L. Enter the converted value, not the number 2 as though it were in mol/L.
  3. Enter the positive concentration. Type the value into the concentration field. Scientific notation is often easiest for very small values: enter 2 × 10−5 as 2 EXP −5, using your calculator’s exponent-entry key. Check that the exponent sign is correct.
  4. Press the base-10 log key. On many calculators, enter the number first and press log; on others, press log, enter the number in parentheses, then press equals. Follow the display’s input convention. The result is log10([H+]).
  5. Reverse the sign. If the calculator gives −4.70, pH is 4.70. Some calculators can evaluate −log(…) directly; use the negative-sign key or a leading minus, not the subtraction key in a way that changes the expression.
  6. Check the answer’s scale. A concentration of 0.001 mol/L gives pH 3. Concentrations below 1 mol/L give positive pH values under this simple calculation; a smaller concentration gives a larger pH. Keep a few decimal places during working, then round to the precision justified by the input.
  7. Check the context. The formula does not account for activity effects, temperature, or other solution chemistry. For an actual sample, use a suitable measurement and record the temperature. A meter reading is the real check.

Common Mistakes

  • Using ln instead of log. The natural logarithm gives a different result. Use log base 10.
  • Forgetting the minus sign. For a concentration below 1 mol/L, log10 is negative; pH is its negative and is usually positive.
  • Entering the wrong units. If a concentration is given in mmol/L or μmol/L, convert it to mol/L before using the direct formula.
  • Entering a negative or zero concentration. The logarithm is defined only for positive values. A negative value usually indicates a sign or data-entry error; zero cannot be used to calculate a finite pH.
  • Assuming pH is a concentration. pH is a logarithmic, dimensionless quantity. A one-unit change represents a tenfold change in hydrogen-ion activity, not a one-unit change in concentration.
  • Reporting too many digits. A calculator may display many decimal places, but they do not make imprecise input precise. Match the answer to the quality and significant figures of the concentration data.

Tips

  • Use parentheses when entering the full expression, such as −log(0.001), to make the order of operations clear.
  • For powers of ten, use the EXP or EE key rather than typing many zeros. Verify the display shows the intended exponent.
  • For a quick check, if [H+] = 10−n mol/L, the calculated pH is n. For example, 10−6 mol/L gives pH 6.00.
  • Keep unrounded values in intermediate calculations. Round only the final answer, and do not imply precision beyond the concentration source.
  • For a measured solution, temperature and ionic strength matter. Calibrate and use the pH meter according to the applicable method; the meter reading is the real check.

Troubleshooting

  • The calculator displays a math error: check that the entered concentration is greater than zero, and make sure the value was not entered as a negative number.
  • The result has the wrong sign: the log result is often negative for a concentration below 1 mol/L. Apply the minus sign to that result to get pH.
  • The answer is off by three or six pH units: check whether mmol/L or μmol/L was entered as mol/L without conversion. Each factor of 1000 changes the logarithm by 3.
  • The answer differs from a meter reading: confirm the sample, temperature, units, and calculation. The concentration formula may differ from measured pH because activity, ionic strength, temperature, and other chemical equilibria affect real solutions.
  • The display will not accept scientific notation: use the calculator’s EXP/EE key or convert the power of ten carefully. If entering a decimal manually, count the places and recheck the value before taking the logarithm.
  • The value seems implausible: verify that the supplied quantity really is hydrogen-ion concentration. A concentration calculated from a weak acid or a mixture may require equilibrium information; it cannot always be treated as fully dissociated.

Frequently Asked Questions

Which calculator button calculates pH?
Use log for the base-10 logarithm, then reverse the sign. The operation is −log10([H+]).

Can I calculate pH from hydrogen-ion concentration in mol/L?
Yes. Enter the positive mol/L value and calculate its negative base-10 logarithm. This gives a concentration-based estimate.

What if I know hydroxide concentration instead?
For a dilute aqueous solution near 25 °C, calculate pOH = −log10([OH−]) and use pH + pOH ≈ 14. This approximation depends on temperature and solution conditions; it is not universal.

Can pH be negative or greater than 14?
Yes. The familiar 0–14 range is a useful guideline for many dilute aqueous solutions near 25 °C, not an absolute limit. Concentrated solutions and unusual conditions require more careful activity-based treatment and measurement.

Why does my calculated pH differ from the meter?
The simple formula uses concentration as an approximation for activity. Temperature, ionic strength, calibration, and other species in the sample can affect the measured value. Use the meter reading as the real check.

How many decimal places should I report?
Follow the precision required by the problem or lab method. Keep extra digits while calculating, then round the final pH to a precision supported by the input data.

Related

Formula used
in h | Hydrogen-ion concentration | mol/L | 0.001 | 0.000000000001
out ph | pH | -log10(h) | 2
out h_mM | Hydrogen-ion concentration | mmol/L | h * 1000 | 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 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 →