Logo

MonoCalc

pH Calculator

Chemistry

Strong Acid or Base

Assumes complete dissociation (HCl, NaOH, H₂SO₄, etc.)

Protons/OH⁻ per formula unit
Default 25 °C

About This Tool

What Is pH and Why Does It Matter?

pH is the cornerstone measurement of acid–base chemistry. Defined as pH = −log₁₀([H⁺]), it compresses hydrogen-ion concentrations that span fourteen orders of magnitude into a convenient 0–14 scale. Pure water at 25 °C sits exactly at pH 7.00 (the neutral point), values below 7 are acidic, and values above 7 are basic. Scientists, engineers, medical professionals, and environmental chemists rely on accurate pH calculations in areas ranging from pharmaceutical buffer design and wastewater treatment to biological assays and food safety.

This calculator covers six distinct scenarios — strong acid/base, weak monoprotic systems, polyprotic acids, buffer solutions, neutralization mixtures, and full titration curves — each with step-by-step derivations so you can follow every assumption and equation.

Six Calculation Modes Explained

Strong Acids and Bases

Strong acids (HCl, HNO₃, H₂SO₄) and strong bases (NaOH, KOH, Ca(OH)₂) dissociate completely. For a monoprotic strong acid at concentration C the result is simply [H⁺] = C, giving pH = −log₁₀(C). For solutions more dilute than about 10⁻⁶ M, water's own autoionisation becomes significant; the calculator automatically applies the quadratic correction [H⁺] = ½ × (C + √(C² + 4Kw)) to prevent nonsensical results like negative pH. Polybasic species (H₂SO₄: ν = 2, Ca(OH)₂: ν = 2) are handled via the valency input.

Weak Monoprotic Acids and Bases

A weak acid HA only partially dissociates: HA ⇌ H⁺ + A⁻. The exact solution comes from the quadratic x² + Ka·x − Ka·C₀ = 0, where x = [H⁺]. The optional approximation x ≈ √(Ka·C₀) is valid when Ka/C₀ < 1% and is automatically verified against the 5% threshold. When a conjugate salt concentration is provided, the tool switches to the Henderson–Hasselbalch equation (buffer mode) and also computes buffer capacity β.

Polyprotic Acids — Speciation Diagrams

Phosphoric acid (H₃PO₄), carbonic acid (H₂CO₃), and citric acid each release protons in successive steps with distinct Ka values. The calculator sets up the full proton-condition (charge balance) and solves it numerically via bisection in the range 10⁻¹⁴ to 10 M for [H⁺]. It then computes the α-fraction for every species and draws a complete speciation diagram (α₀, α₁, α₂, α₃ vs pH) so you can visualise how the distribution shifts across the entire pH scale. Nine common polyprotic acids are included as presets.

Buffer Solutions — Henderson–Hasselbalch

A buffer resists pH changes by containing both a weak acid HA and its conjugate base A⁻. The Henderson–Hasselbalch equation pH = pKa + log₁₀([A⁻]/[HA]) quantifies the result with minimal algebra. The calculator highlights when the ratio [A⁻]/[HA] falls outside the optimal 0.1–10 range and reports the buffer capacity β so you can assess how many moles of strong acid or base the buffer can absorb per litre per pH unit.

Acid–Base Mixtures and Neutralization

Mix any combination of strong or weak acid with strong or weak base. The calculator converts all species to moles, applies stoichiometry (using valency to count H⁺ or OH⁻ equivalents), and identifies whether excess acid, excess base, or buffer conditions remain. For weak acid/strong base reactions it applies Henderson–Hasselbalch in the buffer region or conjugate base hydrolysis at the equivalence point. Volume units can be mL or L.

Titration Curves with Equivalence Points

Enter analyte type, concentration, and volume plus titrant concentration and a volume sweep range. The engine steps through each volume point, selects the correct equilibrium model for that stage, and plots a smooth pH vs volume curve. Red and amber reference lines mark the equivalence and half-equivalence points automatically. Four configurations are supported: strong acid/strong base, strong base/strong acid, weak acid/strong base, and weak base/strong acid.

Temperature Effects on pH

Most tables assume Kw = 1.0 × 10⁻¹⁴ at 25 °C, but the equilibrium constant for water autoionisation shifts with temperature. At 37 °C (body temperature) Kw ≈ 2.4 × 10⁻¹⁴, making neutral pH equal to 6.81 rather than 7.00. This calculator uses the empirical fit pKw ≈ 14.94 − 0.0135 × T(°C) (approximately valid from 0 to 60 °C) and adjusts every equilibrium accordingly. All non-25 °C runs display a reminder that reported pKa/pKb values are themselves temperature-dependent and should be corrected independently.

Key Formulae at a Glance

  • pH = −log₁₀([H⁺])
  • pOH = −log₁₀([OH⁻])
  • pH + pOH = pKw ≈ 14.00 (25 °C)
  • Weak acid: x² + Ka·x − Ka·C₀ = 0 ⟹ x = [H⁺]
  • Buffer: pH = pKa + log₁₀([A⁻]/[HA])
  • β = 2.303 × C_total × Ka[H⁺]/(Ka + [H⁺])²

Interpreting Your Results

Each calculation returns pH, pOH, [H⁺], and [OH⁻] with configurable decimal precision. Colour-coded assumption badges indicate which simplifications were made (strong dissociation, x ≪ C₀, H–H approximation), and orange warning badges appear when conditions reduce accuracy — for example a buffer ratio outside the effective range or significant water autoionisation in dilute solutions. Expand the Step-by-Step Derivation panel to see every equation, ICE table entry, and numeric substitution that led to the result.

Frequently Asked Questions

Is the pH Calculator free?

Yes, pH Calculator is totally free :)

Can I use the pH Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use pH Calculator?

Yes, any data related to pH Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is pH and how is it calculated?

pH is a logarithmic measure of hydrogen-ion concentration in a solution: pH = −log₁₀([H⁺]). A pH of 7.00 is neutral (pure water at 25 °C), values below 7 are acidic, and values above 7 are basic. Because the scale is logarithmic, each unit change corresponds to a 10× change in [H⁺].

What is the difference between a strong acid and a weak acid?

A strong acid (e.g., HCl, HNO₃, H₂SO₄) dissociates completely in water, so [H⁺] = ν × C. A weak acid (e.g., acetic acid, Ka = 1.8 × 10⁻⁵) only partially dissociates; you must solve the equilibrium expression Ka = [H⁺][A⁻]/[HA] (exact or approximate) to find [H⁺] and hence pH.

What is the Henderson–Hasselbalch equation?

The Henderson–Hasselbalch equation pH = pKa + log₁₀([A⁻]/[HA]) gives the pH of a buffer solution containing a weak acid HA and its conjugate base A⁻. It is most accurate when the ratio [A⁻]/[HA] is between 0.1 and 10 (i.e., within ±1 pH unit of pKa). The calculator applies H–H automatically when a conjugate salt concentration is provided.

How does temperature affect pH?

Temperature changes the autoionisation equilibrium of water: Kw(25 °C) = 1.0 × 10⁻¹⁴ but Kw(37 °C) ≈ 2.4 × 10⁻¹⁴. This shifts neutral pH from 7.00 to about 6.81 at body temperature. The calculator uses the empirical fit pKw ≈ 14.94 − 0.0135·T(°C) (valid roughly 0–60 °C) and recomputes all equilibria at the chosen temperature.

What are polyprotic acids and how are they handled?

Polyprotic acids donate more than one proton sequentially (e.g., H₂CO₃, H₃PO₄). Each dissociation step has its own equilibrium constant (Ka1, Ka2, Ka3…). The calculator uses the charge-balance / proton-condition solved numerically (bisection) and computes species distribution functions (α-fractions) at the resulting pH, along with a full speciation diagram across pH 0–14.

How is a titration curve generated?

Enter the analyte type, concentration, and volume, plus the titrant concentration and volume range. The calculator steps through each specified volume point, applies the appropriate equilibrium model (pre-equivalence buffer, equivalence hydrolysis, post-equivalence excess), and plots pH vs titrant volume. The equivalence point and half-equivalence point are automatically identified and annotated.

What is buffer capacity and why does it matter?

Buffer capacity (β) quantifies how many moles of strong acid or base a litre of buffer can absorb per unit pH change. It is estimated as β = 2.303 × C_total × Ka[H⁺]/(Ka + [H⁺])². Maximum capacity occurs when pH = pKa (ratio = 1). A buffer with a larger total concentration or a ratio closer to 1 resists pH changes more effectively.