LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.
Methodology
Purpose and model boundary
An acid gives hydronium ions (H₃O⁺) to water, and a base gives hydroxide ions (OH⁻). When the two are mixed they react one to one, and whatever is left over sets the pH of the sample. This lab lets you prepare a sample from a strong acid (hydrochloric acid, HCl), a strong base (sodium hydroxide, NaOH) and water, and see what the model says: the amounts of acid and base, the total volume, the acid or base left over, the hydronium ion concentration, the pH and whether the sample is acidic, neutral or alkaline.
The lab is for learning how the excess of acid or base, in the final volume, sets the pH. It covers one strong monoprotic acid and one strong monobasic base at 25 °C. It does not model weak acids, buffers, concentrated solutions or other temperatures.
The model is the calculation authority. The page sends the sample you prepare to the model and shows only what it sends back. The page works out no amount, concentration, pH or verdict itself. The beakers, the pH meter and the ion lens are drawn schematically: the ion lens shows the relative density of the ions, not a count of them.
Inputs and units
| Input | Meaning and unit |
|---|---|
| Acid stock concentration | The strength of the HCl stock, from 0 to 1 mol/L (default 0.01 mol/L). |
| Acid volume | The HCl in the sample, from 0 to 500 mL (default 100 mL). |
| Base stock concentration | The strength of the NaOH stock, from 0 to 1 mol/L (default 0). |
| Base volume | The NaOH added to the sample, from 0 to 500 mL (default 0). |
| Dilution water | The pure water added to the sample, from 0 to 500 mL (default 0). |
| pH prediction | Your pH for the sample in a challenge, from 0 to 14, at any precision, or -1 before you predict (the default). |
| Challenge number | 0 to explore freely, or 1 to 5 to load a challenge (default 0). |
Where each input is set: everything is set on the lab itself. You choose the stock strengths from its buttons and lists, set the volumes in its setup form, add base or water to the sample with its pipette, type your pH prediction and choose a challenge from its tabs. On this page the strengths are 0, 0.0001, 0.001, 0.01, 0.1 and 1 mol/L, the volumes go in 5 mL steps and the sample beaker holds up to 250 mL. The lab has no separate input form.
Governing relationships
A few chemistry words first:
- Strong acid: an acid that gives up all of its hydrogen ions in water, such as HCl.
- Strong base: a base that releases all of its hydroxide ions in water, such as NaOH.
- Amount: concentration in mol/L times volume in mL gives the amount in mmol.
- pH: minus the base-10 logarithm of the hydronium ion concentration in mol/L. Below 7 is acidic, 7 is neutral and above 7 is alkaline at 25 °C.
The model uses these rules, where the volumes are added together (additive volumes):
- Total volume: acid volume plus base volume plus water.
- Neutralization: the acid and the base react one to one. The smaller amount is used up; the rest of the larger amount is left over as excess acid or excess base.
- Signed difference: the acid amount minus the base amount, divided by the total volume, in mol/L.
- Water's own ions: water supplies hydronium and hydroxide ions too. The model solves for the hydronium concentration with the product of the two concentrations fixed at 0.00000000000001 at 25 °C, so a very dilute sample reads close to pH 7, never past it.
- pH: minus the base-10 logarithm of that hydronium concentration.
For example, 50 mL of 0.1 mol/L acid with 25 mL of 0.1 mol/L base holds 5 mmol of acid and 2.5 mmol of base. They react, leaving 2.5 mmol of acid in 75 mL: about 0.0333 mol/L of hydronium, and pH about 1.48.
Calculation sequence
- Check every input (see Validation and status logic).
- If a challenge is loaded, read its question.
- Add the volumes for the total.
- Find the acid and base amounts and the excess after they react.
- Find the signed difference, then the hydronium concentration with water's own ions included.
- Find the pH and the sample class.
- In a challenge, compare your pH prediction with the pH.
- Score the challenge, choose the sentence that explains the result and write out the working with your numbers.
Outputs and interpretation
- Total volume: in mL.
- Excess acid and Excess base: what is left after the reaction, in mol.
- Signed strong acid difference: in mol/L, positive for excess acid and negative for excess base.
- Hydronium ion concentration: in mol/L.
- Final sample pH and Sample class: acidic, neutral, alkaline, or empty for a sample with no liquid.
- Acid amount, Base amount and Amount neutralized: in mmol.
- Excess acid or base concentration: in mol/L.
- Why?: one or two sentences on what reacted, what is left and how that sets the pH.
- How we got this: the amounts, the volume, the excess and the pH with your numbers put in.
- Challenge: the question, MET or NOT MET, the score and a line on your prediction.
The lab itself shows these readings. In a challenge it shows the pH, the explanation, the verdict and the score only after you lock your answer, so the results under the lab show only the volume, the amounts and the challenge question, none of which gives the answer away.
Challenges
Each challenge asks you to predict the pH of a prepared sample: a 0.01 mol/L acid, a 0.001 mol/L base, an acid diluted tenfold with water, an acid with half as much base as it needs, and equal amounts of acid and base. A prediction counts when it is within 0.05 of the pH. It scores 100 when it is met and 0 when it is not. The exact wording of each question comes from the model.
The big idea. Only the acid or base left over after neutralization sets the pH, and it is its concentration in the whole final volume that counts.
Validation and status logic
The model checks that each concentration is a number from 0 to 1 mol/L, that each volume is a number from 0 to 500 mL and that the challenge number is a whole number from 0 to 5. If all pass, the status is OK. Otherwise the status reads NOT VALID with the reason, in the model's own words. A pH prediction outside 0 to 14 is not an error: it simply never meets a challenge.
Assumptions and limitations
- One strong monoprotic acid and one strong monobasic base, fully dissociated.
- Ideal activities: concentrations stand in for activities, which is only a fair approximation for dilute solutions.
- Volumes are additive and the temperature is 25 °C.
- Only the acid, the base and the water enter the single final sample.
Restrictions and non-computing states
- An empty sample (no liquid at all) is valid but has no pH: the pH, the hydronium concentration and the signed difference are empty and the class reads empty.
- When an input fails a check, the results are empty except for the status and the challenge block.
- In explore mode (challenge 0) the challenge reads No challenge selected and has no score.
Errors and warnings
The status explains each problem in plain words. The wording may change; the checks do not.
If the page cannot reach the model at all, it says so separately. That is a connection problem, not a result of the model.
References
This laboratory is an educational model of strong acids, strong bases and pH. It uses the standard textbook rules: a strong acid and a strong base react one to one, the excess sets the hydronium ion concentration, water's own ionization (its ion product at 25 °C) is included, and the pH is minus the base-10 logarithm of the hydronium ion concentration.
Sources and further reading
- pH and pOH, and the ion product of water: OpenStax, Chemistry 2e, Rice University, section 14.2, pH and pOH. OpenStax
- Strong acids and bases and their reactions: OpenStax, Chemistry 2e, section 14.3, Relative Strengths of Acids and Bases, and section 4.2, Classifying Chemical Reactions (acid-base reactions). OpenStax
- Molarity and dilution: OpenStax, Chemistry 2e, section 3.3, Molarity. OpenStax
No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.
This laboratory is for learning. Its rules cover one strong acid and one strong base at 25 °C with ideal behaviour; the beakers and the ion lens are drawn schematically.
Links were current at build time. If one moves, search the document's title rather than reporting a broken link as a defect.
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.