LabCanvas
Free account · save your work, full figure editorSign up free

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
Langmuir: qe=qmKLCe1+KLCeFreundlich: qe=KFCe1/nSips: qe=qm(KSCe)nS1+(KSCe)nSTemkin: qe=Bln⁡(KTCe)RL=11+KLC0
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.

Last updated

FreeNo sign-upRuns in your browserData analysis

Loading Adsorption isotherm fitting…

At a glance

Adsorption isotherm fitting at a glance
ModelsLangmuir, Freundlich, Sips (Langmuir–Freundlich), Temkin
FittingUnweighted nonlinear least squares, Levenberg–Marquardt (matches SciPy curve_fit)
GivesParameters ± SE and 95 % CI; R², adjusted R², RMSE, AIC, AICc, Akaike weights; RL = 1/(1 + KL·C0)
InputCe and qe (C0 optional), or C0 and Ce with V and m (qe = (C0 − Ce)·V/m)
ComparisonLinearised Langmuir (Ce/qe vs Ce) and Freundlich (ln qe vs ln Ce), shown for comparison only
OutputPlot (PNG 300/600 dpi), tables and methods (copy), CSV; Graph app
Runs inYour web browser; nothing is uploaded
PriceFree, no account needed

What it does

How to use the adsorption isotherm fitting

  1. 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).
  2. Choose the modelsKeep Langmuir and Freundlich, and add Sips (three parameters) or Temkin if you want to compare them.
  3. 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.
  4. 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

qe=qmKLCe1+KLCeqe=KFCe1/n

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 qm; KL is the affinity constant (L/mg when Ce is in mg/L). Freundlich’s empirical power law (1907) describes heterogeneous surfaces with no saturation; n>1 means favourable adsorption. Sips (1948) combined the two, qe=qm(KSCe)nS/(1+(KSCe)nS): it reduces to Langmuir when nS=1 and behaves like Freundlich at low concentration. Temkin’s isotherm, qe=Bln⁡(KTCe) with B=RT/bT, assumes the heat of adsorption falls linearly with coverage. Foo & Hameed (2010) review all four.

Nonlinear, not linearised. Each model is fitted to the measured qe by unweighted nonlinear least squares (Levenberg–Marquardt). The classic straight-line forms, Ce/qe against Ce for Langmuir or ln⁡qe against ln⁡Ce for Freundlich, transform the errors along with the data, so the least-squares line no longer minimises the error in qe and its parameters are biased; different linear forms of the same model even give different values. Kumar & Sivanesan (2005) showed this for safranin on activated carbon, and Tran et al. (2017) list linearisation among the common mistakes in adsorption papers. The tool shows the linearised Langmuir and Freundlich results only for comparison.

Uncertainty and comparison. Standard errors are the square roots of the diagonal of s2(JTJ)−1, with J the Jacobian at the solution and s2=SSE/(n−k); 95 % intervals are the estimate ±t0.975,n−kSE. R2=1−SSE/SStot, adjusted R2 =1−[SSE/(n−k)]/[SStot/(n−1)], RMSE=SSE/n. Models with different numbers of parameters are ranked by AIC=nln⁡(SSE/n)+2K and its small-sample form AICc=AIC+2K(K+1)/(n−K−1), with K=k+1 (the parameters and the residual variance); the Akaike weight e−Δ/2/∑e−Δ/2 is the relative support for each model. R² alone always favours the model with more parameters.

Separation factor. RL=1/(1+KLC0), with C0 the initial concentration (Hall et al. 1966; Weber & Chakravorti 1974), classifies the Langmuir isotherm as unfavourable (RL>1), linear (=1), favourable (0<RL<1) or irreversible (=0). For any positive KL it lies between 0 and 1 and falls as C0 rises, so it restates KL rather than adding a test.

Batch data. In batch mode the uptake is computed from the mass balance, qe=(C0−Ce)V/m; with V in mL and m in mg this gives mg/g for concentrations in mg/L. Check that the system reached equilibrium and that qe levels off at the highest concentrations, or qm is an extrapolation.

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 qm=200 mg/g and KL=0.05 L/mg, with Ce and qe each scaled by 0.97–1.03 to mimic scatter.

Example data
C0 (mg/L)Ce (mg/L)qe (mg/g)
50.898.1
101.7516.8
255.139.6
5011.877.6
7522.51103.8
10036.54128.3
15071.07158.8
200115.98168.6
300205.61184.3
400307.66186.8
The four nonlinear fits (estimate ± SE)
ModelParametersR²RMSE (mg/g)AICcAkaike weight
Langmuirqm = 200.0 ± 1.6 mg/g, KL = 0.0502 ± 0.0016 L/mg0.99921.8722.595.2 %
Sipsqm = 200.3 ± 3.0 mg/g, KS = 0.0500 ± 0.0023 L/mg, nS = 0.995 ± 0.0350.99921.8628.44.8 %
TemkinB = 34.3 ± 1.7 mg/g, KT = 1.00 ± 0.18 L/mg0.98168.8653.6< 0.01 %
FreundlichKF = 34.6 ± 7.6, n = 3.16 ± 0.450.916318.968.8< 0.01 %
  1. 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.
  2. 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.
  3. Separation factor: RL=1/(1+0.0502×5)=0.80 at C0 = 5 mg/L and 1/(1+0.0502×400)=0.047 at 400 mg/L: favourable throughout.
  4. What linearising does: the Langmuir line Ce/qe against Ce gives qm=199.8 mg/g and KL=0.0503 L/mg (R² 0.9998), close here because the data follow Langmuir closely; the Freundlich line ln⁡qe against ln⁡Ce gives KF=14.2 and n=1.89, far from the nonlinear 34.6 and 3.16, because the logarithm gives the low-concentration points much more weight.

References

  1. 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
  2. Freundlich H. Über die Adsorption in Lösungen. Z Phys Chem 1907;57U:385–470. doi:10.1515/zpch-1907-5723
  3. Sips R. On the structure of a catalyst surface. J Chem Phys 1948;16:490–495. doi:10.1063/1.1746922
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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.

Plot 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