How to Determine If a Compound Is an Acid or Base

Whether a compound is an acid or a base comes down to one small particle, the hydrogen ion, and which way it moves. Acids give hydrogen ions away, and bases pick them up. You don’t need a lab to see the difference, because a few drops of a colored plant juice can change color and show which side a substance falls on.1PubMed. Evaluation of red cabbage dye as a potential natural color for pharmaceutical use A pH meter or test strip then tells you how strong it is. The labels aren’t always fixed, though, since water and other substances can act as either one depending on what they meet.

Reading the Formula for Clues

The oldest working rule looks at what a substance releases when it dissolves in water. An acid releases hydrogen ions (H+), and a base releases hydroxide ions (OH-).2Chemistry LibreTexts. How to Determine If a Compound Is an Acid or Base Hydrochloric acid (HCl) splits into H+ and Cl- in water, which marks it as an acid. Sodium hydroxide (NaOH), the main ingredient in many drain cleaners, splits into Na+ and OH-, which marks it as a base. When hydrogen and hydroxide ions meet, they join into water. That is why an acid and a base cancel each other out.

A broader rule covers bases with no OH at all. It describes an acid as anything that hands over a hydrogen ion and a base as anything that accepts one.2Chemistry LibreTexts. How to Determine If a Compound Is an Acid or Base Ammonia (NH3), found in some glass cleaners, counts as a base because it grabs a hydrogen ion from water, even though its formula has no OH. The broadest rule looks at electrons instead: a base offers a pair of electrons, and an acid accepts them.2Chemistry LibreTexts. How to Determine If a Compound Is an Acid or Base So some compounds with no hydrogen at all, such as boron compounds used in industry, still behave as acids.3PubMed Central. Nature and Strength of Lewis Acid/Base Interaction in Boron and Nitrogen Trihalides Even chemists find that some substances, like dry hydrogen chloride gas or ammonia on its own, don’t fit neatly into any one definition until they meet water or another partner.4Journal of Chemical Education. Understanding the Relationship Among Arrhenius, Brønsted–Lowry, and Lewis Theories

A few patterns help with common formulas. Formulas that begin with H followed by a nonmetal or a group, like HCl, HNO3, and H2SO4, are usually acids. A metal joined to OH, like NaOH, KOH, or Ca(OH)2, is usually a base. Formulas ending in COOH, like the acetic acid in vinegar, are acids that give up the H at the end. Compounds built around nitrogen with hydrogens attached, like NH3 and the amines, are usually bases.

Hydrogen in a formula is not proof of an acid. Sugar and alcohol contain plenty of hydrogen but never release it as an ion, and methane (CH4) is neither acid nor base. What matters is whether the hydrogen can leave as an ion, which depends on what it is attached to. Baking soda (NaHCO3) has an H yet acts as a mild base in water.

The same care applies to OH. Ethanol has an OH in its formula, but that OH stays attached to carbon and doesn’t come off as hydroxide, so ethanol is not a base. The useful pattern is a metal plus OH, because metal hydroxides like NaOH fall apart into a metal ion and hydroxide in water.

Among organic compounds, the group at the end tells you the most. In CH3COOH, only the hydrogen on the final OH of the COOH group leaves easily as an ion, while the three hydrogens on the CH3 end stay put. That single acidic hydrogen is why acetic acid is a weak acid. Amines are ammonia with carbon groups swapped in for some of the hydrogens. They keep the nitrogen’s spare electron pair, the part that grabs a hydrogen ion, so they behave as bases much as ammonia does.

Testing at Home With Litmus Paper or Cabbage Juice

Litmus paper gives a quick answer. An acid turns blue litmus paper red, and a base turns red litmus paper blue.5Vernier. Household Acids and Bases A drop of vinegar on blue litmus turns it red, confirming it is an acid.5Vernier. Household Acids and Bases If neither paper changes color, the substance is close to neutral.

Litmus is an indicator, a dye that changes color depending on the liquid it meets. Most indicators are themselves weak acids or bases.6Alfa Chemistry. How to Determine If a Compound Is an Acid or Base Gaining or losing a hydrogen ion slightly changes the dye’s structure, and that change shows up as a different color.6Alfa Chemistry. How to Determine If a Compound Is an Acid or Base The change reverses, so the same dye can switch back if conditions change.6Alfa Chemistry. How to Determine If a Compound Is an Acid or Base

A faint or unchanged strip means the liquid is not strongly acidic or basic, not that it is perfectly neutral. Test with both a red and a blue strip, because an acid changes only the blue one and a base changes only the red one, so one strip alone can leave you unsure. Use a clean strip each time and let the color settle for a few seconds before judging.

Red cabbage makes a free indicator. Its juice stays red in acidic liquids and turns deep blue in basic ones.1PubMed. Evaluation of red cabbage dye as a potential natural color for pharmaceutical use Its switch point sits right around neutral, close to the middle of the pH scale.1PubMed. Evaluation of red cabbage dye as a potential natural color for pharmaceutical use That is why it separates acids from bases well and works for kitchen experiments. The color fades faster when warm, so it keeps best chilled.1PubMed. Evaluation of red cabbage dye as a potential natural color for pharmaceutical use

To make it, chop a few leaves of red cabbage and cover them with hot water for about 10 minutes. Strain off the purple liquid and let it cool. Pour a little into clear cups and add the substance you want to test. Pink to red points to an acid, purple to roughly neutral, and blue to green to a base. Store leftovers in the fridge and use them within a few days.

Lemon juice and vinegar turn the juice red or pink. Tap water usually stays purple, and baking soda in water turns it blue-green. Laundry detergent and ammonia cleaners give green or yellow, which signals stronger bases.

Indicators need water, so dissolve a pinch of a solid first. A powder that doesn’t dissolve may show no change even if it is acidic or basic. Distilled water is the best choice, so the water itself doesn’t shift the result.

A cabbage test can go wrong in a few ways. Colored or cloudy liquids, such as dark juice or milky cleaners, hide the dye color, so dilute them in water or choose a clear sample. Compare every result against a cup of plain water with the same amount of cabbage juice, which gives you a purple reference for judging shades. And because strong and weaker acids or bases can look similar, cabbage juice tells you the side, not the exact strength.

Measuring How Strong It Is With pH

pH is a number, usually from 0 to 14, that tells how many hydrogen ions a water-based liquid contains. A value of 7 is neutral, below 7 is acidic, and above 7 is basic. Each whole step means ten times as many or as few hydrogen ions, so a pH 3 liquid is ten times more acidic than a pH 4 one. A pH 2 liquid has a hundred times the hydrogen ions of a pH 4 liquid, so a gap of a few numbers is a very large difference.

Typical values help you place things. Stomach acid sits around 1 to 2, and lemon juice and vinegar are around 2 to 3. Pure water is 7, and blood is held near 7.4. A baking soda solution is around 8 to 9, while bleach and drain cleaner reach 12 to 14.

Universal pH strips carry a mix of dyes and match their color to a printed chart, giving a reading to about one pH unit. A pH meter reads the liquid electrically through a glass tip that reacts with the ions in solution.7Journal of Chemical Education. Development of the Glass Electrode and the pH Response Strips are cheap and fine for pools, aquariums, or schoolwork. Meters give decimal precision but need calibration with standard solutions, and unlike strips, they aren’t fooled by strongly colored liquids like juice, which can hide strip colors.

To use a strip properly, dip it for the time on the package, then hold it level and compare it to the chart right away, because colors keep changing as the strip dries. Use a fresh strip for each liquid and keep the container dry and closed, since moisture and age can spoil the dyes. Read the color in good daylight, because dim or yellow light can make neighboring colors on the chart look alike.

Temperature shifts readings; in seawater, pH changes about 0.015 units for each degree Celsius.8PubMed Central. Measuring Protons with Photons: A Hand-Held, Spectrophotometric pH Analyzer for Ocean Acidification Research, Community Science and Education So test liquids at room temperature and calibrate a meter before use. Pure water doesn’t always read exactly 7 either. Tap water often reads a little off because it carries dissolved minerals and gases, and distilled water left open to the air takes in carbon dioxide, which forms a weak acid and pulls the reading slightly below 7. A small gap from 7 is not a sign that your meter or strip is broken.

A strong acid like hydrochloric acid gives up nearly all its hydrogen ions in water, while a weak acid like vinegar gives up only a small share. So a diluted strong acid and a concentrated weak acid can show a similar pH. The number describes the liquid, not just the compound in it.

Why the Same Compound Can Behave Differently

The order of which compounds are more acidic can change between a gas and a water solution, because water surrounds and steadies the ions.9The Journal of Physical Chemistry A. Acidity of Organic Molecules in the Gas Phase and in Aqueous Solvent Water molecules cluster around the ions a compound releases, which makes it easier for an acid to let go of its hydrogen ion. In a gas, with no water around, the ions have nothing to settle them, so the same compound may hold on to its hydrogen far more tightly.

The pH scale and home tests therefore describe behavior in water specifically. For extremely concentrated acids, the ordinary pH scale stops working, and chemists use a different measure.10Wikipedia. Hammett acidity function

For home testing, this means oils and pure alcohol don’t give meaningful pH readings. The scale counts hydrogen ions in water, so a liquid with almost no water has nothing for a strip or meter to measure. To learn whether an oil-based product has an acidic or basic ingredient, mix a small sample with water and test the water layer, knowing the result is only a rough hint.

Concentration matters too. Adding water to an acid lowers the hydrogen-ion concentration, so the pH rises toward 7, but the substance is still an acid. A base does the opposite, its pH falling toward 7 as it is diluted. When comparing two products, test them at the same dilution, and note how much you diluted each sample, or the numbers won’t tell you which is stronger.

Compounds That Work Both Ways

A substance that can act as either an acid or a base is called amphoteric.11Master Organic Chemistry. Isoelectric Points of Amino Acids (and How To Calculate Them) In more acidic surroundings such a substance takes on a positive charge, and in more basic surroundings a negative one.12PubMed Central. THE AMPHOTERIC PROPERTIES OF SOME AMINO-ACIDS AND PEPTIDES Amino acids, the building blocks of protein, carry both an acidic part and a basic part in the same molecule.11Master Organic Chemistry. Isoelectric Points of Amino Acids (and How To Calculate Them) The acidic group can lose a hydrogen ion and the basic group can gain one, so the molecule does both jobs.

In a fairly acidic liquid, the basic group picks up a hydrogen ion and the molecule carries a net positive charge. In a fairly basic liquid, the acidic group gives up its hydrogen ion and the molecule carries a net negative charge. At one particular pH, the positive and negative charges balance out.11Master Organic Chemistry. Isoelectric Points of Amino Acids (and How To Calculate Them) The molecule is then overall neutral even though it still carries charged groups.11Master Organic Chemistry. Isoelectric Points of Amino Acids (and How To Calculate Them)

Everyday examples are easy to find. Baking soda reacts with vinegar as a base, fizzing out carbon dioxide, yet it can also neutralize a strong base by acting as an acid.

A single test can confuse you here. An amphoteric substance may read close to neutral on litmus, while its behavior in a recipe or reaction still looks acidic or basic. Context, not just a label, decides which way it acts. Amphoteric is also different from neutral: a neutral liquid like pure water has equal amounts of hydrogen and hydroxide ions, while the word amphoteric describes what a substance can do, not where it sits on the pH scale.

Testing Household Chemicals Safely

Ammonia solution is toxic, and its liquid and vapor are extremely irritating, especially to the eyes.5Vernier. Household Acids and Bases Drain cleaner is corrosive and must be handled with care.5Vernier. Household Acids and Bases Wear gloves and eye protection, and test only a drop at a time. Check each product’s label for how to store and dispose of it.13Sciencenter. Acids & Bases Around the House

Work in a ventilated area away from food and children. Use separate clean droppers or straws for each product, lay paper towels down, and rinse surfaces with plenty of water afterward. If a strong base or acid touches skin or eyes, rinse with running water for at least 15 minutes and seek help.

The label gives hints about strength. Words like corrosive, caustic, or lye signal a strong base, and toilet and rust cleaners are often strong acids. If a product feels slippery on your skin, that points to a base, so rinse immediately, but never touch a product on purpose to test it.

Sour taste does come from acid, since taste cells respond directly to hydrogen ions.14PubMed Central. The Cellular and Molecular Basis of Sour Taste But tasting unknown substances can cause burns or poisoning, so use an indicator instead.

Mixing is not a way to test either. Bleach mixed with ammonia releases toxic gases, and bleach with an acid cleaner, such as some toilet cleaners, releases chlorine gas. To compare two cleaners, test each one separately on its own strip or in its own cup, and never pour them together or into the same drain at once. If you smell a sharp gas after a spill, leave the room, open windows if you can, and get fresh air before cleaning up.