Book a free call

ERC-20 vs ERC-721: Which Token Standard Fits?

ERC-20 tokens are identical and interchangeable, while ERC-721 tokens are unique. Here is how the two standards differ and when to use each.

Hertiv engineering teamReviewed by a senior engineer
5 min read
ERC-20 vs ERC-721: Which Token Standard Fits?
On this page

Short answer

ERC-20 and ERC-721 are the two main token standards on Ethereum. ERC-20 defines fungible tokens, where every token is identical to every other token, such as a stablecoin or a reward token. ERC-721 defines non-fungible tokens, where every token is unique, such as a collectible, a ticket or a certificate. The choice depends on whether the things you tokenise are interchangeable or one of a kind.

What is ERC-20?

ERC-20 is the standard for fungible tokens on Ethereum. Every token is the same as every other token, so one unit can replace another without any difference in value or meaning. Stablecoins, reward tokens, governance tokens and payment tokens are all usually ERC-20.

The standard defines a small set of functions that every ERC-20 contract must have: total supply, balance of an address, transfer, and approval for another address to spend on your behalf. Because every wallet, exchange and app knows these functions, an ERC-20 token works everywhere from the day it launches.

ERC-20 tokens are counted in whole and fractional amounts, with a decimals setting that decides how small a unit can be. A token with 18 decimals can be split into tiny fractions, which is why a stablecoin can be sent in amounts of a few cents. If you want the full picture, read our guide to what ERC-20 tokens are.

What is ERC-721?

ERC-721 is the standard for non-fungible tokens on Ethereum. Every token has its own identity, usually a token ID, and no two tokens are the same. A collectible, a concert ticket, a membership pass and a land parcel in a game are all natural ERC-721 tokens.

The standard defines functions for ownership, transfer and approval, but each token is tracked individually by its ID. Wallets and marketplaces can show the token's metadata, such as its image, name and traits, which is what makes one token different from another.

ERC-721 tokens cannot be split. You own one whole token or none of it, which is why they fit unique items and not money. The standard is explained in detail in our guide to what ERC-721 is.

ERC-20 vs ERC-721 at a glance

The two standards answer different questions. ERC-20 asks how much of something you hold. ERC-721 asks which specific thing you hold. The table compares them side by side.

FeatureERC-20ERC-721
Token typeFungible, identical unitsNon-fungible, unique items
DivisibleYes, down to the decimals settingNo, one whole token at a time
Tracked byBalance per addressToken ID per owner
Typical usesStablecoins, rewards, governanceCollectibles, tickets, passes, deeds
Traded onExchanges and swapsNFT marketplaces
ValueSame price per unitEach token priced on its own
SupplySet at mint, often largeSet per collection, often small
MetadataName, symbol, decimalsName, image, traits per token

The table shows why the two standards rarely compete. A payment token needs fungibility, so it is ERC-20. A ticket needs uniqueness, so it is ERC-721. Problems start when a team picks the wrong one and then tries to work around it.

When should you use ERC-20?

Use ERC-20 when the units are interchangeable and the amount matters more than the identity. Payments, rewards, staking and governance all need fungible tokens, because a user should be able to receive 10 tokens from anyone and spend them the same way.

ERC-20 is also the right choice when you need deep liquidity. Exchanges, swaps and lending protocols all understand ERC-20, so a token can be traded, lent and used as collateral with no extra work. An ERC-721 token cannot be listed on a swap, because each token is different.

Choose ERC-20 when the token is a unit of value rather than a thing. If a user would be happy to receive any 10 tokens instead of a specific 10, the token is fungible. The contract side is covered in our guide to creating an ERC-20 token.

When should you use ERC-721?

Use ERC-721 when each item is different and its identity matters. A ticket for seat 12 is not the same as a ticket for seat 40, a membership pass for one person is not the same as a pass for another, and a collectible with rare traits is worth more than a common one.

ERC-721 is also the right choice when ownership must be proven for a specific item. A certificate, a deed or a licence is tied to one thing, and the token ID is the proof. Splitting it would destroy the meaning.

Choose ERC-721 when the token is a thing rather than a unit of value. If a user would refuse a different token of the same kind, the item is non-fungible. A common middle ground is to use ERC-20 for the currency of a game and ERC-721 for the items inside it.

Example (hypothetical): a music festival

Example (hypothetical): a festival sells 10,000 tickets as ERC-721 tokens at 0.05 ETH each, which is 10,000 x 0.05 = 500 ETH of ticket sales. Each ticket has its own ID, seat and tier, and a buyer can resell their exact ticket on a marketplace.

The festival also issues a reward token as ERC-20. It mints 1,000,000 reward tokens at 0.0005 ETH each, which is 1,000,000 x 0.0005 = 500 ETH of total reward value. Fans earn the same reward tokens for attending, sharing and buying merch, and any 100 reward tokens buy the same drink.

The two standards work together: the ERC-721 ticket proves who holds a seat, and the ERC-20 reward token pays for things inside the festival. Neither standard could do the other's job.

Common mistakes

The most common mistake is using ERC-721 for something fungible. A team that mints 10,000 identical membership tokens as ERC-721 has to track 10,000 separate IDs, list them one by one and price them one by one, when a single ERC-20 balance would have done the job.

The opposite mistake is using ERC-20 for something unique. A certificate issued as 1 ERC-20 token looks the same as any other 1 token, so it cannot prove which certificate a person holds. The fix is to use ERC-721 from the start.

A third mistake is forgetting metadata. An ERC-721 token without working metadata is a bare ID with no image, name or traits, so marketplaces show a blank card. Host the metadata reliably and test it on a marketplace before the public mint.

A fourth mistake is ignoring gas costs. Minting 10,000 ERC-721 tokens one by one is expensive, while batch minting or a lazy minting design can cut the cost sharply. Plan the minting method with the contract developer before launch.

Key takeaways

  • ERC-20 tokens are identical and interchangeable; ERC-721 tokens are unique items.
  • Use ERC-20 for money, rewards and governance, and ERC-721 for tickets, passes and collectibles.
  • ERC-20 is tracked by balance, ERC-721 by token ID, and they trade in different places.
  • Many products use both: ERC-20 for the currency, ERC-721 for the items.
  • Pick the standard that matches the thing, not the one you already know.

Frequently asked questions

What is the main difference between ERC-20 and ERC-721?

ERC-20 tokens are fungible, so every token is identical and interchangeable, like money. ERC-721 tokens are non-fungible, so every token is unique, like a ticket or a collectible with its own traits.

Can an ERC-721 token be split into fractions?

No. An ERC-721 token is one whole item and cannot be divided. If fractional ownership is needed, a separate contract can lock the token and issue fungible shares against it.

Can I use both standards in one project?

Yes, and many projects do. A game may use ERC-20 for its currency and ERC-721 for its items, while a festival may use ERC-721 for tickets and ERC-20 for rewards.

Which standard is cheaper to deploy?

An ERC-20 contract is usually simpler and cheaper to deploy than a full ERC-721 collection with metadata. Minting costs depend on how many tokens are created and whether batch or lazy minting is used.

Do ERC-721 tokens work on other chains?

The ERC-721 standard is specific to Ethereum and EVM chains. Other chains have their own NFT standards, such as Solana's token program and the SPL token standard for NFTs on Solana.

What is ERC-1155?

ERC-1155 is a third standard that can hold both fungible and non-fungible tokens in one contract. It is useful for games with many item types, where each type needs its own supply and rules.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Tokenising something and unsure which standard fits?

A senior engineer replies within one business day. Or see our Ethereum Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call