# Adsorption isotherm fitting: Langmuir, Freundlich, Sips and Temkin

> Fit Langmuir, Freundlich, Sips and Temkin isotherms to Ce and qe by nonlinear least squares: qm, KL, KF, n with SEs, R², RMSE, AIC and RL. Free.

URL: https://www.labcanvas.com/tools/adsorption-isotherm-fitting

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.

## Quick answer

- **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 = qm·KL·Ce/(1 + KL·Ce); Freundlich qe = KF·Ce^(1/n); Sips qe = qm(KS·Ce)^nS/(1 + (KS·Ce)^nS); Temkin qe = B·ln(KT·Ce); RL = 1/(1 + KL·C0)
- **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.

Free, in the browser, no account needed. Updated 2026-11-23.

## Features

- Langmuir, Freundlich, Sips (Langmuir–Freundlich) and Temkin isotherms, each optional
- Nonlinear least squares on qe itself, with the Levenberg–Marquardt fitter of the LabCanvas Graph app (results match SciPy curve_fit)
- Every parameter with standard error and 95 % confidence interval
- R², adjusted R², RMSE, AIC, AICc, ΔAICc and Akaike weights to compare the models
- Langmuir separation factor \(R_L = 1/(1 + K_L C_0)\) for every initial concentration
- Enter Ce and qe, or C0 and Ce with the volume and adsorbent mass (qe = (C0 − Ce)·V/m); mg/L, mmol/L or µmol/L
- Linearised Langmuir and Freundlich lines beside the nonlinear fits, to show the bias
- Plot as PNG (300 or 600 dpi), tables and a methods sentence to copy, CSV; opens in the Graph app

## How to use it

1. **Paste your data**: One 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 models**: Keep Langmuir and Freundlich, and add Sips (three parameters) or Temkin if you want to compare them.
3. **Compare the fits**: Read 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. **Report**: Copy the methods sentence and the tables, download the plot (PNG) and the CSV, or open the isotherm in the Graph app.

## 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 |

## How it works

$$q_e = \frac{q_m K_L C_e}{1 + K_L C_e} \qquad q_e = K_F C_e^{1/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 \(q_m\); \(K_L\) 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, \(q_e = q_m (K_S C_e)^{n_S}/(1 + (K_S C_e)^{n_S})\): it reduces to Langmuir when \(n_S = 1\) and behaves like Freundlich at low concentration. Temkin’s isotherm, \(q_e = B\ln(K_T C_e)\) with \(B = RT/b_T\), 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, \(C_e/q_e\) against \(C_e\) for Langmuir or \(\ln q_e\) against \(\ln C_e\) 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 \(s^2 (J^\mathsf{T}J)^{-1}\), with \(J\) the Jacobian at the solution and \(s^2 = \mathrm{SSE}/(n - k)\); 95 % intervals are the estimate \(\pm\, t_{0.975,\,n-k}\,\mathrm{SE}\). \(R^2 = 1 - \mathrm{SSE}/\mathrm{SS_{tot}}\), adjusted \(R^2\) \({}= 1 - [\mathrm{SSE}/(n - k)]/[\mathrm{SS_{tot}}/(n - 1)]\), \(\mathrm{RMSE} = \sqrt{\mathrm{SSE}/n}\). Models with different numbers of parameters are ranked by \(\mathrm{AIC} = n\ln(\mathrm{SSE}/n) + 2K\) and its small-sample form \(\mathrm{AICc} = \mathrm{AIC} + 2K(K + 1)/(n - K - 1)\), with \(K = k + 1\) (the parameters and the residual variance); the Akaike weight \(e^{-\Delta/2}/\sum e^{-\Delta/2}\) is the relative support for each model. R² alone always favours the model with more parameters.

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

**Batch data.** In batch mode the uptake is computed from the mass balance, \(q_e = (C_0 - C_e)\,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 \(q_m\) 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 \(q_m = 200\ \mathrm{mg/g}\) and \(K_L = 0.05\ \mathrm{L/mg}\), with Ce and qe each scaled by 0.97–1.03 to mimic scatter.

| 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:** \(R_L = 1/(1 + 0.0502 \times 5) = 0.80\) at C0 = 5 mg/L and \(1/(1 + 0.0502 \times 400) = 0.047\) at 400 mg/L: favourable throughout.
- **What linearising does:** the Langmuir line \(C_e/q_e\) against \(C_e\) gives \(q_m = 199.8\) mg/g and \(K_L = 0.0503\) L/mg (R² 0.9998), close here because the data follow Langmuir closely; the Freundlich line \(\ln q_e\) against \(\ln C_e\) gives \(K_F = 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

- 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](https://doi.org/10.1021/ja02242a004)
- Freundlich H. Über die Adsorption in Lösungen. *Z Phys Chem* 1907;57U:385–470. [doi:10.1515/zpch-1907-5723](https://doi.org/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](https://doi.org/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](https://doi.org/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](https://doi.org/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](https://doi.org/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](https://doi.org/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](https://doi.org/10.1002/aic.690200204)


## Related calculators

- [BET surface area calculator](https://www.labcanvas.com/tools/bet-surface-area-calculator): BET surface area from an N₂ or Ar isotherm, with the Rouquerol consistency criteria.
- [Photocatalytic degradation kinetics calculator](https://www.labcanvas.com/tools/photocatalytic-degradation-kinetics): Pseudo-first-order rate constant k, half-life and % degradation from ln(C0/C) vs time, after the dark step.
- [Williamson–Hall plot calculator](https://www.labcanvas.com/tools/williamson-hall-plot): Crystallite size and microstrain from several XRD peaks by a Williamson–Hall plot, with 95% CIs.
- [All 39 lab calculators](https://www.labcanvas.com/tools/lab-calculators)

## Use this calculator from code or an AI agent

This calculator also answers as JSON, computed by the same code as this page: no key, no account, CORS open. Send the parameters as a query string (numbers may carry units; lists comma-separated) or POST them as JSON to https://www.labcanvas.com/api/tools/adsorption-isotherm-fitting. An example, with the answer shortened to its first values:

```
GET https://www.labcanvas.com/api/tools/adsorption-isotherm-fitting?ce=0.89%2C1.75%2C5.1%2C11.8%2C22.51%2C36.54%2C71.07%2C115.98%2C205.61%2C307.66&qe=8.1%2C16.8%2C39.6%2C77.6%2C103.8%2C128.3%2C158.8%2C168.6%2C184.3%2C186.8&c0=5%2C10%2C25%2C50%2C75%2C100%2C150%2C200%2C300%2C400
```

```json
{
 "ok": true,
 "tool": "adsorption-isotherm-fitting",
 "inputs": {"ce":{"value":[0.89,1.75,5.1,11.8,22.51,36.54,71.07,115.98,205.61,307.66]},"qe":{"value":[8.1,16.8,39.6,77.6,103.8,128.3,158.8,168.6,184.3,186.8]},"c0":{"value":[5,10,25,50,75,100,150,200,300,400]}},
 "result": {"best_model":{"label":"Lowest AICc","value":"Langmuir"},"langmuir_qm":{"label":"Langmuir qm","value":199.9876959}},
 "answer": "Langmuir fits best (lowest AICc): qm = 200 ± 1.6, KL = 0.05024 ± 0.0016 (R² = 0.9992). RL = 0.0474–0.799.",
 "formula": "Langmuir: qe = qm·KL·Ce / (1 + KL·Ce); Freundlich: qe = KF·Ce^(1/n); Sips: qe = qm·(KS·Ce)^nS / (1 + (KS·Ce)^nS); Temkin: qe = B·ln(KT·Ce),  B = RT/bT; unweighted nonlinear least squares (Levenberg–Marquardt); AICc = n·ln(SSE/n) + 2K + 2K(K + 1)/(n − K − 1), K = parameters + 1; RL = 1/(1 + KL·C0)",
 "page": "https://www.labcanvas.com/tools/adsorption-isotherm-fitting",
 "citation": "LabCanvas Adsorption isotherm fitting (Langmuir, Freundlich, Sips, Temkin), https://www.labcanvas.com/tools/adsorption-isotherm-fitting"
}
```

Parameters:

- `ce` (number[], required): Equilibrium concentration Ce of each point (e.g. mg/L).
- `qe` (number[], required): Uptake qe of each point (e.g. mg/g), in the same order.
- `c0` (number[]): Optional initial concentrations C0 (same unit as Ce), for RL = 1/(1 + KL·C0).
- `models` (string, default langmuir,freundlich,sips,temkin): Comma-separated models to fit: langmuir, freundlich, sips, temkin.

All calculators: https://www.labcanvas.com/api/tools · OpenAPI 3.1: https://www.labcanvas.com/api/tools/openapi.json · MCP tool: `calc_adsorption_isotherm_fitting` (LabCanvas MCP server).

## 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.
