Ethereum's Gas Mechanics
The Ethereum network boasts the biggest Decentralised Finance ecosystem of any blockchain, an ecosystem supported by a network of smart contracts that allow for composable blocks of code to be executed by validators in the form of onchain transactions. The computation required by a transaction is performed by the validators (analogous to Bitcoin's miners) who create new blocks on the chain and is paid for in ETH by the sender.
.jpg)
Ethereum's Gas
Introduction
The Ethereum network boasts the biggest Decentralised Finance (DeFi) ecosystem of any blockchain, an ecosystem supported by a network of smart contracts that allow for composable blocks of code to be executed by validators in the form of onchain transactions. The results of those computations are transmitted in the blocks appended to the chain every 12 seconds and dictate necessary updates to the state of the Ethereum Virtual Machine (EVM). The computation required by a transaction is performed by the validators (analogous to Bitcoin's miners) who create new blocks on the chain and is paid for in ETH by the sender.
What does Gas measure?
Validators collect fees from users for each transaction they include in a block in addition to their income from staking rewards. The size of those fees is dependent on the amount of computation required by the transaction or call to a smart contract. This is to compensate validators for the computational work they complete on behalf of the user. That computational effort is measured in “gas”, with a set of standardised computational operations assigned a fixed gas value in the Ethereum yellow paper. The greater the complexity of the operation, the greater the number of gas units it will need to be executed. Therefore, complex smart contracts with many operations will require more gas to be executed, so developers are incentivised to keep their smart contract code concise.
For example, a regular transaction of ETH between two users would require 21,000 gas to be executed. Alternatively, a transaction that initialises a smart contract onchain requires 32,000 gas to be executed. Some transactions can actually refund gas to the user that calls it. For example, 15,000 gas is refunded to users who send transactions that free up storage on smart contracts by setting non-zero values to zero. This is done to incentivise users to free up storage space on the ever growing blockchain.
Bitcoin fees
On the Bitcoin network, the transaction fees are measured in satoshis (0.00000001 BTC) per vbytes (virtual byte), meaning that the minimum payment you must make to have a transaction included inside a block is 1e-8 BTC, the smallest denomination of BTC recorded on its blockchain. Similar to ETH, this fee is paid to miners to incentivise them to include transactions inside a block instead of mining empty blocks. The number of bitcoin a user pays as a fee depends on 2 things: the size of the transaction, which denotes the actual number of vbytes it will take in a block, and satoshis-per-vbyte. The first portion of the transaction depends on the number of inputs and outputs of the transaction, and the latter is a user specified amount. The total fee paid is the product of these two factors. When many users are trying to send transactions on the network, miners will choose to only include transactions that have high fees associated with them. Therefore users need to adequately specify the fees in order to outcompete other users and have their transactions added on chain.
How is each unit of gas priced?
Like BTC on the Bitcoin network, units of gas are paid for in Ethereum’s native currency, ETH. However, due to their incredibly small value, they are more commonly quoted in gwei (Giga-wei). Each wei denotes 1 x 10^-18 ETH (the smallest denomination of ETH representable in the EVM’s onchain), and hence 1 gwei is equal to 10^-9 ETH. Blocks have a maximum limit of 30,000,000 gas units worth of transactions, called the gas limit, which places a cap on the computational expenses that a validator must perform in executing the block. Despite this gas limit, Ethereum blocks have a target size of 15,000,000 gas units. This is a target set by the Ethereum Foundation, which they expect to reflect “normal” network congestion. The importance of this target will be discussed later. By limiting the amount of gas expended in a block, the protocol also limits the number of transactions that can fit into a block.
Transaction Fee Structure
As users are required to pay an ETH-denominated fee for each unit of gas that their transaction uses, it is common for users of the network to talk about the ETH “gas fee”, or the Fee per Gas when discussing transaction fees. The Fee Per Gas parameter is broken down into 2 components: the Base Fee, which the user must pay if they want to have their transaction included on the chain, and the Priority Fee, which is an optional component set by the user when submitting a transaction.

Base fee
The Base Fee is a parameter which is computed by the protocol itself (not by validators) in each block, that changes depending on the congestion of the Ethereum network. Congestion on the network is measured by how close each block’s gas size is to the target size.
Recall that blocks have a target size of 15,000,000 gas units which the developers of the network deem a reasonable amount of computation for the network's nodes to handle. If a block contains transactions worth more than the 15,000,000 target size, the base fee of the subsequent block will increase by up to a maximum of 12.5% (which would occur when the previous block is at a full capacity of 30,000,000 gas units).
Alternatively, when blocks are below this target size the base fee of the subsequent block will decrease -- by a maximum of 12.5% (when the block is empty). This proportion of the fee is burnt and removed from the circulation of ETH supply. This is in contrast to the system employed by the Bitcoin network, which does not burn tokens (but is set at a hard limit of 21M BTC). The number of tokens burnt via the base fee offsets the new issuance of ETH to validators. Since the Merge in September 2022, the net growth of ETH supply is near zero.
Max priority fee
The Max Priority Fee is the second component of the bid made by the user. This is the portion of the gas fee that is paid directly to the validator. Unlike the Base Fee, this is a non-random value that is set by the user submitting the transaction. Users are free to make this value as large (or as small) as possible, and larger tips will incentivise validators to include their transactions into a block before other transactions with lower priority fees.
Max fee per gas
Whilst the Max Priority Fee per Gas is set by the user, the unpredictable nature of the Base Fee means that the actual price per gas paid for the transaction is not known at the point of sending. To avoid paying fees that are beyond their budget, the Max Priority Fee per unit of gas allows the user to set the maximum amount of ETH per unit of gas they are willing to pay to have their transactions included in a block.

However, Base Fees increasing suddenly could cause the sum of the Base Fee and the Priority Fee to exceed the Max Fee per Gas. In this case, the Priority Fee decreases to account for this upper limit. This may cause the actual priority fee paid as a tip to the miner to be lower than the Max Priority Fee specified by the user, which will ultimately make the user's transaction less attractive to validators.

In an extreme case, where the network is highly congested, the Base Fee could completely dominate the Priority Fee. In this case, the Base Fee would be equal to the Max Fee per Gas parameter. If the Base Fee exceeds the Max Fee Per Gas then the transaction would remain unprocessed in the mempool until the network becomes less congested, lowering Base Fees and making the user's bid competitive once again.

Note that the Max Fee Per Gas parameter is not the total fee that the user is willing to pay for their transaction, but rather the maximum amount a user is willing to pay per unit of gas. In order to know the final total fee, we must multiply the fee paid per gas by the actual units of gas consumed by the transaction. However, the fee per gas does have other implications for the user's transaction, as transactions are only processed if the Base Fee is less than the Max Fee Per Gas parameter.
Gas limit
The parameters above allow a user to control the price they pay per unit of gas. That control assumes a known, constant amount of gas for a transaction sent to the mempool. In reality, the gas requirements of a transaction are not immediately known to the user at the point of submission. Calculating the computation required to complete a transaction requires actually computing the transaction.
To mitigate this, users can specify a gas limit that specifies the maximum units of gas that their transaction is allowed to consume. If their transaction requires more gas than was budgeted for by their upper limit, a validator will halt the transaction and move on, regardless of if the computation has been completed.
Therefore this gas limit determines the total amount of ETH committed by a user to a transaction, with any unused gas budget resulting in a partial refund to the user. In order to obtain the total amount of ETH a user submits to process a transaction, we must multiply their specified Gas Limit by the Max Fee Per Gas determined by the user in the sections above.

If however, the transaction required a larger amount of gas than was specified, the transaction gets reverted, the validator gets the full amount of gas specified by the user and the user receives no refund. This highlights the need for an efficient user to specify a high enough gas limit parameter to avoid paying for an unsuccessful transaction.
Conclusion
Ethereum’s gas mechanism is the system that underpins the smooth operation of the network, by translating blockspace demand into a fee that users have to pay to access the network. It is the system that bridges the needs and wants of both validators and users on the network by creating a market for blockspace. This fundamental part of the network has numerous consequences for users wishing to use the network. We hope to explore these in future reports.

Table of contents
Subscribe to our research offering to receive exclusive reports and free access to the Crypto Trader Bot
Get notifications for new reports, analytics charts, and more
Related articles
.jpg)
Potential Path to US-Iran Peace Spurs Bullish Ethereum Positioning

Tokenised Markets on Bitget UEX: How Traders Are Utilising 24/7 Real-World Assets For Real Time Macro Hedging
.jpg)
“Fragile” US-Iran Ceasefire Moderates Bearish Crypto Sentiment
.jpg)
US-Iran Mixed Signals Leave Options Markets Uncertain
.jpg)
Cryptos buoyed by regulatory win, withstand mixed signals on Middle East conflict
.jpg)
Bitcoin Regains Institutional Support as Spot ETF Inflows Return
.jpg)
Crypto Steadfast Amid Middle East Conflict, Oil Turmoil

Block Scholes x Panoptic: Bridging The Onchain Convexity Gap
.jpg)
Crypto holds up so far despite ongoing Middle East conflict
.jpg)
Perp Open Interest Backs Recent BTC Rebound, But Options Still Bearish
.jpg)
Low Appetite for Risk as Crypto Searches for Next Catalyst
.jpg)
BTC Sell-Off Sparks Most Extreme Crypto Derivatives Positioning Since 2022
.jpg)
Bitcoin Hits 15-month Low, Yet Derivatives Not Positioned for Crypto Winter
.jpg)
Crypto Volatility Spikes In Lead Up to Warsh Nomination as Fed Chair
.jpg)
Greenland Crisis, JGB Yields Spike Shocked Risk Sentiment, but Crypto’s Not Panicking
.jpg)
BTC at 2-month high spurs signs of turning derivatives sentiment

Bybit x Block Scholes: “2026: It's Different This Time?”

Tokenised Markets on Bitget UEX: Unlocking Real-World Assets On-Chain for 24/7 Global Access
.jpg)
No Signs of Impending Santa Rally
.jpg)
Final FOMC meeting of the year does little to abate bearish crypto sentiment
.jpg)
Sentiment slowly shifting, but not yet bullish
.jpg)
Slow-but-steady recovery in crypto sentiment
.jpg)
BTC dips below $82K as risk aversion finds no relief from resilient US jobs report.
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report November 12, 2025
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report November 7, 2025
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report October 31, 2025

Premia x Block Scholes: Introducing Kyan

Block Scholes x Bybit September Volatility Review

Bybit x Block Scholes Quarterly Report: Rise of Perp DEXs — and how to catch the opportunity
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report October 8, 2025
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report October 3, 2025

Block Scholes x Bybit August Volatility Review
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report September 18, 2025
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report September 12, 2025
.jpg)
Bybit x Block Scholes Crypto Derivatives Analytics Report September 5, 2025

Bybit x Block Scholes Quarterly Report: What will drive crypto in Q3 2025?

Block Scholes x Bybit July Volatility Review
.jpg)
Block Scholes x Bybit Crypto Derivatives August 22nd

Block Scholes x Panoptic: Perpetual Options
.jpg)
Block Scholes x Bybit Crypto Derivatives August 15th
.jpg)
Block Scholes x Bybit Crypto Derivatives August 8th

Bybit x Block Scholes Quarterly Report: Altcoin season and the evolving role of Bitcoin
.jpg)
Block Scholes x Bybit Crypto Derivatives August 1st
.jpg)
Block Scholes x Bybit Crypto Derivatives July 25
.jpg)
Block Scholes x Bybit Crypto Derivatives July 16
.jpg)
Block Scholes x Bybit Crypto Derivatives July 10

Block Scholes x Bybit June Volatility Review
.jpg)
Block Scholes x Bybit Crypto Derivatives July 4
.jpg)
Block Scholes x Bybit Crypto Derivatives June 27

Bybit x Block Scholes Crypto Insights Report: Deep dive into US crypto regulations
.jpg)
Block Scholes x Bybit Crypto Derivatives June 19
.jpg)
Block Scholes x Bybit Crypto Derivatives June 13

Block Scholes x Bybit May Volatility Review: ETH-BTC volatility reaches a five-year high as ETH plays catch-up

Block Scholes x D2X: Stablecoin and Fiat-Denominated Options
.jpg)
Block Scholes x Bybit Crypto Derivatives June 4
.jpg)
Block Scholes x Bybit Crypto Derivatives May 28 2025

Bybit X Block Scholes Institution Report: Drivers and Sentiments Behind Ether’s Recent Breakout and How Far It Can Go
.jpg)
Block Scholes x Bybit Crypto Derivatives May 23

Block Scholes <> Quant Insight Bitcoin’s Sensitivity Shift
.jpg)
Block Scholes x Bybit Crypto Derivatives May 9 2025

Block Scholes x Bybit April Volatility Review

DeFi Analytics 2nd May 2025
.jpg)
Block Scholes x Bybit Crypto Derivatives April 25 2025
.jpg)
DeFi Analytics 25th April 2025

DeFi Analytics 17th April 2025
.jpg)
Block Scholes x Bybit March Volatility Review
.jpg)
Block Scholes x Bybit Crypto Derivatives April 9 2025

DeFi Analytics 11th April 2025

Bybit Incident Postmortem
.jpg)
Block Scholes x Bybit Crypto Derivatives April 6 2025

DeFi Analytics 4th April 2025

DeFi Analytics 28th March 2025
.jpeg)
Block Scholes x Bybit Ethereum’s Pectra upgrade and the market’s cautious reaction

One Last Inversion For March?

The Stablecoin Rush

BTC, GME and WLF

Another Relief Rally?

The Recovery Continues

DeFi Analytics 21st March 2025
.jpg)
Block Scholes x Bybit Crypto Derivatives March 21 2025

“Ending the last administration’s regulatory war on crypto”

"Transitory Inflation"

Rates Hold, Inflation Pressures

Sideways Lull

DeFi Analytics 14th March 2025
.jpg)
Volatility Review February 2025

Crypto Markets Daily Mar 14 2025

Crypto Markets Daily Mar 13 2025

Crypto Markets Daily Mar 12 2025

Crypto Markets Daily Mar 11 2025

DeFi Analytics 7th March 2025
.jpg)
Block Scholes x Bybit Crypto Derivatives March 5th 2025

Crypto Markets Daily Mar 7 2025

Crypto Markets Daily Mar 6 2025

Crypto Markets Daily Mar 5 2025

Crypto Markets Daily Mar 4 2025

Crypto Markets Daily Mar 3 2025

DeFi Analytics 28th February 2025
.jpg)
Block Scholes x Bybit Crypto Derivatives February 28th 2025

