- June 16, 2026
- Blockchain, Ethereum
Ethereum Virtual Machine (EVM)
EVM (Ethereum Virtual Machine) is the software environment that executes smart contracts and decentralized applications on compatible blockchains.

What the EVM Is
The Ethereum Virtual Machine can be understood as a global computer made up of thousands of independent nodes. Each node runs the same virtual machine, and each transaction on Ethereum is processed through this machine. The EVM defines how the network moves from one state to another—how balances change, how contracts store data, and how code executes.
Ethereum’s state is stored in a cryptographic structure called a Merkle Patricia Trie, which allows nodes to verify information efficiently and securely.
Why the EVM Exists
Before Ethereum, blockchains like Bitcoin could only perform simple operations such as transferring value. Ethereum introduced the idea of programmable money, where developers can write code that automatically executes when certain conditions are met. The EVM is the environment that runs this code.
Its purpose is to ensure that:
- Every node computes the same result
- Smart contracts behave consistently
- No single party controls execution
- Programs cannot run forever or consume unlimited resources
Core Components of the EVM
Although the EVM is powerful, its internal structure is intentionally minimal. It consists of several key parts:
- Stack — A temporary workspace where the EVM performs calculations.
- Memory — A scratchpad used only during a single execution.
- Storage — Permanent data saved by smart contracts.
- Bytecode — The low‑level instructions that the EVM executes.
- Opcodes — The individual operations (like “add,” “store,” or “call”).
- Gas — A system that measures how much computation a transaction uses.
These components work together to ensure that smart contracts run safely and predictably.
How Execution Works
When someone interacts with a smart contract—by swapping tokens, minting an NFT, or voting in a DAO—the EVM follows a clear sequence:
- The transaction provides input data.
- The EVM loads the contract’s bytecode.
- Instructions execute one by one, modifying the stack, memory, and storage.
- Gas is consumed as each instruction runs.
- Execution ends with a result or a revert.
Because every node performs this same process, the network reaches consensus on the outcome.
Accounts and State
Ethereum has two types of accounts:
- Externally Owned Accounts (EOAs) — Controlled by private keys.
- Contract Accounts — Controlled by code stored on the blockchain
BlockchainThink of blockchain as a public notebook that everyone owns a copy of. Whatever gets written in it is permanent and visible to all.Keep learning.
A transaction can transfer ETH, deploy a new contract, or call an existing one. When a contract is deployed, its bytecode becomes part of Ethereum’s global state. When it is called, the EVM executes that code to compute the result.
Gas and Resource Limits
Gas is essential for beginners to understand. It prevents programs from running forever and protects the network from abuse. Every operation has a cost, and users must supply enough gas to cover the work their transaction requires.
Gas fees are calculated as:
gas used × (base fee + priority fee)
This system ensures that computation is scarce and valuable, which keeps the network secure.
Security Principles
The EVM is designed with several protective features:
- Isolation — Contracts cannot directly access each other’s data.
- Determinism — The same input always produces the same output.
- Gas limits — Prevent infinite loops and excessive computation.
- Formal verification potential — Developers can mathematically prove that their code behaves correctly.
These principles make the EVM a reliable foundation for decentralized
DecentralizationDecentralization is the distribution of control and decision-making across a network instead of a single central authority.Keep learning applications.
Client Diversity and Specification
Ethereum has multiple client implementations written in different programming languages. Despite this diversity, all clients must behave identically. The Ethereum Yellow Paper defines the official rules of the EVM, ensuring that every node processes transactions in the same way.
Why the EVM Matters
The EVM enables the entire Ethereum ecosystem, including:
- Smart contracts
- DeFi
DeFiDeFi stands for Decentralized Finance. It refers to a collection of applications and platforms built on blockchain that allow people to transact without banks.Keep learning protocols - NFTs
- DAOs
- Composable applications that interact seamlessly
Without the EVM, Ethereum would be just another digital currency. With it, Ethereum becomes a programmable platform for decentralized innovation.
Tag System
The tags found in our glossary are there to help you better understand presented definitions. They showcase how certain concepts integrate and interact within the ecosystem.
Rectangular tags signal a concept related to Blockchain
BlockchainThink of blockchain as a public notebook that everyone owns a copy of. Whatever gets written in it is permanent and visible to all.Keep learning as a technology. Whereas rounded tags represent Cryptocurrency
CryptocurrencyCryptocurrency, often called “crypto,” is a form of digital currency that uses cryptography (advanced math and code) to keep it secure.Keep learning in more of a financial aspect. You’ll also see rectangular dashed tags for Web3
Web3Web3 is the idea of a decentralized internet powered by blockchain.Keep learning and rounded dashed tags for DeFi
DeFiDeFi stands for Decentralized Finance. It refers to a collection of applications and platforms built on blockchain that allow people to transact without banks.Keep learning specifically.
Learn more about the relationship between all the tags and their respective concept with our Free Interactive Courses.
More Blockchain fundamentals
Proof of Work
Proof of Work (PoW) is a consensus mechanism where miners use computing power to validate transactions and secure the blockchain.
Keep learningTokenomics
Tokenomics refers to a cryptocurrency’s economic design, including supply, distribution, utility, and incentives that influence its value and behavior.
Keep learningReal-World Assets (RWAs)
Real-World Assets (RWAs) are physical or traditional financial assets, like real estate or bonds, represented and traded on blockchain networks.
Keep learningBlockchain
Think of blockchain as a public notebook that everyone owns a copy of. Whatever gets written in it is permanent and visible to all.
Keep learning



