---
eip: 8311
label: EIP-8311
title: Increase Calldata Floor Cost to 96
status: Draft
type: Standards Track
category: Core
created: 2026-06-20
requires: 3860, 7623, 7976
official: https://eips.ethereum.org/EIPS/eip-8311
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8311.md
canonical: https://eips.huatuo.xyz/eip-8311/
lang: en
tldr: Raises the calldata floor price from 64 to 96 gas per byte so a block stuffed with calldata is never denser in bytes per gas than a block full of plain ETH transfers, freeing room to raise the gas limit.
tags: [gas, calldata, repricing, core, scaling]
---

# EIP-8311: Increase Calldata Floor Cost to 96

> Increase the calldata floor cost to 96/96 gas per byte to align it with the ETH-transfer byte-density anchor

**TL;DR:** Raises the calldata floor price from 64 to 96 gas per byte so a block stuffed with calldata is never denser in bytes per gas than a block full of plain ETH transfers, freeing room to raise the gas limit.

## What problem does it solve?

How high Ethereum can push the block gas limit depends partly on bandwidth: the worst-case block, in bytes, must still propagate across the network in time. Whatever transaction mix carries the most bytes per unit of gas sets that worst case.

The spec argues that a block full of simple 21,000-gas ETH transfers is the irreducible baseline. Each transfer carries its envelope, signature and block-access-list record (about 221 bytes in the worst case by the spec's accounting), and those can't be priced lower without raising the cost of a transfer. That gives a density of roughly `0.0105` bytes per gas.

After [EIP-7976](/eip-7976/), a block of pure calldata costs at least 64 gas per byte, i.e. `1/64 ≈ 0.0156` bytes/gas, about 1.5× denser than the transfer baseline. So calldata, not transfers, is what limits the gas limit. EIP-8311 closes that gap.

## How it works

It keeps the two-price "floor" mechanism from [EIP-7623](/eip-7623/) and EIP-7976 and only changes one constant:

| Parameter | Before (EIP-7976) | After (EIP-8311) |
| --- | --- | --- |
| `STANDARD_TOKEN_COST` | 4 | 4 |
| `TOTAL_COST_FLOOR_PER_TOKEN` | 16 | **24** |

Every calldata byte, zero or non-zero, counts as 4 floor tokens, so the floor becomes `24 × 4 = 96` gas per byte (previously 64).

A transaction pays the **larger** of its normal cost (standard calldata pricing of 4/16 gas per zero/non-zero byte plus execution) or the floor. Transactions that do real EVM work almost always clear the floor, so they pay the same as before. Only data-heavy transactions with little execution hit the new price.

Why 96? It is the smallest integer `F` with `1/F` no greater than the transfer density: `ceil(1 / 0.01052) = 96`. At 96 gas/byte a pure-calldata block carries about `0.0104` bytes/gas, just under the anchor.

## Sample code

Gas charged for a transaction under the floor rule (pseudocode following EIP-7623/7976 with the new constant):

```python
STANDARD_TOKEN_COST = 4
TOTAL_COST_FLOOR_PER_TOKEN = 24          # was 16 under EIP-7976

def tx_gas_used(calldata: bytes, execution_gas: int, is_create: bool, initcode_gas: int = 0) -> int:
    zeros = calldata.count(0)
    nonzeros = len(calldata) - zeros
    tokens = zeros + nonzeros * 4                    # standard pricing: 4 / 16 gas per byte
    floor_tokens = (zeros + nonzeros) * 4            # every byte = 4 tokens for the floor

    standard = 21000 + STANDARD_TOKEN_COST * tokens + execution_gas \
               + (32000 + initcode_gas if is_create else 0)
    floor = 21000 + TOTAL_COST_FLOOR_PER_TOKEN * floor_tokens   # 96 gas per byte
    return max(standard, floor)

# 100 KB of data with almost no execution: the floor wins
print(tx_gas_used(b"\x01" * 100_000, execution_gas=5_000, is_create=False))  # 9,621,000
```

## Things to know

- **Status: Draft.** It would require a scheduled hard fork; the value 96 could still change.
- Ordinary DeFi swaps, token transfers and other execution-heavy transactions are expected to be unaffected because they pay more than the floor anyway.
- Wallets and nodes must update `eth_estimateGas` and any local gas math to use 24 as the floor constant, or data-heavy transactions may be underestimated and fail.
- The higher calldata price strengthens the push toward blobs ([EIP-4844](/eip-4844/)) for data availability.
- It only addresses pure-calldata blocks. Mixed blocks that pair cheap standard-rate calldata with byte-heavy state access are explicitly left to a separate proposal. Related execution-side repricing is in [EIP-8007](/eip-8007/).


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8311
