Skip to content

← On-chain Bitcoin

Difficulty Regression Price

Linear regression rolling 730-day window of BTC price log vs mining difficulty log, predicted price vs actual price.

Tier proOn-chain Bitcoinminingdifficultyregressionmodelfair-value

What is it?

Log-log linear regression model computed between BTC price and mining difficulty on a 730-day (~2 years) rolling window. The regression produces a predicted price line from observed difficulty. The gap between real price and predicted price suggests an over- or under-valuation relative to the cumulated energetic effort metric represented by difficulty.

How to read

Compare the predicted price line with the real price: price above prediction = potential overvaluation relative to cumulated mining effort; price below = potential undervaluation. Bullish/bearish crossovers (real price crossing the predicted line) are regime markers. The model is more relevant in multi-cycle reading than in instantaneous value.

Key zones

A real/predicted price gap within a ±50% band remains within normal historical variance. A gap exceeding +100% above prediction marks a historical overheating zone. Below -50%, historical opportunity zone. These thresholds are indicative and evolve with market regimes.

What to observe

Prolonged divergences between regression and price: if price structurally takes off from prediction over several cycles, the model may be becoming less relevant (structural change in price/difficulty link). Conversely, a price that regularly returns toward regression confirms the model's robustness.

Historical context

The price/difficulty relationship is anchored in early on-chain analysis work: difficulty reflects cumulated hash power investment, which is itself profitable due to price. The log-log linear model is inspired by power-law models applied to BTC price. This regression is a rolling variant that adapts to structural ASIC market changes.

Expert notes

The 730-day window is a compromise between stability (noise reduction) and adaptability (capturing structural changes). Testing other windows (365d or 1095d) can reveal different sensitivities. The regression is computed in log to respect the exponential nature of BTC long-term price growth.

Common mistakes to avoid

This regression is not a future price oracle - it is a retrospective reading of the price/difficulty relationship observed over the last 2 years. A price under the regression does not guarantee a return to this line, and a price above does not imply an imminent correction. It is a context tool, not timing.

Programmatic access

REST API

curl -sS \
  'https://api.trinityinsights.io/api/v1/onchain/difficulty-regression-price/history?days=90' \
  -H 'X-API-Key: $TRINITY_API_KEY'

MCP server

{
  "tool": "get_chart_value",
  "metric_id": "difficulty-regression-price",
  "timeframe": "1y"
}

Required tier: pro. See the pricing grid for the tier list and the MCP documentation for multi-client configuration.

Related metrics

Institutional disclaimer

Trinity Insights is an educational and analytical tool. The metric above does not constitute investment advice. Trinity Insights is not a Crypto-Asset Service Provider (CASP) registered under MiCA Regulation (EU) 2023/1114. See the full disclaimer.