# Gas Fee

> The fee you pay to get work done on Ethereum. Big jobs cost more.

**Field:** Software Development  
**Category:** Blockchain & Web3  
**Also known as:** Gas (Ethereum), Gas Price, Gwei, Gas Limit

## Think of it like

Think of it like paying for each minute on a coin ride. The longer the ride, the more coins it takes.

## Definition

Gas is the unit that measures how much work a transaction asks Ethereum to do. Each step of a program uses some gas. The gas fee is the gas used times the price of each unit. Prices are written in gwei, and one gwei is one billionth of an ETH. The price goes up when many people want to use the chain at once.

## Example

A plain ETH transfer uses 21,000 gas. At 2 gwei per unit, Jack pays 42,000 gwei, which is 0.000042 ETH.

## Why it matters

Each action costs gas. So a slow, wasteful contract costs its users real money each time.

## Common mistake

Setting the gas limit too low to save money. The transaction fails, and the gas it already used is still paid.

## Three principles

- **Pay per step.** More work uses more gas.
- **Priced in gwei.** One gwei is a billionth of ETH.
- **Busy means dear.** Fees rise when the chain is full.

## Related terms

- [Ethereum](https://learn.benibix.com/term/development/ethereum)
- [Smart Contract](https://learn.benibix.com/term/development/smart-contract)
- [Solidity](https://learn.benibix.com/term/development/solidity)
- [Block (Blockchain)](https://learn.benibix.com/term/development/blockchain-block)
- [Decentralized App (dApp)](https://learn.benibix.com/term/development/dapp)

![A flow from left to right. A person presses a button on a web page, the front end of a dApp. Their wallet signs a transaction and pays a gas fee. The transaction reaches a smart contract, lit up, that sits on the blockchain with its own address, its code and its data. The contract runs and the new result is stored in the next block.](https://learn.benibix.com/diagrams/dev4-smart-contract.svg)

---

Source: https://learn.benibix.com/term/development/gas-fee
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.
