molecalculator

Moles & Molar Mass

Acid + Base Reaction: What Happens & How to Predict It

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

An acid–base reaction is a chemical process in which an acid donates a proton (H+) to a base, typically forming water and a salt. In this article, you’ll learn the core concepts, how to predict products, and how to use a calculator to find the concentration of an acid or base after mixing.

Formula

The calculator above determines the concentration of the excess ion (H+ or OH−) after mixing an acid and a base, assuming complete neutralization. The core formula is:

nacid = c1 × V1 / 1000 (moles of H+ from acid)

nbase = c2 × V2 / 1000 (moles of OH− from base)

cexcess = (nacid − nbase) / (Vtotal / 1000)

where c1 and c2 are molar concentrations (mol/L), V1 and V2 are volumes in milliliters, and Vtotal = V1 + V2. The pH is then calculated as −log10(cexcess) if the excess is H+, or 14 − (−log10(cexcess)) if the excess is OH−. The calculator uses the absolute value of the difference and the correct branch automatically.

Worked Example

Using the default values: 0.1 mol/L HCl (50 mL) and 0.1 mol/L NaOH (50 mL).

  1. Moles of H+: 0.1 × 50 / 1000 = 0.005 mol
  2. Moles of OH−: 0.1 × 50 / 1000 = 0.005 mol
  3. Difference: 0.005 − 0.005 = 0 mol
  4. Total volume: 50 + 50 = 100 mL = 0.1 L
  5. cexcess = 0 / 0.1 = 0 mol/L
  6. pH = −log10(1×10−14) = 14 (the calculator shows pH 14 for a neutral solution, but in reality pure water has pH 7; the calculator uses a tiny default to avoid log(0))

For a non-neutral example, if you mix 60 mL of 0.1 M HCl with 40 mL of 0.1 M NaOH, the excess H+ is (0.006 − 0.004) / 0.1 = 0.02 mol/L, giving pH = −log(0.02) ≈ 1.70.

Assumptions

  • Complete dissociation of strong acids and bases (e.g., HCl, NaOH).
  • No volume change upon mixing (volumes are additive).
  • Temperature is 25 °C; pH is temperature-dependent.
  • Negligible autoionization of water (except when neutral).
  • Only monoprotic acids and monohydroxy bases are considered; for polyprotic acids, adjust the moles of H+ accordingly.

Background: What Defines an Acid and a Base?

The most useful definition for everyday chemistry is the Brønsted–Lowry theory: an acid is a proton donor, and a base is a proton acceptor. For example, in the reaction HCl + NaOH → NaCl + H2O, HCl donates a proton to OH−. The Arrhenius definition (acid produces H+ in water, base produces OH−) is simpler but limited to aqueous solutions. The Lewis definition (acid accepts an electron pair, base donates) is broader and includes reactions like NH3 + BF3.

How to Predict the Products

For a typical acid–base reaction in water, the products are a salt and water. The general pattern is:

Acid + Base → Salt + Water

To predict the salt, swap the cation of the base with the hydrogen of the acid. For example:

  • H2SO4 + 2KOH → K2SO4 + 2H2O
  • CH3COOH + NH3 → CH3COONH4 (ammonium acetate)
  • HNO3 + Ca(OH)2 → Ca(NO3)2 + 2H2O

For weak acids or bases, the reaction may not go to completion, and equilibrium constants (Ka or Kb) are needed for exact pH.

Common Problems and Misconceptions

  • Mixing equal volumes does not guarantee neutral pH – you must compare moles, not volumes or concentrations alone.
  • Polyprotic acids like H2SO4 can donate more than one proton; use the correct stoichiometry.
  • pH scale is logarithmic: a change of 1 pH unit means a 10-fold change in H+ concentration.
  • Neutralization does not always produce pH 7 – the salt of a weak acid and strong base is basic (e.g., sodium acetate).
  • Temperature affects pH – the pH of pure water is 7.00 only at 25 °C.

How to Choose the Right Method

For strong acid–strong base reactions, the simple mole calculation above works perfectly. For weak acids or bases, you need the acid dissociation constant (Ka) or base dissociation constant (Kb) and an ICE table. For buffer solutions, use the Henderson–Hasselbalch equation: pH = pKa + log([base]/[acid]). In practice, always measure the pH with a calibrated meter, because ionic strength and temperature shift the theoretical value.

Safety and Practical Tips

When performing acid–base reactions in the lab, always add acid to water (not the reverse) to avoid splashing, wear goggles and gloves, and work in a fume hood if gases are released. Follow your lab method, the safety data sheet (SDS) and your supervisor. For disposal, neutralize small amounts before pouring down the drain with copious water, but check local regulations.

Frequently Asked Questions

What is the difference between a strong acid and a weak acid?

A strong acid (like HCl) dissociates completely in water, so the concentration of H+ equals the acid concentration. A weak acid (like acetic acid) only partially dissociates, so the H+ concentration is much lower and depends on its Ka value.

Why does mixing an acid and a base sometimes produce a pH that is not 7?

pH 7 occurs only when the moles of H+ equal the moles of OH− and the salt formed does not hydrolyze. If one reactant is in excess, the solution is acidic or basic. Also, salts of weak acids or bases can react with water to change pH.

How do I calculate the pH after mixing an acid and a base?

First, calculate the moles of H+ and OH− from the concentrations and volumes. Subtract the smaller from the larger, then divide by the total volume to get the molarity of the excess ion. If the excess is H+, pH = −log[H+]; if OH−, pOH = −log[OH−] and pH = 14 − pOH.

Can an acid–base reaction occur without water?

Yes. Many acid–base reactions occur in non-aqueous solvents or even in the gas phase. For example, ammonia gas reacts with hydrogen chloride gas to form solid ammonium chloride. The Brønsted–Lowry and Lewis definitions cover these cases.

What is a buffer, and how does it relate to acid–base reactions?

A buffer is a solution containing a weak acid and its conjugate base (or a weak base and its conjugate acid). It resists pH changes when small amounts of acid or base are added, because the buffer components react with the added H+ or OH−. The Henderson–Hasselbalch equation is used to calculate the pH of a buffer.

Related

Formula used
in c1 | Concentration of acid | mol/L | 0.1 | 0 | 10
in v1 | Volume of acid | mL | 50 | 0 | 1000
in c2 | Concentration of base | mol/L | 0.1 | 0 | 10
in v2 | Volume of base | mL | 50 | 0 | 1000
out c_final | Concentration of excess H+ or OH- | mol/L | (c1*v1/1000 - c2*v2/1000) / ((v1+v2)/1000) | 4
out pH | pH of resulting solution | - | -log10(max(c_final, 1e-14)) | 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 →