Arrhenius activation energy from rate constants at several temperatures
form_arrhenius_fit
Fits the Arrhenius activation energy and pre-exponential factor to first-order rate constants.
- Runs
- On the server
- Level
- Checked against a reference: exact arithmetic: Python fractions and 60-digit decimal exp and ln on the recorded equations, written before the engine; a second implementation in Python by a separate agent of the same model family; a published dataset
What it is
Returns the Arrhenius activation energy and pre-exponential factor of first-order rate constants, and k at a stated T. Use when stability data give rate constants at two or more temperatures (least squares of ln k on 1/T). Not for a shelf life from a known Ea or Q10: use `form_shelf_life_at_temperature`; not for a general regression: use `relate_linear_regression`; not for a protein melting temperature: use `thermal_shift_tm`. A model's estimate: exact through two points; no confidence interval or prediction error; flags Ea ≤ 0 and extrapolation; first-order k only.
Field: Formulation and stability.
What it does
You give
points(required): The rate constants, at least two, at two or more distinct temperatures; replicates are kept as points; at most one thousand.energyUnit(required): The unit of the activation energy returned.rateUnit(required): The unit of the pre-exponential factor and any rate constant returned.atTemperature: A temperature at which to return k from the fit, in K or degC; flagged when outside the fitted range, withheld when the fitted Ea is zero or negative. Must be above 0 K. Optional.
No request is recorded for this tool.
Limits
- Research arithmetic for formulation and stability on values you supply, including every coefficient and constant; not a compounding, dosing, clinical, release, expiry-dating or regulatory authority.
- An estimate from a model on values you supply: it assumes one degradation mechanism and one reaction order, with a constant activation energy or Q10 across the temperature range, and that the same relationship holds beyond the data.
- No prediction error is given for an extrapolated value unless a published dataset supplies one.
- Research and education software: not an expiry date, a shelf-life claim, or a release or regulatory authority.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- every point is at one temperature (decided on exact decimal kelvin values): the slope of ln k on 1/T is undefined.
- the stated temperatures differ on their decimals but fall on one double in 1/T: no slope can be formed in double precision (the shared centred-line routine's X_NO_SPREAD).
- three or more points whose temperatures are too extreme for double precision: the centred sums of 1/T overflow, or their spread underflows (the routine's SUMS_OUTSIDE_DOUBLE_RANGE and X_SPREAD_UNDERFLOW); two points are fitted exactly and are refused only where a result is not finite.
- points[*].rateConstant outside above 0 1/s.
Every input, with its units4 inputs
points(required): The rate constants, at least two, at two or more distinct temperatures; replicates are kept as points; at most one thousand.energyUnit(required): The unit of the activation energy returned.rateUnit(required): The unit of the pre-exponential factor and any rate constant returned.atTemperature: A temperature at which to return k from the fit, in K or degC; flagged when outside the fitted range, withheld when the fitted Ea is zero or negative. Must be above 0 K. Optional.
Every refusal, with its code4 refusals
| Code | When |
|---|---|
TEMPERATURES_NOT_DISTINCT | every point is at one temperature (decided on exact decimal kelvin values): the slope of ln k on 1/T is undefined. |
TEMPERATURES_NOT_RESOLVED | the stated temperatures differ on their decimals but fall on one double in 1/T: no slope can be formed in double precision (the shared centred-line routine's X_NO_SPREAD). |
TEMPERATURES_OUTSIDE_DOUBLE_RANGE | three or more points whose temperatures are too extreme for double precision: the centred sums of 1/T overflow, or their spread underflows (the routine's SUMS_OUTSIDE_DOUBLE_RANGE and X_SPREAD_UNDERFLOW); two points are fitted exactly and are refused only where a result is not finite. |
NOT_POSITIVE | points[*].rateConstant outside above 0 1/s. |
The calculation
The method's equations, constants and worked example.
Equation 1
slope = Σ(xᵢ − x̄)(yᵢ − ȳ)/Σ(xᵢ − x̄)², intercept = ȳ − slope·x̄, x = 1/T, y = ln k: ordinary least squares through the shared routine centred-line (its record gives the same centred sums)
| Symbol | Meaning |
|---|---|
Tᵢ | absolute temperature of point i (degC plus 273.15 K), K |
kᵢ | first-order rate constant of point i, converted to 1/s before its logarithm is taken, 1/s |
xᵢ | 1/Tᵢ, 1/K |
yᵢ | ln kᵢ, kᵢ in 1/s |
x̄ | mean of the xᵢ, 1/K |
ȳ | mean of the yᵢ |
Sxx | Σ(xᵢ − x̄)², 1/K^2 |
Sxy | Σ(xᵢ − x̄)(yᵢ − ȳ), 1/K |
slope | slope of ln k on 1/T, K |
intercept | intercept of ln k on 1/T |
Source 1.
Equation 2
E_a = −R·slope
A = exp(intercept)
| Symbol | Meaning |
|---|---|
E_a | activation energy, returned in the energyUnit asked (J/mol, kJ/mol, or cal/mol and kcal/mol through cal_th), J/mol |
A | pre-exponential factor, returned in the rateUnit asked, 1/s |
R | molar gas constant, N_A·k, J/(mol·K) |
slope | slope of ln k on 1/T, K |
intercept | intercept of ln k on 1/T |
Source 1.
Equation 3
k(T) = A·exp(−E_a/(R·T)), evaluated as e^ȳ·exp(−(E_a/R)(1/T − x̄))
| Symbol | Meaning |
|---|---|
k(T) | rate constant at the stated temperature, returned in the rateUnit asked, 1/s |
A | pre-exponential factor, 1/s |
E_a | activation energy, J/mol |
R | molar gas constant, N_A·k, J/(mol·K) |
T | the stated temperature, K |
x̄ | mean of 1/T over the points, 1/K |
ȳ | mean of ln k over the points, k in 1/s |
Source 2.
| Constant | Value | From |
|---|---|---|
molar gas constant, N_A·k, exact R | 8.31446261815324 J/(mol·K) | Source 3 |
thermochemical calorie (for cal/mol and kcal/mol) cal_th | 4.184 J | Source 4 |
Celsius offset °C | 273.15 K | Source 3 |
A model of nature: it predicts a measurement and can be wrong for your sample. No prediction error is available.
Worked example
Worked example: one case of form-arrhenius-fit@2.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- points[0].temperature = 200 K
- points[0].rateConstant = 1 1/s
- points[1].temperature = 250 K
- points[1].rateConstant = 4 1/s
- points[2].temperature = 400 K
- points[2].rateConstant = 32 1/s
- energyUnit = J/mol
- rateUnit = 1/s
Steps
- x1 = 0.005 1/K, from points[0].temperature; by equation 1.
- x2 = 0.004 1/K, from points[1].temperature; by equation 1.
- x3 = 0.0025 1/K, from points[2].temperature; by equation 1.
- y1 = 0, from points[0].rateConstant; by equation 1.
- y2 = 1.3862944, from points[1].rateConstant; by equation 1.
- y3 = 3.4657359, from points[2].rateConstant; by equation 1.
- meanX = 0.0038333333 1/K, from x1, x2, x3; by equation 1.
- meanY = 1.6173434, from y1, y2, y3; by equation 1.
- Sxx = 3.1666667e-06 1/K², from x1, x2, x3, meanX; by equation 1.
- Sxy = -0.0043899321 1/K, from x1, x2, x3, y1, y2, y3, meanX, meanY; by equation 1.
- slope = -1386.2944 K, from Sxy, Sxx; by equation 1.
- intercept = 6.9314718, from meanY, slope, meanX; by equation 1.
- activationEnergy = 11526.293 J/mol, from slope; by equation 2; gives activationEnergy.
- preExponentialFactor = 1024 1/s, from intercept; by equation 2; gives preExponentialFactor.
The working, as the case writes it:
slope = −2000·ln 2 K, so Ea = 2000·R·ln 2 = 11 526.3 J/mol and A = 2¹⁰ = 1024 /s (worked by hand by the raising builder, 14 November 2026)
Answer
activationEnergy = 11526.293 J/mol
preExponentialFactor = 1024 1/s
Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).
At build the tool returned this answer within the tolerance the file states: Activation energy, pre-exponential factor and rate constant relative 1e-10, a ceiling for an engine using centred two-pass sums (least squares of ln k on 1/T is ill-conditioned by a narrow spread of 1/T: about 1e-12 × (mean 1/T)/(spread of 1/T)); the narrow-spread case carries its own bound from that estimate; an activation energy of exactly 0 (equal rate constants) is structural and compared exactly; no other expected value is near zero: the near-zero floor is nominal; flags, withheld rules, statuses, codes and units exact; where one path carries more than one unit, or a logarithmic unit, absolute at the relative value times the smallest nonzero magnitude under it (the largest, for a logarithm).
Sources
IUPAC, Quantities, Units and Symbols in Physical Chemistry (the Green Book), 3rd edition, RSC Publishing 2007 (2012 printing, IUPAC's searchable PDF)
Used for: Activation energy and pre-exponential factor from first-order rate constants at two or more temperatures. At: p. 64 (§2.12 begins on p. 63), section 2.12, note 9: E_A = −R·d(ln k)/d(1/T); the least-squares line is the method's estimator of that slope; equation A = k·exp(E_A/RT), p. 64, section 2.12.
Read in full, 10 November 2026Jenkins D, Cancel A, Layloff T, Mean kinetic temperature evaluations through simulated temperature excursions for different storage conditions, BMC Public Health 22:300 (2022)
Used for: Activation energy and pre-exponential factor from first-order rate constants at two or more temperatures. At: equation 4, k = A·e^(−E_a/RT).
Read in full, 10 November 2026BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update)
Used for: Activation energy and pre-exponential factor from first-order rate constants at two or more temperatures. At: table 1: k = 1.380 649 × 10⁻²³ J/K and N_A = 6.022 140 76 × 10²³ mol⁻¹, exact, section 2.2; section 2.3.1: t/°C = T/K − 273.15.
Read in full, 10 November 2026NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition
Used for: Activation energy and pre-exponential factor from first-order rate constants at two or more temperatures. At: section Appendix B.8: 1 cal_th = 4.184 J exactly.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case; a published dataset, Nakashima, Yamasaki and Kanda, Life 2025;15(3):335, Table 1 and text, Europe PMC full-text XML PMC11943927, read 14 November 2026.
- Cases
No case set is linked to this version.
- Not checked
A second published dataset; weighting of ln k; zero- and second-order rate constants; confidence intervals; the residuals of the fit.
Changes to its methods0 changes
No change is logged for these method versions.