Adsorption isotherm fitting: Langmuir, Freundlich, Sips and Temkin
Paste your equilibrium concentrations Ce and uptakes qe (or C0 and Ce of batch experiments with the volume and adsorbent mass) and the tool fits the Langmuir isotherm qe = qm·KL·Ce/(1 + KL·Ce), the Freundlich isotherm qe = KF·Ce^(1/n), and optionally Sips and Temkin, by nonlinear least squares on qe itself. It gives each parameter with its standard error and 95 % confidence interval, R², adjusted R², RMSE, AIC and AICc to compare the models, the Langmuir separation factor RL = 1/(1 + KL·C0), and the fitted curves on one plot. Linearised plots (Ce/qe against Ce, ln qe against ln Ce) change how the errors are weighted and bias the parameters, so they are shown only for comparison.
- What it does
- Fits Langmuir, Freundlich, Sips and Temkin isotherms to adsorption equilibrium data by nonlinear least squares and ranks them by AICc, with parameter SEs, R², RMSE and the separation factor RL.
- Formula
- Example
- Ten batch points (Ce 0.89–307.7 mg/L) give Langmuir qm = 200.0 ± 1.6 mg/g and KL = 0.0502 ± 0.0016 L/mg (R² = 0.9992, lowest AICc, Akaike weight 95 %); RL falls from 0.80 at C0 = 5 mg/L to 0.047 at 400 mg/L. A linearised Freundlich line gives n = 1.89 where the nonlinear fit gives 3.16.
Loading Adsorption isotherm fitting…
At a glance
| Models | Langmuir, Freundlich, Sips (Langmuir–Freundlich), Temkin |
|---|---|
| Fitting | Unweighted nonlinear least squares, Levenberg–Marquardt (matches SciPy curve_fit) |
| Gives | Parameters ± SE and 95 % CI; R², adjusted R², RMSE, AIC, AICc, Akaike weights; RL = 1/(1 + KL·C0) |
| Input | Ce and qe (C0 optional), or C0 and Ce with V and m (qe = (C0 − Ce)·V/m) |
| Comparison | Linearised Langmuir (Ce/qe vs Ce) and Freundlich (ln qe vs ln Ce), shown for comparison only |
| Output | Plot (PNG 300/600 dpi), tables and methods (copy), CSV; Graph app |
| Runs in | Your web browser; nothing is uploaded |
| Price | Free, no account needed |
What it does
How to use the adsorption isotherm fitting
- Paste your dataOne row per experiment: Ce and qe, with C0 as a third column for RL; or switch to batch mode and paste C0 and Ce with the solution volume (mL) and adsorbent mass (mg).
- Choose the modelsKeep Langmuir and Freundlich, and add Sips (three parameters) or Temkin if you want to compare them.
- Compare the fitsRead each model’s parameters ± SE, R², RMSE and AICc; the lowest AICc is the best-supported model, and its Akaike weight says by how much.
- ReportCopy the methods sentence and the tables, download the plot (PNG) and the CSV, or open the isotherm in the Graph app.
How it works
The models. Langmuir (1918) derived his isotherm for adsorption on a surface of identical sites, each holding one molecule, so uptake levels off at the monolayer capacity
Nonlinear, not linearised. Each model is fitted to the measured qe by unweighted nonlinear least squares (Levenberg–Marquardt). The classic straight-line forms,
Uncertainty and comparison. Standard errors are the square roots of the diagonal of
Separation factor.
Batch data. In batch mode the uptake is computed from the mass balance,
Worked example: a Langmuir-type isotherm, fitted four ways
The built-in example is synthetic, not a measurement: ten batch experiments (50 mL of solution, 25 mg of adsorbent, C0 = 5–400 mg/L) whose equilibrium follows a Langmuir isotherm with
| C0 (mg/L) | Ce (mg/L) | qe (mg/g) |
|---|---|---|
| 5 | 0.89 | 8.1 |
| 10 | 1.75 | 16.8 |
| 25 | 5.1 | 39.6 |
| 50 | 11.8 | 77.6 |
| 75 | 22.51 | 103.8 |
| 100 | 36.54 | 128.3 |
| 150 | 71.07 | 158.8 |
| 200 | 115.98 | 168.6 |
| 300 | 205.61 | 184.3 |
| 400 | 307.66 | 186.8 |
| Model | Parameters | R² | RMSE (mg/g) | AICc | Akaike weight |
|---|---|---|---|---|---|
| Langmuir | qm = 200.0 ± 1.6 mg/g, KL = 0.0502 ± 0.0016 L/mg | 0.9992 | 1.87 | 22.5 | 95.2 % |
| Sips | qm = 200.3 ± 3.0 mg/g, KS = 0.0500 ± 0.0023 L/mg, nS = 0.995 ± 0.035 | 0.9992 | 1.86 | 28.4 | 4.8 % |
| Temkin | B = 34.3 ± 1.7 mg/g, KT = 1.00 ± 0.18 L/mg | 0.9816 | 8.86 | 53.6 | < 0.01 % |
| Freundlich | KF = 34.6 ± 7.6, n = 3.16 ± 0.45 | 0.9163 | 18.9 | 68.8 | < 0.01 % |
- Langmuir fits best (lowest AICc), and its 95 % intervals contain the true values: qm 196.2–203.8 mg/g, KL 0.0465–0.0540 L/mg.
- Sips adds nothing here: nS = 0.995 is indistinguishable from 1 (95 % CI 0.91–1.08), its R² is higher only in the fourth decimal, and AICc, which charges for the third parameter, ranks it 6.0 units below Langmuir.
- Separation factor:
at C0 = 5 mg/L and at 400 mg/L: favourable throughout. - What linearising does: the Langmuir line
against gives mg/g and L/mg (R² 0.9998), close here because the data follow Langmuir closely; the Freundlich line against gives and , far from the nonlinear 34.6 and 3.16, because the logarithm gives the low-concentration points much more weight.
References
- Langmuir I. The adsorption of gases on plane surfaces of glass, mica and platinum. J Am Chem Soc 1918;40:1361–1403. doi:10.1021/ja02242a004
- Freundlich H. Über die Adsorption in Lösungen. Z Phys Chem 1907;57U:385–470. doi:10.1515/zpch-1907-5723
- Sips R. On the structure of a catalyst surface. J Chem Phys 1948;16:490–495. doi:10.1063/1.1746922
- Foo KY, Hameed BH. Insights into the modeling of adsorption isotherm systems. Chem Eng J 2010;156:2–10. doi:10.1016/j.cej.2009.09.013
- Kumar KV, Sivanesan S. Comparison of linear and non-linear method in estimating the sorption isotherm parameters for safranin onto activated carbon. J Hazard Mater 2005;123:288–292. doi:10.1016/j.jhazmat.2005.03.040
- Tran HN, You SJ, Hosseini-Bandegharaei A, Chao HP. Mistakes and inconsistencies regarding adsorption of contaminants from aqueous solutions: a critical review. Water Res 2017;120:88–116. doi:10.1016/j.watres.2017.04.014
- Hall KR, Eagleton LC, Acrivos A, Vermeulen T. Pore- and solid-diffusion kinetics in fixed-bed adsorption under constant-pattern conditions. Ind Eng Chem Fundam 1966;5:212–223. doi:10.1021/i160018a011
- Weber TW, Chakravorti RK. Pore and solid diffusion models for fixed-bed adsorbers. AIChE J 1974;20:228–238. doi:10.1002/aic.690200204
Frequently asked questions
How do I fit a Langmuir isotherm?
Fit qe = qm·KL·Ce/(1 + KL·Ce) to your Ce and qe by nonlinear least squares, as this tool does, and report qm and KL with their standard errors. Avoid fitting a straight line to Ce/qe against Ce: it weights the points differently from the data and biases qm and KL.
Linear or nonlinear isotherm fitting: which is correct?
Nonlinear. Linearising transforms the measurement errors along with the data, so the least-squares line minimises the wrong quantity and the parameters are biased; the different linear forms of Langmuir even give different values. Fit the isotherm equation to qe directly and use linear plots only to show the data.
How do I calculate qe from C0 and Ce?
From the mass balance, qe = (C0 − Ce)·V/m, with V the solution volume and m the adsorbent mass. With concentrations in mg/L, V in mL and m in mg, qe is in mg/g; for 50 mL and 25 mg, qe = 2 × (C0 − Ce). Choose batch mode and the tool does this for every row.
What does the separation factor RL mean?
RL = 1/(1 + KL·C0) classifies a Langmuir isotherm: RL > 1 unfavourable, RL = 1 linear, 0 < RL < 1 favourable, RL = 0 irreversible. It needs the initial concentration C0, not Ce, and for any positive KL it is between 0 and 1, so it does not test anything beyond KL itself.
Which isotherm model fits my data best?
Compare the models by AICc rather than by R²: R² always rises with more parameters, while AICc charges for them. The model with the lowest AICc is best supported, and its Akaike weight is the probability, among the models compared, that it is the best. A good fit does not prove the mechanism the model assumes.
What is the Freundlich constant n?
In qe = KF·Ce^(1/n), 1/n is the heterogeneity factor: n > 1 (1/n < 1) means favourable adsorption, n = 1 linear, n < 1 unfavourable. KF has units that depend on n, (mg/g)(L/mg)^(1/n), so compare KF values only at similar n.
When should I use the Sips isotherm?
When a Langmuir curve misses the shape of the data, for example on heterogeneous surfaces. Sips adds an exponent nS; with nS = 1 it is Langmuir. If nS is close to 1 within its confidence interval, or AICc ranks Sips below Langmuir, the extra parameter is not justified.
How many data points do I need?
At least as many as the parameters plus one for a fit, but six to ten equilibrium points spread from low Ce to near saturation give useful standard errors. With fewer, three-parameter models such as Sips are poorly determined and AICc penalises them heavily.
Link to this tool
Using it in a protocol, lab wiki or course page? Copy a link or citation.
<a href="https://www.labcanvas.com/tools/adsorption-isotherm-fitting">Adsorption isotherm fitting</a> (LabCanvas)LabCanvas. Adsorption isotherm fitting [online tool]. https://www.labcanvas.com/tools/adsorption-isotherm-fittingPlot the isotherms for your paper
The LabCanvas Graph app fits Langmuir, Freundlich and Temkin isotherms with confidence intervals and draws a publication-ready figure. It opens with an example you can replace with your data.
Open the isotherm graph