ThisCalculator

Everyday

Convert Molarity to pH: Step-by-Step Guide

Updated · Standard formula, shown below

pH 2.00
Molarity (H+)
0.01 mol/L
You entered

This guide shows you how to convert molarity (concentration in moles per liter) to pH, the measure of acidity or basicity of a solution. You will learn the simple formula, how to apply it to strong acids, weak acids, and bases, and how to use a calculator to check your work. No special equipment is needed—just the concentration value and a basic understanding of logarithms.

Formula

The core formula for converting molarity (M) to pH is:

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.
  • pH is a dimensionless number, typically between 0 and 14 for most solutions.

This formula directly applies when you know the hydrogen ion concentration. If you have the concentration of a strong acid (like HCl or HNO₃), that concentration equals [H⁺] because strong acids fully dissociate. For strong bases, you first find [OH⁻] and then use the relationship pH + pOH = 14.

Worked Example

Using the default value from the calculator above: a solution with a hydrogen ion concentration of 0.01 mol/L.

  1. Write down the formula: pH = -log₁₀[H⁺]
  2. Substitute the value: pH = -log₁₀(0.01)
  3. Calculate the log: log₁₀(0.01) = -2 (because 10⁻² = 0.01)
  4. Apply the negative sign: pH = -(-2) = 2

The pH of a 0.01 M HCl solution is 2.00, matching the calculator output.

When to Use This Conversion

Use this conversion whenever you have a known concentration of hydrogen ions and need to express the acidity level. It is essential in chemistry labs, biology experiments, environmental monitoring (testing water or soil), and industrial quality control. The pH scale runs from 0 (very acidic) to 14 (very basic), with 7 being neutral. A pH below 7 indicates an acid; above 7 indicates a base.

This method works perfectly for strong acids and strong bases because they dissociate completely in water. For weak acids and bases, which only partially dissociate, you need additional information (like the acid dissociation constant, Ka) to first find the actual [H⁺] before applying the formula.

Step-by-Step

  1. Identify the solute type. Determine if you are working with a strong acid, strong base, weak acid, or weak base. This tells you how to find [H⁺].
  2. For a strong acid: The molarity of the acid equals the molarity of [H⁺]. For example, 0.05 M H₂SO₄ (a diprotic acid) gives 0.10 M [H⁺] because each molecule releases two hydrogen ions.
  3. For a strong base: First find [OH⁻] (which equals the base molarity times the number of hydroxide ions per formula unit). Then calculate pOH = -log₁₀[OH⁻], and finally use pH = 14 – pOH.
  4. For a weak acid: Use the acid dissociation constant (Ka) and the initial concentration (C) to solve for [H⁺] using the approximation: [H⁺] ≈ √(Ka × C). Then apply the pH formula.
  5. For a weak base: Find [OH⁻] using Kb and concentration, then convert to pOH and then to pH as in step 3.
  6. Apply the pH formula. Once you have the numerical value of [H⁺] in mol/L, plug it into pH = -log₁₀[H⁺].
  7. Use a calculator. Enter the concentration, press the log button (usually labeled “log”), then change the sign. Most scientific calculators have a dedicated “-log” or you can compute log and then multiply by -1.
  8. Round appropriately. Report pH to two decimal places, which is standard practice because pH measurements are rarely more precise than that.

Common Mistakes

  • Forgetting the negative sign: The most frequent error. pH = -log[H⁺], not log[H⁺]. A concentration of 0.01 M gives pH 2, not -2.
  • Using the wrong base for log: Always use base-10 logarithm (log), not natural logarithm (ln). Using ln gives a completely different, incorrect number.
  • Ignoring the dissociation factor: For diprotic acids like H₂SO₄, each mole produces 2 moles of H⁺. For bases like Ca(OH)₂, each mole produces 2 moles of OH⁻. Multiplying by the number of ions is essential.
  • Applying the strong acid formula to weak acids: Weak acids do not fully dissociate. Using the initial molarity directly as [H⁺] will give a pH that is too low (too acidic).
  • Mixing up pH and pOH: For bases, you must go through pOH first. Directly plugging the base concentration into the pH formula gives a nonsense result.

Tips

  • Memorize the key relationships: pH + pOH = 14, and [H⁺] × [OH⁻] = 1 × 10⁻¹⁴ at 25°C. These two equations let you convert between any of the four values ([H⁺], [OH⁻], pH, pOH).
  • Check your answer’s reasonableness: A 1 M strong acid gives pH 0. A 0.1 M gives pH 1. A 0.001 M gives pH 3. If your result seems far off from these benchmarks, recheck your work.
  • Use scientific notation for very small concentrations: For example, 1 × 10⁻⁷ M is neutral pH 7. Entering 0.0000001 into a calculator is error-prone; use exponential notation.
  • Remember temperature matters: The pH scale and the relationship pH + pOH = 14 are valid at 25°C (298 K). At other temperatures, the neutral point shifts slightly.
  • For weak acids, verify the approximation: The √(Ka × C) shortcut works when the acid is less than 5% dissociated. If not, you need the quadratic formula.

Troubleshooting

Your calculator gives an error. This usually means you entered a negative number or zero for the concentration. Molarity must be a positive number. Check your input.

The pH seems too high or too low. Re-examine your dissociation step. For acids, did you multiply by the number of H⁺ ions? For bases, did you go through pOH? Also verify you used the correct concentration units (mol/L, not g/L).

You get a pH above 14 or below 0. While possible for extremely concentrated solutions, it usually indicates an error. For typical dilute solutions, pH stays in the 0–14 range. Recalculate the log carefully.

Your weak acid calculation doesn’t match the calculator. The calculator above only works for direct [H⁺] input. For weak acids, you must first compute [H⁺] from Ka, then enter that value. If you entered the acid molarity directly, that’s the mistake.

The result is negative. A negative pH occurs only for acids with concentration greater than 1 M. If your concentration is below 1 M and you get a negative pH, you likely forgot the negative sign in the formula.

Frequently Asked Questions

Q: What is the pH of pure water?
A: Pure water at 25°C has [H⁺] = 1 × 10⁻⁷ M, giving pH = 7. This is the neutral point on the scale.

Q: How do I convert pH back to molarity?
A: Use the inverse formula: [H⁺] = 10^(-pH). For example, pH 3 gives [H⁺] = 10⁻³ = 0.001 M.

Q: Does the formula work for bases?
A: Not directly. For bases, you find [OH⁻], calculate pOH = -log[OH⁻], then use pH = 14 – pOH. For example, 0.01 M NaOH has [OH⁻] = 0.01 M, pOH = 2, so pH = 12.

Q: What is the difference between molarity and pH?
A: Molarity is a concentration (moles per liter), while pH is a logarithmic scale of acidity. pH compresses a huge range of concentrations (from 10⁰ to 10⁻¹⁴ M) into a manageable 0–14 scale.

Q: Can I use this for any acid?
A: The simple formula pH = -log[H⁺] works for any solution where you know the actual hydrogen ion concentration. For strong acids, the acid molarity equals [H⁺]. For weak acids, you must calculate [H⁺] from the equilibrium first.

Q: Why is pH measured on a log scale?
A: Because hydrogen ion concentrations vary by over 14 orders of magnitude in aqueous solutions. A logarithmic scale makes these numbers manageable and aligns with how chemical equilibria work mathematically.

Related

Formula used
in c | Molarity (H+) | mol/L | 0.01 | 0
out ph | pH | - | -log10(c) | 2

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.