How Commodities, Inflation, and the Dollar Move Together

By shrijeetverma13 · July 7, 2026

This analysis reveals the hidden connections between commodity prices, inflation, and the US dollar over 25 years of market data. We found that gold acts…

The US Dollar Index (DXY) and the Commodity Index Score show a moderate negative correlation of -0.205 across the time series. This means that when the dollar strengthens, commodity prices tend to weaken somewhat, and vice versa — a pattern often seen in financial markets since commodities are typically priced in dollars. However, since the relationship is only moderate (not strong), other factors clearly also influence commodity prices beyond just dollar strength.

The analysis compared average gold, silver, and oil prices during recession versus non-recession periods. A grouped bar chart was generated showing the average price of each commodity for both periods, along with supporting data tables. Historically, gold tends to hold or increase in value during recessions as investors seek safe-haven assets, while silver often follows gold's trend but with more volatility. Oil prices, on the other hand, typically decline during recessions due to weaker industrial and consumer demand.

During periods of high US inflation (top 25%, YoY inflation ≥3.57%), inflation-adjusted gold prices averaged $1,759 per ounce, compared to $1,620 during normal or low inflation periods — an 8.6% increase. There's a mild positive correlation (0.122) between inflation rate and real gold value, suggesting gold tends to hold or gain value in real terms when inflation runs hot, though the relationship isn't extremely strong. A time series chart highlights exactly when these high-inflation periods occurred, and a scatter plot shows the relationship between inflation rate and gold's real price with trend lines for each regime.

The gold/silver ratio has averaged about 69.1 over the analyzed period, with a standard deviation of 13.2. Its all-time high of 113.0 occurred in April 2020, when silver became extremely cheap relative to gold — a pattern typically tied to market fear and crisis peaks (this coincided with the COVID-19 crash). Its all-time low of 32.0 came in April 2011, when silver was expensive relative to gold, often marking the exhaustion point of a precious-metals rally. The ratio has also spent an extended stretch — 48 months from February 2016 to October 2025 — above the extreme-high threshold of 82.3, suggesting silver has stayed persistently undervalued relative to gold in recent years. The chart visualizes the ratio over time with shaded threshold lines for the mean and ±1 standard deviation, plus markers highlighting the extreme high and low turning points.

Gold prices show a weak-to-moderate inverse relationship with US 10-year real yields, with a correlation of -0.291. This means gold has a general tendency to rise when real yields fall, and to decline when real yields rise, consistent with gold's nature as a non-yielding asset that becomes more attractive when the opportunity cost of holding it (i.e., real yields) decreases. However, this relationship is not very strong, and looking at month-to-month changes, the correlation drops to just -0.066, suggesting that short-term movements in gold are only weakly tied to short-term changes in real yields. Over the full period analyzed, real yields ranged from -7.49% to 4.84%, while gold prices ranged from $273.90 to $4,713.90 per ounce.

From 2000 to 2026, crude oil (WTI) prices climbed overall from $31.26 to $85.52 per barrel, with a dramatic peak of $133.37/bbl in July 2008 during the global oil price spike. Natural gas prices, on the other hand, declined overall from $4.43 to $3.14 per MMBtu, despite hitting its own peak of $13.42/MMBtu in October 2005. Both commodities showed significant volatility over the period, with sharp price spikes tied to major supply and demand shocks. Two charts were created: one showing the detailed price trends over time with peak points marked, and another comparing yearly average prices for both commodities side by side.

The chart shows wheat and corn year-over-year price changes plotted alongside US inflation over the full date range. The analysis reveals that agricultural commodity prices tend to LEAD inflation rather than react to it. Wheat price swings show their strongest relationship with inflation about 5 months later, while corn shows a similar pattern with a 6-month lead. This suggests that when wheat and corn prices spike or drop, it's a useful early signal for where inflation may be headed in the following months.

The data available covers only the 2000s, 2010s, and 2020s (data begins August 2000). Ranking these three decades: the 2020s had the highest average commodity index score (0.52) and the highest average inflation rate (4.54%). The 2000s had the lowest commodity index score (-0.51), while the 2010s had the lowest average inflation rate (2.05%). Interestingly, the rankings for commodity strength and inflation levels closely align across all three decades—there were no notable mismatches where a decade had strong commodities but weak inflation, or vice versa.

Using the IQR method, 16 outlier months were detected in the oil gold ratio column, falling outside the normal range of -9.23 to 46.64. These extreme readings typically reflect periods of unusual divergence between oil and gold prices, often driven by oil price spikes or gold market shifts. Two charts were generated showing the oil gold ratio and copper usd lb trends over time with outlier months highlighted in red, making it easy to visually spot when these unusual values occurred relative to the overall pattern. Data tables listing the specific outlier dates and values were also produced for detailed review.

The correlation analysis shows that gold and silver prices are by far the most closely linked, with a very strong positive correlation of 0.92, meaning they tend to move together in the market. On the other end, corn prices and the 10-year Treasury yield show the strongest negative relationship at -0.46, suggesting that when long-term interest rates rise, corn prices tend to fall (and vice versa). A heatmap visualization was generated showing all pairwise correlations between metals (gold, silver, platinum, copper), agricultural commodities (wheat, corn), and interest rate variables (fed funds rate, 10-year yield), making it easy to spot patterns at a glance.