The GHG Calculator and Register: theory of the calculations
Ithaka Institute · draft, first version 24 November 2026, this version 27 November 2026
How to cite this document
Ithaka Institute (2026). The GHG Calculator and Register: theory of the calculations. Version of 27 November 2026 (draft). https://ghg.ithaka-institute.org/docs
Version history: https://github.com/ithaka-hp/ghg-calculator (every earlier version is kept there, marked with the period in which it was the valid reference).
Licence: Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0), as Wikipedia: you may copy, share and adapt it, with this reference and under the same licence. A DOI follows with the final version.
This document explains how the GHG calculator turns registered emissions into a climate effect, and
how it matches that effect with permanent and temporary C-sinks. Every formula here is implemented
in src/lib/ghg.js (climate effect, rule-based matching) and src/lib/optimize.js (cost-optimal
plan). Section numbers in the code comments refer to the decisions listed at the end.
1. Units and terms
| Term | Meaning | Unit |
|---|---|---|
| Emission | A pulse of a gas released in one calendar year | t gas |
| Sustained emission | One pulse per year over d years, changing by r % per year | t gas per year |
| IRF | CO₂ impulse response: share of a CO₂ pulse still in the atmosphere after t years | – |
| ACE | Annual climate effect: the effect of all pulses in one calendar year, in CO₂ terms | t CO₂e |
| TCE(h) | Total climate effect: the ACE summed over h years | t CO₂e·yr |
| C-sink, permanent | A removal of CO₂ that is never re-emitted | t CO₂ |
| C-sink, temporary | A removal stored for L years, then fully re-emitted | t CO₂ |
| Re-emission | The CO₂ pulse at the end of a temporary sink's lifetime | t CO₂ |
All climate effects are expressed as CO₂-equivalent airborne tonnes: one t CO₂e in a year means the same warming in that year as one tonne of CO₂ kept in the atmosphere for that year.
2. CO₂ response (IRF)
The share of a CO₂ pulse still airborne after t years is
IRF(t) = a₀ + Σᵢ aᵢ · e^(−t/τᵢ)
with the Bern3D-LPX values of Jeltsch-Thömmes & Joos 2020 (Clim. Past 16:423–451, Table 2):
| a₀ | a₁ | a₂ | a₃ | a₄ | a₅ | |
|---|---|---|---|---|---|---|
| amplitude | 0.008 | 0.044 | 0.112 | 0.224 | 0.310 | 0.297 |
| τ (years) | ∞ | 68,521 | 5,312 | 362 | 47 | 6 |
Its integral is
IRFint(t) = a₀·t + Σᵢ aᵢ·τᵢ·(1 − e^(−t/τᵢ))
with IRFint(20) = 14.402 and IRFint(100) = 50.481 years. We always use this IRF. The Joos et al. 2013 IRF is used only to compare with IPCC AR6 values.
3. Climate effect of the gases
3.1 Non-CO₂ gases
A non-CO₂ gas decays with its perturbation lifetime τ. Its effect per tonne at time t is f₀·e^(−t/τ), where f₀ is scaled so that the effect over 100 years equals the AR6 GWP-100 times IRFint(100):
f₀ · τ · (1 − e^(−100/τ)) = GWP₁₀₀ · IRFint(100)
| Gas | τ (years) | GWP₁₀₀ | Source |
|---|---|---|---|
| CH₄ biogenic | 11.8 | 27.0 | AR6 WG1 Table 7.15 |
| CH₄ fossil | 11.8 | 27.0 + oxidation CO₂ (see 3.2) | AR6 WG1 Table 7.15 |
| CH₄ mixed / unspecified | 11.8 | 27.9 | AR6 WG1 Table 7.SM.7 |
| N₂O | 109 | 273 | AR6 WG1 Table 7.15 |
Lifetimes, radiative efficiencies and the full metric set: AR6 WG1 Table 7.SM.7. The values 27.0 and 79.7 (GWP-20 of non-fossil CH₄): AR6 WG1 Table 7.15.
3.2 Fossil methane
Fossil methane adds the CO₂ of its carbon. As the methane is oxidised (rate e^(−t/τ)/τ), each tonne releases 44.01/16.04 = 2.744 t CO₂, which then follows the CO₂ IRF. The convolution is solved analytically, so fossil methane keeps a CO₂ tail for millennia. With the Jeltsch IRF its TCE(100) equals 29.5 · IRFint(100) (AR6 Table 7.15: 29.8).
3.3 Annual climate effect (ACE)
Let C(t) be the cumulative effect of one tonne t years after its pulse (TCE in continuous time). A pulse is placed at the start of its calendar year. The ACE of the pulse in the k-th calendar year after it (k = 0 is the emission year) is
ACE(k) = C(k + 1) − C(k)
So the first year counts the response from 0 to 1 year after the pulse, drawn as one full calendar-year step. The ACE of all emissions in a calendar year is the sum over all pulses. Summed over h years, the ACE gives exactly the continuous TCE(h).
3.4 Sustained emissions
An emission of q t per year over d years with a change of r % per year is d annual pulses:
qⱼ = q · (1 + r/100)ʲ, j = 0 … d − 1
The change compounds: each year differs by r % of the year before. Example (Swiss Cattle): 135,000 t in 2026 at −1 %/yr gives 133,650 t in 2027 and 82,501 t in 2075.
4. Matching with C-sinks
4.1 Sinks as negative CO₂ pulses
A removal of x t CO₂ in year j is a negative CO₂ pulse. It cools by x · ACE_CO₂(k − j) in every later year k. A re-emission is a positive CO₂ pulse with the same IRF. A removal and a re-emission of the same tonnage in the same year therefore cancel exactly, in every year that follows.
4.2 Start year
Climate action starts in a chosen year (default: the current year). Effects of emissions in earlier years are not offset. All periods below count from the start year.
4.3 The TCE(H) rule for emissions
Emissions are balanced over calendar periods of H years from the start year:
- TCE(1): every single year (default),
- TCE(5): 2026–2030, 2031–2035, …,
- TCE(10): 2026–2035, 2036–2045, …,
- TCE(20): 2026–2045, 2046–2065, ….
The chosen period applies to all gases (decision 2026-11-26). The earlier option "methane over 20
years" (methane TCE(20) in its own account, other gases TCE(1) or TCE(5)) is no longer offered in
the app; the library still supports it (rule.methane20), and the examples below that use it are
kept as they were calculated.
In every period p:
Σ_{t∈p} [cooling of all sinks(t) − warming of all re-emissions(t)] ≥ Σ_{t∈p} ACE of the emissions(t)
Within a period, single years may stay uncovered.
Separate accounts: when methane uses TCE(20) and the other gases a shorter period, methane and the other gases each get their own sink account, because their periods differ.
Minimum coverage (optional): with TCE(5), TCE(10) or TCE(20) the user can require that in every year the sinks cover at least a share m of that year's warming:
cooling(t) ≥ m · [ACE of the emissions(t) + warming of the re-emissions(t)]
m = 0 is the period rule alone, m = 1 is the same as TCE(1). Default: m = 50 %.
4.3a Just in time: no sink ahead of need
Money is scarce, loses value through inflation, and money spent early earns no interest. Sinks are therefore bought only for emissions that have already happened, and no later than in the year of the emission. In every year t of a period p = [a, e):
Σ_{τ∈p} cooling(τ) of the sinks bought up to t − Σ_{τ∈p} warming(τ) of the re-emissions up to t = Σ_{τ∈p} ACE(τ) of the emissions released up to t
The left side may be larger only when older sinks still have surplus cooling; new sinks are never bought for emissions that come later in the period.
- Not earlier: the old rule bought at the start of a period for all emissions of the period, so money was spent up to H − 1 years ahead (Swiss Cattle: 128 Mt in 2026 for 2026–2045).
- Not later: a tonne bought later has fewer cooling years left in the period, so more tonnes would be needed. Buying in the year of the emission gives the least sink that still keeps the TCE(H) of the period at net zero.
- With TCE(1) the rule is the same as before: every year is its own period.
- Just-in-time buying needs more tonnes than buying the whole period ahead (Swiss Cattle, permanent only: 233 Mt instead of 223 Mt), but each payment is made only when its emission happens.
4.4 Permanent C-sinks (rule-based)
Every year the app checks whether the cooling of all earlier removals over the period covers the warming, over the period, of the emissions and re-emissions that have happened so far (4.3a). If not, it buys exactly the permanent removal that closes the gap. Surplus cooling is kept and counts for later periods. Because CO₂ cooling decays while methane warming decays faster, early surplus often covers later periods.
5. Temporary C-sinks
5.1 What a temporary sink does
A temporary sink of x t bought in year j with lifetime L cools like a removal from year j. On 1 January of year j + L it re-emits all x t as a CO₂ pulse. That re-emission must be offset.
Temporary sinks can be bought in any year and with any lifetime, shorter or longer than the TCE period: for example a 50-year sink under TCE(5), or a 10-year sink under TCE(1) or TCE(20).
5.2 The re-emission rule
Each re-emission is balanced in the year it happens (TCE(1) for re-emissions). In a year t with a re-emission Rₜ, at least one of these holds:
(a) new removals: the removals bought in year t (new temporary or new permanent sinks) are at least the re-emitted tonnes:
Pₜ + Σ_L Tₜ,L ≥ Rₜ
(b) excess cooling: older registered sinks cool enough in year t to cover that year's emissions and all re-emissions:
cooling of all sinks(t) ≥ ACE of the emissions(t) + warming of all re-emissions(t)
All older sinks count, permanent and temporary ones that are still stored: a temporary sink can offset the re-emission of another temporary sink.
Emissions themselves stay under the TCE(H) rule of 4.3.
Why this rule:
- A re-emission cannot be hidden in a period average behind the earlier cooling of the same sink. Without the rule, a 10-year sink under TCE(20) would re-emit inside its own period and add almost nothing; with an average, its re-emission could also be netted against unrelated cooling.
- A 10-year sink under TCE(20) is allowed. In year 10 it is replaced, by a new temporary or a permanent sink. Because the replacement happens in the year of the re-emission, the two pulses cancel, and no extra amount for the delay ("IRF loss difference") is needed. If a replacement came later, the delay would have to be covered as well.
- The bookkeeping stays simple. The register needs one account per TCE rule plus one yearly check for re-emissions, never a separate TCE window for each of hundreds of temporary sinks.
- With TCE(1), condition (b) always holds, because every year is balanced anyway. TCE(1) results are not changed by the rule.
5.3 One bridge (rule-based)
During the first B years from the start year ("bridge"), every shortfall (by the rule of 4.3a) is covered with new temporary sinks of lifetime L, including the re-emissions of earlier temporary sinks. Afterwards, permanent sinks take over. Each re-emission is checked in its year by rule 5.2: what the excess cooling (b) does not cover is bought new that year, temporarily during the bridge and permanently afterwards. The comparison table scans bridge lengths and lifetimes. The cheapest single bridge is called the best-one-bridge.
5.4 Optimal bridging (linear programme)
For each account, the app chooses for every year j of a 200-year planning horizon:
- Pⱼ: permanent removal (t CO₂),
- Sⱼ: the temporary stock held in year j (t CO₂).
*Any lifetime of whole years from a minimum lifetime Lmin on* (default 20 years). Storage of a few years is a delay, not a sink: a removal cools most in its first years (IRF 0.97 in year 1, 0.59 in year 21), so very short sinks would harvest this early cooling cheaply and hand the release on to older sinks. Without the minimum, the optimiser buys large amounts of one-year sinks.
A temporary sink of L ≥ Lmin years is the same as a sink of Lmin years followed by L − Lmin one-year renewals: a release and a new purchase in the same year cancel exactly (4.1), and the cost is the same price per year of storage (section 6). So the programme has, per year j:
- Bⱼ: new temporary sinks of Lmin years,
- Eⱼ: the temporary stock in its extension years (held in year j after its minimum lifetime),
with Eₜ ≤ Eₜ₋₁ + Bₜ₋Lmin: only sinks that reach the end of their minimum lifetime can be extended. After the solution, purchases and extensions are split into tranches (start year, lifetime, tonnes): the youngest are released first, and a release that falls in the same year as a new purchase is merged with it into one longer tranche. The tranches give the purchases, the re-emissions and the cost shown in the app. All stock is released within the horizon. The minimum lifetime also applies to the one-bridge plan.
It minimises the cost (section 6) subject to:
- just in time (4.3a), for every year t of a period: a lower bound (the sinks bought up to t cover the emissions released up to t over the period; at the period end this is the TCE(H) balance of 4.3) and an upper bound (the sinks bought in the period cover no more than that, plus 0.1 % tolerance for the solver; where the minimum coverage or the permanent share needs more, a very expensive slack allows it),
- the minimum coverage of 4.3, if set,
- the permanent share, if set: in every year, permanent sinks alone cool at least a share s of the emissions' ACE,
- the re-emission rule of 5.2 in every year with a re-emission.
The rule in 5.2 is an "either/or" and is therefore not linear. The app first requires (a) in every year, then switches the years in which the solution already meets (b) to condition (b), solves again and keeps the cheapest result (up to six rounds). The result always meets the rule; it may in rare cases be slightly more expensive than the true optimum.
After the horizon, permanent sinks cover any remaining shortfall by the rule of 4.4, and their cost is added. The linear programme is solved with a dual simplex method written for the app.
6. Costs
| Price | Default | Meaning |
|---|---|---|
| Permanent | € 150 per t | paid once, when bought |
| Temporary | € 2.25 per t and year | paid for each year of storage (incl. certification and insurance) |
| Price change, permanent | 0 % per year | e.g. −2 %: technology makes permanent sinks cheaper |
| Price change, temporary | 0 % per year | e.g. +1 %: administration makes temporary sinks dearer |
Prices apply in the start year. A permanent tonne bought j years later costs p_perm · (1 + g_perm)ʲ. A temporary tonne bought in year j with lifetime L costs
ptemp · Σ{y=0}^{L−1} (1 + g_temp)^(j+y)
The temporary default lies between 1 % of the permanent price per year (€ 1.50) and about € 3, when certification and insurance are included. There is no general discount rate: the price changes express the expected development of each kind of sink.
6a. Register: C-sinks held
A sink portfolio holds C-sinks already bought: permanent or temporary, t CO₂, vintage (the year of removal, not the year of purchase), and for a temporary sink its lifetime (it re-emits all of it at the start of vintage + lifetime).
Vintage. A sink is a negative CO₂ pulse in its vintage year (4.1). For a past vintage, only the cooling it still exerts in each year counts, with the decayed response: 100 t removed in 2010 cool 61.5 t CO₂e in 2026 and 58.5 t CO₂e in 2030, 100 t removed in 2026 cool 96.8 and 80.7 t CO₂e. Cooling before the start year offsets nothing (4.2). A 1 t CH₄ (biogenic) pulse in 2026 under TCE(1) then needs 14.4 t of additional permanent sinks with 100 t of vintage 2026 held, but 50.9 t with vintage 2010. An offsetting scenario uses one or more sink portfolios, each with a share in %: that share of every sink counts for the emissions of the scenario (one or more emission portfolios, pooled, and the scenario's own emissions). Scenarios are for testing, not a register: a sink portfolio can be used in any number of scenarios, so double counting is not checked yet; the future register will.
Calculation. The sinks held are fixed CO₂ pulses (negative at removal, positive at the re-emission of a temporary sink). They count first, under all rules of sections 4 and 5: TCE(H) balance, minimum coverage, and each re-emission balanced in its own year (5.2), also the re-emissions of sinks held. What is still missing is bought just in time (4.3a), with permanent sinks only, one bridge or optimal bridging. In optimal bridging the sinks held cost nothing and do not count against "not ahead of need". With methane under TCE(20), the sinks held are split between the methane and the other-gas account in proportion to their TCE over the first 100 years from the start year.
Available ACE. The cooling the rules do not need, per year (t CO₂e):
available(t) = cooling(t) − warming(t), when positive,
where warming is the emission ACE plus the warming of all re-emissions. Under TCE(H) with H > 1 it is also capped so that the minimum coverage still holds, and the positive years of a period are scaled down so that the period still balances when all available ACE is taken away. Available ACE can be assigned to other emissions year by year: the ACE of a sink in a year offsets only the ACE of an emission in the same year (side note, "available ACE"). Summed over years it is in t CO₂e·yr. It includes the surplus of sinks bought by the plan (for example the late cooling of permanent sinks bought for methane).
Check against the side note (1 t biogenic CH₄, methane TCE(20), 77.3 t held for 20 years): the app adds 51.6 t of permanent sink from year 21, nothing before, and the available ACE over years 21–100 is 1,437 t CO₂e·yr (side note Table 1: 1,436).
6b. Realised and projected emissions (offsetting scenarios)
Only registered C-sinks can be held, and they exist now. Future emissions, such as the later years of a sustained emission, are hypothetical. Using the sinks held for them would spend real cooling on emissions that have not happened.
Cut-off. Always the current calendar year C (2026 at the time of writing). Emission pulses up
to C are realised, later pulses are projected. A sustained emission that crosses the
cut-off is split: the realised part keeps its years up to C; the projected part starts in
C + 1 with the quantity of that year and the same yearly change. Both parts together have
exactly the pulses, and so the ACE, of the whole emission (GHG.splitAtYear, tested).
Two accounts. The sinks held count only in the realised account, with their ACE from their vintage (the year of removal). On 1 January 2027 the sinks of vintage 2026 therefore still cover the emissions of 2026 with their full response from 2026. The re-emission of a temporary sink held also belongs to the realised account. The projected emissions get a purchase program of their own under the same rule (permanent only, one bridge or optimal bridging), bought just in time. What the realised account does not need of the sinks held is available ACE. The two accounts add up linearly, like the separate methane account under TCE(20).
Planned sinks (2026-11-27). Like sustained emissions, C-sinks can be planned into the future: a sink with a vintage after C starts to cool only in its vintage year. It belongs to the program for the future, so it counts in the projected account, while sinks of vintage up to C count in the realised account. Example (TCE(1), permanent only, start 2026): 1 t biogenic CH₄ per year 2026–2045 needs 1'666.5 t of permanent sinks; with 100 t planned for 2035 it needs 1'566.9 t, and the purchase of 2035 (84.0 t) falls away. In the realised account the same planned sink would not help.
Option "sinks held may also cover future emissions". Then everything is one account: the sinks held also serve the projected emissions in the years they need it, with the response left from their vintage, and what a year does not need is available ACE for other emissions.
Example (Peter's scenario, 2026-11-25): 1 t biogenic CH₄ per year 2026–2060 (−10 %/yr), TCE(5), optimal bridging, sinks held 100 t permanent and 250 t temporary for 60 years (vintage 2026). Two accounts: 92.4 t to buy for the realised year 2026 (mostly for the re-emission of the 250 t in 2086) and 571 t for the program from 2027; available ACE 2026–2125: 11,905 t CO₂e·yr. One account: 409 t to buy, available ACE 3,659 t CO₂e·yr.
7. Results shown
- Chart: the emissions' ACE stacked by gas above the axis. Below the axis: the cooling of the permanent sinks (green), then the cooling of the temporary sinks while stored (magenta). Hatched above the axis: the warming left after re-emissions.
- Net, ACE-based: emissions − cooling + re-emissions, for each year from the start year.
- Net, TCE-based: the net summed over each balance period and drawn as the period mean, added over the accounts. It is shown only when a period is longer than one year.
- Key figures: TCE₁₀₀ and TCE₂₀ of the emissions, the peak ACE, tonnes of permanent and temporary sinks, and the cost against a plan with permanent sinks only.
8. Example: Swiss Cattle CH₄
Biogenic methane, 135,000 t in 2026, for 50 years at −1 %/yr, start year 2026, methane TCE(20), default prices, no price changes, lifetimes 10/20/30/50 years, minimum coverage 50 %, just in time:
| Plan | Permanent | Temporary | Cost | Bought in 2026 |
|---|---|---|---|---|
| Permanent sinks only | 233 Mt | – | € 35.0 bn | 10.4 Mt |
| Optimal bridging (minimum lifetime 20 years) | 102 Mt | 133 Mt, stored 20–62 years | € 28.9 bn | 10.4 Mt |
Before the just-in-time rule (buying at the period start): 223 Mt and € 33.4 bn permanent only, € 27.7 bn optimal, with 124–128 Mt bought in 2026. Just in time spreads the purchases over the years of the emissions (about 10–12 Mt per year). The 50 % minimum coverage does not bind here, because just-in-time buying already covers about two thirds of each year's warming.
9. Decisions
| Date | Decision |
|---|---|
| 2026-11-23 | Always the Jeltsch-Thömmes & Joos 2020 IRF; Joos 2013 only for AR6 comparison. |
| 2026-11-23 | Fossil CH₄ carries the CO₂ of its carbon with its long tail. |
| 2026-11-23 | ACE year 1 = IRF integral from 0 to 1 year, drawn as one full calendar-year step. |
| 2026-11-23 | TCE(H) periods are calendar periods counted from the start year; earlier years are not offset. |
| 2026-11-24 | Temporary sinks re-emit fully at the end of their lifetime; the re-emission must be offset. |
| 2026-11-24 | Prices: permanent € 150/t; temporary € 2.25 per t and year. |
| 2026-11-24 | No general discount rate; separate yearly price changes for permanent and temporary sinks. |
| 2026-11-24 | Temporary sinks in any year, any lifetime; each re-emission balanced in its own year by new removals or by excess cooling of older sinks (5.2). |
| 2026-11-24 | Excess cooling may come from permanent and from still-stored temporary sinks. |
| 2026-11-24 | Just in time: sinks are bought only for emissions that have happened, in the year of the emission, never ahead of need (4.3a). |
| 2026-11-24 | Minimum coverage default 50 % for TCE(5) / TCE(20). |
| 2026-11-25 | Optimal bridging: any lifetime of whole years for temporary sinks; no list of allowed lifetimes. |
| 2026-11-25 | Minimum lifetime of a temporary sink, default 20 years (shorter storage is a delay, not a sink). |
| 2026-11-25 | Register: separate sink portfolios, assigned to emission portfolios with a share in %; sinks held count first; surplus shown as available ACE per year. |
| 2026-11-25 | Three pages: emission register, C-sink register, offsetting scenarios. A scenario pools emission portfolios and sink portfolios (with share); nothing is retired, double counting is checked only in the future register. |
| 2026-11-25 | Realised (to the current year) and projected emissions in separate accounts; sinks held only for the realised ones unless the option allows more (6b). |
| 2026-11-26 | Matching rules TCE(1), TCE(5), TCE(10), TCE(20) for all gases; the separate "methane over 20 years" switch is removed. |
Open points
- How the register books the yearly re-emission check (one line per re-emission year, per account).
- References with DOIs for all sources, in the final version.
- Longer periods do not always need fewer sinks (found 2026-11-26, permanent sinks, just in time, rule-based). One pulse of 1 t biogenic CH₄ in 2026: 114 t (TCE(1)), 107 t (TCE(5)), 96 t (TCE(10)), 77 t (TCE(20)). But 1 t/yr from 1900 for 200 years at −1 %/yr: 593, 614, 634, 768 t; 50 years from 2026: 1'799, 1'845, 2'003, 1'728 t. Likely cause: with just-in-time buying, the emissions that have already happened (including those before the start year) must be covered for the whole rest of their period at once, so permanent sinks are bought for warming that decays within the period, and the surplus left afterwards is not used as well as with yearly matching. To discuss whether the period rule should count the surplus differently.
How to cite this document
Ithaka Institute (2026). The GHG Calculator and Register: theory of the calculations. Version of 27 November 2026 (draft). https://ghg.ithaka-institute.org/docs
Version history: https://github.com/ithaka-hp/ghg-calculator (every earlier version is kept there, marked with the period in which it was the valid reference).
Licence: Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0), as Wikipedia: you may copy, share and adapt it, with this reference and under the same licence. A DOI follows with the final version.
