ScienceMarch 29, 2026

pH Calculator Guide: Acids, Bases & the pH Scale Explained

By The hakaru Team·Last updated March 2026

Quick Answer

  • *pH measures hydrogen ion concentration in a solution using the formula pH = −log[H¹].
  • *The scale runs from 0 to 14: below 7 is acidic, 7 is neutral, above 7 is basic (alkaline).
  • *Each unit on the pH scale represents a 10-fold change in acidity — it's logarithmic, not linear.
  • *Human blood is tightly regulated at pH 7.35–7.45. A deviation of just 0.5 units is life-threatening.

What Is pH?

pH stands for “potential of hydrogen.” It measures how acidic or basic a solution is by quantifying the concentration of hydrogen ions (H¹) dissolved in it. The concept was introduced by Danish chemist Søren P.L. Sørensen in 1909 while working at the Carlsberg Laboratory to standardize enzyme activity measurements in brewing.

According to the U.S. Geological Survey (USGS, 2023), pH is one of the most commonly measured water quality parameters in environmental science, used in everything from monitoring river health to testing swimming pool safety. The scale is dimensionless — it has no units — and runs from 0 to 14, though values outside that range are possible in extreme industrial conditions.

The pH Formula: How to Calculate pH

The mathematical definition of pH is:

pH = −log₁₀[H¹]

Where [H¹] is the molar concentration of hydrogen ions in mol/L (also written as mol/dm³).

To go in reverse — from pH back to hydrogen ion concentration — use:

[H¹] = 10^(−pH)

Example calculations:

  • If [H¹] = 0.001 mol/L, then pH = −log(0.001) = −(−3) = 3
  • If [H¹] = 0.0000001 mol/L (10&sup7;), then pH = 7 (neutral water)
  • If pH = 9, then [H¹] = 10^(−9) = 0.000000001 mol/L

You do not need to memorize these steps. Our pH Calculator handles both directions instantly.

pH Scale: 7 Key Reference Points from Acid to Base

The pH scale spans 0 to 14. Here are seven anchor points that anchor your intuition for where common substances fall:

  1. pH 0 — Battery acid: The most acidic extreme on the standard scale. Sulfuric acid at full concentration.
  2. pH 2 — Stomach acid / lemon juice: Highly acidic. Stomach pH ranges from 1.5 to 3.5 depending on whether food is present.
  3. pH 4 — Tomato juice / wine: Mildly acidic. Most soft drinks fall between pH 2.5 and 4.5.
  4. pH 6 — Milk / urine: Slightly acidic. Normal urine ranges from pH 4.5 to 8.0 depending on diet and hydration.
  5. pH 7 — Pure water: Perfectly neutral. Hydrogen ion and hydroxide ion concentrations are equal (10&sup7; mol/L each).
  6. pH 9 — Baking soda solution / seawater: Mildly basic. Ocean pH has dropped from 8.2 to 8.1 due to CO₂ absorption — a 26% increase in acidity since the industrial era (NOAA, 2024).
  7. pH 14 — Sodium hydroxide (lye): The most basic extreme. Used in drain cleaners and soap-making.

Common Substance pH Values: Reference Chart

The table below shows approximate pH values for everyday substances. Values can vary by brand, temperature, and concentration.

SubstanceApproximate pHAcidic / Neutral / Basic
Battery acid (H₂SO₄)0 – 1Strongly acidic
Gastric (stomach) acid1.5 – 3.5Strongly acidic
Lemon juice2.0 – 2.6Strongly acidic
Vinegar2.4 – 3.4Acidic
Cola / soda2.5 – 3.5Acidic
Orange juice3.3 – 4.2Acidic
Tomato juice4.1 – 4.6Mildly acidic
Coffee (black)4.8 – 5.1Mildly acidic
Urine (normal range)4.5 – 8.0Varies by diet
Milk6.3 – 6.8Slightly acidic
Pure water (25°C)7.0Neutral
Tap water6.5 – 8.5Near neutral
Blood (human)7.35 – 7.45Slightly basic
Seawater7.8 – 8.3Mildly basic
Baking soda solution8.3 – 9.0Mildly basic
Antacid (Milk of Magnesia)10.5Basic
Household ammonia11.0 – 12.0Strongly basic
Bleach12.5 – 13.0Strongly basic
Drain cleaner (lye)13.5 – 14Strongly basic

Why the pH Scale Is Logarithmic

The logarithmic nature of the pH scale is not a quirk — it reflects the enormous range of hydrogen ion concentrations found in nature. Between pH 0 and pH 14, the actual H¹ concentration changes by a factor of 100,000,000,000,000 (10¹⁴). A linear scale would be impossibly unwieldy to use.

Practically, this means small pH changes matter enormously:

  • Moving from pH 7 to pH 6 = 10 times more acidic
  • Moving from pH 7 to pH 5 = 100 times more acidic
  • Moving from pH 7 to pH 4 = 1,000 times more acidic

According to the EPA (2024), acid rain has a pH between 4.2 and 4.4 — making it roughly 1,000 times more acidic than clean rainwater (pH 5.6). This tiny number difference translates to catastrophic ecosystem damage.

pH in the Human Body

The body maintains strict pH control across different compartments. Deviations even a few tenths of a unit outside normal range can be fatal.

Body FluidNormal pH RangeNotes
Arterial blood7.35 – 7.45Tightly regulated; pH <6.8 or >7.8 is fatal
Stomach acid1.5 – 3.5Kills pathogens; activates pepsin
Small intestine6.0 – 7.4Rises as bile and pancreatic juices neutralize acid
Urine4.5 – 8.0Reflects diet; high-protein diet lowers urine pH
Saliva6.2 – 7.6Buffers acids from food; protects tooth enamel
Cerebrospinal fluid7.28 – 7.32Slightly more acidic than blood

The kidneys and lungs are the primary pH regulators. The lungs adjust CO₂ (which forms carbonic acid in blood), while kidneys excrete or retain bicarbonate ions. According to the American Journal of Physiology (2022), the bicarbonate buffer system maintains blood pH within a 0.05-unit range in healthy adults — one of the most precise regulatory systems in biology.

pH in Agriculture and Soil Science

Soil pH is one of the most important variables in crop production. The USDA Natural Resources Conservation Service (NRCS, 2023) recommends testing soil pH before planting and adjusting as needed.

Most food crops grow best between pH 6.0 and 7.0 because:

  • Soil bacteria that decompose organic matter are most active near neutral pH
  • Phosphorus, calcium, and magnesium are most soluble and available between pH 6 and 7
  • Heavy metals like aluminum and manganese become toxic to plants below pH 5.5

To raise acidic soil pH, farmers add lime (calcium carbonate). To lower alkaline soil pH, they add elemental sulfur or ammonium-based fertilizers. According to Penn State Extension (2023), about 30% of U.S. cropland has soil pH below the optimal range, requiring annual lime applications worth over $1 billion nationwide.

pH in Water Quality and the Environment

The EPA sets a secondary drinking water standard of pH 6.5–8.5 (EPA, 2024). Outside this range, water can corrode pipes (releasing lead or copper), taste unpleasant, or indicate contamination.

In aquatic ecosystems, most freshwater fish survive in pH 6.5–9.0. Below pH 5.0, many species disappear entirely. The ongoing acidification of the oceans — driven by CO₂ absorption — has dropped average ocean pH from 8.2 to 8.1 since pre-industrial times (NOAA, 2024). That 0.1-unit drop represents a 26% increase in ocean acidity, threatening coral reefs, shellfish, and marine food webs.

For related calculations, see our guides on Ohm's Law, molar mass calculations, and molarity.

Simple vs. Strong Acids and Bases

Not all acids with the same pH are equally dangerous. The distinction between strong and weak acids matters:

  • Strong acids (hydrochloric acid, sulfuric acid, nitric acid) fully dissociate in water — every molecule releases an H¹ ion. They reach low pH at low concentrations.
  • Weak acids (acetic acid in vinegar, citric acid in lemons) only partially dissociate. They can have the same pH as a dilute strong acid, but behave very differently in chemical reactions.
  • Buffers are solutions that resist pH change when small amounts of acid or base are added. Blood uses a carbonate/bicarbonate buffer to maintain its 7.35–7.45 range.

This is why pH alone does not fully describe a solution's chemistry — but it is the most practical first measurement in most real-world contexts.

Calculate pH from hydrogen ion concentration

Try our free pH Calculator →

Need related science tools? Try our Molarity Calculator or Molar Mass Calculator

Disclaimer: This guide is for educational purposes only. pH values listed are approximate and vary by temperature, concentration, and measurement method. Always verify critical pH measurements with calibrated laboratory instruments.

Frequently Asked Questions

What is pH and how is it calculated?

pH is a measure of hydrogen ion concentration in a solution, defined as pH = −log[H¹]. A pH of 7 is neutral (pure water), values below 7 are acidic, and values above 7 are basic (alkaline). The scale runs from 0 (most acidic) to 14 (most basic), and each unit represents a 10-fold change in acidity.

What is a normal pH for drinking water?

The EPA recommends drinking water have a pH between 6.5 and 8.5. Most municipal tap water falls between 7.0 and 8.0. Pure distilled water is exactly 7.0 (neutral). Water outside the 6.5–8.5 range may indicate contamination or corrosion issues in pipes.

Is a pH of 6 twice as acidic as a pH of 7?

No — it is 10 times more acidic. The pH scale is logarithmic, not linear. Each one-unit decrease in pH represents a 10-fold increase in hydrogen ion concentration. So a pH of 5 is 100 times more acidic than a pH of 7, and a pH of 4 is 1,000 times more acidic.

What pH is the human stomach?

The human stomach has a pH between 1.5 and 3.5, making it highly acidic. This acidity is created by hydrochloric acid (HCl) secreted by gastric cells. The low pH is essential for activating digestive enzymes and killing ingested pathogens.

What happens if soil pH is too low or too high?

Most plants grow best in soil with a pH between 6.0 and 7.0. If soil pH is too low (acidic), nutrients like phosphorus and calcium become unavailable to plants, causing deficiency symptoms. If too high (alkaline), iron and manganese become locked out. Adjustments are made with lime (raise pH) or sulfur (lower pH).

How do I convert pH to hydrogen ion concentration?

To convert pH to [H¹], use the formula [H¹] = 10^(−pH). For example, a pH of 4 gives [H¹] = 10^(−4) = 0.0001 mol/L. To go the other direction, [H¹] to pH, use pH = −log₁₀([H¹]). Our free pH Calculator handles both conversions instantly.