molecalculator

Moles & Molar Mass

pH of Salt Formula: How to Calculate It

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

The pH of a salt solution depends on whether the salt’s ions react with water (hydrolysis). You calculate it by identifying the salt as acidic, basic, or neutral, then applying the appropriate equilibrium formula using the ion’s Ka or Kb value. For a basic salt like sodium acetate, pH = 7 + ½(pKa + log C); for an acidic salt like ammonium chloride, pH = ½(pKw − pKb − log C).

Formula

For a basic salt (from a weak acid and strong base, e.g., sodium acetate, NaCH3COO):

pH = 7 + ½(pKa + log C)

where:

  • pKa = −log Ka of the conjugate acid (for acetate, acetic acid’s pKa = 4.76)
  • C = molar concentration of the salt in mol/L

For an acidic salt (from a weak base and strong acid, e.g., ammonium chloride, NH4Cl):

pH = ½(pKw − pKb − log C)

where:

  • pKw = 14 at 25 °C
  • pKb = −log Kb of the conjugate base (for ammonium, ammonia’s pKb = 4.75)
  • C = molar concentration of the salt in mol/L

These formulas assume complete dissociation of the salt and that hydrolysis is the only pH-affecting reaction. They ignore activity coefficients and temperature effects, so they work best for dilute solutions (0.001–0.1 M) at 25 °C.

Worked Example

Calculate the pH of a solution made by dissolving 4.10 g of sodium acetate (molar mass 82.03 g/mol) in enough water to make 250 mL of solution.

  1. Moles of salt = 4.10 g / 82.03 g/mol = 0.04998 mol ≈ 0.0500 mol
  2. Volume in liters = 250 mL / 1000 = 0.250 L
  3. Concentration C = 0.0500 mol / 0.250 L = 0.200 mol/L
  4. For a basic salt: pH = 7 + ½(4.76 + log 0.200)
  5. log 0.200 = −0.6990
  6. pH = 7 + ½(4.76 − 0.6990) = 7 + ½(4.061) = 7 + 2.0305 = 9.03

The calculator gives pH = 9.03 (rounded to 2 decimals). The solution is basic, as expected for acetate.

Assumptions

  • Complete dissociation of the salt into its ions.
  • Only hydrolysis of the reactive ion affects pH; the counter-ion (Na⁺ or Cl⁻) does not react with water.
  • Solution is dilute (below ~0.1 M) so activity coefficients ≈ 1.
  • Temperature is 25 °C, so pKw = 14.
  • The salt is pure and anhydrous; hydrated salts have different molar masses.

How to Identify the Salt Type

Before using any formula, you must classify the salt. The rule comes from the strength of the acid and base that formed the salt:

  • Strong acid + strong base (e.g., NaCl, KNO3): neutral, pH ≈ 7
  • Weak acid + strong base (e.g., NaCH3COO, NaHCO3): basic, pH > 7
  • Strong acid + weak base (e.g., NH4Cl, AlCl3): acidic, pH < 7
  • Weak acid + weak base (e.g., NH4CH3COO): pH depends on relative Ka and Kb; if equal, pH ≈ 7

For the last case, the pH is approximately 7 + ½(pKa − pKb), independent of concentration. This is a special case that the simple calculator above does not handle; use the general equilibrium approach instead.

Common Mistakes and Misconceptions

One frequent error is assuming all salts are neutral. Table salt (NaCl) is neutral, but many salts are not. Another mistake is using the Ka of the acid instead of the Kb of the conjugate base for a basic salt. For acetate, you need Kb = Kw/Ka (acetic acid), but the formula above conveniently uses pKa directly, so you don’t need to convert.

Unit mix-ups also cause errors: concentration must be in mol/L, not g/L or mmol/mL. Always convert mass to moles first, then divide by volume in liters.

Another misconception: the pH of a basic salt is always 7 + something, but that something can be small. For a very dilute salt (C = 0.0001 M), the pH is closer to neutral. The formula accounts for this through the log C term.

When to Use This Formula vs. a Full Equilibrium Calculation

The simplified formulas work well when the salt concentration is not extremely low (above ~0.001 M) and when the salt is not from a very weak acid (Ka < 10−10) or very weak base. For borderline cases, or for salts with multiple hydrolysis steps (e.g., Na2CO3), a full ICE table calculation is more accurate. The formula also fails for salts of polyprotic acids where the second deprotonation matters (e.g., NaHCO3 is amphiprotic). For those, you need the pH ≈ ½(pKa1 + pKa2) approximation.

If you are preparing a buffer or need an exact pH for a lab experiment, always verify with a pH meter, because temperature and ionic strength shift the actual pH. The formulas give a good estimate for planning, not a certified value.

Practical Examples Across Salt Types

  • Sodium chloride (NaCl): neutral, pH 7.0. No hydrolysis.
  • Sodium acetate (NaCH3COO): 0.1 M gives pH ≈ 8.88 (using pKa = 4.76).
  • Ammonium chloride (NH4Cl): 0.1 M gives pH ≈ 5.13 (using pKb = 4.75).
  • Sodium carbonate (Na2CO3): 0.1 M gives pH ≈ 11.6 (hydrolysis of CO32− is strong; simple formula underestimates).
  • Potassium nitrate (KNO3): neutral, pH 7.0.

Safety and Lab Practice

When preparing salt solutions, always follow your lab method and the safety data sheet (SDS) for the specific salt. Some salts are irritants or toxic; wear gloves and goggles as appropriate. For pH measurements, calibrate the pH meter with fresh buffers and measure at the same temperature as your experiment. The calculated pH is a theoretical estimate; the meter reading is the real check.

Never use this calculator for medication or clinical preparations; it is for study and lab planning only.

Frequently Asked Questions

Why is sodium acetate basic but sodium chloride neutral?
Because acetate ion (CH3COO⁻) is the conjugate base of a weak acid (acetic acid), so it reacts with water to produce OH⁻, raising pH. Chloride ion is the conjugate base of a strong acid (HCl), so it does not react with water.

What is the pH of a 0.05 M solution of ammonium chloride?
Using pKb for ammonia (4.75), pH = ½(14 − 4.75 − log 0.05) = ½(14 − 4.75 − (−1.301)) = ½(10.551) = 5.28. So it’s acidic.

Does the pH of a salt solution change with concentration?
Yes, for basic or acidic salts. The formulas include log C, so as concentration increases, the pH moves further from 7 (more basic for basic salts, more acidic for acidic salts). For neutral salts, pH stays at 7 regardless of concentration.

How do I find the pKa or pKb value for my salt?
Look up the pKa of the conjugate acid (for basic salts) or pKb of the conjugate base (for acidic salts) in a reference table. For example, acetic acid pKa = 4.76, ammonia pKb = 4.75. Many online databases list these values.

What if the salt is from a weak acid and weak base?
Then pH is approximately 7 + ½(pKa − pKb), independent of concentration. For example, ammonium acetate (pKa acetic = 4.76, pKb ammonia = 4.75) gives pH ≈ 7.005, essentially neutral.

Why does temperature affect pH?
Because pKw changes with temperature (it’s 14.00 at 25 °C but 13.62 at 50 °C). Also, Ka and Kb values shift with temperature. The formulas assume 25 °C; at other temperatures, the pH will differ.

Related

Formula used
in m | Mass of salt | g | 4.10 | 0
in mm | Molar mass of salt | g/mol | 82.03 | 0.001
in v | Final solution volume | mL | 250 | 0.001
in pka | pKa of conjugate acid (for basic salt) | - | 4.76 | 0
in pkb | pKb of conjugate base (for acidic salt) | - | 9.25 | 0
sel type | Salt type | Basic=1, Acidic=2
out c | Concentration | mol/L | m / mm / (v / 1000) | 4
out ph | pH of salt solution | - | type == 1 ? 7 + 0.5 * (pka + log10(c)) : 0.5 * (14 - pkb - 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 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 →