/

pH Calculator – Convert Molarity to pH, pOH & Concentration

Chemistry Tool

pH Calculator

Convert molarity to pH, calculate from mass & volume, mix two solutions, dilute — with full step-by-step working for every calculation.

pH Calculator

pH Calculation Report

Generated:

pH of Solution
Position on pH scale
01234 56789 1011121314
pH
pOH
[H⁺]
[OH⁻]
Nature
Molarity
Step-by-Step Working

pH Calculator — Complete Guide

This free pH calculator computes the pH, pOH, hydrogen ion concentration [H⁺], and hydroxide ion concentration [OH⁻] for any acid or base. Enter molarity directly, or work from mass and volume — the calculator handles strong acids, strong bases, and weak acids/bases with Ka and Kb equilibrium.

How to Use the pH Calculator

  1. Open the dropdown "I want to calculate the pH from…" and choose your input type.
  2. Concentration of an acid/base — select the substance, enter concentration and unit (M, mM, μM…), then click Calculate pH.
  3. Mass and volume of an acid/base — select the substance, enter the mass (with unit: g, mg, μg, kg) and the volume of solution (L, mL, μL). The calculator converts mass → moles → molarity → pH automatically.
  4. [H⁺], [OH⁻], or pOH — choose what you know from the sub-dropdown, type the value, and get all other quantities instantly.
  5. Two solutions mixer — enter pH and volume for each solution; the calculator works out excess H⁺ or OH⁻ after neutralisation.
  6. Dilution — enter initial pH and volume, then final volume; new pH is found by diluting [H⁺] with M₁V₁ = M₂V₂.
  7. Read the step-by-step working below the result to understand every formula used.
  8. Download as PDF, share, or print for lab reports.

Tip for mass/volume mode: Make sure you select the correct unit for both mass and volume. For example, if you dissolve 3.65 g of HCl in 1000 mL of water, set mass = 3.65 g and volume = 1000 mL. The calculator will compute molarity = 0.1 M, then pH = 1.00.

The pH Scale

The pH scale is a dimensionless number that runs from 0 to 14 (and technically beyond, for very concentrated solutions). It was introduced by Danish chemist Søren Peder Lauritz Sørensen in 1909 at the Carlsberg Laboratory.

pH Range Classification Examples [H⁺] (M)
0 – 2Strongly AcidicBattery acid, gastric acid1 – 0.01
2 – 5Weakly AcidicLemon juice, vinegar, coffee0.01 – 10⁻⁵
5 – 7Mildly AcidicRainwater, milk, urine10⁻⁵ – 10⁻⁷
7NeutralPure water at 25°C10⁻⁷
7 – 9Mildly BasicBlood (7.4), seawater, eggs10⁻⁷ – 10⁻⁹
9 – 12Weakly BasicBaking soda, antacids10⁻⁹ – 10⁻¹²
12 – 14Strongly BasicBleach, drain cleaner, NaOH10⁻¹² – 10⁻¹⁴

Because the scale is logarithmic, each unit change represents a 10-fold change in [H⁺]. A solution at pH 3 is 10× more acidic than pH 4, and 100× more acidic than pH 5.

Definitions of an Acid and a Base

Three different theories define acids and bases, each useful in different contexts:

1. Arrhenius Definition (1884)

  • Acid: A substance that produces H⁺ ions in aqueous solution. Example: HCl → H⁺ + Cl⁻
  • Base: A substance that produces OH⁻ ions in aqueous solution. Example: NaOH → Na⁺ + OH⁻
  • Limitation: Only works in water.

2. Brønsted–Lowry Definition (1923)

  • Acid: A proton (H⁺) donor.
  • Base: A proton (H⁺) acceptor.
  • Works in non-aqueous solvents. Every acid has a conjugate base, and every base has a conjugate acid.
  • Example: NH₃ + H₂O ⇌ NH₄⁺ + OH⁻ (water acts as acid, donating H⁺ to ammonia)

3. Lewis Definition (1923)

  • Acid: An electron pair acceptor.
  • Base: An electron pair donor.
  • Most general definition — includes reactions without any proton transfer at all.
  • Example: BF₃ (Lewis acid) + NH₃ (Lewis base) → F₃B–NH₃

For pH calculations in aqueous solutions (like this calculator), the Brønsted–Lowry definition is most commonly used. Strong acids donate 100% of their protons; weak acids donate only a fraction, governed by Ka.

How to Find pH — The pH Formula

The pH formula is one of the most important equations in chemistry. Introduced by Sørensen, it is defined as the negative base-10 logarithm of the hydrogen ion concentration:

pH = −log₁₀ [H⁺]

And its inverse — to convert pH back to [H⁺]:

[H⁺] = 10−pH

Related formulas at 25°C:

pOH = −log₁₀ [OH⁻]
[OH⁻] = 10−pOH
pH + pOH = 14.00 (at 25°C)
Kw = [H⁺][OH⁻] = 1.0 × 10−14 (at 25°C)
pKw = −log₁₀(Kw) = 14.00 (at 25°C)

When working from mass and volume, first calculate molarity:

Molarity (M) = moles / volume (L) = mass (g) / [Molar mass (g/mol) × volume (L)]

How to Calculate pH — Step by Step

Case 1: Strong Acid (e.g. 3.65 g HCl in 1000 mL)

  1. Molar mass of HCl = 36.46 g/mol
  2. Moles of HCl = 3.65 ÷ 36.46 = 0.1001 mol
  3. Volume = 1000 mL = 1.000 L
  4. Molarity = 0.1001 mol ÷ 1.000 L = 0.1001 M
  5. HCl is a strong acid → dissociates completely: [H⁺] = 0.1001 M
  6. pH = −log₁₀(0.1001) = 1.00
  7. pOH = 14.00 − 1.00 = 13.00
  8. [OH⁻] = 10⁻¹³ = 1.0 × 10⁻¹³ M

Case 2: Weak Acid (e.g. 0.1 M Acetic Acid, Ka = 1.8 × 10⁻⁵)

  1. Equilibrium: CH₃COOH ⇌ H⁺ + CH₃COO⁻
  2. Ka = [H⁺][CH₃COO⁻] / [CH₃COOH] = x² / (0.1 − x) = 1.8 × 10⁻⁵
  3. Rearrange to quadratic: x² + (1.8 × 10⁻⁵)x − (1.8 × 10⁻⁶) = 0
  4. Solve: x = [H⁺] = [−Ka + √(Ka² + 4KaC)] / 2
  5. [H⁺] = 1.33 × 10⁻³ M
  6. pH = −log₁₀(1.33 × 10⁻³) = 2.88
  7. Degree of dissociation = 1.33 × 10⁻³ / 0.1 = 1.33%

Case 3: Strong Base (e.g. 4.00 g NaOH in 1000 mL)

  1. Molar mass of NaOH = 40.00 g/mol
  2. Moles = 4.00 ÷ 40.00 = 0.1 mol
  3. Volume = 1.000 L → Molarity = 0.1 M
  4. NaOH is a strong base → [OH⁻] = 0.1 M
  5. pOH = −log₁₀(0.1) = 1.00
  6. pH = 14.00 − 1.00 = 13.00
  7. [H⁺] = 10⁻¹³ = 1.0 × 10⁻¹³ M

Case 4: Dilution (pH 2.0 HCl diluted 10× )

  1. Initial [H⁺] = 10⁻² = 0.01 M; initial volume V₁
  2. Final volume = 10 × V₁ (10× dilution)
  3. Using M₁V₁ = M₂V₂ on [H⁺]: [H⁺]₂ = 0.01 / 10 = 0.001 M
  4. pH = −log₁₀(0.001) = 3.00 — increased by exactly 1 unit
  5. Rule: 10× dilution of a strong acid → pH increases by 1

The Mind Behind the pH Calculator

The concept of pH was invented by Søren Peder Lauritz Sørensen (1868–1939), a Danish biochemist who worked at the Carlsberg Laboratory in Copenhagen. In 1909, while studying the effect of ion concentrations on enzyme activity in brewing, he found it inconvenient to work with very small numbers like 0.000001 M.

Sørensen introduced a logarithmic scale and the notation "p" (from the German Potenz, meaning power) combined with "H" for hydrogen. His original notation used a superscript: pᴴ. The modern notation pH became standard after 1920.

In 1924, Sørensen and his wife Margrethe Høyrup Sørensen revised the pH scale to be based on electrochemical measurements rather than concentrations, producing the modern operational definition still used today by IUPAC.

Fun fact: The "p" in pH stands for the German word Potenz (power). The "H" stands for Hydrogen. So pH literally means "the power of hydrogen" — a logarithmic measure of hydrogen ion activity in solution.

Today, pH is measured using glass electrodes connected to a pH meter, which measures the electrical potential difference between a reference electrode and a measuring electrode immersed in the solution. Indicator strips provide a quick visual estimate using dyes that change colour at specific pH values.

Frequently Asked Questions

What is the pH of pure water?
Pure water has a pH of exactly 7.00 at 25°C. This is because water self-ionises: H₂O ⇌ H⁺ + OH⁻ with Kw = 1.0 × 10⁻¹⁴, so [H⁺] = [OH⁻] = 1.0 × 10⁻⁷ M, giving pH = 7. At 100°C, Kw = 51.3 × 10⁻¹⁴, so neutral pH = 6.14 — the water is still neutral, just at a different pH value.
How do I calculate pH from mass and volume?
Three steps: (1) Calculate moles = mass (g) ÷ molar mass (g/mol). (2) Calculate molarity = moles ÷ volume (L). (3) Use pH = −log₁₀[H⁺] for strong acids (or the quadratic Ka formula for weak acids). This calculator does all three steps automatically — just select "Mass and volume of an acid" from the dropdown.
What is the difference between strong and weak acids?
A strong acid (HCl, HNO₃, H₂SO₄, etc.) dissociates 100% in water: every molecule gives up a proton. So [H⁺] = initial concentration. A weak acid (acetic acid, formic acid, etc.) only partially dissociates. The fraction that dissociates is governed by Ka. The smaller the Ka, the weaker the acid, and the higher the pH compared to a strong acid of the same concentration.
Can pH be negative or above 14?
Yes. For a 10 M HCl solution: [H⁺] = 10 M → pH = −log₁₀(10) = −1. For 10 M NaOH: [OH⁻] = 10 M → pOH = −1 → pH = 15. These are perfectly valid measurements, though they are rare in practice and require concentrated solutions. The 0–14 range is a convenient guideline for dilute aqueous solutions.
Why can't I average two pH values when mixing?
Because pH is logarithmic. Averaging pH values directly gives the wrong answer. You must convert each pH to [H⁺] (= 10⁻ᵖᴴ), calculate moles of H⁺ and OH⁻, find the excess after neutralisation, divide by total volume to get new concentration, then convert back to pH. The Mixer mode in this calculator does this correctly.
What units does this calculator use for concentration?
The concentration dropdown supports: M (Molar), mM (Millimolar = 10⁻³ M), μM (Micromolar = 10⁻⁶ M), nM (Nanomolar = 10⁻⁹ M), pM (Picomolar = 10⁻¹² M), fM (Femtomolar = 10⁻¹⁵ M), aM (Attomolar = 10⁻¹⁸ M), zM (Zeptomolar = 10⁻²¹ M), and yM (Yoctomolar = 10⁻²⁴ M). All are converted to Molar internally before calculation.
pH Formulas
pH = −log₁₀[H⁺]
Molarity → pH
pOH = −log₁₀[OH⁻]
Molarity → pOH
pH + pOH = 14
At 25°C only
[H⁺] = 10⁻ᵖᴴ
pH → molarity
n = m / M
Mass → moles
C = n / V
Moles → molarity
M₁V₁ = M₂V₂
Dilution (on [H⁺])
pH Scale Examples
0–1
Battery acid, HCl (conc.)
Acid
2–3
Lemon juice, vinegar
Acid
3–4
Orange juice, soda
Acid
4–5
Coffee, acid rain
Acid
5–6
Milk, urine
Acid
7
Pure water
Neutral
7–8
Blood (7.4), seawater
Base
9–10
Baking soda
Base
11–12
Ammonia solution
Base
13–14
NaOH, bleach
Base
Kw vs Temperature
0°C
Kw = 0.114×10⁻¹⁴ → pH neutral = 7.47
25°C
Kw = 1.008×10⁻¹⁴ → pH neutral = 7.00
50°C
Kw = 5.47×10⁻¹⁴ → pH neutral = 6.63
100°C
Kw = 51.3×10⁻¹⁴ → pH neutral = 6.14

Share This Tool

Share the pH Calculator with your class!

Free chemistry, physics, biology & math calculators with step-by-step solutions. Trusted by 100,000+ students. Solve any science problem instantly!

Newsletter

Subscribe to our Newsletter to be updated. We promise not to spam.

Copyright © 2026 SciSolveLab. All Rights Reserved

Scroll to Top