Science Calculator

pH Calculator

Logarithms. Ions. Clear assumptions.

Calculate pH

Choose the model. Inspect the ions.

View results

Up to fifteen significant input digits; scientific exponents from negative thirty through thirty. Known ion concentrations must be positive. Strong and weak solute models accept zero added solute and return neutral water.

Water and report options

Worked examples

Model pH

pH≈7.0000\mathrm{pH}\approx7.0000

Known pH. Neutral within numerical precision.

Ideal aqueous concentration model: physical pH is defined by hydrogen-ion activity, pH=−log⁡10aH+\mathrm{pH}=-\log_{10}a_{\mathrm H^+}. Here the activity coefficient is approximated by unity and concentrations use the standard c∘=1 mol L−1c^\circ=1\,\mathrm{mol\,L^{-1}}. The classroom water convention is pKw=14\mathrm pK_{\mathrm w}=14 at 25∘C25^{\circ}\mathrm C.

Ion concentrations and water model

Hydroxide logarithm

pOH≈7.0000\mathrm{pOH}\approx7.0000

Hydronium concentration

[H3O+]≈1.00000×10−7 mol L−1[\mathrm{H_3O^+}]\approx1.00000\times10^{-7}\,\mathrm{mol\,L^{-1}}

Hydroxide concentration

[OH−]≈1.00000×10−7 mol L−1[\mathrm{OH^-}]\approx1.00000\times10^{-7}\,\mathrm{mol\,L^{-1}}

Adopted water constant

pKw=14\mathrm pK_{\mathrm w}=14

Ion product in normalized units

Kw=10−14K_{\mathrm w}=10^{-14}

Neutral reference

pHneutral≈7.0000\mathrm{pH}_{\mathrm{neutral}}\approx7.0000

Offset from the neutral reference

ΔpH=pH−pKw2≈0\Delta\mathrm{pH}=\mathrm{pH}-\frac{\mathrm pK_{\mathrm w}}2\approx0

A very small offset can disappear from the rounded pH display. Strong and weak single-solute models retain its direction separately; zero added solute returns the neutral water model.

Step-by-step pH working

Use normalized concentrations h=[H3O+]/c∘h=[\mathrm{H_3O^+}]/c^\circ, o=[OH−]/c∘o=[\mathrm{OH^-}]/c^\circ and c=C/c∘c=C/c^\circ. Concentration-based equilibrium constants below refer to this stated ideal model. Display rounding occurs after the numerical solution; extra digits do not supply measurement certainty.

  1. 1. State the water model

    All concentration symbols below are normalized to the standard concentration of one mole per liter. The adopted water constant is part of this ideal aqueous model.

    Kw=10−pKw=10−14K_{\mathrm w}=10^{-\mathrm pK_{\mathrm w}}=10^{-14}
  2. 2. Retain the supplied logarithmic value

    The entered logarithm is used directly; negative values and values outside the familiar classroom interval are not clamped.

    pH≈7.00000\mathrm{pH}\approx7.00000
  3. 3. Relate the two logarithms

    Use the adopted water model rather than assuming the sum is always fourteen.

    pOH=pKw−pH≈7.00000\mathrm{pOH}=\mathrm pK_{\mathrm w}-\mathrm{pH}\approx7.00000
  4. 4. Recover both ion concentrations

    The numeric ion quantities are normalized to the standard concentration; the result cards restore the selected concentration unit.

    h≈1.00000×10−7,o≈1.00000×10−7h\approx1.00000\times10^{-7},\qquad o\approx1.00000\times10^{-7}
  5. 5. Compare against this model’s neutral reference

    Neutrality depends on the adopted water constant. Displayed decimal places do not represent a measurement uncertainty.

    pHneutral=pKw2≈7.00000\mathrm{pH}_{\mathrm{neutral}}=\frac{\mathrm pK_{\mathrm w}}2\approx7.00000
What Can You Create?

Build an inspectable acidity and equilibrium record

Convert a known logarithm or ion concentration

Move between acidity, hydroxide logarithm and the two modeled ion concentrations with explicit metric units. A known equilibrium ion concentration stays distinct from an initial solute amount. Zero and negative concentrations are input errors rather than hidden replacement values, while supported logarithms retain their original sign.

Compare strong, weak and conjugate-pair models

Include water ionization when estimating an added strong acid or base. For a single weak species, inspect the dissociated and un-ionized portions and the percent ionization. A separate conjugate-pair option provides a labeled buffer-ratio estimate, with the assumptions retained beside the numerical answer.

Retain the adopted model and complete working

Keep the water convention, any active dissociation constant and original numerical inputs with the result. Report units and display choices remain adjustable without changing the underlying solution. Complete copies and CSV retain numerical outputs before presentation rounding, while shared links exclude inactive editing buffers.

pH formulas and step-by-step chemistry examples

The formal definition uses hydrogen-ion activity: pH=−log⁡10aH+\mathrm{pH}=-\log_{10}a_{\mathrm H^+}. The concentration approximation here normalizes ions by c∘=1 mol L−1c^\circ=1\,\mathrm{mol\,L^{-1}}, so h=[H3O+]/c∘h=[\mathrm{H_3O^+}]/c^\circ and o=[OH−]/c∘o=[\mathrm{OH^-}]/c^\circ are dimensionless. This distinction keeps the logarithm dimensionless and makes the ideal-model assumption visible.

pH≈−log⁡10h,pOH≈−log⁡10o\mathrm{pH}\approx-\log_{10}h,\qquad \mathrm{pOH}\approx-\log_{10}oho=Kw,pH+pOH=pKw,pHneutral=pKw2ho=K_{\mathrm w},\qquad \mathrm{pH}+\mathrm{pOH}=\mathrm pK_{\mathrm w},\qquad \mathrm{pH}_{\mathrm{neutral}}=\frac{\mathrm pK_{\mathrm w}}2

Convert a known hydronium concentration

Suppose the known equilibrium concentration is [H3O+]=2.5×10−4 mol L−1[\mathrm{H_3O^+}]=2.5\times10^{-4}\,\mathrm{mol\,L^{-1}}. Normalize by the standard concentration before applying the base-ten logarithm. Under the classroom water model, obtain the hydroxide logarithm by subtraction and then recover the other ion concentration.

pH≈−log⁡10(2.5×10−4)≈3.6021\mathrm{pH}\approx-\log_{10}(2.5\times10^{-4})\approx3.6021pOH≈14−3.6021=10.3979,[OH−]≈4.0×10−11 mol L−1\mathrm{pOH}\approx14-3.6021=10.3979,\qquad [\mathrm{OH^-}]\approx4.0\times10^{-11}\,\mathrm{mol\,L^{-1}}

The tool calculates the second ion from the unrounded model result. Subtracting a rounded number in a written example illustrates the relationship, but it is not the internal arithmetic used for subsequent outputs. Choosing a different report prefix changes the displayed concentration value and unit together.

Include water for a strong acid

Here the added concentration is fully dissociated acid equivalents, normalized by the standard concentration. The positive root includes water-derived ions. At a tiny addition, the result approaches the adopted neutral reference from the acidic side instead of incorrectly becoming basic.

h=c+c2+4Kw2h=\frac{c+\sqrt{c^2+4K_{\mathrm w}}}{2}

Use the symmetric strong-base model

The added base equivalents provide net hydroxide. Recover hydronium through the adopted water product rather than subtracting nearly equal ion concentrations. An added amount of zero gives the neutral water state, which differs from asking for the logarithm of a zero equilibrium ion concentration.

o=c+c2+4Kw2o=\frac{c+\sqrt{c^2+4K_{\mathrm w}}}{2}

Solve a single weak acid with water

Analytical mass balance relates the ionized and un-ionized forms to the adopted acid constant. Charge balance includes the background hydroxide from water. This removes the need to presume small dissociation and avoids counting all equilibrium hydronium as solute-derived ionization.

h=Kwh+cKaKa+hh=\frac{K_{\mathrm w}}h+\frac{cK_{\mathrm a}}{K_{\mathrm a}+h}

Solve a single weak base with water

The base model is symmetric, using the base dissociation constant and hydroxide as the dominant ion. It represents one initially uncharged base in water. Do not substitute an acid constant into this field unless it has first been related to the correct conjugate base using the adopted water model.

o=Kwo+cKbKb+oo=\frac{K_{\mathrm w}}o+\frac{cK_{\mathrm b}}{K_{\mathrm b}+o}

Check very dilute and weak-solute examples

For added strong acid equivalents C=10−8 mol L−1C=10^{-8}\,\mathrm{mol\,L^{-1}} with Kw=10−14K_{\mathrm w}=10^{-14}, the water-aware root gives [H3O+]≈1.05125×10−7 mol L−1[\mathrm{H_3O^+}]\approx1.05125\times10^{-7}\,\mathrm{mol\,L^{-1}} and pH≈6.98\mathrm{pH}\approx6.98. Treating the added acid alone as the total hydronium would give the wrong classification. For a separate single weak acid with adopted Ka=10−5K_{\mathrm a}=10^{-5} and initial C=0.1 mol L−1C=0.1\,\mathrm{mol\,L^{-1}}, the full ideal model gives approximately pH=3.0022\mathrm{pH}=3.0022. These are adopted numerical examples, not a table of measured chemical properties.

α=KaKa+h,[A−]=αC,[HA]=(1−α)C\alpha=\frac{K_{\mathrm a}}{K_{\mathrm a}+h},\qquad [\mathrm A^-]=\alpha C,\qquad [\mathrm{HA}]=(1-\alpha)C

The reported un-ionized concentration is evaluated independently to avoid losing a very small remaining fraction through subtraction. A zero analytical concentration has no meaningful percent ionization because there is no added solute to form the denominator. These numerical protections preserve the stated model without implying that its assumptions apply to salts or multiple simultaneous equilibria.

Use a conjugate ratio as an estimate

pH≈pKa+log⁡10[A−][HA]\mathrm{pH}\approx\mathrm pK_{\mathrm a}+\log_{10}\frac{[\mathrm A^-]}{[\mathrm{HA}]}

For an adopted pKa=4.75\mathrm pK_{\mathrm a}=4.75 and a conjugate base-to-acid ratio of 22, the estimate is pH≈4.75+log⁡102≈5.0510\mathrm{pH}\approx4.75+\log_{10}2\approx5.0510. Both input concentrations must be positive and use the same selected unit. The estimate treats their supplied ratio as a useful approximation to the equilibrium ratio. It does not establish buffer capacity, perform a mixing reaction or correct for ionic activities.

Why Users Love This Tool

Separate input meaning, chemical assumptions and display precision

Model-specific validation

  • Known ion concentrations must be positive before taking logarithms. Initial strong or weak solute concentration may be zero, producing the neutral water model rather than a fabricated logarithm.
  • Water constants and active acid/base constants are explicit. Invalid numerical strings, negative concentrations and incompatible assumptions cannot silently become a default result.
  • Supported negative logarithms and out-of-interval results remain visible. Interpretation notes distinguish the mathematical logarithm from the suitability of a real concentrated-solution model.

Working that retains the scientific context

  • Water contributes to both strong and weak equilibrium models. Weak-solute ionization is derived from species balance instead of dividing all hydronium by the initial acid concentration.
  • The neutral reference follows the adopted water constant. A separate offset preserves the modeled direction for additions smaller than the chosen logarithmic display resolution.
  • Decimal places for logarithms and significant figures for concentrations are separate presentation settings. Full reports retain active source inputs and unrounded numerical outputs without claiming exact arithmetic or experimental uncertainty.
Perfect For

For chemistry learning and numerical model comparisons

Chemistry students

Practice base-ten logarithms, metric prefixes and the difference between an initial concentration and an equilibrium ion concentration. Compare a strong and a weak solute under the same water convention, then explain how the neutral reference and percent ionization follow the selected model.

Educators building worked examples

Show the limitations of ignoring water for very dilute additions, or compare an adopted buffer ratio with a full single-solute equilibrium calculation. Keep constants and scope visible alongside each equation so a numerical answer does not conceal a different starting chemical assumption.

Readers checking calculation records

Retain a stated water model, concentration unit and dissociation constant with an existing numerical example. Complete copies and CSV help reproduce the calculation, while precise activity corrections, multi-equilibrium composition and measurement calibration remain separate from this declared ideal estimate.

How It Works

How it works in three quick steps.

1

Choose what is known and which chemistry model applies

Select a known logarithm, an equilibrium hydronium or hydroxide concentration, fully dissociated acid or base equivalents, a single weak solute, or a conjugate-buffer estimate. An initial analytical solute concentration is not automatically the equilibrium ion concentration. Enter metric units explicitly and retain the distinction between a known ion value and a concentration from which an equilibrium must be solved.

2

Adopt consistent water and dissociation constants

Use the stated classroom water convention or enter a custom negative logarithm of the water constant. A custom value does not automatically identify temperature or update an acid or base constant. Weak-solute and buffer modes require an adopted dissociation constant or its negative logarithm. Buffer mode uses the conjugate acid constant and positive concentrations for both forms, with the ratio approximation identified in the report.

3

Check the neutral reference, working and reporting scope

Compare the answer with the neutral reference for the adopted water model. Read both ion concentrations and, where relevant, weak-solute composition and percent ionization. Very dilute solutes can have an offset too small for the rounded logarithm to show. Copy complete text or LaTeX, download the active model and unrounded numerical results as CSV, share validated settings, or print the selected report view.

Download & Print

Save the model with its logarithms and ion concentrations

Copy text or complete LaTeX working

Copy summary retains active settings, numerical outputs, notices and every calculation step even when the visible working panel is hidden. Copy LaTeX supplies the authored normalized equations for a compatible mathematical editor. Arbitrary source strings are never trusted as equation commands.

Download a complete numerical CSV

The three-column report records active settings, the selected chemical model, classification, output values before presentation rounding, weak-species composition where relevant and complete plain-text working. These values describe a finite numerical solution rather than an exact physical result or a propagated uncertainty estimate.

Print the selected report view

Print / Save PDF removes editing controls and unrelated navigation while retaining model scope, adopted constants, ion concentrations and interpretation notes. The working toggle controls whether step equations appear in the printed report. Unit choices and the neutral reference remain attached so the answer can be interpreted later.

FAQ

Frequently Asked Questions

Does this pH calculator predict a measured pH exactly?
No. Physical pH is defined through hydrogen-ion activity, whereas this tool uses a declared ideal aqueous concentration model with activity coefficients approximated by unity. Its constants, species and numerical working are suitable for educational comparisons within that assumption. A measured value can also depend on solvent composition, temperature, ionic strength and measurement conditions. Extra displayed decimal places do not establish an experimental uncertainty or a calibrated physical prediction.
Why does an extremely dilute strong acid remain on the acidic side?
Water contributes hydronium and hydroxide ions even before any acid is added. The strong-acid model therefore solves the water equilibrium together with the net added acid equivalents. As the addition approaches zero, the solution approaches the neutral reference from the acidic side. Simply treating the initial acid concentration as all the hydronium can give the wrong direction in this very dilute regime.
Is neutral pH always seven?
Seven is the neutral reference under the explicit classroom convention used by the default water model. A different adopted water constant changes that reference. Neutrality is determined by equal modeled hydronium and hydroxide concentrations, rather than by a universal fixed number. The custom option accepts the negative logarithm of the water constant and shows the resulting reference without guessing a corresponding temperature or changing other constants automatically.
How are weak acids and weak bases calculated?
Each weak-solute mode models one initially uncharged monoprotic species in water. It combines dissociation, analytical mass balance, charge balance and water autoionization rather than relying on a small-ionization square-root shortcut. The report separates ionized solute from background water ions and preserves the un-ionized concentration independently. Common ions, added salts, multiple dissociation stages, metal complexation and activity corrections require a broader equilibrium model than the one selected here.
What does the conjugate-buffer option calculate?
It gives a Henderson–Hasselbalch estimate using an adopted conjugate-acid constant and positive concentrations of the conjugate forms on the same unit basis. Supplied concentrations approximate their equilibrium ratio. The option does not solve a complete mixed-solution charge balance or predict titration and buffer capacity. It flags very dilute components and unusually unbalanced ratios, because a plausible logarithmic result alone does not establish useful buffering behavior.
Can pH be negative or exceed fourteen?
The logarithmic definition does not impose the familiar classroom interval as a mathematical boundary. This calculator consequently retains supported negative and large logarithmic values instead of silently clamping them. However, large inferred concentrations can make the ideal activity approximation unsuitable. The result remains conditional on the stated numerical model, and a wider algebraic domain should not be mistaken for a validated description of every concentrated physical solution.
Can I enter a polyprotic acid concentration or average the pH of two mixtures?
The strong-solute fields represent fully dissociated acid or base equivalents, not an automatic count of every ionizable group in an arbitrary formula. Weak modes describe one monoprotic stage with its stated assumptions. Mixing requires the relevant amounts, stoichiometry, final volume and subsequent equilibria, so averaging input pH values is not supported. Convert equivalent concentrations deliberately or use a model appropriate to the actual composition.
Why can the classification differ from the rounded pH display?
A sufficiently small modeled change may fall below the selected number of displayed decimal places. The strong and weak solute models retain a separate offset from the neutral reference, which identifies the direction without claiming that the visible rounded logarithm has resolved it. Known ion conversions also allow for numerical roundoff near neutrality. The tool distinguishes computational precision from the physical uncertainty of the input concentrations and constants.
About This Tool

About this pH Calculator

The pH Calculator connects logarithmic concentration conversions with a set of explicitly selected aqueous chemistry models. Its starting question is what the input actually represents. An equilibrium hydronium concentration can be converted directly, while an initial acid or base concentration requires chemical assumptions before the resulting ions are known. The interface keeps these meanings separate and supplies mode-specific examples rather than silently reinterpreting a previous logarithm as a new concentration.

The numerical basis is an ideal dilute aqueous approximation. Physical pH is activity-based, so the concentration results are estimates within the declared model. The classroom water convention is explicit and can be replaced by a user-adopted water constant. This changes the neutral reference, but it does not automatically supply a temperature or transform a dissociation constant into one appropriate to new conditions. Every active adopted choice remains in complete reporting and validated shared links.

Strong-solute calculations include water autoionization, and weak-solute calculations additionally include dissociation, mass balance and charge balance for one initially uncharged monoprotic species. The separate conjugate-buffer option provides an identified ratio estimate rather than claiming to solve all mixed-solution equilibria. Numerical protections retain small neutral offsets and un-ionized fractions where ordinary subtraction could lose useful information. Accessible mathematical rendering, readable narrow-screen controls and complete exported working make these differences inspectable. The calculator supports education and numerical review; it does not identify the full composition of an unknown solution, select a treatment or certify an experimental measurement.

Editorial Transparency

Who maintains this page

Ownership and review

Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.

Methodology

The method identifies the governing relationship, units, significant assumptions, and educational scope. SI terminology is checked against the BIPM reference.

Read the editorial methodology

Keep building

Explore more calculators

Calculators hub