Lelifi·tools

pH Calculator

A solution with 2.5 x 10^-4 M hydrogen ions has a pH of 3.60, the negative base ten logarithm of that concentration. Enter any one of the four values and the calculator returns pH, pOH, H+ and OH- at 25 degrees Celsius, where pH + pOH = 14.

Enter any one of pH, pOH, hydrogen ion or hydroxide ion concentration, and get the other three plus a read on whether the solution is acidic, neutral or basic.

By the Lelifi editors ·

Key takeaways

The pH scale and the concentration behind it02367814Battery acidLemonCoffeeWater 25 CSeawaterBleachAcidic: [H+] above 1.0 x 10^-7 MBasic: [OH-] above 1.0 x 10^-7 MEach step of the scale multiplies the hydrogen ion concentration by ten:pH 4 is 1,000 times more concentrated in H+ than pH 7, and pH 2 is 100,000 times.
The pH scale compresses fourteen orders of magnitude of hydrogen ion concentration into a two digit span, with neutral at 7 for 25 degree water.
One concentration, three conversions[H+]3.0 x 10^-4 MpH3.52pOH10.48[OH-]3.3 x 10^-11 MpH = -log10[H+]pH + pOH = 14.00[OH-] = 10^-pOHSanity checks: 3.52 is below 7, so the solution is acidic, and3.0 x 10^-4 x 3.3 x 10^-11 is about 1.0 x 10^-14, the water constant at 25 degrees Celsius.A strong acid dissociates completely, so the given concentration is the hydrogen ion concentration.
A worked chain for a 3.0 x 10^-4 M strong acid: the definition gives pH 3.52, the 14 sum gives pOH 10.48, and the inverse form returns [OH-] = 3.3 x 10^-11 M.
On this page
  1. What pH measures
  2. The four values and their formulas
  3. The scale from battery acid to bleach
  4. Converting in both directions
  5. Where people check pH, and the targets
  6. When the plain formulas bend
  7. Common mistakes with pH numbers
  8. Neighboring tools for the rest of the beaker

What pH measures

pH is a logarithmic yardstick for how acidic or basic a water based solution is, defined as the negative base ten logarithm of the hydrogen ion activity: pH = -log10[H+]. The scale was introduced by S. P. L. Sorensen in 1909 while he was working on amino acid analysis at the Carlsberg Laboratory, and the logarithm is what makes it usable: lemon juice, battery acid and drain cleaner differ by factors of millions in ion concentration, and the log scale squeezes them onto a line from 0 to 14 that fits on a chart.

Because the scale is logarithmic, small numbers carry weight. Moving from pH 6 to pH 5 multiplies the hydrogen ion concentration by ten, and moving to pH 4 multiplies it by a hundred. That behavior is why a one unit drift in a pool, an aquarium or a bioreactor is a real event and not a rounding difference.

The hydrogen ion in water does not travel alone; it attaches to a water molecule as the hydronium ion, H3O+. Chemists write [H+] for short, and the calculators and formulas on this page use that convention. The measured quantity, treated in careful work as an activity rather than a plain concentration, connects to the metrology of amount of substance maintained by NIST.

The four values and their formulas

Four quantities describe the acid base state of a dilute aqueous solution at 25 degrees Celsius, and any one of them fixes the other three. The ties come from two definitions and one measured constant.

QuantityDefinitionInverse form
pH-log10[H+][H+] = 10^-pH
pOH-log10[OH-][OH-] = 10^-pOH
Sum rulepH + pOH = 14.00at 25 degrees Celsius
Water constant[H+] x [OH-] = 1.0 x 10^-14Kw, at 25 degrees Celsius

The sum rule and the water constant are the same statement in two languages: water splits into hydrogen and hydroxide ions in equal tiny amounts, Kw = 1.0 x 10^-14 at room temperature, so raising one concentration suppresses the other. OpenStax Chemistry 2e works through these definitions with worked examples in its acid base equilibria chapter.

One worked conversion in each direction. A hydrochloric acid solution at 0.010 M, being a strong acid that dissociates completely, has [H+] = 1.0 x 10^-2, so pH = 2.00, pOH = 12.00 and [OH-] = 1.0 x 10^-12. In the other direction, rain with pH 5.6 carries [H+] = 10^-5.6 = 2.5 x 10^-6 M, a number no meter displays directly but the log scale turns into a single digestible digit.

The scale from battery acid to bleach

The familiar 0 to 14 span covers the aqueous solutions people handle day to day. The table lists the pH ranges and the hydrogen ion concentrations behind them, computed with the 10^-pH relation.

SolutionTypical pH[H+] in mol/L
Battery acidabout 0.53 x 10^-1
Stomach acid1.5 to 3.53 x 10^-2 to 3 x 10^-4
Lemon juiceabout 2.01 x 10^-2
Coffeeabout 5.01 x 10^-5
Pure water, 25 C7.001.0 x 10^-7
Seawaterabout 8.18 x 10^-9
Ammonia cleanerabout 111 x 10^-11
Household bleach12 to 131 x 10^-13 to 1 x 10^-12

Reading the concentration column makes the compression visible. Stomach acid and bleach sit twelve orders of magnitude apart, yet their pH values fit in a two digit span. Natural waters cluster in a narrow band: the USGS Water Science School places most streams between 6.5 and 8.5, and rain dissolves atmospheric carbon dioxide to land near 5.6 rather than 7.

Converting in both directions

Meters report pH, chemistry problems hand out concentrations, and the useful skill is moving between them without a slip in the exponent. Going from concentration to pH: count the power of ten, take its negative, and adjust for the mantissa. A 3.0 x 10^-4 M strong acid solution gives pH = -(log 3.0 - 4) = 3.52. Going from pH to concentration: flip the sign and raise ten to it. pH 11.3 means [H+] = 5.0 x 10^-12 M.

The hydroxide side follows the same pattern through the 14 sum. A pH 3 solution has pOH = 11 and [OH-] = 1.0 x 10^-11 M. For basic solutions the hydroxide number is the large one: a pH 12 drain cleaner holds [OH-] = 1.0 x 10^-2 M, which is the concentration doing the dissolving.

Two sanity checks catch most arithmetic errors. First, acidic solutions must land with pH under 7 and [H+] above 10^-7; if a computed acidic pH comes out above 7, a sign flipped somewhere. Second, [H+] and [OH-] must multiply to 1.0 x 10^-14 at 25 degrees Celsius, so exponents that do not add to -14 are wrong.

Where people check pH, and the targets

Household and hobby testing lives in a narrow band of the scale, and each application has a working range with a reason behind it. The table lists the common ones.

ApplicationWorking rangeWhy that range
Swimming pool7.2 to 7.8chlorine works fastest near 7.4 and eye comfort matches tears
Soil for most vegetables6.0 to 7.0nutrient availability peaks slightly acid of neutral
Freshwater aquarium6.5 to 7.5matches the source water most fish were bred in
Hydroponic nutrient solution5.5 to 6.5keeps iron and phosphorus dissolved for the roots
Drinking water6.5 to 8.5EPA secondary standard to limit corrosion and taste

The drinking water row is a secondary standard, meaning it protects taste and plumbing rather than health directly. Water below 6.5 leaches metals from pipes, and water above 8.5 scales them shut, which is why utilities adjust pH in the middle of the plant rather than at the tap.

When the plain formulas bend

The calculator uses the ideal relations, and three situations push real solutions away from them. Temperature comes first. Kw is not a universal constant but a value at a temperature: it rises as water warms, so the neutral point slides from pH 7.47 at 0 degrees Celsius to 7.00 at 25 and down to about 6.14 near boiling. A neutral solution at 80 degrees Celsius reads acidic on a meter calibrated for room temperature, and pure boiler water does exactly that.

Activity versus concentration comes second. At high ionic strength, above roughly 0.1 M, ions shield each other and the effective concentration, the activity, drops below the analytical one. Concentrated hydrochloric acid does not follow pH = -log[H+], and meters reading it report activities, not the 0 or negative numbers the raw concentration math would suggest.

Weak acids come third. Hydrochloric acid dissociates completely, so 0.01 M in means 0.01 M of hydrogen ions. Acetic acid dissociates about four percent at that concentration, so the pH of 0.01 M vinegar sits near 3.4 rather than 2.0. Working those cases needs the acid dissociation constant Ka and a quadratic or an approximation, a different tool from the log conversions this page covers.

Common mistakes with pH numbers

The calculator removes the sign and exponent slips, and the sanity checks in the conversion section catch the rest.

Neighboring tools for the rest of the beaker

Acid base work usually continues into stoichiometry, and the chemistry pages on this site cover that path. The molarity calculator converts between mass, moles and solution concentration, the grams to moles converter handles the weighing step, and the mole fraction calculator covers mixing ratios. The percent yield calculator closes out a reaction, and the types of chemical reactions page places neutralization among its five families.

Frequently asked questions

How do I convert pH to hydrogen ion concentration?

Raise ten to the negative pH: [H+] = 10^-pH. A solution at pH 3.60 holds 2.5 x 10^-4 M hydrogen ions.

How do I convert hydrogen ion concentration to pH?

Take the negative base ten logarithm: pH = -log10[H+]. For 1.0 x 10^-5 M the pH is 5.00.

What is the relation between pH and pOH?

At 25 degrees Celsius they add to 14.00, because Kw = [H+] x [OH-] = 1.0 x 10^-14. A pH 4 solution has pOH 10.

What is the pH of 0.01 M hydrochloric acid?

2.00. HCl is a strong acid and dissociates completely, so [H+] equals 1.0 x 10^-2 M and pH = -log10(0.01) = 2.

What is the pH of 0.01 M acetic acid?

About 3.4. Acetic acid is weak and dissociates only a few percent at that concentration, so the hydrogen ion level lands far below 0.01 M.

Is pH 7 always neutral?

Only at 25 degrees Celsius. The neutral point equals half of pKw, which moves from 7.47 at 0 degrees Celsius to about 6.14 near boiling.

How much more acidic is pH 3 than pH 7?

10,000 times. Each pH unit is a factor of ten in hydrogen ion concentration, and the difference here is four units.

What pH is rain normally?

About 5.6. Rainwater dissolves atmospheric carbon dioxide, which forms carbonic acid and pushes it below the neutral point even in unpolluted air.

What pH should a swimming pool be?

7.2 to 7.8. Chlorine sanitizes fastest near 7.4, and the range keeps water comfortable for eyes and gentle on equipment.

What is the hydroxide concentration at pH 12?

1.0 x 10^-2 M. The pOH is 2, and [OH-] = 10^-pOH = 0.01 M, the level that makes drain cleaner caustic.

Can pH be negative or above 14?

Yes, outside dilute aqueous limits. Concentrated 12 M hydrochloric acid computes to a negative pH, and concentrated base can exceed 14; the familiar range is a convention, not a boundary.

Why does my meter disagree with my calculation?

Meters report hydrogen ion activity, not concentration, and temperature shifts the electrode response. High ionic strength or a warm sample explains most gaps between the meter and the log math.

Spotted a wrong number or a broken result?

More Everyday tools

See all Everyday tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.