pKa Calculator
Find pKa from pH with the Henderson-Hasselbalch equation or from Ka.
Supports molar concentration units from M to yM for both calculation methods.
Updated August 24, 2026
Introduction
The acid dissociation constant () tells you how readily a weak acid gives up a proton in water. Because these constants span many orders of magnitude, chemists usually work with their negative base-10 logarithm, pKa:
The lower the pKa, the stronger the acid — it holds its proton more loosely and donates it more easily. This calculator finds pKa in two ways: from a measured pH plus the concentrations of a weak acid and its conjugate base (the Henderson–Hasselbalch route), or straight from a known value.
Who is this for? Chemistry students checking acid strength, lab workers preparing buffer solutions, and anyone who has a pH or measurement and wants the corresponding pKa without working through logarithms by hand.
How to use
Choose the calculation method: pKa from pH when you have a buffer's pH and concentrations, or pKa from Ka when you already know the acid dissociation constant.
In pKa from pH, enter the pH, the conjugate base concentration (), and the weak acid concentration (). Pick the same concentration unit for both — the ratio is what matters.
In pKa from Ka, just enter the acid dissociation constant ().
Read the pKa result. You can also type a pKa yourself and the calculator will solve for whichever value is missing — for example, the pH a buffer will reach at a chosen pKa and concentration ratio.
Worked example — pKa from pH
A solution has , a conjugate base concentration of , and a weak acid concentration of . Enter these three values in pKa from pH mode.
The calculator reports pKa ≈ 1.82. A pKa below 2 means this acid is fairly strong — it readily gives up its proton.
Worked example — pKa from Ka
Suppose the acid dissociation constant is . Switch to pKa from Ka and enter that value.
The result is pKa ≈ −0.30. A negative pKa is normal for strong acids — the larger is, the more negative pKa becomes.
Calculation method
The pKa from pH mode is built on the Henderson–Hasselbalch equation, which links pH, pKa, and the ratio of conjugate base to weak acid:
Rearranging for pKa gives the form the calculator uses:
Where:
- — molar concentration of the conjugate base
- — molar concentration of the weak acid
- — acid dissociation constant, used directly in the pKa from Ka mode
The two modes are fully reversible. Instead of only deriving pKa from your inputs, you can type a pKa and let the calculator solve for the missing value — the pH a buffer reaches, the concentration ratio you need, or the that matches a given pKa. This makes the same tool useful for planning a buffer as well as for reading one off a measurement.
Reverse example — find the pH of a buffer: with , , and , enter pKa and the two concentrations, and the calculator returns the pH.
Tips & best practices
Only the ratio of concentrations matters
The Henderson–Hasselbalch equation uses [A⁻]/[HA], so doubling both concentrations leaves pKa unchanged. What matters is that both values are in the same unit — mixing M and mM will shift the result by the log of 1000.
When [A⁻] = [HA], pH equals pKa
If the conjugate base and weak acid concentrations are equal, the log term is exactly zero and pH = pKa. This is the midpoint of a buffer — the point where it resists pH changes most strongly.
Use the reverse direction to plan a buffer
To hit a target pH, enter the acid’s pKa and one concentration, then let the calculator solve for the other. The ratio [A⁻]/[HA] tells you how much base to add relative to the acid.
Convert mass concentrations before entering them
The calculator expects molar concentrations (mol/L). If you only know a concentration in g/L, convert it to molarity using the substance’s molar mass first.
If your stock solution is labeled in grams per liter rather than moles per liter, the mass concentration to molar concentration calculator converts it using the compound's molar mass — a handy first step before you enter the concentrations here.
Frequently asked questions
What is the difference between pKa and Ka?
is the acid dissociation constant — a measure of how far a weak acid splits into ions at equilibrium. pKa is simply its negative base-10 logarithm, . Because the logarithm compresses the scale, pKa is easier to compare across acids that differ by many orders of magnitude.
Are pH and pKa the same thing?
No. pH measures the concentration of free ions in a solution, which depends on what is actually dissolved. pKa is a fixed property of the acid itself — how strongly it holds its proton. They only become equal when the concentrations of the acid and its conjugate base are the same.
Why can pKa be negative?
When is greater than 1, its logarithm is positive and pKa becomes negative. Strong acids such as hydrochloric acid have large values and therefore negative pKa values — the more negative, the stronger the acid.
How do I calculate pKa from pH?
Use the Henderson–Hasselbalch equation: . You need the pH and the molar concentrations of the conjugate base and the weak acid. The calculator does this automatically in pKa from pH mode.
Limitations
- •The Henderson–Hasselbalch equation assumes an ideal, dilute solution. It works best for weak acids that dissociate only slightly and for concentrations where activity is close to molarity. At very high concentrations, or for strong acids, real behavior can deviate from the estimate.
- •The result is only as good as the inputs. pH measurements carry their own uncertainty, and the concentrations must be the equilibrium concentrations of the acid and its conjugate base in the same solution.
- •This calculator is intended for education and lab planning. For research-grade values or work where precision matters, verify against a reference standard or an authoritative chemistry source.
Related Calculators
Atom Calculator
Calculate atomic properties including protons, neutrons, electrons, atomic number and mass number
Electron Configuration Calculator
Get the electron configuration for any element from the periodic table. View atomic number, atomic mass, and valence electrons.
Atomic Mass Calculator
Calculate atomic mass from protons and neutrons. Get atomic mass in various units including atomic mass units (u), kilograms, and more.
Electronegativity Calculator
Calculate electronegativity difference between two elements and determine bond type (ionic, polar covalent, or nonpolar covalent).
Average Atomic Mass Calculator
Calculate the average atomic mass of an element based on the isotopes and their natural abundances.
Mass Concentration to Molar Concentration Conversion
Convert mass concentration (g/L, kg/L, mg/L) to molar concentration (M, mM, μM) and vice versa using molar mass.