Skip to content

Mean kinetic temperature of a temperature record at a stated activation energy

form_mean_kinetic_temperature

Works out the mean kinetic temperature of a temperature record taken at equal intervals.

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
Ask your assistant

What it is

Returns the mean kinetic temperature of a temperature record taken at equal intervals. Use when summarising a storage or shipping record by the Arrhenius-weighted mean at the activation energy you state (Jenkins et al. 2022, Eq. 1). Not for the arithmetic mean of the readings: use `stats_column_statistics`. You state Ea, never assumed (83.144 kJ/mol is a common convention); readings in K or degC; no excursion judgement is made.

Field: Formulation and stability.

What it does

You give

  • temperatures (required): The record's readings, taken at equal intervals, at least one and at most one hundred thousand.
  • activationEnergy (required): Ea, the activation energy you state, per mole, above 0 (J/mol, kJ/mol, cal/mol or kcal/mol). The common convention 83.144 kJ/mol gives Ea/R = 9 999.92 K here, not 10 000 K, because this tool uses the exact SI value of R; for a storage record the result moves by 1e-5 K or less (an estimate). For Ea/R of exactly 10 000 K, state 83.1446261815324 kJ/mol.
  • outputUnit (required): The unit of the mean kinetic temperature returned.

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.
  • Mean kinetic temperature of a temperature record you supply, at the activation energy you state.
  • It equals the isothermal temperature giving the same degradation only if one Arrhenius process with that energy governs, and it makes no excursion judgement.
  • Research and education software: not a storage-condition, excursion or release 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

  • activationEnergy outside above 0 J/mol.
Every input, with its units3 inputs
  • temperatures (required): The record's readings, taken at equal intervals, at least one and at most one hundred thousand.
  • activationEnergy (required): Ea, the activation energy you state, per mole, above 0 (J/mol, kJ/mol, cal/mol or kcal/mol). The common convention 83.144 kJ/mol gives Ea/R = 9 999.92 K here, not 10 000 K, because this tool uses the exact SI value of R; for a storage record the result moves by 1e-5 K or less (an estimate). For Ea/R of exactly 10 000 K, state 83.1446261815324 kJ/mol.
  • outputUnit (required): The unit of the mean kinetic temperature returned.
Every refusal, with its code1 refusal
CodeWhen
NOT_POSITIVEactivationEnergy outside above 0 J/mol.

The calculation

The method's equations, constants and worked example.

Mean kinetic temperature of an equally spaced temperature record at a stated activation energyform-mean-kinetic-temperature@2.0.0
Tk=(Ea/R)/(−ln((Σie^(−Ea/(R·Ti)))/n))
SymbolMeaning
T_kmean kinetic temperature; returned in K, or in degC as T_k − 273.15 K formed from the exact rational and rounded once when outputUnit is degC, K
E_aactivation energy (the caller's), in J/mol: 1 kJ/mol = 1000 J/mol, and cal/mol or kcal/mol through cal_th, J/mol
Rmolar gas constant, N_A·k, J/(mol·K)
Tᵢabsolute temperature of reading i (a reading in degC plus 273.15 K), K
e^(−E_a/(R·Tᵢ))the Boltzmann factor of reading i
nnumber of readings

Source 1.

ConstantValueFrom
molar gas constant, N_A·k, exact R8.31446261815324 J/(mol·K)Source 2
thermochemical calorie (for cal/mol and kcal/mol) cal_th4.184 JSource 3
Celsius offset °C273.15 KSource 2

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

Worked example

Worked example: one case of form-mean-kinetic-temperature@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

  • temperatures[0] = 20 degC
  • temperatures[1] = 30 degC
  • activationEnergy = 83.144 kJ/mol
  • outputUnit = degC

Steps

  1. Ea/R = 9999.9247 K, from activationEnergy; by the equation above.
  2. b1 = 1.5323524e-15, from temperatures[0], Ea/R; by the equation above.
  3. b2 = 4.7211607e-15, from temperatures[1], Ea/R; by the equation above.
  4. mean = 3.1267565e-15, from b1, b2; by the equation above.
  5. Tk = 299.40988 K, from Ea/R, mean; by the equation above.
  6. TkC = 26.259878 °C, from Tk; by the equation above; gives meanKineticTemperature.

The working, as the case writes it:

the hand calculation of form-mean-kinetic-temperature-1#two-readings, copied with its worked block (worked by hand by the raising builder, 14 November 2026)

Answer

meanKineticTemperature = 26.259878 °C

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: Mean kinetic temperature absolute 1e-10 in its returned unit (K or degC: a relative rule would collapse near 0 degC, Drybench ruling, 10 November 2026, section 2.4); statuses, codes and units exact.

Sources

  1. Jenkins 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: Mean kinetic temperature of an equally spaced temperature record at a stated activation energy. At: equation 1, and the sentence after it (Tₙ the absolute temperature, K, for each of the time periods 1 through n).

    Read in full, 10 November 2026
  2. BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update)

    Used for: Mean kinetic temperature of an equally spaced temperature record at a stated activation energy. 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 2026
  3. NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition

    Used for: Mean kinetic temperature of an equally spaced temperature record at a stated activation energy. 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.

Cases

No case set is linked to this version.

Not checked

Haynes (1971), the original paper, unread; readings at unequal intervals (the time-weighted form); any excursion or storage-condition judgement; a printed worked example of MKT.

Changes to its methods1 change
  • 14 November 2026, form-mean-kinetic-temperature@2.0.0: In 2.0.0, where E_a/R is below the highest reading or E_a/(R·T) is not a double, the same mean is formed in reciprocal temperatures with expm1 and log1p, and tends to the harmonic mean as E_a goes to 0; every other input takes the earlier form unchanged. The degC result is converted from the exact rational and rounded once. Twelve degC cases of stored reference values move in their last bits (a major), so that file is retired and stored reference values replaces it.