FLXCode Formulation pH Calculator

FLXCode apps

Appearance

Formulation pH Calculator

Type your formula in wt %. pH, neutralisation and free alkali update as you type.

Skip to the results
Formulas

    No materials yet. Add one below, or start from an example:

    Water (balance)100wt %

    My materials (0)

    Your own grades, commercial grades with their hidden acid or alkali, acids or bases, and bleach liquor from a spec sheet. They stay on this device and show up in the search.

    pH

    No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.

    Problem or idea? Email us

    Quick start

    1. Type a material in the box under the table, such as MEA or citric acid, pick it, and type the amount. Choose wt % active or as supplied.
    2. Read the pH on the right. It updates while you type. Water makes up the rest to 100 %.
    3. Open Adjust pH to find how much acid or base brings the formula to a target pH, and press Add to formula to put it in.

    For one substance or a simple mixture in mol/L, the pH calculator is quicker. It uses the same engine and the same saved formulas, so a formula you type on one page is there on the other.

    What it can and can't do

    The activity model is chosen per calculation (setting Activity model, default Auto). Davies is a screening model for ionic strengths up to about 0.5 mol/kg. Above that Auto switches the whole calculation (a curve is never mixed from two models) to the Pitzer model with the parameters of PHREEQC's pitzer.dat, which holds up to about 6 mol/kg and gives the water activity. Pitzer has parameters for the major ions: sodium, potassium, calcium, magnesium, hydrogen, chloride, hydroxide, sulfate, bisulfate, carbonate, borate and silicate. Sodium citrate and sodium lactate have parameters fitted here to measured data at 25 °C only. The other organic and chelate ions (HEDP, amines) get only the Debye-Hückel term, so when they carry more than a fifth of the ionic strength Auto keeps Davies and the badge says approximate (Pitzer can still be chosen in the settings). Above ionic strength 12 no pH is given. The ion pairs of the major ions are left out in Pitzer mode, because the parameters already contain them. The pH is on the MacInnes scale.

    The database holds the common acids and alkalis, many amines and alkanolamines, carbonate and bicarbonate, citrates, HEDP, PBTC, MGDA, GLDA, silicates, hydrogen peroxide, chlorine donors (NaDCC, TCCA, hypochlorite), amine oxides, LAS acid, fatty acids and a set of common solvents. Each constant has a source. Where there is no measured value the tool uses an estimate and labels it "estimate". Perfume, dye and preservative are generic inert materials: they take up mass, lower the water and have no acid-base effect (the row says "no pH effect"). A pasted name that is not in the database is counted the same way, and the header says how many rows the pH ignores. Sodium silicate solutions given by SiO₂:Na₂O ratio are not in it yet. They show greyed in the search so you know they are planned.

    Surfactants above their critical micelle concentration are treated as one mixed micelle. A group in the micelle has its own pKa and feels the charge of the micelle: an amine oxide protonates at a higher pH next to SLES, a fatty acid at a higher pH in SDS and at a lower pH in a cationic micelle. The generic anionic and nonionic surfactants use default micelle numbers that are not measured (the How box lists them). Not modelled: acid soaps and phase separation near half neutralisation of long-chain fatty acids, the Krafft point, hydrogen-bond synergy between amine oxide and its protonated form, and surfactant above about 10 %. A formula with a lot of surfactant can still read differently on a pH meter.

    Every constant has a source. See Values and sources for every material, the pKa table for each acid and base, or press the data button on a material row to see its values here.

    Dilution uses deionised water and w/w ratios. Hard water and v/v dilution are not in it. Your own acids and bases use the pKa values you type, taken as 25 °C values.

    Sources: Chemistry 2e, 14.2 pH and pOH, OpenStax; Measurement of pH. Definition, standards, and procedures (IUPAC Recommendations 2002), Pure Appl Chem 74(11):2169-2200, Buck et al., IUPAC; Thermodynamic quantities for the ionization reactions of buffers, J Phys Chem Ref Data 31(2):231-370 (2002), Goldberg, Kishore, Lennen

    Run by Leszek Rupnicki · Updated · How we build and test · Report a mistake

    FAQ

    What does "active" and "as supplied" mean?

    Active is the part of a raw material that does the work: 85 % MEA is 85 % amine and 15 % water. As supplied is the amount of the product you weigh out. Type your formula in whichever you use. The table shows the other number next to it, so 1.90 % NaOH as active shows 3.80 % of NaOH 50 %.

    How is the pH calculated?

    The tool solves the full equilibrium of every acid, base and the water in your formula, with activity coefficients from the Davies equation up to an ionic strength of 0.5 mol/kg and from the Pitzer ion-interaction model above it (the Activity model setting, Auto by default). It uses constants from published tables, listed under "How this was calculated" with their DOI. It is not a fit to measured pH values.

    How far can I trust the number?

    For clean aqueous formulas it should agree well with a calibrated glass electrode, if the raw materials are what the grade says: up to an ionic strength of about 0.5 mol/kg with Davies, up to about 6 mol/kg with Pitzer (caustic, salt and carbonate or sulfate solutions). How well it matches your products has not been measured yet.

    Why does the adjust tab not reach my target pH?

    Either the acid or base you picked pushes the pH the other way, or the water runs out first, or the ionic strength gets so high that the model is not meaningful. The message says which. Try a stronger acid or base, or another one that points the right way.

    Where are my formulas kept?

    Only in this browser, on this device. Clearing site data or using a private window removes them, and another browser or computer does not see them. Export JSON in the Formulas menu makes a backup file you can import again.

    More from FLXCode

    • Chemical Equation Balancer CalculatorBalance any chemical equation, with charges and hydrates. Whole-number coefficients and an atom count for each side.
    • Molarity CalculatorSolve for molarity, mass, moles or volume. Type a formula for the molar mass and see every step with your numbers.
    • Dilution Calculator (C1V1 = C2V2)Solve C1V1 = C2V2 for any one value. Units in M, mM, µM, % and mg/mL, L to µL. Shows the solvent to add.
    • Buffer CalculatorBuffer recipe in grams for a target pH, pH of a mix and buffer capacity. Henderson-Hasselbalch next to the engine pH.

    Share Formulation pH Calculator