Calculate pH of Mixture of Acid and Base
Instantly determine the final pH after mixing an acid and a base using a strong acid-strong base neutralization model at 25 degrees Celsius. Enter concentration, volume, and the number of acidic or basic equivalents to handle monoprotic and polyprotic cases such as HCl, H2SO4, NaOH, or Ca(OH)2.
Calculator Inputs
Calculation Results
Enter your acid and base data, then click Calculate pH to see neutralization details, excess reagent, and final pH.
How to calculate pH of a mixture of acid and base
To calculate pH of a mixture of acid and base, you first determine how many moles of hydrogen ions and hydroxide ions are present before mixing. Acid contributes acidic equivalents, often represented as available H+, while base contributes basic equivalents, represented as available OH-. After that, you compare total acid equivalents with total base equivalents. If one side is larger, the excess determines the final pH. If they are equal, the solution is neutral at pH 7.00 under the common 25 degrees Celsius assumption.
This process is one of the most practical calculations in introductory chemistry because it connects stoichiometry, concentration, dilution, and the logarithmic pH scale. Whether you are preparing a buffer system, planning a neutralization experiment, checking wastewater conditions, or solving homework problems, the core idea is the same: neutralization happens first, then the pH is based on whatever acid or base remains after reaction.
The calculator above uses the strong acid-strong base framework. That means it assumes the entered acid and base dissociate completely in water and that all acidic and basic equivalents react quantitatively. For many common problems involving HCl, HNO3, NaOH, KOH, and even polyprotic or polyhydroxide compounds handled by equivalents, this gives a fast and reliable answer.
The fundamental steps
- Convert volume from milliliters to liters.
- Calculate acid equivalents using moles H+ = M x L x acid equivalents.
- Calculate base equivalents using moles OH- = M x L x base equivalents.
- Subtract the smaller amount from the larger amount to find the excess reagent.
- Divide the excess moles by the total mixed volume to get the final concentration of excess H+ or OH-.
- Use logarithms:
- pH = -log10[H+] when acid is in excess
- pOH = -log10[OH-] then pH = 14 – pOH when base is in excess
Why moles matter more than pH values before mixing
A common mistake is to average the starting pH values. That does not work because pH is logarithmic, not linear. A solution with pH 2 is not just twice as acidic as pH 4. In fact, it has 100 times more hydrogen ion concentration. Because of that, the correct path is always to convert concentrations and volumes into moles first, neutralize stoichiometrically, and only then convert the remaining concentration back into pH.
For example, mixing 50 mL of 0.10 M HCl with 25 mL of 0.10 M NaOH is not a matter of averaging pH values near 1 and 13. You must calculate moles. The acid supplies 0.10 x 0.050 = 0.0050 mol H+. The base supplies 0.10 x 0.025 = 0.0025 mol OH-. After neutralization, 0.0025 mol H+ remains. The total volume is 0.075 L, so the final hydrogen ion concentration is 0.0025 / 0.075 = 0.0333 M. The resulting pH is about 1.48. That is the correct chemistry-based answer.
Strong acid and strong base neutralization formula
The strongest and most direct case is when both substances dissociate completely. Let the acid concentration be Ca, acid volume be Va, acid equivalents be na, base concentration be Cb, base volume be Vb, and base equivalents be nb.
- Acid equivalents: nH = Ca x Va x na
- Base equivalents: nOH = Cb x Vb x nb
- Total volume: Vt = Va + Vb
Then compare nH and nOH:
- If nH > nOH, then [H+] = (nH – nOH) / Vt and calculate pH from that.
- If nOH > nH, then [OH-] = (nOH – nH) / Vt, find pOH, and then find pH.
- If they are equal, the solution is neutral at pH 7.00 at 25 degrees Celsius.
Comparison table: pH produced by common strong acid and base concentrations
| Solution | Concentration | Calculated ion concentration | pH at 25 degrees Celsius |
|---|---|---|---|
| Hydrochloric acid | 0.10 M | [H+] = 0.10 M | 1.00 |
| Hydrochloric acid | 0.010 M | [H+] = 0.010 M | 2.00 |
| Sodium hydroxide | 0.10 M | [OH-] = 0.10 M | 13.00 |
| Sodium hydroxide | 0.010 M | [OH-] = 0.010 M | 12.00 |
| Pure water | Approximately neutral | [H+] = 1.0 x 10^-7 M | 7.00 |
How polyprotic acids and polyhydroxide bases affect the result
Not every acid donates only one proton, and not every base supplies only one hydroxide ion. Sulfuric acid can contribute two acidic equivalents per mole in simple stoichiometric neutralization problems, while calcium hydroxide contributes two hydroxide ions per mole. That is why the calculator includes equivalents. If you enter 0.10 M H2SO4 at 50 mL and use 2 equivalents, the acidic capacity becomes 0.10 x 0.050 x 2 = 0.0100 mol H+. If you compare that with 0.10 M NaOH at 50 mL, the base only supplies 0.0050 mol OH-, so the mixture remains acidic after neutralization.
Equivalents are especially helpful when the reaction is treated purely by stoichiometry. In advanced equilibrium situations, some acids do not release every proton equally strongly, but for many educational neutralization calculations the equivalents approach is the fastest route to the correct reaction balance.
Comparison table: pH ranges of familiar substances and environments
| Material or water type | Typical pH range | Interpretation |
|---|---|---|
| Lemon juice | 2.0 to 2.6 | Strongly acidic due to citric acid content |
| Black coffee | 4.8 to 5.2 | Mildly acidic |
| Pure water at 25 degrees Celsius | 7.0 | Neutral reference point |
| Seawater | About 8.0 to 8.3 | Slightly basic natural system |
| Household ammonia cleaner | 11 to 12 | Strongly basic |
| 1.0 M sodium hydroxide | 14.0 | Extremely basic idealized reference |
Worked example: acid in excess
Suppose you mix 40.0 mL of 0.200 M HCl with 25.0 mL of 0.100 M NaOH. The acid is monoprotic, so it contributes 1 equivalent. The base supplies 1 hydroxide per mole.
- Acid moles: 0.200 x 0.0400 = 0.00800 mol H+
- Base moles: 0.100 x 0.0250 = 0.00250 mol OH-
- Excess acid: 0.00800 – 0.00250 = 0.00550 mol H+
- Total volume: 0.0400 + 0.0250 = 0.0650 L
- Final [H+]: 0.00550 / 0.0650 = 0.0846 M
- Final pH: -log10(0.0846) = 1.07
The final mixture is clearly acidic because hydrogen ion equivalents exceed hydroxide equivalents even after dilution.
Worked example: base in excess
Now mix 30.0 mL of 0.100 M HCl with 60.0 mL of 0.150 M NaOH.
- Acid moles: 0.100 x 0.0300 = 0.00300 mol H+
- Base moles: 0.150 x 0.0600 = 0.00900 mol OH-
- Excess base: 0.00900 – 0.00300 = 0.00600 mol OH-
- Total volume: 0.0900 L
- Final [OH-]: 0.00600 / 0.0900 = 0.0667 M
- pOH: -log10(0.0667) = 1.18
- pH: 14.00 – 1.18 = 12.82
Worked example: exact equivalence point
If you mix 50.0 mL of 0.100 M HCl with 50.0 mL of 0.100 M NaOH, both sides provide 0.00500 mol of reactive equivalents. Neutralization consumes everything. Under the simplified strong acid-strong base model at 25 degrees Celsius, the final pH is 7.00.
This exact equivalence result is one reason titration curves are so important in analytical chemistry. The pH changes rapidly near the neutralization point, and that steep region helps identify the endpoint during acid-base titrations.
Common mistakes when trying to calculate pH of acid and base mixtures
- Averaging initial pH values instead of neutralizing moles first.
- Forgetting to convert mL into L.
- Ignoring polyprotic or polyhydroxide equivalents.
- Using the original volume instead of the total mixed volume.
- Confusing pH with pOH when the base is in excess.
- Assuming weak acids and weak bases behave like strong electrolytes.
When this simple method is valid and when it is not
This method is highly accurate when both reactants are strong and dilute enough that activity corrections are not needed. It is also useful in many introductory and intermediate chemistry problems involving complete dissociation. However, if your mixture includes a weak acid such as acetic acid, a weak base such as ammonia, or a conjugate acid-base pair that forms a buffer, you need equilibrium chemistry rather than simple stoichiometric excess alone. In those cases, Ka, Kb, or Henderson-Hasselbalch relationships become important.
Temperature also matters. The familiar relationship pH + pOH = 14 strictly corresponds to water at about 25 degrees Celsius because the ion product of water changes with temperature. For most classroom calculations, 25 degrees Celsius is assumed unless otherwise stated.
Why pH matters in real systems
pH controls corrosion, solubility, biological activity, and reaction speed. In environmental chemistry, pH influences metal mobility and aquatic life tolerance. In industrial settings, pH affects cleaning, plating, fermentation, and pharmaceutical manufacturing. In education and research laboratories, careful pH control ensures repeatability and safety. That is why learning to calculate pH from acid-base mixtures is more than an academic exercise. It is foundational to practical chemical work.
Authoritative references for pH and water chemistry
Bottom line
To calculate pH of a mixture of acid and base, always begin with moles, not starting pH values. Convert concentration and volume into reactive equivalents, neutralize acid against base, divide the excess by total volume, and then transform the resulting concentration into pH or pOH. If the reactants are strong and fully dissociated, the answer is straightforward and highly reliable. If weak acids, weak bases, or buffers are involved, move on to equilibrium-based methods. The calculator above gives a fast, polished way to perform the strong neutralization version correctly and consistently.