What pH Measures and Why It Matters
pH is a number that tells you how acidic or basic a substance is, on a scale from 0 to 14. A pH of 7 is neutral (pure water). Numbers below 7 mean the substance is acidic—like lemon juice or vinegar. Numbers above 7 mean it is basic (also called alkaline)—like baking soda or bleach. The scale is logarithmic, which means each step represents a tenfold change in acidity or basicity.
You might need to calculate pH if you are testing water quality in a pool or aquarium, checking soil for gardening, or working with cleaning solutions. Understanding how to find pH yourself means you do not have to rely only on test strips, which can be imprecise.
Key Takeaways
- pH is calculated using the formula pH = −log₁₀[H⁺], where [H⁺] is the concentration of hydrogen ions in moles per liter.
- You need to know the hydrogen ion concentration of your substance before you can calculate its pH using the mathematical formula.
- A scientific calculator with a logarithm function is required to compute pH by hand; most smartphones have one built in.
- pH test strips and digital pH meters are faster and more practical for household tasks than hand calculation, though they are less precise.
- The pH scale runs from 0 (most acidic) to 14 (most basic), with 7 being neutral.
The pH Formula and What Each Part Means
The mathematical formula for pH is:
pH = −log₁₀[H⁺]
Breaking this down: [H⁺] is the concentration of hydrogen ions, measured in moles per liter (often written as M or mol/L). The log₁₀ part means you take the base-10 logarithm of that number. The negative sign in front means you flip the sign of the result. So if your hydrogen ion concentration is 0.001 moles per liter, you would take the log of 0.001, get −3, then flip it to get pH = 3.
The reason the scale works this way is that hydrogen ion concentrations in real substances span an enormous range—from 10 moles per liter in concentrated acid to 0.00000000000001 moles per liter in very basic solutions. The logarithm compresses that huge range into the straightforward 0–14 scale.
Step-by-Step Calculation Using the Formula
Step 1: Find or measure the hydrogen ion concentration. You need to know [H⁺] in moles per liter. This might come from a chemistry problem, a label on a chemical bottle, or a measurement you made in a lab. If you are testing a household substance, you will likely need a kit or meter to measure this—it is not something you can determine by sight or taste.
Step 2: Enter the hydrogen ion concentration into a calculator. Use a scientific calculator (or the calculator app on your phone in scientific mode). Type in the [H⁺] value. For example, if [H⁺] = 0.0001, type 0.0001.
Step 3: Press the log button. Find the button labeled "log" (this is the base-10 logarithm). Press it. The calculator will return a negative number. For 0.0001, the log is −4.
Step 4: Change the sign. Multiply the result by −1, or note that the pH is the opposite sign of the log. If the log gave you −4, the pH is 4. If the log gave you −2, the pH is 2.
Example: If a solution has [H⁺] = 0.00001 moles per liter, the log₁₀(0.00001) = −5, so pH = 5.
Working Backwards: Finding Hydrogen Ion Concentration from pH
Sometimes you know the pH and need to find the hydrogen ion concentration. Use the reverse formula:
[H⁺] = 10^(−pH)
If a solution has pH = 3, then [H⁺] = 10^(−3) = 0.001 moles per liter. On a scientific calculator, enter 10, press the exponent button (usually "^" or "x^y"), then enter −3, and press equals.
This is useful if you are reading a pH value from a meter or test strip and need to understand what the hydrogen ion concentration actually is.
Using pH Test Strips and Digital Meters Instead
For most household purposes—testing pool water, aquarium water, or soil—a pH test strip is faster and more practical than hand calculation. You dip the strip into the liquid, wait a few seconds, and compare the color to a chart on the box. Test strips cost a few dollars and are available at hardware stores, garden centers, and online.
Test strips are not perfectly accurate—they typically read within ±1 pH unit—but they are good enough for pools, gardens, and cleaning tasks. If you need more precision, a digital pH meter (also called a pH probe or pH pen) costs $20 to $100 and gives a numerical readout. Digital meters are more accurate but require calibration before use and regular maintenance.
Hand calculation is most useful in a chemistry class or lab setting where you already have precise measurements of hydrogen ion concentration. In real-world household testing, a strip or meter saves time and effort.
Common pH Values for Reference
| Substance | Approximate pH | Type |
|---|---|---|
| Stomach acid | 1.5–3.5 | Strongly acidic |
| Lemon juice | 2–3 | Acidic |
| Vinegar | 2.4–3.4 | Acidic |
| Black coffee | 5 | Weakly acidic |
| Pure water | 7 | Neutral |
| Sea water | 8 | Weakly basic |
| Baking soda solution | 8.3 | Basic |
| Ammonia solution | 11–13 | Strongly basic |
| Bleach | 12–13 | Strongly basic |
When to Use Hand Calculation Versus Testing Tools
Use the pH formula when you are solving chemistry problems, working in a lab with known concentrations, or learning how pH works mathematically. Hand calculation gives you exact results if your starting data is exact.
Use a test strip or digital meter when you are testing real-world substances—water in a pool, aquarium, or well; soil in a garden; or a cleaning solution you mixed. These tools are faster, require no math, and are accurate enough for practical decisions like whether to add chlorine to a pool or whether soil is too acidic for certain plants.
If you are unsure which approach to use, start with a test strip. They are cheap, fast, and tell you whether a substance is acidic, neutral, or basic. If you need more precision or are doing repeated testing, invest in a digital meter.
Frequently Asked Questions
What is the difference between pH and pOH?
pOH measures the concentration of hydroxide ions (OH⁻) instead of hydrogen ions, using the same logarithmic scale. In pure water at room temperature, pH + pOH = 14. If you know one, you can find the other. Most household testing focuses on pH, not pOH.
Can I calculate pH without a scientific calculator?
Not easily by hand. The logarithm function is not straightforward arithmetic. A smartphone calculator in scientific mode works just as well as a physical calculator and is free. If you do not have access to either, a test strip is your practical option.
Why is the pH scale 0 to 14 and not something else?
The scale is based on the behavior of water. Pure water at room temperature has a hydrogen ion concentration of 10^(−7) moles per liter, which gives pH = 7 (neutral). The scale extends to 0 and 14 to cover the strongest common acids and bases, though pH values outside this range are possible in extreme conditions.
Do I need to know the hydrogen ion concentration to test pH at home?
No. Test strips and digital meters measure pH directly without requiring you to know or calculate hydrogen ion concentration. Hand calculation is only necessary if you already have a precise measurement of hydrogen ion concentration from a lab or chemical source.
Is a pH of 6.8 considered acidic or neutral?
It is slightly acidic. Anything below 7 is acidic, and anything above 7 is basic. The closer to 7, the weaker the acidity or basicity. A pH of 6.8 is only slightly acidic and is often acceptable for drinking water and pools.