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
- Type an opcode name or its hex value, or leave blank.
- 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.