Buy Event Ticket Consensus MIami 2026 - 20% Paris Blockchain Week - 15% OFF

What is Ethereum Virtual Machine (EVM)

The Ethereum Virtual Machine (EVM) is the decentralised computation engine that executes smart contracts on the Ethereum blockchain. It is a sandboxed, deterministic virtual machine running identically on every Ethereum node worldwide  ensuring that smart contract execution produces exactly the same result regardless of which node processes it.

WHAT THE EVM DOES

When you deploy a smart contract on Ethereum, your Solidity code is compiled into EVM bytecode  a low-level instruction set the EVM can execute. When someone interacts with the contract (swapping tokens on Uniswap, borrowing on Aave, minting an NFT), the transaction triggers the EVM to execute the relevant bytecode. Every Ethereum node runs the same execution simultaneously, and all must reach the identical final state  this deterministic consensus is what makes Ethereum trustless.

HOW THE EVM PROCESSES EXECUTION

The EVM is a stack-based machine with 256-bit word size. It has access to: stack (temporary computation space), memory (temporary within a transaction), storage (permanent on-chain data), and transaction context (sender, value, calldata). Every EVM operation (PUSH, ADD, SSTORE, CALL, etc.) consumes a defined amount of gas  the economic mechanism preventing infinite loops and resource abuse.

GAS AND THE EVM

Each EVM opcode (operation) has a fixed gas cost. Simple operations (addition) cost 3 gas; storage writes cost 20,000 gas; external contract calls have variable costs. The total gas consumed by a transaction is multiplied by the gas price (in Gwei) to determine the ETH fee paid. The EVM enforces the gas limit  if execution runs out of gas mid-way, the transaction reverts (state changes undo) but gas already consumed is not refunded.

EVM COMPATIBILITY: THE ECOSYSTEM MULTIPLIER

EVM compatibility has become the single most important interoperability standard in blockchain. Because the EVM is open source, other blockchains have implemented EVM-compatible execution environments: BNB Smart Chain, Polygon, Avalanche C-Chain, Arbitrum, Optimism, Base, Fantom, Cronos, and dozens more are all EVM-compatible. This means any smart contract written for Ethereum deploys on all these chains with minimal modification  creating a vast, interoperable smart contract ecosystem.

Terms in addition to the Ethereum Virtual Machine (EVM)

Scroll to Top