Estimate the data-byte gas and fee for Ethereum calldata at a chosen gas price.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Hex calldata is decoded into bytes, zero and non-zero bytes are counted, and intrinsic data gas is four per zero byte plus sixteen per non-zero byte. That gas total is multiplied by the entered price and formatted in wei, gwei, and ether.
Calldata hex: 0x0000abcd Gas price gwei: 20
Byte count: 4 Zero byte count: 2 Non zero byte count: 2 Gas units: 40 Cost wei: 800000000000 Cost gwei: 800 Cost ether: 0.0000008
Contract engineers budget transaction overhead, ABI encoders compare packed arguments, and fee dashboards model byte charges.