loading prices...
prices by coingecko
onchain.search tools/free · no sign-up/links/about

home / ethereum / evm-opcode-gas-referencelocal

EVM Opcode and Gas Cost Reference

Look up an EVM opcode by name or hex: its number, base gas cost and what it does, up to the Cancun upgrade.

evm-opcode-gas-referenceready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

ethereum tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

A quick table of EVM opcodes and their base gas, including the warm and cold access costs since the Berlin upgrade and the newer ones like TLOAD, MCOPY and BLOBHASH.

02 // how to use it

  1. Type an opcode name or its hex value, or leave blank.
  2. Press Run.

03 // faq

Why do SLOAD and CALL have two costs?

The first touch in a transaction is cold and costs more; later touches are warm.

Is every opcode listed?

The common ones are. Check the Ethereum execution specs for the full, current list.

04 // related tools

all 43 ethereum tools →