# ERC-20 Token Standard

> The rule book for Ethereum tokens. Each unit of one is worth the same.

**Field:** Software Development  
**Category:** Blockchain & Web3  
**Also known as:** ERC-20, ERC20, EIP-20, Fungible Token

## Think of it like

It is like a rule that all bus tickets are the same size. Then each ticket fits each machine.

## Definition

ERC-20 is the rule book for Ethereum tokens where every unit is the same. It names the functions a token contract must have, such as transfer, balanceOf and approve. Every token works the same way, so any wallet can hold any of them. ERC stands for Ethereum Request for Comments. It was first put forward in November 2015.

## Example

A game makes one million gold tokens as an ERC-20 contract. Lucy's wallet shows them as soon as she gets some, with no extra work.

## Example code

```solidity
function balanceOf(address owner) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
```

Three of the nine functions that every ERC-20 token has to offer.

## Why it matters

One shared shape means one wallet can hold thousands of different tokens.

## Common mistake

Sending tokens straight to a token's own contract address. Many contracts cannot send them back, so they are stuck for good.

## Three principles

- **Same functions.** Every token has the same buttons.
- **Fungible.** Each unit equals every other.
- **Works everywhere.** Wallets read any ERC-20 token.

## Related terms

- [Crypto Token](https://learn.benibix.com/term/development/crypto-token)
- [Non-Fungible Token (NFT)](https://learn.benibix.com/term/development/nft)
- [Stablecoin](https://learn.benibix.com/term/development/stablecoin)
- [Smart Contract](https://learn.benibix.com/term/development/smart-contract)
- [Ethereum](https://learn.benibix.com/term/development/ethereum)
- [Solidity](https://learn.benibix.com/term/development/solidity)

![Two panels. On the left, fungible tokens: a row of identical coins, any one swappable for another, labelled ERC-20, with a stablecoin coin marked one dollar. On the right, non-fungible tokens: three tickets each with its own ID number, 1, 2 and 3, labelled ERC-721 and NFT. Above both, a smart contract keeps the list of who owns what.](https://learn.benibix.com/diagrams/dev4-tokens.svg)

---

Source: https://learn.benibix.com/term/development/erc-20
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
