Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Excess Blob Gas

Excess Blob Gas is a variable in EIP-4844 that tracks the supply and demand for blob space, dynamically adjusting the data gas price for subsequent blocks.
Chainscore © 2026
definition
ETHEREUM EIP-4844

What is Excess Blob Gas?

A dynamic fee mechanism for Ethereum's blob-carrying transactions, introduced with proto-danksharding.

Excess Blob Gas is a variable that dynamically adjusts the base fee for data blobs on Ethereum, functioning as a crypto-economic control mechanism to regulate demand for the new blob space introduced in EIP-4844. It is the component of the total blob gas that exceeds the target blob gas per block, which is set at 0.375 MB (or 3 blobs). When actual blob usage surpasses this target, the excess blob gas increases, which in turn causes the blob base fee for subsequent blocks to rise according to a predefined formula, discouraging overconsumption.

The system is directly modeled after Ethereum's existing EIP-1559 mechanism for regular transactions. The calculation for the blob base fee in block N uses the excess blob gas from block N-1. The formula is: blob_base_fee = fake_exponential(base_fee, excess_blob_gas / blob_gasprice_update_fraction). This creates a predictable and automated fee market that responds to congestion in the blob data lane, separate from the execution gas market, ensuring data availability remains reliably affordable for rollups without being vulnerable to spam.

Ultimately, the excess blob gas mechanism ensures the blob-carrying transaction type is used primarily for its intended purpose: committing large batches of data from Layer 2 rollups. By making costs rise sharply during periods of high demand, it protects the network's bandwidth and encourages efficient use of the new data space. This design is a critical step towards full danksharding, where the blob capacity will be significantly increased, but the same economic principles will govern its usage.

how-it-works
EIP-4844 MECHANISM

How Excess Blob Gas Works

Excess Blob Gas is a dynamic pricing mechanism introduced by EIP-4844 (Proto-Danksharding) to regulate the cost of data blobs on Ethereum.

Excess Blob Gas (EBG) is a per-block variable that algorithmically adjusts the base fee for blob-carrying transactions, creating an elastic and predictable fee market separate from the main execution gas market. This mechanism is a core component of EIP-4844 (Proto-Danksharding), designed to make layer-2 rollup data posting affordable and stable. Unlike the base fee for standard transactions, which targets a specific gas usage per block, the blob gas fee targets a specific number of blobs per block, currently set at a target of 3 blobs and a maximum of 6 blobs.

The system works by tracking the excess or deficit of blob gas consumed relative to the target. If a block contains more than the target number of blobs, the EBG value increases for the next block, raising the blob base fee. Conversely, if a block contains fewer blobs, the EBG value decreases, lowering the fee. This creates a self-correcting feedback loop where high demand increases costs to dampen usage, and low demand reduces costs to encourage it. The calculation uses a formula similar to the EIP-1559 base fee mechanism but applied to this dedicated data resource.

For developers and users, the primary interaction with Excess Blob Gas is through the blobBaseFee returned by the eth_getBlockByNumber RPC call. Wallets and transaction builders must check this value to calculate the total cost for submitting data to a blob-carrying transaction. This fee is paid in ETH and is burned (destroyed), just like the base fee for standard transactions, applying deflationary pressure to Ethereum's supply. The separation ensures that congestion and high fees for executing smart contracts do not directly impact the cost of data availability for rollups.

A key design goal of the Excess Blob Gas mechanism is long-term predictability for Layer 2 networks. By creating a dedicated, capacious resource with algorithmic pricing, rollups can forecast their operational data costs more reliably than if they were competing in the volatile execution gas market. This stability is crucial for scaling Ethereum, as it allows L2s to offer users consistently low transaction fees. The parameters of the system, like the target and maximum blobs per block, are expected to evolve with future upgrades, particularly full Danksharding.

key-features
EIP-4844 MECHANICS

Key Features of Excess Blob Gas

Excess Blob Gas is a dynamic pricing mechanism for Ethereum's data blobs, designed to manage demand for block space and fund future scaling.

01

Dynamic Fee Adjustment

The Excess Blob Gas mechanism acts as an automated market maker for blob space. It adjusts the base fee for the next block based on the target blob gas per block (set at 0.375 MB) versus the actual gas used.

  • If blob gas used > target, the base fee increases exponentially.
  • If blob gas used < target, the base fee decreases exponentially. This creates a predictable, congestion-based fee market separate from the EVM execution gas market.
02

Funding the Fee Burn

Fees paid in Excess Blob Gas are burned (destroyed), not paid to validators. This burn serves two key purposes:

  • It acts as a sink for ETH, applying deflationary pressure on the network's supply.
  • It directly funds the future development and maintenance of data availability layers (like danksharding) through the protocol itself, aligning economic incentives with scaling progress.
03

Separate from Execution Gas

Excess Blob Gas operates a fee market completely independent of the main Ethereum execution gas. This separation is critical for:

  • Stable L2 Costs: Rollups posting data (blobs) are insulated from volatile demand for EVM computation (e.g., NFT mints, DeFi swaps).
  • Predictable Pricing: L2s can forecast data posting costs more reliably.
  • Efficient Block Building: Validators can optimize for two independent resources, improving overall network throughput.
04

Target and Limit Parameters

The system is governed by two key constants that define its behavior and capacity:

  • Target Blob Gas per Block: Set to 3 * 2^17 gas (equivalent to 3 blobs or ~0.375 MB). This is the ideal utilization the fee algorithm targets.
  • Maximum Blob Gas per Block: Set to 6 * 2^17 gas (6 blobs or ~0.75 MB). This is the absolute hard cap for blob data in a single block. The Excess Blob Gas calculation uses the difference between the target and the parent block's actual usage to adjust fees.
05

Algorithmic Fee Update

The base fee for blob gas in block N is calculated deterministically from the Excess Blob Gas of the parent block N-1. The formula is: excess_blob_gas = parent_excess_blob_gas + parent_blob_gas_used - TARGET_BLOB_GAS_PER_BLOCK The new blob_base_fee is then derived from this excess_blob_gas value using an exponential adjustment function, similar to EIP-1559. This ensures fees adjust smoothly without manual intervention.

06

Enabling Proto-Danksharding

Excess Blob Gas is the core economic engine of Proto-Danksharding (EIP-4844). By creating a dedicated, burn-based fee market for large data packets, it:

  • Incentivizes validators to include blobs by allowing them to earn priority fees.
  • Lowers costs for Layer 2 rollups by providing a dedicated, scalable data channel.
  • Paves the way for full Danksharding, where the target and maximum blob counts will increase significantly, scaling data availability by orders of magnitude.
visual-explainer
EIP-4844

Visualizing the Mechanism

Excess Blob Gas (EBG) is a dynamic pricing mechanism for Ethereum's data blobs, designed to automatically adjust costs based on network demand.

Excess Blob Gas is a counter and pricing variable introduced in Ethereum's Dencun upgrade via EIP-4844. It functions as the core feedback mechanism for the blob fee market. After each block, the protocol calculates the EBG by comparing the total blob gas used in the parent block against a predefined target of 0.375 MB per block (or 3 blobs). This calculation directly determines the blob base fee for the subsequent block, creating a self-regulating system where high usage increases costs and low usage decreases them.

The EBG value is stored in the block header and evolves according to a specific formula. If blob usage exceeds the target, the EBG increases, causing the blob base fee to rise exponentially in the next block. Conversely, if usage is below the target, the EBG decreases, making blobs cheaper. This mimics the existing EIP-1559 mechanism for regular transactions but operates on a separate, slower-adjusting curve, ensuring blob pricing is stable and predictable for rollups while remaining responsive to sustained demand surges.

Visualizing this, imagine a gas meter specifically for data. The needle points to a "target" zone. When rollups submit many blobs, the needle swings into "excess," triggering a fee increase. As fees rise, usage naturally cools, pulling the needle back toward the target and reducing fees. This continuous oscillation around the target creates a market equilibrium, efficiently allocating the dedicated blob space without requiring manual intervention or complex governance.

The primary purpose of EBG is to provide long-term predictability for Layer 2 rollups. By decoupling data pricing from execution gas fees and using this automated mechanism, rollups can reliably estimate their data posting costs. This stability is crucial for their operational budgeting and for offering low, consistent fees to end-users. The system ensures the new blob space is used sustainably, preventing it from being monopolized or becoming prohibitively expensive during temporary spikes in network activity.

purpose-and-benefits
EXCESS BLOB GAS

Purpose and Benefits

Excess Blob Gas is a dynamic pricing mechanism introduced in Ethereum's Dencun upgrade (EIP-4844) to manage the supply and cost of data blobs. It ensures blob storage is priced efficiently and transient, preventing permanent state bloat.

01

Dynamic Fee Mechanism

Excess Blob Gas acts as an EIP-1559-style fee market specifically for blob-carrying transactions. It adjusts the base fee for blobs based on network demand:

  • Target: The system aims for 3 blobs per block.
  • Adjustment: If usage is above target, the base fee increases exponentially; if below, it decreases.
  • Result: This creates predictable, market-driven pricing for rollup data availability, decongesting the main chain.
02

Prevents State Bloat

A core purpose is to ensure blob data is ephemeral. Nodes automatically delete blob data after approximately 18 days (4096 epochs). The Excess Blob Gas mechanism enforces this transient model by making long-term storage economically impractical, preventing the permanent state growth that would occur if blobs were stored in calldata.

03

Enables Proto-Danksharding

This mechanism is the economic engine for proto-danksharding. By creating a separate, cheap gas market for large data packets, it allows Layer 2 rollups (like Optimism, Arbitrum) to post proofs and data at a fraction of the previous cost. This directly reduces transaction fees for end-users on L2s.

04

Market-Based Resource Allocation

It efficiently allocates the blob space resource without manual intervention. The fee adjusts automatically based on real-time usage, ensuring blockspace is used by those who value it most. This is a more sophisticated and efficient system than a simple fixed fee or first-price auction.

05

Fee Burning & Deflation

Similar to EIP-1559's base fee burn, the base fee for blobs is burned (destroyed). This removes ETH from circulation, contributing to the network's deflationary pressure. The burn applies only to the base fee; transaction prioritization tips (priority fees) are paid to validators.

06

Related Concept: Blob Gas

Blob Gas is the unit of measurement for the data space consumed by a blob. It is separate from standard execution gas. Key characteristics:

  • Each blob consumes a fixed amount of blob gas.
  • Blocks have a blob gas limit (currently 786,432, allowing up to 6 blobs).
  • The Excess Blob Gas variable tracks how far the previous block's blob gas usage was from the target to calculate the next block's fee.
EIP-4844 COMPARISON

Excess Blob Gas vs. Base Fee (Execution Gas)

A technical comparison of the two primary gas fee mechanisms introduced by Ethereum's EIP-4844 (Proto-Danksharding).

FeatureExcess Blob Gas (Blob Fee)Base Fee (Execution Gas)

Primary Purpose

Regulates data availability for rollup data blobs

Regulates execution and state updates on the EVM

Fee Market Mechanism

Targets 3 blobs per block; adjusts based on prior block usage

Targets 50% block gas limit; adjusts based on prior block usage

Fee Calculation

Derived from the 'excess_blob_gas' header field using a dedicated pricing formula

Derived from the parent block's gas usage using the EIP-1559 formula

Transaction Type

Attached to blob-carrying transactions (type 3)

Applied to all standard transactions (type 0, 1, 2)

Resource Being Priced

Data availability and storage in the Beacon Chain consensus layer

Computation, storage, and bandwidth on the execution layer

Burn Mechanism

The blob fee is burned (similar to EIP-1559)

The base fee portion is burned (EIP-1559 mechanism)

Fee Volatility

Designed for lower, more predictable volatility for rollups

Subject to higher volatility based on execution demand

Unit of Measurement

Gas per blob (calculated from excess_blob_gas)

Gas (gwei) per unit of execution gas

EXCESS BLOB GAS

Technical Details

Excess Blob Gas is a core mechanism introduced in Ethereum's Dencun upgrade to dynamically price and manage data blobs for Layer 2 rollups.

Excess Blob Gas is a variable in Ethereum's consensus layer that dynamically adjusts the cost of posting data blobs for Layer 2 rollups based on network demand. It works by tracking the difference between a target of three blobs per block and the actual number used. If blocks consistently contain more than three blobs, the blob gas price increases via an exponential EIP-1559-style fee mechanism, making blob space more expensive. Conversely, if usage is below target, the price decays. This system replaces a fixed gas price, allowing blob costs to scale with demand while keeping base layer transaction fees stable.

ecosystem-usage
EXCESS BLOB GAS

Ecosystem Usage and Impact

Excess Blob Gas is a dynamic pricing mechanism introduced in EIP-4844 that regulates the supply and cost of data blobs on Ethereum, directly impacting Layer 2 scaling economics and network usage.

01

Dynamic Fee Mechanism

Excess Blob Gas is the core variable in a targeted gas pricing model for blobs. The system targets 3 blobs per block. If usage is above target, the blob base fee increases exponentially; if below, it decreases. This creates a self-regulating market for blobspace, ensuring block space is priced efficiently without manual intervention.

02

Impact on Layer 2 Rollups

This mechanism is the primary cost driver for Layer 2 (L2) transaction fees. Rollups like Arbitrum, Optimism, and Base post data to blobs. When blob demand is high, the rising blob base fee increases L2 data publishing costs, which can be passed on to end-users. It creates a direct link between mainnet congestion and L2 affordability.

03

Blob Gas Market vs. Execution Gas

Excess Blob Gas creates a separate fee market from execution gas.

  • Execution Gas: Pays for computation/state changes (EVM).
  • Blob Gas: Pays for data availability (blob storage). This separation prevents data-intensive L2s from competing with and congesting the market for regular Ethereum transactions, improving network usability.
04

The Blob Fee Calculation

The blob base fee for a block is calculated directly from the Excess Blob Gas value of the previous block. The formula mimics EIP-1559's adjustment mechanism. A key difference: blob fees are not burned; they are paid to validators (post-Dencun) or miners (pre-Dencun) as part of the block reward, incentivizing blob inclusion.

05

Long-Term Data Pruning

Excess Blob Gas pricing is designed for ephemeral data storage. Blobs are automatically pruned from execution clients after ~18 days (4096 epochs). This temporary storage is sufficient for fraud/validity proofs but minimizes the perpetual state growth burden on nodes, which is a core design goal of Proto-Danksharding.

06

Ecosystem Adaptation & Tooling

The introduction of this system required broad ecosystem adaptation:

  • Wallets & RPCs: Added support for new transaction type (0x03) and blob gas fields.
  • Block Explorers: Display blob count, blob gas used, and blob base fee.
  • L2 Sequencers: Implemented logic to batch transactions based on fluctuating blob costs.
  • Analytics Platforms: Track blob gas metrics to monitor rollup cost efficiency.
EXCESS BLOB GAS

Common Misconceptions

Excess Blob Gas (EIP-4844) is a critical EIP-1559-style mechanism for managing data blobs in Ethereum's Dencun upgrade. This section clarifies widespread misunderstandings about its function, fee market, and impact.

No, Excess Blob Gas is a separate but analogous mechanism to EIP-1559's base fee, specifically for data blobs introduced by EIP-4844. While both use a similar formula to adjust fees based on network demand, they govern distinct resources: the base fee targets block space for transactions, while Excess Blob Gas targets the new blob-carrying capacity. Each has its own independent gas target (15 million gas for blocks, 3 blobs for blobs) and fee adjustment algorithm, creating two parallel fee markets on Ethereum.

EXCESS BLOB GAS

Frequently Asked Questions (FAQ)

Common questions about the EIP-4844 mechanism that manages data blob pricing and supply on Ethereum.

Excess Blob Gas is a dynamic fee mechanism introduced in Ethereum's Dencun upgrade (EIP-4844) to algorithmically adjust the cost of posting data blobs. It works by tracking the difference between the target and actual blob count per block. If more blobs are used than the target (3), the system creates 'excess' blob gas, which increases the blob gas price for subsequent blocks according to a predefined formula. Conversely, if usage is below target, the price decays. This creates a self-regulating market for blobspace, balancing supply and demand without manual intervention.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team