Research · Dataset
Gold and the composition of inflation: does where inflation comes from matter?
Inflation is reported as one number, but it is made of parts. Headline CPI includes food and energy; core CPI excludes them. The difference between the two — the composition gap — says which part of the basket is driving the print. The standard gold narrative says the part that matters is the one that is not the sticky, demand-driven core: energy shocks are supposed to be noise that gold ignores, because the Fed will look through them. That is not what the record shows. Over 800 months the gap does carry information about gold, but the information changes sign depending on the decade: +24.35 percentage points in 1960-1979, -12.20 in 1980-1999, and -4.49 in 2000-2026. A mechanism that reverses twice in 67 years is not a mechanism you can trade on.
1960-01 to 2026-09 · 800 monthly observations · headline_yoy_pct - core_yoy_pct (percentage points) · gap currently at the 87.5th percentile of its own history
The answer in six numbers
The gap is not useless — the full-sample difference is statistically detectable (Welch t = 3.289, p = 0.001). But a bootstrap that respects the serial correlation of monthly inflation puts the interval across zero, and the three eras disagree about the direction. The most defensible statement is that the composition of inflation has a measurable relationship with gold that is not stable enough to underwrite a position.
What is being measured
The gap is headline_yoy_pct - core_yoy_pct (percentage points): the year-over-year change in headline CPI minus the year-over-year change in core CPI. Headline CPI is FRED series FRED series CPIAUCSL, core CPI is FRED series CPILFESL, and gold is the world bank commodity price data (the pink sheet), monthly prices sheet, column 70 (gold, $/troy oz), monthly average. Forward returns are computed from the gold price in the measured month to the price twelve months later, as a simple price return.
Year-over-year figures are computed against the month exactly twelve calendar months earlier, never against the twelfth previous observation. BLS never published an October 2025 CPI print, so that month is absent from both CPI series and every inflation-based test skips it. Year-over-year figures are computed against the month exactly 12 calendar months earlier, never against the 12th previous observation, so the hole cannot silently become a 13-month comparison.
The sample is bounded by core CPI, not by gold
Gold data begins 1960-01 and core CPI begins 1957-01, so the 800-month sample is set by the inflation series. That is why this page covers the 1970s oil shocks and the Volcker disinflation but says nothing about the gold-standard decades before 1960-01.
How strong is the raw relationship?
The correlation between the gap and gold's forward return at each horizon. The contemporaneous row is the correlation between the gap in a month and gold's return in that same month; the forward rows relate the gap to what gold did afterwards.
| Horizon | Pearson correlation | Months | p-value |
|---|---|---|---|
| Same month | 0.1287 | 799 | 0.0002 |
| 3 months ahead | 0.1241 | 798 | 0.0004 |
| 6 months ahead | 0.1493 | 795 | 0 |
| 12 months ahead | 0.1119 | 789 | 0.0016 |
Every correlation is small — between 0.1119 and 0.1493 — and every p-value is small, which is what happens when you have 800 monthly observations and a genuinely weak relationship. The p-value tells you the correlation is not zero. It does not tell you the correlation is large enough to act on.
Splitting the sample by the sign of the gap
The cleaner version of the question: months in which food and energy pushed headline inflation above core, against months in which they dragged it below. Both groups are compared on their mean forward gold return, at each horizon.
| Horizon | Gap > 0 | n | Gap ≤ 0 | n | Difference | Welch p | Bootstrap CI |
|---|---|---|---|---|---|---|---|
| 3 months | 3.24% | 366 | 1.33% | 432 | +1.91 pp | 0.0067 | -0.4 to 4.5 |
| 6 months | 6.71% | 363 | 2.85% | 432 | +3.86 pp | 0.0006 | -0.6 to 8.7 |
| 12 months | 13.41% | 359 | 7.23% | 430 | +6.18 pp | 0.001 | -2.9 to 15.7 |
The 12-month difference is +6.18 percentage points on 359 and 430 months, with a Welch p-value of 0.001. But the block bootstrap interval, -2.94 to 15.68, includes zero, and so do the 3-month and 6-month intervals. The parametric test treats monthly inflation draws as independent; the bootstrap does not, and monthly inflation is highly persistent. When the two disagree, the more conservative one is the one to quote.
The finding that matters: the sign flips
The full-sample average hides the structure. Split the same 800 months into three eras and the relationship inverts.
| Era | Months | Gap > 0 | Gap ≤ 0 | Difference | Bootstrap CI | CI excludes 0 |
|---|---|---|---|---|---|---|
| 1960-1979 | 240 | 31.80% | 7.45% | +24.35 pp | 2.2 to 43.6 | Yes |
| 1980-1999 | 240 | -11.51% | 0.68% | -12.20 pp | -22.1 to -3 | Yes |
| 2000-2026 | 320 | 10.67% | 15.16% | -4.49 pp | -13.9 to 5.9 | No |
In the 1960-1979 era, months with a wide positive gap were followed by strong gold returns and the interval (2.2 to 43.6) excludes zero. In the 1980-1999 era the sign reverses — the wide-gap months were the worse ones, -12.20 percentage points, with an interval that again excludes zero. In the most recent era, 2000-2026, the difference is -4.49 percentage points and the interval crosses zero, so the most recent 27 years are consistent with no relationship at all.
What this rules out: any reading of the composition gap as a standing signal for gold. What it leaves open: that inflation composition matters for gold conditionally — that what matters is the regime, not the composition itself. The data here cannot separate those, and the page does not claim to.
The extreme-gap months
The most concrete version of the question: in the months when the gap was at its most extreme in each direction, what did gold do afterwards?
| Bucket | Months | Mean 12m forward | Median | Positive |
|---|---|---|---|---|
| Largest 10 positive gaps | 10 | 37.87% | 40.65% | 90% |
| Largest 24 positive gaps | 24 | 28.88% | 19.58% | 91.67% |
| 10 most negative gaps | 10 | 25.29% | 27.93% | 100% |
The ten widest positive gaps are almost all in 1973 and 1974, and gold's average 12-month forward return from them was 37.87%, positive in 90% of them. But gold's concurrent return in those same months averaged only 3.61% and was positive in just 50% of them: the wide gap did not mark the bottom of the market, the months after it did.
The more interesting row is the third one. The ten most negative gaps — clustered in 2009 and 1986, the disinflation troughs — were followed by an average 25.29% return, positive in 100% of them. If the composition gap were a signal in its own right, the most negative gaps should have produced the worst months for gold. They produced the best.
Months listed for each bucket: 1974-02, 1974-01, 1974-03, 1973-08, 1973-12, 1974-04 for the largest positive gaps; 2009-07, 2009-06, 2009-08, 2009-05, 2009-09, 1986-12 for the most negative.
Is the era split just a handful of months?
A split driven by a few extreme observations is not a finding. Each era's difference is recomputed twice: with the ten largest-gap months removed, and with the entire 1973–1976 shock window removed.
| Era | Full sample | Minus 10 largest gaps | Minus 1973–1976 | Sign stable |
|---|---|---|---|---|
| 1960-1979 | +24.35 pp | +23.79 pp | +27.32 pp | Yes |
| 1980-1999 | -12.20 pp | -12.16 pp | -12.20 pp | Yes |
| 2000-2026 | -4.49 pp | -4.57 pp | -4.49 pp | Yes |
Every sign survives. The 1960-1979 difference moves from +24.35 to +23.79 without the ten largest gaps, and to +27.32 without the shock window — it actually gets slightly stronger. The 1980-1999 and 2000-2026 differences barely move. So the era differences are not an artefact of a handful of months, and the instability is real rather than a small-sample accident.
Is it the gap, or is it gold's own trend?
The era split leaves an obvious possibility open. Maybe the composition gap is not doing any work at all, and the era differences are really tracking gold's own momentum — the 1970s and 2000s were secular bull markets, and in a bull market almost any indicator correlates with gold.
That test is possible here because the data carries gold's own trailing 12-month return. Each month is sorted by whether gold was above or below its price 12 calendar months earlier, and the gap split is recomputed inside each of those two regimes.
| Era | Gold's own trend | Months | Gap > 0 | Gap ≤ 0 | Difference | p-value | CI excludes 0 |
|---|---|---|---|---|---|---|---|
| 1960-1979 | Rising | 113 | 52.84% | 11.02% | +41.81 pp | 0 | Yes |
| 1960-1979 | Falling | 115 | -0.53% | 5.91% | -6.44 pp | 0 | Yes |
| 1980-1999 | Rising | 94 | -14.57% | 1.53% | -16.11 pp | 0 | Yes |
| 1980-1999 | Falling | 146 | -9.02% | 0.19% | -9.21 pp | 0.0001 | No |
| 2000-2026 | Rising | 230 | 12.60% | 19.90% | -7.30 pp | 0.004 | No |
| 2000-2026 | Falling | 90 | 5.10% | 5.67% | -0.57 pp | 0.8501 | No |
The gap effect is not stable within an era either. In 2000-2026 it is -7.30 percentage points in months when gold was already rising, but only -0.57 percentage points — with a p-value of 0.85 and an interval that comfortably crosses zero — in months when gold was falling. In other words, in the modern era the gap has no detectable effect once gold is already in a downtrend.
The cleaner comparison
Ask the question the other way round: within each era, what was gold's average forward 12-month return in months when gold was already rising, versus months when it was falling?
| Era | Gold rising | Gold falling | Difference | p-value |
|---|---|---|---|---|
| 1960-1979 | 37.67% | 3.73% | +33.94 pp | 0 |
| 1980-1999 | -3.78% | -2.21% | -1.57 pp | 0.4006 |
| 2000-2026 | 15.67% | 5.39% | +10.28 pp | 0 |
This is the more stable relationship in the data. Gold's own trailing 12-month trend separates forward returns by +33.94 percentage points in 1960-1979 and +10.28 percentage points in 2000-2026, with intervals that exclude zero in both cases. The sign is the same in every era. The gap's sign is not.
What this adds up to: the inflation composition gap does not carry a stable signal for gold once you condition on gold's own trend. It is plausible that the gap and gold's trend regime are picking up the same underlying thing — the monetary environment — rather than the gap adding information on top. This page cannot separate those two explanations; it can only show that the gap, taken on its own, does not survive the control.
Where the gap stands now
In 2026-09, gold averaged 4,319 US dollars per troy ounce. Headline CPI was running at 3.72% year over year and core CPI at 2.57%, leaving a composition gap of +1.15 percentage points.
| Measure | Value |
|---|---|
| Gap, current month | +1.15 pp |
| Percentile of full history | 87.5th |
| Percentile of last 60 months | 71.67th |
| All-history mean gap | +0.0402 pp |
| All-history standard deviation | 1.0515 pp |
| Last-60-month mean gap | +0.3221 pp |
| Months with positive gap | 368 of 800 |
That is wide by recent standards — the 87.5th percentile of its own 800-month history — and food and energy are currently doing most of the pushing. Given what the era decomposition and the trend control show, the correct amount of confidence to attach to that fact is: none on its own. It is one input into a relationship whose direction has changed twice since 1960, and one that does not survive conditioning on gold's own trend.
Frequently asked questions
What is the "inflation composition gap" and how is it calculated?
It is the difference between headline US inflation and core inflation, both measured year over year, in percentage points: headline CPI-U year-over-year minus core CPI-U (less food and energy) year-over-year. A positive gap means food and energy are pushing headline inflation above core; a negative gap means the opposite. The sample runs 800 months from 1960-01 to 2026-09, and the bound is core CPI, which starts in 1957-01, not gold, which starts in 1960-01. The gap measures which part of the basket is driving inflation, not the level of inflation itself.
Does the gap predict gold?
Weakly and inconsistently. Over the full sample the correlation between the gap and gold's 12-month forward return is 0.1119 over 789 months, and the contemporaneous one-month correlation is 0.1287. The correlation is real but small. Splitting the sample by the sign of the gap gives a 12-month difference of 6.18 percentage points: months with a positive gap averaged 13.41% and months with a negative gap averaged 7.23%, on 359 and 430 months respectively.
Is that 12-month difference statistically meaningful?
The Welch t-statistic is 3.2887 with a p-value of 0.001, so the full-sample difference is not noise. But the moving-block bootstrap interval is -2.94 to 15.68 percentage points, and it crosses zero. The honest reading is that the point estimate is positive and the parametric test says so, but a bootstrap that respects the serial correlation of monthly inflation does not rule out no effect. The 3-month and 6-month splits show the same pattern: differences of 1.91 and 3.86 percentage points, with intervals of -0.45 to 4.53 and -0.63 to 8.68, both crossing zero.
Does the relationship hold in every era?
No, and this is the most important finding on the page. The sign of the relationship flips across eras. In 1960-1979 the difference is 24.35 percentage points (31.8% versus 7.45%) and its bootstrap interval, 2.21 to 43.56, does not cross zero. In 1980-1999 it reverses to -12.2 percentage points (-11.51% versus 0.68%), interval -22.11 to -3.03, again not crossing zero. In 2000-2026 it is -4.49 percentage points (10.67% versus 15.16%), but that interval, -13.94 to 5.87, does cross zero. A relationship that reverses sign twice in 67 years and is not significant in the most recent era is not a stable mechanism.
Is the gap signal, or is it just riding on gold's own momentum?
Mostly gold's own momentum. Each month is sorted by whether gold was above or below its price twelve calendar months earlier, and the gap split is recomputed inside each regime. In 2000-2026 the gap difference is -7.3 percentage points in months when gold was already rising, but only -0.57 percentage points — p = 0.85, interval -9.33 to 6.77 — when gold was falling. So in the modern era the gap has no detectable effect once gold is already in a downtrend. Ask it the other way round and the relationship is stable: gold's own trailing 12-month trend separates forward returns by 33.94 percentage points in 1960-1979 and 10.28 percentage points in 2000-2026, same sign in both, with intervals that exclude zero. The gap, taken on its own, does not survive the control.
What happened in the biggest food-and-energy inflation months?
Gold did well afterwards. In the ten months with the largest positive gap — almost all of them in 1973 and 1974 — gold's average 12-month forward return was 37.87%, the median was 40.65%, and the return was positive in 90% of those months. Over the twenty-four largest gap months the average falls to 28.88% and the median to 19.58%, with 91.67% positive. Note that the concurrent gold return in those same ten months averaged only 3.61% and was positive in just 50% of them: the gap did not mark the bottom, the months that followed it did.
And in the months with the most negative gap?
Gold did better there too, which is the result that rules out the simple story. In the ten months with the most negative gap — clustered in 2009 and 1986, the disinflation troughs — gold's average 12-month forward return was 25.29%, the median 27.93%, and the return was positive in 100% of them. If the composition gap were a signal in its own right, the most negative gaps should have been the worst months for gold. They were not.
Is the split driven by a handful of extreme months?
No. Each era's headline split is recomputed with the ten largest-gap months removed, and again with the whole 1973-1976 shock window removed. In 1960-1979 the difference moves from 24.35 to 23.79 without the ten largest, and to 27.32 without 1973-1976. In 1980-1999 it goes from -12.2 to -12.16 and -12.2. In 2000-2026 it goes from -4.49 to -4.57 and -4.49. Every sign is preserved, so the era differences are not an artefact of a handful of months.
Where does the inflation composition gap stand now?
In 2026-09, gold averaged 4,319 US dollars per troy ounce, headline CPI was running at 3.72% year over year and core at 2.57%, leaving a gap of 1.15 percentage points. That is the 87.5th percentile of the gap over the full 800-month history and the 71.67th percentile over the last 60 months. The all-history average gap is 0.0402 percentage points with a standard deviation of 1.0515, and the last-60-month average is 0.3221 points.
Where does the data come from?
Gold is the World Bank Pink Sheet monthly average, World Bank Commodity Price Data (The Pink Sheet), Monthly Prices sheet, column 70 (Gold, $/troy oz), monthly average, with the file updated November 03, 2026. Headline inflation is FRED series FRED series CPIAUCSL (US CPI-U, All Items, index 1982-1984=100, seasonally adjusted), monthly and core inflation is FRED series CPILFESL (US CPI-U, All Items Less Food and Energy, index 1982-1984=100, seasonally adjusted), monthly. The published dataset is 800 monthly observations of the gap, the two inflation rates, the gold price and the forward 3-, 6- and 12-month gold returns, and it is downloadable as a CSV. Every headline number on the page comes from a script that can be re-run, and an independent implementation that reloads the raw sources and recomputes the results is published alongside it.
What are the limits of this analysis?
Five. First, the gap is a difference of two year-over-year rates, so it says which part of the basket is driving inflation, not how much inflation there is. Second, BLS never published an October 2025 CPI print, so that month is absent from both CPI series and every inflation-based test skips it. Year-over-year figures are computed against the month exactly 12 calendar months earlier, never against the 12th previous observation, so the hole cannot silently become a 13-month comparison. Third, this is a correlation and group-mean study on one historical path; the era sign flips are the strongest argument against treating the full-sample difference as a mechanism, the most recent era's interval crosses zero, and the gap does not survive conditioning on gold's own trailing 12-month trend. Fourth, the forward gold returns are price returns with no carry, storage or roll cost, and no transaction cost is modelled anywhere. Fifth, nothing here is a forecast or a recommendation, and the sample runs from 1960-01, so the pre-1960 gold-standard decades are outside it.
Sources and method
- Gold: World Bank Commodity Price Data (The Pink Sheet), Monthly Prices sheet, column 70 (Gold, $/troy oz), monthly average. File updated November 03, 2026.
- Inflation: FRED series CPIAUCSL (US CPI-U, All Items, index 1982-1984=100, seasonally adjusted), monthly and FRED series CPILFESL (US CPI-U, All Items Less Food and Energy, index 1982-1984=100, seasonally adjusted), monthly, both from the Bureau of Labor Statistics via FRED.
- Method: year-over-year inflation computed against the month exactly twelve calendar months earlier; forward gold returns computed from the measured month's price to the price the same number of months ahead; group means compared with a Welch t-test and with a moving-block bootstrap (2000 replications, block length 12 months, seed 20261120) so that the serial correlation of monthly inflation is not treated as independence. The regime control classifies each month by gold's trailing 12-month return, computed against the month exactly twelve calendar months earlier in the raw price series rather than by list index, so that era boundaries and any gap in the inflation series do not silently shift the lookback.
-
Analysis script:
scripts/gold_inflation_composition_analysis.py. Independent recomputation with a separate numpy implementation that reloads the raw sources:scripts/verify_gold_inflation_composition.py(161 checks, 0 failures). The full monthly series is downloadable: gold-inflation-composition-monthly.csv. - For the inflation-expectations side of this argument see gold and US inflation expectations; for the real-yield channel see gold and the real yield curve; for the full inflation-adjusted price history see gold in real terms.
Headline and core CPI are published indices, not seasonally-adjusted-to-comparison series; both are SA as published. The gap is a difference of two year-over-year rates, so it is a measure of which part of the basket is driving inflation, not of the level of inflation. No carry, storage or roll cost is included in any forward return. The gap is in percentage points: a gap of 1.15 means headline inflation ran 1.15 percentage points above core. Nothing on this page is investment advice or a forecast.