Octa Cultures
Octa Cultures · Ecological Aspect · Global Ice Melting Model · Math Primer

The mathematics of melting ice,
step by step

Every formula the Global Ice Melting Model uses — from a sea-ice anomaly to an iceberg’s melt rate and the ocean’s pH — in plain words first, then the maths, the model’s own constants and a worked example with its real, dated data.

Version 1.020 October 2026Data as of: see each sourceOcta Cultures · Ecological Aspect
00 · Before you start

How to read this primer

In plain words
This page explains every piece of mathematics the Global Ice Melting Model uses, one at a time. Each part has the same five pieces: what it is for (this kind of box), the formula (in a dark box, every symbol explained), the numbers the model uses (taken from its code), a worked example with the model’s real data, and a note wherever the code takes a short cut. Nothing here is new: every formula and constant is in the model’s code or in its data builder. Part A is the world’s ice (sea ice, ice sheets, glaciers, sea level). Part B is the Southern Ocean iceberg engine.

Units you will meet

UnitWhat it meansA feel for its size
km²square kilometre: a square 1 km on each sideabout 140 football pitches
million km²1 000 000 km² — the unit of sea-ice extentthe Arctic sea ice on 17 Oct 2026 covered 6.717 million km²
Gtgigatonne: 1 000 000 000 tonnes = 1012 kg1 Gt of ice is about 1.09 km³ of ice (1 km³ of ice weighs 0.917 Gt)
mm of sea levelhow much the whole ocean surface rises362.5 Gt of melted land ice raise it by 1 mm (see A6)
m w.e.metres of water equivalent: the ice lost, written as a layer of water spread over the glacier1 m w.e. ≈ 1.1 m of ice (see A7)
m/s, km/dayspeeds of water, wind and bergs0.1 m/s = 8.64 km a day
µmol/kgmicromoles of a substance in one kilogram of seawater (chemistry)seawater holds about 2 300 µmol/kg of alkalinity

Powers of ten

Big and small numbers are written with powers of ten. 103 = 1 000; 109 = 1 000 000 000 (a billion, “giga”); 1012 = a million million. In the code you will see the same thing as 1e9 or 3.61e14 — “3.61 times ten to the fourteenth”. A minus sign in the power means a fraction: 10−6 = 0.000001 (a millionth, “micro”, µ).

3.61e14 m² = 3.61 × 10¹⁴ m² = 361 000 000 000 000 m² ← the ocean area the iceberg engine uses 1 µm = 10⁻⁶ m = one thousandth of a millimetre
The worked examples were recomputed for this primer from ice-melt-data.json (built 20 Oct 2026, 08:07 UTC), the CMEMS current file ocean-currents-south.json (field of 29 Jul 2026) and the U.S. National Ice Center iceberg list of 17 Jul 2026. Each value carries its own date. Numbers are rounded for reading; the code keeps more digits.
Reading the model’s data file … until it arrives, the numbers below are the fixed ones written on 20 October 2026.
Part A · The world’s ice · A1

Averages, anomalies and percent

What it is for
“6.7 million km² of sea ice” means little alone. The model compares each day with what was normal on the same day of the year over 1981–2010. The difference is the anomaly: below zero means less ice than normal. Writing it as a percent of normal lets you compare a small number with a big one.
mean x̄ = (x₁ + x₂ + … + xₙ) / n anomaly Δ = today − x̄(same day, 1981–2010) percent Δ% = Δ / x̄ × 100 x₁…xₙ the values being averaged · n how many there are

Numbers the model uses. The 1981–2010 daily average comes ready-made from NSIDC’s climatology file (column “mean”); the builder reads it, it does not recompute it (build_ice_melt.py, sea_ice(): anomaly = last − climMean, anomalyPct = (last − climMean)/climMean × 100, rounded to 1 decimal).

Worked example · Arctic and Antarctic, 17 Oct 2026 (NSIDC Sea Ice Index v4)

Arctic: today 6.717 million km²; the 1981–2010 average for this day 8.457.

Δ = 6.717 − 8.457 = −1.740 million km² Δ% = −1.740 / 8.457 × 100 = −20.57… ≈ −20.6 %

Antarctic: today 16.204; average 18.158.

Δ = 16.204 − 18.158 = −1.954 million km² Δ% = −1.954 / 18.158 × 100 = −10.76… ≈ −10.8 %

The Antarctic lost more ice in square kilometres (1.954 against 1.740) but less in percent, because its normal cover on this date is more than twice as large.

Try it · anomaly and percent

This calculator needs ice-melt-data.json, which has not been read.

A2

Percentiles: the “8 of 10 years” band

What it is for
An average hides how much years differ. The pale band on the sea-ice chart shows the range where 8 of every 10 years fell on that day in 1981–2010. Its lower edge is the 10th percentile (only 1 year in 10 was lower), its upper edge the 90th percentile (only 1 in 10 was higher). A day below the band is unusual even by the standards of a varied past.
sort the 1981–2010 values for one day from low to high P10 = the value 10 % of the way up the list P90 = the value 90 % of the way up the list band = [P10, P90] → about 80 % of the years lie inside

Numbers the model uses. NSIDC computes the percentiles; the builder copies columns 3 (10th) and 7 (90th) of the climatology file (clim.append([mean, p10, p90])). With 30 years in the base period, “10 % of the way up” sits near the 3rd lowest year. Different statistics packages place a percentile slightly differently between two neighbouring years; the model does not choose, it uses NSIDC’s.

Worked example · Arctic, 17 Oct 2026
band for this day (1981–2010): 7.192 … 9.421 million km² today: 6.717 6.717 < 7.192 → below the 10th percentile, by 7.192 − 6.717 = 0.475 million km²

So today’s Arctic ice is lower than the lowest tenth of the 1981–2010 years on this date. The Antarctic, at 16.204 against a band of 17.786 … 18.668, is below its band by 1.582 million km².

A3

Ranking a day

What it is for
“The 11th lowest of 44 years on this date” tells you where today stands in the whole satellite record, not only against 1981–2010.
take every year that has a value on the same day of the year (d) sort them from lowest to highest rank = position of this year in the list (1 = lowest ever) day of year d: 1 Jan = 1 … 17 Oct 2026 = 31+28+31+30+31+30+31+31+30 + 17 = 290

How the code does it. same_day = sorted(years with a value on day d, by value); rank = index of this year + 1. Only real measurements count (the early record, 1978–87, has a value every other day, so some years have no value on a given day; 44 of the record’s years have one on day 290). A short cut: years are matched by day-of-year number, so in a leap year “day 290” is 16 October, one calendar day earlier.

Worked example · 17 Oct 2026 (NSIDC)
Arctic: 6.717 → rank 11 of 44 (lowest on this day: 2020, 5.261) Antarctic: 16.204 → rank 2 of 44 (lowest on this day: 2023, 16.173) gap to the record: 16.204 − 16.173 = 0.031 million km²
A4

The least-squares trend line

What it is for
Each year’s lowest Arctic ice jumps up and down with the weather, but the cloud of points slopes downward. The trend line is the one straight line that sits “closest” to all the points at once. Its slope says how much the ice changes per year; times ten, per decade. The model uses the same method for the yearly sea-ice low and high, and for the sea-level trend (A9, A10).

Where the formula comes from

Draw any line y = a + b·x. For each year, the gap between the real value and the line is a residual (the thin sticks in the figure). Square each gap (so ups and downs both count, and big misses count more) and add them up. The best line is the one that makes this sum smallest:

E(a, b) = Σ ( yᵢ − a − b·xᵢ )² ← the sum of squared gaps set ∂E/∂a = 0 → a = ȳ − b·x̄ ← the line passes through the centre point (x̄, ȳ) set ∂E/∂b = 0 → b = Σ(xᵢ − x̄)(yᵢ − ȳ) / Σ(xᵢ − x̄)² xᵢ year · yᵢ value that year · x̄, ȳ their means · b slope (units per year) ∂E/∂a = 0 means “E stops falling when a changes a little” — the bottom of the bowl per decade = b × 10 % per decade = b × 10 / (mean of the 1981–2010 values) × 100

Numbers the model uses. trend() in the builder uses only complete years: 1979 to the last full year, without 1987 and 1988 (a six-week gap in the satellite record) and without the current year. The percent base is the mean of those complete years inside 1981–2010, which is 28 years, not 30, because 1987–88 are left out.

3 M4 M5 M6 M7 M8 M19801990200020102020centre point (x̄ = 2002.6, ȳ = 5.60)2012 · 3.34slope b = -0.743 million km² per decade
the yearly lowest Arctic extent (complete years)the record low, 2012least-squares lineresiduals

Data: NSIDC Sea Ice Index v4, yearly minima 1979–2025 (1987–88 left out), as in ice-melt-data.json built 20 Oct 2026.

Worked example · the Arctic yearly low, 1979–2025 (NSIDC)
n = 45 complete years x̄ = 2002.644 ȳ = 5.6010 million km² Σ(x − x̄)(y − ȳ) = −609.576 Σ(x − x̄)² = 8 208.311 b = −609.576 / 8 208.311 = −0.074263 million km² per year per decade = −0.74263 ≈ −0.743 million km² 1981–2010 mean of the yearly low (28 years) = 6.1314 % per decade = −0.74263 / 6.1314 × 100 = −12.11 ≈ −12.1 %

The same steps for the Antarctic yearly low give b × 10 = −0.062 million km² per decade (−2.2 %), and for the Arctic yearly high −0.386 (−2.5 %). The Arctic summer low is shrinking about five times faster, in percent, than its winter high.

Try it · refit the trend line

This calculator needs ice-melt-data.json, which has not been read.

A5

Cumulative sums and running totals

What it is for
A day’s or a year’s loss is small; what matters is how it adds up. A running total (cumulative sum) keeps adding each new value to everything before it. The Greenland chart adds GEUS’s daily mass change from 1 January; the ice-sheet chart reads IMBIE’s running total and measures it from the end of 1991.
running total on day k: Cₖ = v₁ + v₂ + … + vₖ = Cₖ₋₁ + vₖ change between two dates: ΔC = C(end) − C(start) average rate: r = ΔC / (number of years) “normal” running total on day k = average of Cₖ over the 1991–2020 years vₖ the value on day (or month) k · Cₖ the total up to and including k

Numbers the model uses. GEUS: cum(y) adds the daily mass balance (Gt per day) from 1 January; the normal curve averages the running totals of every 1991–2020 year that has at least 365 days. IMBIE: the file already holds a running total since 1971 (Greenland) or 1979 (Antarctica); the builder keeps one value per December and subtracts: since1992 = Dec 2023 − Dec 1991 and rate2019_2023 = (Dec 2023 − Dec 2018) / 5.

Worked example 1 · Greenland so far this year (GEUS, 1 Jan – 22 Sep 2026)
2026 running total on 22 Sep = −233.8 Gt 1991–2020 average on the same day = −243.0 Gt difference = −233.8 − (−243.0) = +9.2 Gt → 9.2 Gt less loss than an average year so far
Worked example 2 · the ice sheets since 1992 (IMBIE 2026, to Dec 2023)
Greenland: C(Dec 2023) = −6 196 Gt C(Dec 1991) = −464 Gt since 1992 = −6 196 − (−464) = −5 732 Gt C(Dec 2018) = −5 057 Gt rate 2019–2023 = (−6 196 − (−5 057)) / 5 = −1 139 / 5 = −227.8 ≈ −228 Gt a year Antarctica: since 1992 = −4 779 − (−614) = −4 165 Gt rate 2019–2023 = (−4 779 − (−4 368)) / 5 = −82.2 ≈ −82 Gt a year

“Since 1992” covers 32 years, from the end of 1991 to the end of 2023.

A6

From ice to sea level

What it is for
Ice that sits on land (glaciers, ice sheets) raises the sea when it melts or slides in. To turn a mass of ice into millimetres of sea level, spread its water over the whole ocean. Ice that already floats (icebergs, sea ice) is different: it already pushes aside its own weight of seawater, so melting it adds almost nothing — only a tiny extra because fresh water is lighter than salt water.

1 · Grounded ice: 362.5 Gt per millimetre

sea-level rise ΔSL = m / (ρ_water · A_ocean) in practice: ΔSL [mm] = − Δm [Gt] / 362.5 m mass of ice · ρ_water 1 000 kg/m³ · A_ocean ocean area · the minus: lost ice (negative) = rising sea (positive) check: A_ocean = 3.61 × 10¹⁴ m² (the figure the iceberg engine uses) 1 mm over the ocean = 3.61 × 10¹⁴ m² × 0.001 m = 3.61 × 10¹¹ m³ of water × 1 000 kg/m³ = 3.61 × 10¹⁴ kg = 361 Gt

Numbers the model uses. The builder uses 362.5 Gt per mm (written in the code as “362.5 Gt of ice = 1 mm of global sea level”); the simple check above lands within 0.4 % of it. For the ice sheets the model does not convert: IMBIE gives its own millimetre column, and the builder only flips the sign, because IMBIE writes mass change in mm (loss negative), while sea level rises when mass is lost: slrMm = −(mm Dec 2023 − mm Dec 1991).

Worked example · glaciers and Greenland
World’s glaciers 2000–2023 (GlaMBIE): −6 542 Gt ΔSL = 6 542 / 362.5 = 18.05 mm Greenland 1992–2023 (IMBIE): mm column −17.21 (Dec 2023) and −1.29 (Dec 1991) ΔSL = −(−17.21 − (−1.29)) = 15.92 mm ← what the page shows same mass with 362.5: 5 732 / 362.5 = 15.81 mm ← IMBIE’s own conversion differs by 0.7 %

2 · Floating ice: why it adds only a tiny amount

Archimedes: a floating berg of mass m pushes aside exactly m kilograms of seawater, a volume m/ρ_sw. When it melts it becomes m kilograms of fresh water, a volume m/ρ_fresh. Fresh water is lighter, so it takes a little more room than the hole it fills. That small extra volume, spread over the ocean, is the halosteric term.

mass m = A · H · ρ_ice extra volume ΔV = m · (1/ρ_fresh − 1/ρ_sw) sea level ΔSL = ΔV / A_ocean (Noerdlinger & Brower 2007) freeboard (above water) = H · (1 − ρ_ice/ρ_sw) = H · 0.10711 draft (below water) = H · ρ_ice/ρ_sw = H · 0.89289 A area · H thickness · ρ_ice 917 · ρ_fresh 1 000 · ρ_sw 1 027 kg/m³ · A_ocean 3.61 × 10¹⁴ m²
The code uses ρ_sw = 1 027 kg/m³ for the sea-level and freeboard figures and 1 025 kg/m³ in the ocean-chemistry part (B7). For about thirty named bergs the page reads mass and sea-level values from a stored table (ICE_PHYS) instead of computing them; for the rest it uses the formula above.
Worked example · iceberg A76C (USNIC, 17 Jul 2026: 291.21 km²; thickness 230 m from the model’s size table)
m = 291.21 × 10⁶ m² × 230 m × 917 kg/m³ = 6.142 × 10¹³ kg (61 Gt) 1/1000 − 1/1027 = 0.0010000 − 0.0009737 = 2.629 × 10⁻⁵ m³/kg ΔV = 6.142 × 10¹³ × 2.629 × 10⁻⁵ = 1.615 × 10⁹ m³ ΔSL = 1.615 × 10⁹ / 3.61 × 10¹⁴ = 4.47 × 10⁻⁶ m = 4.47 µm if the same ice sat on land: 6.142 × 10¹³ / 1 000 / 3.61 × 10¹⁴ = 1.70 × 10⁻⁴ m = 170 µm (about 38 times more) freeboard = 230 × 0.10711 = 24.6 m draft = 230 × 0.89289 = 205.4 m
Try it · ice to sea level
A floating berg

Starts with the world’s glaciers 2000–2023 (GlaMBIE) and berg A76C (USNIC, 17 Jul 2026). Constants: 362.5 Gt per mm; ρ_ice 917, ρ_fresh 1 000, ρ_sw 1 027 kg/m³; ocean area 3.61 × 10¹⁴ m².

A7

Metres of water → metres of ice

What it is for
A big region loses more gigatonnes than a small one just because it is big. Glaciologists make regions comparable by writing the loss as a layer of water spread over the glacier area: metres of water equivalent (m w.e.). Ice is lighter than water, so the same mass is a thicker layer of ice.
mass Δm [kg] = b [m w.e.] × A [m²] × 1 000 kg/m³ in Gt: Δm [Gt] = b × A [km²] × 10⁶ × 1 000 / 10¹² = b × A [km²] / 1 000 ice thickness ≈ b / 0.9 (ρ_water/ρ_ice ≈ 1/0.9) b mass balance in m w.e. · A glacier area

Numbers the model uses. The page divides by 0.9 to give “about … m of ice” (Math.abs(l[3]/1000)/0.9). This is a round figure; with 917 kg/m³ it would be ÷ 0.917, about 2 % less ice. WGMS gives its values in millimetres w.e., so the page first divides by 1 000.

Worked example · WGMS reference glaciers and GlaMBIE 2023
WGMS, since 1970, to 2025: −28 109 mm w.e. = −28.109 m w.e. ice ≈ 28.109 / 0.9 = 31.2 m of ice lost (on average over the measured glaciers) GlaMBIE 2023, the world: b = −0.843 m w.e., area 651 707 km² Δm ≈ −0.843 × 651 707 / 1 000 = −549.4 Gt (the file holds −548.03 Gt; GlaMBIE converts with its own area figures) GlaMBIE average 2000–2023: −0.406 m w.e. a year ≈ 0.45 m of ice a year
Try it · metres of water to metres of ice

Starts with the world’s glaciers in 2023 (GlaMBIE). Ice ≈ m w.e. ÷ 0.9, as on the model page.

A8

Uncertainty: ±1σ and adding independent errors

What it is for
Every measurement comes with an error bar. “±1σ” (one sigma, one standard deviation) means: the true value lies inside the bar about two times in three (68 %). When you add up 24 yearly values, their errors partly cancel — one year too high, another too low — so the total error is smaller than the plain sum of the errors.
independent errors add “in quadrature”: σ_total = √( σ₁² + σ₂² + … + σₙ² ) if the errors moved together (fully linked), they would add plainly: σ_total = σ₁ + σ₂ + … + σₙ ← the upper limit

Numbers the model uses. The glacier total (glaciers()): err = √Σ(gt_err²). The code says plainly that this treats the yearly errors as independent, an approximation; GlaMBIE’s own method is fuller. The ice-sheet band on the chart is IMBIE’s own cumulative ±1σ, read from the file, not recomputed. GEUS gives its own yearly MB_err.

Worked example · the world’s glaciers 2000–2023 (GlaMBIE)
24 yearly errors: 111.56, 95.30, 91.15, … , 100.83, 120.16 Gt √(111.56² + 95.30² + … + 120.16²) = 387.0 Gt ← the page shows “± 387 Gt” plain sum (if fully linked) = 1 862.8 Gt IMBIE Greenland, cumulative to Dec 2023: −6 196 ± 467 Gt (±1σ)

So the glaciers lost 6 542 ± 387 Gt: very likely between about 6 155 and 6 929 Gt, and certainly a loss.

Try it · adding independent errors
A9

Acceleration: the curved fit

What it is for
A straight line gives the average speed of sea-level rise. If the rise is getting faster, a gently curving line (a parabola) fits better. The bend of that curve is the acceleration: how many mm/yr the speed adds each year.
fit: y(t) = c₀ + c₁·(t − t̄) + c₂·(t − t̄)² by least squares (as in A4) speed (rate) dy/dt = c₁ + 2·c₂·(t − t̄) acceleration d²y/dt² = 2·c₂ t time in decimal years · t̄ the mean time (centring keeps the numbers small and stable) y sea level in mm relative to the 1993–2012 mean

Numbers the model uses. sea_level(): NOAA’s altimetry points are averaged where two satellite missions overlap, then into calendar months (round(t × 12)/12); the trend is np.polyfit(…, 1) (a straight line), and the acceleration 2·c₂ from np.linalg.lstsq on the columns [1, t − t̄, (t − t̄)²], over the whole record.

Worked example · NOAA global mean sea level, Jan 1993 – Mar 2025 (387 months)
t̄ = 2009.083 c₀ = 24.91 mm c₁ = 3.113 mm/yr c₂ = 0.03772 mm/yr² acceleration = 2 × 0.03772 = 0.0754 ≈ 0.075 mm/yr² straight-line trend = 3.113 ≈ 3.11 mm/yr (NOAA states 3.11 in its file header) rise since the start = 83.6 − (−22.5) = 106.1 ≈ 106 mm

At 0.075 mm/yr² the speed grows by about 0.75 mm/yr every ten years. The speed at the mean time (2009) is c₁ ≈ 3.1 mm/yr; in March 2025 it is c₁ + 2·c₂·(2025.167 − 2009.083) = 3.113 + 0.0754 × 16.08 ≈ 4.33 mm/yr.

A10

The sea-level budget

What it is for
The sea rises for a few reasons: melting land ice, and warmer water taking more room (plus water stored on land). The budget lines up the measured rise against the parts the model measures — glaciers, Greenland, Antarctica — over the years every source covers, 2000–2023. What is left over is not measured here.
glaciers = −(Σ yearly Gt, 2000–2023) / 362.5 / 24 mm/yr Greenland = −(IMBIE mm Dec 2023 − IMBIE mm Dec 1999) / 24 Antarctica = −(IMBIE mm Dec 2023 − IMBIE mm Dec 1999) / 24 land ice = glaciers + Greenland + Antarctica observed = least-squares slope of NOAA monthly sea level, 2000.0 ≤ t < 2024 remainder = observed − land ice (“mostly warmer water expanding”)
Worked example · 2000–2023 (GlaMBIE, IMBIE 2026, NOAA)
glaciers: 6 542.49 / 362.5 / 24 = 0.752 mm/yr Greenland: −(−17.21 − (−2.37)) / 24 = 14.84 / 24 = 0.618 mm/yr Antarctica: −(−13.28 − (−3.24)) / 24 = 10.04 / 24 = 0.418 mm/yr land ice: 0.752 + 0.618 + 0.418 = 1.789 ≈ 1.79 mm/yr observed: slope of 288 months, Jan 2000 – Dec 2023 = 3.308 ≈ 3.31 mm/yr remainder: 3.308 − 1.789 = 1.520 ≈ 1.52 mm/yr share of land ice: 1.79 / 3.31 × 100 ≈ 54 %
The observed rate over 2000–2023 (3.31 mm/yr) is higher than the 1993–2025 trend (3.11 mm/yr, A9): different periods, and the rise is accelerating. Both are right for their own years.
Try it · the budget, year by year

This calculator needs ice-melt-data.json, which has not been read.

Part B · The icebergs · B1

Distance on a sphere

What it is for
On a flat map, near the poles, distances look far too big. The model measures distance the way a ship would sail it: along the great circle, the shortest path over the curved Earth. It uses this to add up a berg’s path length and to score its forecasts (B8).
h = sin²(Δφ/2) + cos φ₁ · cos φ₂ · sin²(Δλ/2) d = 2 R · asin(√h) (the haversine formula) path length = sum of d over every pair of neighbouring points φ latitude, λ longitude, in radians (degrees × π/180) · Δφ, Δλ the differences · R = 6 371 km (Earth’s mean radius)

In the code: haversineKm, _gcKm (the same formula) and pathKm (the sum). The min(1, √h) guard stops rounding from pushing asin past 1.

Worked example · from A76C to A81 (USNIC positions, 17 Jul 2026)
A76C 52.27° S, 31.57° W → φ₁ = −52.27°, λ₁ = −31.57° A81 61.22° S, 53.39° W → φ₂ = −61.22°, λ₂ = −53.39° Δφ = −8.95° = −0.15621 rad Δλ = −21.82° = −0.38083 rad sin²(Δφ/2) = sin²(−0.07810) = 0.006088 cos φ₁ · cos φ₂ = 0.61194 × 0.48144 = 0.29462 sin²(Δλ/2) = sin²(−0.19042) = 0.035822 h = 0.006088 + 0.29462 × 0.035822 = 0.016641 d = 2 × 6 371 × asin(√0.016641) = 12 742 × asin(0.12900) = 12 742 × 0.12936 = 1 648.3 km
Try it · distance on a sphere
Point 1
Point 2

Latitude, then longitude, in degrees; south and west are negative. Starts at A76C and A81 (USNIC, 17 Jul 2026).

B2

Reading a current map between its points

What it is for
The ocean-current file gives the water’s speed only on a grid, every 0.5° of latitude and longitude. A berg is almost never exactly on a grid point. Bilinear interpolation takes the four grid points around the berg and blends them, giving more weight to the nearer ones — first along one direction, then the other.
fi = (φ − φ₀)/Δφ fj = (λ − λ₀)/Δλ grid position, in cells i₀ = ⌊fi⌋ j₀ = ⌊fj⌋ tᵢ = fi − i₀ tⱼ = fj − j₀ (0 ≤ t < 1) u = a·(1−tᵢ)(1−tⱼ) + b·(1−tᵢ)·tⱼ + c·tᵢ·(1−tⱼ) + d·tᵢ·tⱼ a, b, c, d the values at the four corners: (i₀,j₀), (i₀,j₀+1), (i₀+1,j₀), (i₀+1,j₀+1) u eastward, v northward water speed (m/s); the same blend is done for v outside the grid, or a corner on land (no value): no current → the path stops

Numbers the model uses. currentAt on the CMEMS field cmems_mod_glo_phy-cur_anfc_0.083deg_P1D-m, thinned to a 0.5° grid, 77.8° S to 35.3° S, all longitudes; φ₀ = −77.792°, λ₀ = −179.792°. Only the Southern Ocean has been prepared; north of 35.3° S there is no current field, and the page says so.

a = 0.101 (52.292° S, 31.792° W) b = 0.160 (31.292° W) c = 0.051 (51.792° S) d = 0.155 A76C · u = 0.126 m/s tⱼ = 0.444 of the way east tᵢ = 0.044 of the way north

Eastward current u (m/s) at the four grid corners round A76C · CMEMS field of 29 Jul 2026 · berg position USNIC 17 Jul 2026.

Worked example · the current under A76C (52.27° S, 31.57° W)
fi = (−52.27 + 77.792)/0.5 = 51.044 → i₀ = 51 (52.292° S), tᵢ = 0.044 fj = (−31.57 + 179.792)/0.5 = 296.444 → j₀ = 296 (31.792° W), tⱼ = 0.444 u = 0.101×0.956×0.556 + 0.160×0.956×0.444 + 0.051×0.044×0.556 + 0.155×0.044×0.444 = 0.05369 + 0.06791 + 0.00125 + 0.00303 = 0.1259 m/s (east) v (corners 0.109, 0.039, 0.059, −0.111, same weights) = 0.0738 m/s (north) speed |u| = √(0.1259² + 0.0738²) = 0.1459 m/s ≈ 12.6 km a day
Try it · drag the point inside the cell
Corners a b c d

Each corner’s weight is the shaded area across from it. Corners start at the eastward current round A76C (CMEMS, 29 Jul 2026), m/s.

B3

Moving a berg step by step

What it is for
To forecast where a berg goes, the model takes many small steps. At each step it reads the current where the berg is (B2), adds the wind push (B4), and moves the berg by “speed × time”. This is the simplest way to follow a moving thing: Euler’s method. A berg’s deep keel does not quite keep up with the surface water, so it moves at 90 % of the current.
velocity U = k · u_current + u_wind V = k · v_current + v_wind step Δt = max(0.15 day, horizon/240) → about 240 steps move north Δφ [°] = V · Δt[s] / 111 320 move east Δλ [°] = U · Δt[s] / (111 320 · cos φ) k = 0.9 (the code’s coupling: “berg tracks ~90 % of surface-current speed (keel drag)”) 111 320 m = the length of one degree of latitude (2π × 6 378.137 km / 360) cos φ: lines of longitude close in toward the poles, so a degree east is shorter there

The rules around each step (flowPath): if the new point, or the midpoint of the step, is on land, the step is turned by 18°, then −18°, 36°, −36° … up to ±90° until it is at sea; after more than 10 stuck steps the berg is “parked” against the coast. If it leaves the current grid, the path ends. Short cuts: each step is flat (degree arithmetic), not a great circle — fine for steps of about 10 km; the wind is read once, at the start, and kept for the whole forecast; 0.9 is the code’s own coupling, without a published source.

Worked example · the first step of a 90-day forecast for A76C

Current from B2 (29 Jul 2026). Wind push from B4: the page uses the live Open-Meteo wind; this primer has no live reading, so it uses the model’s own wind climatology at this latitude (11.66 m/s from the west).

Δt = max(0.15, 90/240) = 0.375 day = 32 400 s (240 steps) U = 0.9 × 0.12588 + 0.19727 = 0.31056 m/s V = 0.9 × 0.07377 + 0.07180 = 0.13819 m/s north: 0.13819 × 32 400 = 4 477 m → Δφ = 4 477 / 111 320 = +0.04022° east: 0.31056 × 32 400 = 10 062 m → Δλ = 10 062 / (111 320 × cos 52.27° = 68 121) = +0.14771° new position: 52.230° S, 31.422° W (step length by B1: 11.0 km)
Try it · step size and the path
path with your stepfinest step, 0.15 day

90 days from A76C (USNIC, 17 Jul 2026) through the CMEMS current field of 29 Jul 2026, current × 0.9, the code’s own step rule. Land is not checked here (the page steers bergs along the coast); bigger steps cut corners.

B4

Wind drift and the Earth’s turn

What it is for
Wind pushes a berg, but not straight downwind: because the Earth spins, moving things are turned — to the left in the Southern Hemisphere, to the right in the Northern. The model takes a small part of the wind speed (1.8 %) and turns its direction by 20°. Turning a direction is done with a rotation: a fixed recipe that mixes the east and north parts.
[u_w] [cos θ −sin θ] [u_air] [v_w] = α · [sin θ cos θ] [v_air] u_w = α (u_air cos θ − v_air sin θ) v_w = α (u_air sin θ + v_air cos θ) θ = +20° south of the equator (counter-clockwise = to the left) θ = −20° north of the equator (clockwise = to the right) α = 0.018 (EK_ALPHA) · u_air, v_air wind toward the east and north (m/s)

Why the sign flips at the equator. The turning force (Coriolis) grows with the sine of latitude, 2Ω·sin φ, where Ω is the Earth’s spin. sin φ is positive in the north, zero at the equator and negative in the south, so the turn changes side. The code does exactly this with one test: ekTheta(lat) = lat > 0 ? −20° : +20°. A note on the numbers: 1.8 % and 20° are a simple rule for iceberg wind drift written into the code; Ekman’s classical theory gives 45° for the surface water itself, so the code’s name “Ekman” is loose.

wind toward the east drift: 20° to the left Southern Hemisphere (θ = +20°) wind toward the east drift: 20° to the right Northern Hemisphere (θ = −20°)
Worked example · a westerly wind at A76C’s latitude (the model’s climatology)
wind climatology W(φ) = 15 + 27·exp(−((s + 52)/12)²) km/h, s = −|φ| (purely from the west) at 52.27° S: 15 + 27·exp(−((−52.27 + 52)/12)²) = 15 + 27 × 0.99949 = 41.99 km/h = 11.66 m/s u_air = 11.66, v_air = 0 south (θ = +20°): u_w = 0.018 × 11.66 × cos 20° = 0.018 × 11.66 × 0.93969 = 0.1973 m/s v_w = 0.018 × 11.66 × sin 20° = 0.018 × 11.66 × 0.34202 = 0.0718 m/s (north = left of east) north (θ = −20°): u_w = 0.1973 m/s, v_w = −0.0718 m/s (south = right of east) drift speed either way: 0.018 × 11.66 = 0.210 m/s ≈ 18.1 km a day
Try it · move the berg across the equator
wind toward the east Southern Hemisphere: turned 20° to the left

α = 0.018, θ = 20°; the turn changes side where latitude passes zero (the code counts the equator itself as south). Wind from the model’s westerly climatology for that latitude.

B5

How fast an iceberg melts

What it is for
An iceberg loses ice in three ways. From below, water sliding past the base carries heat in (basal melt, M_b). On the sides, warm water rises along the walls (buoyant convection, M_v), and waves hammer the waterline and cut it away (wave erosion, M_e) — usually the biggest of the three. The model uses the standard formulas of iceberg science for each.
basal (Bigg et al. 1997): M_b = 0.58 · |Δu|^0.8 · (T − T_i) / L^0.2 buoyant (Bigg et al. 1997): M_v = 7.62×10⁻³ · T + 1.29×10⁻³ · T² sea state from wind: S_s = (2/3)·√V_a + V_a/10 wave erosion (Martin & Adcroft 2010; Gladstone et al. 2001): M_e = (1/12) · S_s · (1 + cos(π·A_i³)) · (T + 2) sides together: M_lat = M_v + M_e each step (Δt = 10 days): H ← H − M_b·Δt L ← L − 2·M_lat·Δt W ← W − 2·M_lat·Δt all rates in metres per day · T sea-surface temperature (°C) · T_i = −4 °C (ice temperature) |Δu| water speed past the berg (m/s) · L berg length (m) · V_a wind speed (m/s) A_i sea-ice cover around the berg, 0–1: under full pack ice 1 + cos(π) = 0, so the waves stop

What the code feeds in (lgMeltRates, lagrangianMelt): T is the live Open-Meteo sea temperature when there is one, else the model’s latitude table (LG_SST_KNOTS, e.g. 0.8 °C at 53° S, 2.0 °C at 50° S); A_i a seasonal sea-ice formula (siconcClim); V_a the wind climatology of B4, scaled by the live wind. A berg with no reported length or area gets no lifetime (no size is made up); a missing thickness is taken as 250 m. Short cuts: |Δu| is the current’s own speed at the start (at least 0.03 m/s, 0.10 m/s if there is no current field), not the true speed of water past the berg, and it is kept for the whole life; the berg’s latitude changes only at its observed equatorward drift rate (|lat| kept between 40° and 89°); the life is capped at 80 years. The tables are Southern-Ocean ones mirrored onto the north, so northern results are marked “approx”.

sea surface freeboard ≈ 0.107·H draft ≈ 0.893·H M_e · waves at the waterline M_v · warm water rising on the sides M_b · water sliding under the base
Worked example · A76C on 17 Jul 2026, using the model’s own climatologies
size: L = 16 NM × 1 852 = 29 632 m W = 7 NM × 1 852 = 12 964 m H = 230 m T = table between (53° S, 0.8 °C) and (50° S, 2.0 °C): 0.8 + (0.73/3) × 1.2 = 1.092 °C |Δu| = 0.1459 m/s (B2) V_a = 11.66 m/s (B4) A_i: day 198 → ice edge −60 + 5·cos(2π(198 − 250)/365.25) = 56.87° S A_i = 1/(1 + exp((−52.27 + 56.87)/3)) = 1/(1 + e^1.533) = 0.177 M_b = 0.58 × 0.1459^0.8 × (1.092 + 4) / 29 632^0.2 = 0.58 × 0.21441 × 5.092 / 7.8407 = 0.0808 m/day (29.5 m a year) M_v = 0.00762 × 1.092 + 0.00129 × 1.092² = 0.00832 + 0.00154 = 0.0099 m/day S_s = (2/3) × √11.66 + 11.66/10 = 2.277 + 1.166 = 3.443 M_e = (1/12) × 3.443 × (1 + cos(π × 0.177³)) × (1.092 + 2) = (1/12) × 3.443 × 1.99985 × 3.092 = 1.774 m/day M_lat = 0.0099 + 1.774 = 1.784 m/day

The waves eat the sides about twenty times faster than the water melts the base. Stepping these rates forward 10 days at a time (fixed latitude, no observed drift, climatology only), the base would be gone after about 7.5 years. But the berg is far more likely to break first — see B6.

Try it · melt rates
M_b base M_v sides, warm water M_e waterline, waves

The code’s formula (lgMeltRates) and constants: 0.58, 0.8, T_i = −4 °C, 0.2; 7.62 × 10⁻³, 1.29 × 10⁻³; 2/3, 1/10, 1/12, +2. Starts at A76C’s values from the worked example. Water temperature runs from −1.9 °C, the code’s lowest.

B6

When a berg rolls over or breaks

What it is for
Bergs rarely melt quietly to nothing. A berg that becomes too narrow for its height tips over. A wide, thin berg is bent by the swell again and again until it cracks. The model runs melting, rolling and breaking side by side (“competing risks”) and reports the most likely end and its timing.

Rolling over

the berg rolls over when W / H < ε_c, ε_c = 0.76 (Weeks & Mellor 1978) check: ε_c = √(6·α·(1 − α)), α = ρ_ice/ρ_sw = 917/1027 = 0.8929 6 × 0.8929 × 0.1071 = 0.5738 → √0.5738 = 0.7575 ≈ 0.76

The √(6α(1−α)) form is the one given by Wagner et al. (2017); the code holds the rounded 0.76.

Breaking by swell

hazard rate λ = K_flex · H_s² · (1 − A_i) · g per year shape factor g = clamp( (L/H)/50 , 0.3 , 4 ) wide, thin bergs flex more swell height H_s = live swell, or 1.0 + 3.2·exp(−((s + 53)/13)²) m total hazard Λ(t) = Σ λ·Δt chance broken by t: P(t) = 1 − e^(−Λ(t)) P = 10 %, 50 %, 90 % when Λ = 0.105, 0.693, 2.303 (= −ln 0.9, −ln 0.5, −ln 0.1) K_flex = 0.03 per year per m² — the code marks it PROVISIONAL (to be calibrated against the Tournadre / BYU iceberg records)

The lifetime the page shows is the time when the break-up chance reaches 50 % (p50), but never later than the berg’s melt-through or roll-over time; p10 and p90 give the 80 % window. If the break-up chance by that time is at least 50 %, the cause is “flexural breakup”, otherwise “rollover” or “melt-through”.

Worked example · A76C (continued from B5)
roll-over: W/H = 12 964 / 230 = 56.4 ≫ 0.76 → stable; it would roll only once W < 0.76 × 230 = 174.8 m swell: H_s = 1.0 + 3.2 × exp(−((−52.27 + 53)/13)²) = 4.19 m g = (29 632 / 230)/50 = 128.8/50 = 2.577 (inside 0.3…4) λ = 0.03 × 4.19² × (1 − 0.177) × 2.577 = 0.03 × 17.56 × 0.823 × 2.577 = 1.116 per year if λ stayed the same: 50 % chance after 0.693 / 1.116 = 0.62 year full 10-day stepping (sea-ice cover changes with the season): p10 = 0.08 yr p50 = 0.60 yr p90 = 1.89 yr melt-through 7.5 yr roll-over never chance of break-up before melt-through ≈ 100 % → cause: flexural breakup

This run uses climatology only, so the live page, with today’s swell, sea temperature and the berg’s observed drift, will give somewhat different numbers.

Try it · tip the berg
sea surface

ε_c = 0.76 (the code’s EPS_C). The drawing is a sketch: the berg sits with 0.107 of its height above water and turns on its side below the limit.

B7

Freshwater and ocean chemistry

What it is for
A melting berg pours fresh water into the sea around it. That thins the salt and the ocean’s natural buffer (alkalinity) a little, and the open water also takes up CO₂ from the air. The model estimates how much this changes the water’s salinity, its pH (acidity) and its aragonite saturation Ω — how easily shell-building animals can make their shells (below Ω = 1 the water starts to dissolve shells).

1 · How much fresh water

ice melted per day dV/dt = M_b·L·W + 2·M_lat·H·(L + W) m³ of ice per day fresh water per day F = (ρ_ice/ρ_fresh) · dV/dt = 0.917 · dV/dt all the meltwater V_total = 0.917 · H·L·W (Eq. A.9.1 in the code’s own notes) · L·W the base · 2·H·(L + W) the four sides

2 · Dilution in a surface lens

mixing area A_foot = 8 × berg area mixing volume V_ml = A_foot · MLD dilution f = F · τ / V_ml (kept ≤ 25 %) diluted water S = S₀(1 − f) TA = TA₀(1 − f) DIC = DIC₀(1 − f) CO₂ from the air ΔDIC = 10⁶ · F_CO₂ · (1 − A_i) · (τ/365.25) / (MLD · ρ_sw) µmol/kg τ = 45 days (residence time) · F_CO₂ = 1.5 mol C per m² per year · ρ_sw = 1 025 kg/m³ MLD mixed-layer depth: 70 + 45·cos(2π(day − 200)/365.25) m north of 55° S (110 ± 90 m poleward), at least 20 m S₀ = 34.65 − 0.010·max(0, |φ| − 50) (Southern Ocean) · TA₀ = 2 295·S₀/34.5 µmol/kg (GLODAP) · DIC₀ = 0.935·TA₀

3 · The carbonate system

Seawater’s carbon sits in three forms (dissolved CO₂, bicarbonate, carbonate), plus borate and water’s own ions. Given total alkalinity TA and total carbon DIC, there is exactly one hydrogen-ion level [H⁺] that balances them. The code finds it by halving the search interval 60 times (bisection on a log scale), then reads off pH and Ω.

TA = DIC·(K₁[H] + 2K₁K₂)/([H]² + K₁[H] + K₁K₂) + B_T·K_B/(K_B + [H]) + K_W/[H] − [H] pH = −log₁₀[H] [CO₃²⁻] = DIC·K₁K₂ / ([H]² + K₁[H] + K₁K₂) Ω_arag = [Ca²⁺]·[CO₃²⁻] / K_sp K₁, K₂ Lueker, Dickson & Wallace (2000) · K_B Dickson (1990) · K_W Millero (1995) · K_sp Mucci (1983) B_T = 0.000416·S/35 (Uppström 1974) · [Ca²⁺] = 0.02128/40.078 · S/1.80655 mol/kg (Riley & Tongudai 1967) freezing point T_f(S) = −0.0575·S + 1.710523×10⁻³·S^1.5 − 2.154996×10⁻⁴·S² (UNESCO 1983)
The code calls these “first-order local plume proxies”: the mixing area (8 ×), the residence time (45 days) and the CO₂ uptake (1.5 mol C m⁻² yr⁻¹) are stated assumptions, not survey values, and salinity, alkalinity and mixed-layer depth are climatologies.
Worked example · A76C, 17 Jul 2026 (rates and SST from B5, so the example can be repeated)
dV/dt = 0.08076 × 29 632 × 12 964 + 2 × 1.7840 × 230 × (29 632 + 12 964) = 31.02 × 10⁶ + 34.96 × 10⁶ = 65.98 × 10⁶ m³ of ice a day F = 0.917 × 65.98 × 10⁶ = 60.5 × 10⁶ m³ of fresh water a day V_total = 0.917 × 230 × 29 632 × 12 964 = 81.0 km³ (box L×W = 384 km²; the measured outline is 291 km²) MLD = 70 + 45 × cos(2π(198 − 200)/365.25) = 70 + 45 × 0.99941 = 115.0 m A_foot = 8 × 291.21 km² = 2.330 × 10⁹ m² V_ml = 2.330 × 10⁹ × 115.0 = 2.679 × 10¹¹ m³ f = 60.5 × 10⁶ × 45 / 2.679 × 10¹¹ = 0.0102 (1.0 %) S₀ = 34.65 − 0.010 × 2.27 = 34.627 → S = 34.627 × (1 − 0.0102) = 34.275 (−0.35) TA₀ = 2 295 × 34.627 / 34.5 = 2 303.5 → TA = 2 280.1 µmol/kg DIC₀ = 0.935 × 2 303.5 = 2 153.7 → diluted 2 131.9 ΔDIC(CO₂) = 10⁶ × 1.5 × (1 − 0.177) × (45/365.25) / (115.0 × 1 025) = 1.29 → DIC = 2 133.1 µmol/kg carbonate solve at T = 1.09 °C: before: pH 8.1121 Ω_arag 1.675 after: pH 8.1116 Ω_arag 1.646 ΔpH = −0.0006 ΔΩ = −0.029 freezing point: −1.901 °C → −1.881 °C

Dilution alone would raise pH slightly (+0.003) while lowering Ω (−0.018); the CO₂ taken up over the open water tips pH down. On the page the starting SST and wind come from the live readings when they exist, so its values can differ.

B8

Checking the forecast

What it is for
A forecast is only worth something if it beats a lazy guess. The laziest guess is “the berg stays where it is”. At the start of each season the model writes down where it expects each berg to be at the season’s end; when the season is over it compares that with where NASA EONET actually saw the berg, and with the lazy guess.
forecast error eᵢ = d( projected end, real position ) great-circle distance, B1 baseline error bᵢ = d( start position, real position ) “no drift” skill = 1 − mean(e) / mean(b) skill = 1 → perfect skill = 0 → no better than standing still skill < 0 → worse median error = the middle value of the sorted errors (the upper middle when the count is even)

How the code does it (verifyRows): only completed seasons count; a berg needs a real EONET fix during the season; the season is a Southern-Hemisphere one (December–February is “summer”). Plain limits: on first opening the page rebuilds the last five seasons after the fact, with today’s current file and wind, so these are reconstructed hindcasts, not forecasts frozen at the time; the current season is re-frozen at each refresh; the store lives in each viewer’s own browser.

No worked example with real numbers can be given here: the shared file season-projections.json is empty, and the verification lives only in each viewer’s browser. Open the model and look at “Projected vs Reality” to see your own browser’s numbers.
Try it · the skill score

Type your own pairs, or copy them from “Projected vs Reality” on the model page. skill = 1 − mean error ÷ mean no-drift distance.

B9

The ice-sheet futures panel

What it is for
The panel “Beyond the floating fleet” sets the floating bergs against the ice still resting on land, and shows why some claims (such as 30 m of sea-level rise by 2100) are physically out of reach. Its maths is simple: turn metres of sea level into ice volume and mass, and compare speeds.
volume per metre of sea level = 26.5 × 10⁶ km³ / 58 m = 456 897 km³ per m (KM3_PER_M, Antarctic-calibrated) mass = volume × 0.917 Gt per km³ (GT_PER_KM3) rate bar length = min(100 %, rate / 45 m per century × 100 %)
Worked example · the panel’s rows
West Antarctica, 3.3 m: 3.3 × 456 897 = 1.51 × 10⁶ km³ → × 0.917 = 1.38 M Gt Greenland (volume given): 2.9 × 10⁶ km³ × 0.917 = 2.66 M Gt “30 m by 2100”: 30 m in the 74 years from 2026 = 30 / 0.74 ≈ 40.5 m per century (the panel shows “≈ 40 m / century”) IPCC AR6 2100 range against 30 m: 0.4 / 30 = 1.3 % … 2 / 30 = 6.7 % (“~1–7 %”)
The panel’s figures (3.3 m, 7.4 m, 58 m, 65 m, 4.4 mm/yr for 2015–2024, the IPCC ranges, Meltwater Pulse 1A) are written into the code as fixed text, without a source line beside each. Converting every reservoir with the Antarctic ratio is a short cut. The 4.4 mm/yr is a recent rate, not the long-term 3.11 mm/yr trend of A9.
Glossary

Every symbol, in one place

SymbolMeaningValue or unit in the model
x̄, ȳmean (average)—
Δ, Δ%anomaly; anomaly in percentmillion km²; %
P10, P9010th and 90th percentile (NSIDC)million km²
b, aslope and intercept of the least-squares lineunits per year
c₀, c₁, c₂coefficients of the curved fit; acceleration = 2c₂mm, mm/yr, mm/yr²
Cₖrunning total up to day or month kGt
σone standard deviation (±1σ ≈ 68 % range)same unit as the value
m w.e.metres of water equivalentice ≈ m w.e. / 0.9
—Gt per mm of sea level362.5
A_oceanocean area3.61 × 10¹⁴ m²
ρ_ice, ρ_fresh, ρ_swdensity of ice, fresh water, seawater917; 1 000; 1 027 (sea level) or 1 025 (chemistry) kg/m³
φ, λlatitude, longitudedegrees (radians inside formulas)
REarth’s mean radius6 371 km
tᵢ, tⱼfractions across a grid cell0 … 1
kcurrent coupling0.9
Δttime stepmax(0.15 day, horizon/240) for drift; 10 days for melt
α (EK_ALPHA)share of wind speed that drives the berg0.018
θ (EK_THETA)turning angle of the wind drift+20° south, −20° north
M_b, M_v, M_e, M_latbasal, buoyant, wave-erosion and total side meltm per day
T, T_isea-surface temperature; ice temperature°C; −4 °C
|Δu|water speed used for basal meltm/s, at least 0.03 (0.10 with no field)
V_a, S_swind speed; sea statem/s; —
A_isea-ice cover around the berg0 … 1
L, W, Hberg length, width, thicknessm (missing thickness: 250 m)
ε_croll-over limit for W/H0.76
K_flex, g, H_sbreak-up coefficient, shape factor, swell height0.03 yr⁻¹ m⁻² (provisional); 0.3…4; m
λ, Λ, Pbreak-up hazard rate, its total, the chance of break-upper year; —; 0 … 1
F, f, τfresh-water flux, dilution, residence timem³/day; ≤ 0.25; 45 days
MLDmixed-layer depthm (at least 20)
S, TA, DICsalinity, total alkalinity, dissolved inorganic carbonPSU; µmol/kg; µmol/kg
pH, Ω_aragacidity; aragonite saturation—; below 1 = corrosive to shells
e, b, skillforecast error, no-drift error, skill scorekm; km; 1 − mean e / mean b
References

Sources and further reading

Data (dates as used in this primer)

Methods

Read on: the model · White Paper · Connections · Data Model.