ABI identifiers

EVM Function Selector Generator

Generate the canonical four-byte EVM function selector from a Solidity function signature.

✓ Runs in your browser✓ No account✓ No wallet signature
Calculated locally

Generate a four-byte selector

Enter the canonical function signature including parameter types.

Result

Your manual estimate

Calculated locally
Method

How this calculator works

01

Enter a canonical function signature with parameter types and no parameter names.

02

CoinCalcs validates the manual inputs and applies this published model: selector = first 4 bytes of keccak256(canonical function signature)

03

The result is calculated locally in the browser and is not sent to CoinCalcs or a market-data provider.

Formula

The calculation

selector = first 4 bytes of keccak256(canonical function signature)
Example

A concrete scenario

The canonical signature transfer(address,uint256) produces the selector 0xa9059cbb.

Data provenance

Sources used

Privacy: Calculator inputs are processed locally in your browser. CoinCalcs does not receive or store these inputs. Theme and cookie preferences may be stored on this device.

Known limits

What this estimate cannot guarantee

  • Four-byte selectors can collide and do not identify a contract or prove the intended function is implemented.
  • The result is only as current and accurate as the assumptions entered in the form.
  • The output is educational scenario arithmetic, not financial, investment, tax, legal, or security advice.
FAQ

Questions about this tool

What does the EVM Function Selector Generator calculate?

Generate the canonical four-byte EVM function selector from a Solidity function signature.

Does the Function selector use live market or wallet data?

No. It uses only the values entered in the form and labels the result as a manual estimate.

Are my inputs uploaded or stored?

No. The calculation runs in your browser. CoinCalcs does not receive or retain the form values.

Last reviewed: July 22, 2026