Book a free call

What Is Ethereum, and How Does It Work?

Ethereum is a public blockchain that runs programs called smart contracts. Learn how it works, what ether is for, and where it fits next to Bitcoin.

Hertiv engineering teamReviewed by a senior engineer
5 min read
What Is Ethereum, and How Does It Work?
On this page

Short answer

Ethereum is a public blockchain that runs smart contracts, programs that execute exactly as written without a central server. Its currency, ether, pays the fees for running those programs, and thousands of validators using proof of stake agree on the shared state of the chain.

What is Ethereum?

Ethereum is a public blockchain that runs programs called smart contracts, as well as recording transfers of its own currency, ether. Where Bitcoin mainly records who owns which coins, Ethereum records both ownership and the rules of programs that anyone can inspect and use.

The network is run by thousands of computers called validators, which check new blocks of transactions and agree on the state of the chain. No single company controls it, and anyone can read the ledger or build on top of it. That openness is the point: a program deployed on Ethereum keeps running as written, without a server that can be switched off.

Ether, written as ETH, pays for using the network. Every action, from sending ETH to running a smart contract, costs a small fee, which stops spam and pays the validators who keep the chain running. For the smart contracts themselves, see what smart contract development is.

How does Ethereum work?

Ethereum works as a shared computer: every validator runs the same programs and stores the same state, so they all agree on the result. When a user sends a transaction, validators check it, add it to a block, and update the shared state, which every other validator then verifies.

The chain uses proof of stake, which means validators lock up ETH as a deposit to take part. If a validator breaks the rules, part of that deposit can be taken away, which gives them a reason to behave. New blocks are proposed and agreed on in short slots, so the chain moves forward every few seconds.

Applications on Ethereum are called decentralised apps, or dapps. A dapp is a front end that talks to a smart contract on the chain, so the rules of the app are public and the data is stored on the chain rather than on a company server. For the scaling layers built on top, see what Layer 2 is.

What is ether, and what are gas fees?

Ether is the currency of Ethereum. It is used to pay transaction fees, to reward validators, and as the unit that smart contracts price their work in. People also hold it as an asset, but its first job inside the network is to pay for computation.

TermWhat it meansWhy it matters
Ether (ETH)The currency of the networkPays fees and rewards validators
GasA measure of the work a transaction needsComplex actions cost more gas
Gas priceWhat you pay per unit of gasRises when the network is busy
Gas limitThe most gas a transaction may useStops a faulty program running forever

Gas fees change with demand. When many people use the network at once, the fee for a simple transfer rises, and a complex contract call costs more. Wallets usually suggest a fee, and users who are not in a hurry can wait for a quieter moment. Fees are paid in ETH, even when the transaction involves another token.

What are smart contracts?

Smart contracts are programs stored on Ethereum that run exactly as written when their conditions are met. A simple example is a contract that releases payment when a delivery is confirmed: once the condition is recorded on the chain, the payment happens without anyone having to approve it.

Smart contracts run many things today, including token sales, lending pools, exchanges and voting systems. Their code is public, so anyone can read it before trusting it, which is both the strength and the risk: a bug in the code is public too, and it cannot be patched by editing a server.

Writing a contract well means keeping it small, testing it on a test network first, and having it reviewed by someone else before real money is involved. A contract that handles funds should never be deployed after only one review.

How does Ethereum compare with Bitcoin?

Ethereum and Bitcoin are both public blockchains, but they were built for different jobs. Bitcoin is designed to be a scarce digital currency with a fixed supply and a simple set of rules, while Ethereum is designed to be a platform for programs, with a currency that pays for running them.

FeatureBitcoinEthereum
Main purposeDigital currency and store of valuePlatform for programs and tokens
Smart contractsVery limitedCore feature
Currency supplyCapped at 21 millionNo fixed cap
Block timeAbout 10 minutesAbout 12 seconds
ConsensusProof of workProof of stake

The two chains are not rivals in the usual sense. Many people hold both, and many Ethereum applications use Bitcoin in wrapped form. The choice between them depends on the job: moving value simply, or running a program that needs a shared, public state.

Example (hypothetical): sending ETH and calling a contract

Example (hypothetical): a user wants to send 0.5 ETH to a friend and then vote in a small on-chain poll. The wallet shows the send will use 21,000 gas at 25 gwei, which is 21,000 times 25, or 525,000 gwei. Since 1 ETH is 1,000,000,000 gwei, the fee is 0.000525 ETH, and the friend receives the full 0.5 ETH.

The vote is a contract call that uses 60,000 gas at the same price of 25 gwei, which is 1,500,000 gwei, or 0.0015 ETH. The total cost of both actions is 0.000525 plus 0.0015, which is 0.002025 ETH, on top of the 0.5 ETH sent.

If the network gets busy and the gas price rises to 100 gwei, the same two actions cost four times as much: 0.0021 ETH for the send and 0.006 ETH for the vote. The user checks the fee, decides the vote can wait, and sends the payment only. For how to create tokens on a chain, see how to create a cryptocurrency.

What are the common mistakes?

The most common Ethereum mistakes are sending funds to the wrong address, paying too much gas in a busy moment, and trusting a contract without reading it. Each one is final on a public chain, so a short check before confirming is worth the time.

  • No test first. Send a small amount before the full amount, especially to a new address.
  • Ignoring the gas price. A contract call during a busy hour can cost several times the quiet-hour price.
  • Trusting unaudited contracts. A contract that holds funds should have a public audit and a track record.
  • Losing the seed phrase. There is no password reset on Ethereum; a lost phrase means lost funds.
  • Approving unlimited spending. Token approvals should be limited to the amount the app actually needs.

Keep the seed phrase offline, check the address twice, and treat every new contract as untrusted until it has been reviewed. The chain does not forgive a rushed click.

Key takeaways

  • Ethereum runs programs, not just payments, on a public blockchain
  • Ether pays the gas fees that keep the network running
  • Smart contracts execute as written and cannot be changed by one party
  • Proof of stake secures the chain through locked deposits
  • Check the address, the gas price and the contract before confirming

Frequently asked questions

What is Ethereum used for?

Ethereum is used to run smart contracts and decentralised apps, including token sales, lending, exchanges and voting. Its currency, ether, pays the fees for using the network. Anyone can read the code of a contract before deciding to trust it.

How is Ethereum different from Bitcoin?

Bitcoin is designed mainly as a digital currency with a fixed supply, while Ethereum is designed as a platform for programs. Ethereum supports smart contracts, has faster blocks and uses proof of stake instead of proof of work.

What is ether?

Ether, or ETH, is the currency of Ethereum. It pays transaction fees, rewards validators and prices the work that smart contracts do. It is also held as an asset, but its first job inside the network is to pay for computation.

What are gas fees on Ethereum?

Gas fees pay for the computing work a transaction needs. Simple transfers use little gas, while contract calls use more, and the price per unit of gas rises when the network is busy. Wallets suggest a fee, and users can wait for a quieter time.

Is Ethereum safe to use?

The chain itself has run for years without being shut down, but using it safely depends on the user. Keep the seed phrase offline, check addresses before sending, and only trust contracts that have been reviewed. Lost keys cannot be recovered.

Do I need to own ether to use Ethereum?

Yes, for most actions. Even a simple transfer or a vote in a dapp needs a small amount of ether to pay the gas fee. Reading the chain is free, but writing anything to it costs gas.

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

Building on Ethereum?

A senior engineer replies within one business day. Or see our Blockchain 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