Gas Fee
Intermediateرسوم الغاز
Also known as: Gas, Network Fee, Transaction Fee
Last updated
Definition reviewed before publishing
Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.
Last updated on 9 November 2026
A gas fee is the fee a user pays a blockchain network, such as Ethereum, to execute a transaction or run a smart contract. It is paid in the network's native coin, such as ether. Its amount changes with network congestion and the complexity of the operation.
Quick summary
• The fee for executing transactions and contracts on a network. • Paid in the native coin and measured in gwei on Ethereum. • Rises with congestion and operation complexity.
How it works
Gas represents the computing effort needed to carry out an operation: a simple transfer needs about 21,000 units of gas on Ethereum, while a swap on a decentralised exchange or minting an NFT needs more. Gas price is usually measured in gwei, one billionth of an ether. Since a 2021 upgrade, Ethereum fees have two parts: a base fee set by the network according to congestion, which is burned, and a priority fee the user pays validators to include the transaction faster. When the network is congested, such as during popular launches or sharp volatility, fees rise sharply and can exceed the value of a small transaction. If a transaction fails, for example by running out of the gas limit, the user usually loses the gas already used. This is why layer 2 networks with much lower fees emerged.
Example
A transfer needs 21,000 units of gas at a gas price of 30 gwei. Fee = 21,000 × 30 = 630,000 gwei = 0.00063 ether. With ether at 3,000 dollars, the fee is about 1.89 dollars. A swap needing 150,000 units of gas at the same price costs about 13.5 dollars.
Where you will see it
In wallets when confirming any transaction, where estimated fees are shown, on gas price tracking sites, and on decentralised exchanges and smart contracts.
Why it matters
Traders use it to calculate the real cost of any blockchain operation, choose cheaper timing or networks, and avoid small transactions that are not worth the fee.
How it is calculated
Gas fee = gas used × gas price. Gas price = base fee + priority fee. Dollar value = fee in ether × ether price.
How it differs from similar terms
• Trading fees: paid to an exchange when buying and selling, not to the network. • Withdrawal fees: charged by a centralised exchange when moving coins out, and may include network fees. • Bitcoin transaction fees: calculated by transaction size in bytes, not gas units.
Common mistakes
Assuming gas fees are fixed, or that a failed transaction costs nothing. Fees change with congestion, and gas used in a failed transaction is usually not refunded.