ChemistryAcids and bases

pH Indicators: Litmus, Phenolphthalein and Universal Indicator

A glass container of universal indicator solution showing its color for a pH reading
A glass container of universal indicator solution showing its color for a pH reading. Image: GOKLuLe (CC BY-SA 3.0), via Wikimedia Commons

A pH indicator is a dye that changes color over a narrow range of pH, so one look at a solution shows whether it is acidic, neutral or alkaline. Litmus, phenolphthalein and universal indicator are common examples. Each indicator changes color at its own pH range, so the choice depends on the job.

Contents

What a pH indicator is

A pH indicator is a dye that is itself a weak acid or a weak base. Its acid form and its base form are different colors, and the balance between them depends on how much hydrogen ion (H+) is in the solution. In a strongly acidic solution it stays in one color. In an alkaline solution it switches to the other, and between those two points it shows a blend or a sharp change.

The pH scale is the usual way to describe this. In dilute water solutions at 25 °C it runs from about 0 (very acidic) to 14 (very alkaline), and pH is the negative base-10 logarithm of the hydrogen ion concentration in mol/L. An indicator has no SI unit because pH is a logarithm and therefore has no unit. Most indicators work over a range of roughly two pH units, centered on a value called its pK, which is the pH where its two forms are present in equal amounts.

Indicators are part of the broader topic of acids and bases. They are useful because a color is easy to see without a meter.

How the color change works

The change can be written as an equilibrium. The acid form, HIn, gives up a hydrogen ion to become the colored base form, In⁻, and the reverse also happens. This is a dynamic chemical equilibrium, so both forms exist at the same time, and the ratio between them is set by the pH.

HIn ⇌ H+ + In⁻

If a solution has extra acid, the extra hydrogen ions push the equilibrium toward HIn, the acid form. If a solution has extra base, the base removes hydrogen ions, and the equilibrium moves toward In⁻. Each form absorbs light of different wavelengths, so the solution’s color changes as the balance shifts.

Phenolphthalein shows the idea clearly. In acid and neutral solutions its molecules have one shape and no pink color. In strong enough base they lose hydrogen ions and change shape, so they absorb green light and the solution looks pink. Because the change happens within a fairly small pH band, the color switch is sharp enough to find the end point of a titration.

Formula: the pH where the color changes

The strength of an indicator is described by its indicator constant, KIn, which is the same kind of equilibrium constant used for weak acids.

KIn = [H+][In⁻] / [HIn]

The square brackets mean concentration in mol/L. Rearranging the expression and taking logarithms gives a more useful form, which is the Henderson–Hasselbalch equation applied to an indicator.

pH = pKIn + log10([In⁻] / [HIn])

Here pKIn is the negative base-10 logarithm of KIn, and the ratio of the two forms tells us which color dominates. Worked example: an indicator with pKIn = 9.0 is half colored at pH 9.0, where [In⁻] equals [HIn]. At pH 10.0 the ratio is 10¹ = 10, so the colored form is ten times more common than the acid form. At pH 8.0 the ratio is 10⁻¹, so the acid form dominates by ten to one. The color change therefore spans about one pH unit on each side of pKIn.

Everyday examples

  • Litmus paper is the oldest test most students meet. Blue litmus turns red in acid and red litmus turns blue in alkali. The dye comes from lichens and is sold as strips of paper.
  • Universal indicator is a mixture of several dyes. It shows red in strong acid, orange and yellow in weak acid, green near neutral, blue in weak alkali and purple in strong alkali, so the color can be matched to a chart to estimate pH.
  • Red cabbage juice works as a home-science indicator. Its anthocyanin pigments are red in acid, purple near neutral and blue-green to yellow in alkali. Students often compare the colors of household liquids in a class lesson.
  • Swimming pool test kits use indicator dyes to check whether water is close to the range recommended for swimmers’ comfort and for the disinfectant to work. Many pool guides suggest a pH of about 7.2 to 7.8.
  • Soil testing often uses a universal indicator solution on a soil extract. The color is compared with a chart to show whether soil is acidic or alkaline, which affects which plants grow well.

Indicators compared with a pH meter

Each indicator changes color over its own range, so the right one depends on the pH you need to see. The table below gives approximate ranges for common indicators at room temperature.

IndicatorApproximate color change rangeColors
Methyl orangepH 3.1 to 4.4Red to yellow
LitmuspH 4.5 to 8.3Red to blue
Bromothymol bluepH 6.0 to 7.6Yellow to blue
PhenolphthaleinpH 8.2 to 10.0Colorless to pink
Universal indicatorpH 1 to 14Red through to purple

An indicator is cheap and fast, but it gives a color that must be matched by eye. A pH meter uses a glass electrode and gives a number to about 0.01 pH units when calibrated with buffer solutions. The indicator is a good choice for a classroom titration where the end point is clear, and the meter is better for precise work.

Who discovered it

Plant dyes that change color with acids and alkalis were noticed long before the pH scale existed. In the 1660s Robert Boyle described syrup of violets that turned red in acid and green in alkali, which is one of the earliest recorded acid-base indicators. Litmus and other lichen and plant dyes were used in the same way for centuries.

Synthetic indicators followed in the nineteenth century. Adolf von Baeyer made phenolphthalein in 1871, and the theory of how indicators work developed in the 1890s. Wilhelm Ostwald explained indicators in terms of the ionic theory of weak acids and bases in 1894. In 1909 Søren Sørensen introduced the pH scale, which gave indicator colors a number to match.

Common mistakes and exam tips

  • Reading an indicator as an exact pH. An indicator shows a range of about two pH units, so a color suggests a range, not a single number. Use a pH meter when the exact value matters.
  • Using an indicator outside its range. Phenolphthalein shows no color in neutral water, which can look like a failed test. Check the range table before choosing.
  • Confusing pH with the amount of acid. A dilute strong acid and a concentrated weak acid can have similar pH values. Indicators show pH, not how much acid is present.

For exams, state the color before and after and the pH range where the change happens, and mention that the change is reversible because it is an equilibrium.

More about pH indicator

Frequently asked questions

What does a pH indicator do?

A pH indicator changes color when the pH of a solution moves through its own range, so it shows whether the solution is acidic, neutral or alkaline. It gives a color, not an exact number.

What is the difference between litmus and universal indicator?

Litmus has two colors, red in acid and blue in alkali, with the change near pH 4.5 to 8.3. Universal indicator is a mixture that shows colors from red at about pH 1 to purple at about pH 13 to 14.

Why does phenolphthalein turn pink?

Phenolphthalein is colorless in acid and neutral solutions. Above about pH 8.2 its molecules change shape and gain charge, and the solution turns pink.

Can a pH indicator measure exact pH?

No. An indicator covers a range of about two pH units, so it can show that a solution is near pH 4 or pH 9 but not the exact value. A pH meter gives a precise numerical reading.

Which natural materials work as pH indicators?

Red cabbage juice is a well-known natural indicator, because its anthocyanin pigments are red in acid and blue to green in alkali. Beetroot and hydrangea flowers also contain pigments that change color with pH.

Sources and further reading

  • IUPAC, "Compendium of Chemical Terminology" (the Gold Book), entry "pH"
  • OpenStax, "Chemistry 2e"
  • W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"

Cite this page

“pH Indicators: Litmus, Phenolphthalein and Universal Indicator.” Atoms & Forces, https://science.bigworldlist.com/chemistry/ph-indicator/.