Skip to content

Celestia Gas Calculator

Interactive calculator to estimate Celestia DA costs based on your rollup's block production rate and transaction throughput. All calculations mirror Celestia's DefaultEstimateGas logic, with fees reported in TIA based on your specified gas price in uTIA / gas.

Important: These are estimates only. Actual costs may vary based on network conditions, gas price fluctuations, and blob size optimizations. Use these projections as a planning guide, not exact values.

How it works

The calculator is organized into four sections:

1. Header cadence

Configure your rollup's block production rate and header batching strategy. Set how many headers you batch per submission—the tool automatically calculates the submission interval. For example, 15 headers at 250 ms block time means one submission every 3.75 seconds.

2. Data workload

Model your transaction throughput and calldata usage:

  • EVM mode: Customize your transaction mix across common ERC-20, ERC-721, ERC-1155, and native transfers. The visual donut chart shows the weighted distribution of transaction types and calculates the average calldata bytes per transaction. Use "Randomize configuration" for quick testing or manually adjust weights in the customization panel.
  • Cosmos SDK mode: Coming soon

The calculator translates your transaction rate and calldata into Celestia blob gas requirements, projecting costs per submission, per second, and annually.

For EVM workloads, data submissions are chunked into 500 KiB blobs (mirroring the batching logic in da_submitter.go). If a cadence produces more than 500 KiB of calldata in a window, the tool automatically simulates multiple blobs—and therefore multiple PayForBlobs transactions—so base gas and data gas scale accordingly.

3. Gas parameters

Review the Celestia mainnet gas parameters used for calculations:

  • Fixed cost: 65,000 gas per submission
  • Gas per blob byte: 8 gas per byte
  • Share size: 480 bytes
  • Per-blob static gas: 0 gas

Set your expected gas price and optionally account for the one-time 10,000 gas surcharge if this is the first transaction for the account.

Note: Gas parameters are currently locked to Celestia mainnet defaults. Live parameter fetching and manual overrides will be added in a future update.

4. Estimation

View comprehensive cost breakdowns including:

  • Total gas per submission and corresponding fees
  • Detailed breakdown of header costs, data costs, and baseline gas
  • Annual cost projections
  • Throughput metrics (transactions per second, month, and year)

Header cadence

  • Headers / submission15
  • Header bytes / submission2,625
  • Submission interval (s)3.75
  • Submissions / second0.2667
  • Submissions / minute16
  • Blocks / second4

Data workload

96
bytes avg
  • Native value transfer11.1% • 0 bytes
  • ERC-20 transfer27.8% • 68 bytes
  • ERC-20 approve16.7% • 68 bytes
  • ERC-20 transferFrom11.1% • 100 bytes
  • ERC-721 transferFrom5.6% • 100 bytes
  • ERC-721 safeTransferFrom5.6% • 164 bytes
  • ERC-721 mint5.6% • 68 bytes
  • ERC-1155 safeTransferFrom5.6% • 196 bytes
  • ERC-1155 safeBatchTransferFrom5.6% • 228 bytes
  • EIP-2612 permit5.6% • 228 bytes
Customize transaction mix
Average calldata bytes / tx96
Transactions / submission37.5
Data blobs / submission1
Average blob size (bytes)3,600
Data bytes / submission3,600
Data shares / submission8

Gas parameters

Locked to Celestia mainnet defaults until live parameter fetching and manual overrides ship.

  • Fixed cost65,000 gas
  • Gas per blob byte8 gas / byte
  • Share size482 bytes

Estimation

Total gas / submission183,984
Fee / submission (TIA)0.000736
Fee / second (TIA)0.000196
Total yearly fee (TIA)6,188.9274
Header costs
  • Header gas / submission23,136
  • Header fee / submission (TIA)0.000093
  • Header fee / year (TIA)778.258
Data costs
  • Average calldata bytes / tx96
  • Data blobs / submission1
  • Average blob size (bytes)3,600
  • Data bytes / submission3,600
  • Data shares / submission8
  • Data gas / submission30,848
  • Data fee / submission (TIA)0.000123
  • Data fee / year (TIA)1,037.6774
Baseline gas
  • PFB transactions / submission2
  • Base gas / submission130,000
  • Base fee / submission (TIA)0.00052
  • Base fee / year (TIA)4,372.992
Throughput metrics
  • Transactions per second10
  • Transactions per month25,920,000
  • Transactions per year315,360,000
  • Submissions per year8,409,600

Released under the APACHE-2.0 License