Whether something is an acid or a base comes down to one number: pH, a measure of how many hydrogen ions (H⁺) are floating in the water. The scale runs 0 to 14, with 7 — pure water — sitting neutral in the middle. The catch is that it's a logarithmic scale, so each step is a factor of ten. Drag the slider, drip a base into an acid, and watch the numbers move.
Universal indicator dye paints the whole rainbow as pH changes: red (strong acid) → orange → yellow → green (neutral) → blue → purple (strong base). Drag the slider, or tap a real-world example to snap to it. Watch the [H⁺] concentration on the right: it's a log scale, so dropping the pH by 1 means 10× more acidic.
Start with a beaker of strong acid. Each drop of strong base neutralises a little of it. For a long time the pH barely moves — then, right at the equivalence point (where the moles of base exactly match the acid), a single drop sends the pH leaping almost vertically from acidic to basic. Keep adding and it levels off again. Press Add drop (or auto-titrate) and watch the curve.
pH is just a compact way of writing the hydrogen-ion concentration. Because that concentration spans many orders of magnitude — from about 1 mol/L in battery acid down to 0.00000000000001 mol/L in oven cleaner — we take the negative base-10 logarithm to squash it into a tidy 0–14:
pH = −log₁₀[H⁺]