What Is Ethereum Gas?

By Brian Nibley · November 04, 2021 · 5 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. Read more We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right. Read less

What Is Ethereum Gas?

To prevent people from spamming the network with endless transactions, every cryptocurrency requires a small fee to send coins along its blockchain. These fees also help provide incentive for people to mine crypto, as the fees are typically paid to miners who validate transactions.

While sending ETH from one Ethereum wallet to another also requires fees. The Ethereum network allows applications to run on its blockchain, giving an ETH transaction fee an added type of utility. Because ETH fees power applications that run on Ethereum, these fees are sometimes referred to as Gas.

What Is ETH Gas?

On Ethereum, the term “Gas” is used to describe a unit of measurement for the amount of computational power needed for executing specific operations on the network. Because every Ethereum transaction consumes computational resources, transactions come with a cost. Gas is the fee needed to conduct an Ethereum transaction.

Ethereum fees can only be paid in Ether (ETH), the native currency of Ethereum. ETH Gas prices are denominated in a unit known as gwei, which is a term used to refer to an amount of ETH equal to 0.000000001 ETH.

Recommended: How to Buy Ethereum (ETH)

How Ethereum Gas Works

Ethereum underwent an upgrade in August 2021 known as the London Upgrade, which altered the way that ETH Gas fees are calculated.

Pre London Upgrade

Before the London Upgrade, ETH Gas worked like this:

1.    Assume Alice wants to pay Bob 1 ETH. The Gas limit is 21,000 units while the Gas price is 200 gwei.

2.    The total fee is calculated as: (Gas units (limit) x Gas price per unit). In this example, that would equate to: 21,000 x 200 = 4,200,000 gwei or 0.0042 ETH.

3.    When Alice sends the ETH, 1.0042 ETH is taken from her wallet. Bob receives 1.0000 ETH. An Ethereum miner receives 0.0042 ETH.

Post London Upgrade

The London Upgrade was introduced in an effort to make Ethereum’s fees more predictable for users. It also introduced a burn mechanism into Ethereum, which is intended to offset the issuance of new ETH (there is no limit to how many ETH can be minted).

As of this upgrade, each block has a base fee, which is calculated by the network based on current demand for block space. This base fee gets burnt (destroyed), so users are now expected to include a tip or priority fee with each transaction — the higher the tip, the hope is, the more the transaction will be prioritized. This tip provides compensation to miners and the expectation is that most crypto wallets will integrate a feature that sets the tip fee automatically.

After the London Upgrade, Gas works like this:

1.    Assume Alice wants to send Bob 1 ETH. The Gas limit is 21,000 units, the base fee is 100 gwei, and Alice includes a tip of 10 gwei.

2.    The new formula is: Gas units (limit) x (Base fee + Tip). This can be calculated as 21,000 x (100 + 10) = 2,310,000 gwei or 0.00231 ETH.

3.    When Alice sends the ETH, 1.00231 ETH will be subtracted from her wallet. Bob will receive 1.0000 ETH. A miner will receive the tip of 0.00021 ETH. 0.0021 ETH will be burned.

Alice also has the ability to set a max fee for the transaction. The difference between the max fee and actual fee will be refunded. This allows users to set a maximum amount to pay for transactions without having to worry about overpaying. This makes things more predictable, as under the old transaction fee model, fees could wind up being higher than anticipated during times of extreme network congestion.

Recommended: Is Crypto Mining Still Profitable in 2021?

Average ETH Gas Prices

According to ycharts.com , the average Ethereum Gas price is about 131.87 gwei at the time of writing in late October 2021. Over the course of the past 12 months, this price has gone as high as 373.80 gwei and as low as 15.80.

From late 2018 through mid 2020, Gas prices tended to be within a range of 15-30 units. In July 2020, prices spiked as high as 709.71.

2021 Gas Prices Chart

January 15

February 15

March 15

April 15

May 15

June 15

July 15

August 15

September 15

October 15

94.27 178.71 189.46 105.01 93.12 23.08 45.20 62.55 75.05 152.67

How Do Ethereum Gas Fees Relate to Transactions?

The way Ethereum Gas fees relate to transactions is pretty simple: Each transaction requires a fee to be paid to miners as an incentive for processing the transaction. The general concept is not unlike that of other cryptocurrencies.

The only difference with ETH Gas is that because the Ethereum Virtual Machine (EVM) is also a state machine, additional Gas fees are required for more complex transactions, such as those involving smart contracts.

What Is the Ethereum Gas Limit?

The standard limit on an Ethereum Gas fee is 21,000 units. The Ether Gas limit refers to the maximum amount of Gas a user can consume to conduct a transaction. Transactions involving smart contracts are more complicated, requiring more computational power to execute. So these transactions need a higher Gas limit than simpler transactions like sending payments.

Setting a Gas limit too high is fine — the EVM will refund what doesn’t get used. But setting a Gas limit too low could result in a user losing some ETH and having their transaction declined.

If a user were to place an Ether Gas limit of 50,000 for an ETH transfer, for example, the EVM would consume 21,000 and refund the remaining 29,000. But if someone were to set a Gas limit of 20,000, and the transaction were to require 21,000 units, the EVM could consume 20,000 Gas units as it tries to fulfill the transaction, but the transaction won’t complete. In this case, the user would hold on to the ETH they tried to send, but their 20,000 Gas units would be lost because the EVM consumed it trying to complete the failed transaction.

What Is the Benefit of a Gas Fee?

The benefit of an ETH Gas fee post-London Upgrade is that users can better anticipate what their total transaction cost will be. They can also send higher tips to miners to prioritize their transactions. This can be useful when someone wants to send money right away and doesn’t want to wait too long for the transaction to confirm.

Another benefit of an adequate ETH Gas fee is that it ensures a transaction will be accepted by the network. Too low of a fee can result in a transaction being rejected, in which case a user could lose the Gas they spent and not have their transaction go through.

Reducing ETH Gas Costs

Developers hoped that the London Upgrade might reduce Gas costs, but so far the data doesn’t support this.

Individual users have little to no control over their own Gas costs, as the fee is determined by the current state of the network. Because block space is limited, the more transactions that are taking place at any given time, the more competition there will be for transactions in each block. This results in higher fees as users compete to have their transactions be confirmed, bidding Gas prices upward.

That said, there are some ways individuals can try to reduce Gas fees.

•   Stick to weekend transactions: Typically, gas prices are higher during weekdays and lower on weekends.

•   Initiate transactions at off times: Those who follow gas prices carefully have noticed that the least busy time is between midnight to 4am EST.

The Takeaway

Depending on the purpose of the transaction, Gas can be used toward smart contract functionality or simply sending ETH or ERC-20 tokens over the Ethereum network. Gas fees vary according to how much activity is on the network at any given time, and thanks to the London Upgrade, users can add more generous tips to help prioritize their transactions.

Looking to trade Ethereum? SoFi Invest® gives investors the tools they need to trade Ethereum online along with dozens of other crypto including Dogecoin, Solana, Bitcoin, Litecoin, Cardano, and Enjin Coin.

Find out how to get started with SoFi Invest.

Photo credit: iStock/finchfocus

SoFi Invest®
The information provided is not meant to provide investment or financial advice. Investment decisions should be based on an individual’s specific financial needs, goals and risk profile. SoFi can’t guarantee future financial performance. Advisory services offered through SoFi Wealth, LLC. SoFi Securities, LLC, member FINRA / SIPC . SoFi Invest refers to the three investment and trading platforms operated by Social Finance, Inc. and its affiliates (described below). Individual customer accounts may be subject to the terms applicable to one or more of the platforms below.
1) Automated Investing—The Automated Investing platform is owned by SoFi Wealth LLC, an SEC Registered Investment Advisor (“Sofi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC, an affiliated SEC registered broker dealer and member FINRA/SIPC, (“Sofi Securities).
2) Active Investing—The Active Investing platform is owned by SoFi Securities LLC. Clearing and custody of all securities are provided by APEX Clearing Corporation.
3) Cryptocurrency is offered by SoFi Digital Assets, LLC, a FinCEN registered Money Service Business.
For additional disclosures related to the SoFi Invest platforms described above, including state licensure of Sofi Digital Assets, LLC, please visit www.sofi.com/legal. Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform. Information related to lending products contained herein should not be construed as an offer or pre-qualification for any loan product offered by SoFi Lending Corp and/or its affiliates.
Crypto: Bitcoin and other cryptocurrencies aren’t endorsed or guaranteed by any government, are volatile, and involve a high degree of risk. Consumer protection and securities laws don’t regulate cryptocurrencies to the same degree as traditional brokerage and investment products. Research and knowledge are essential prerequisites before engaging with any cryptocurrency. US regulators, including FINRA , the SEC , and the CFPB , have issued public advisories concerning digital asset risk. Cryptocurrency purchases should not be made with funds drawn from financial products including student loans, personal loans, mortgage refinancing, savings, retirement funds or traditional investments. Limitations apply to trading certain crypto assets and may not be available to residents of all states.
Third-Party Brand Mentions: No brands or products mentioned are affiliated with SoFi, nor do they endorse or sponsor this article. Third-party trademarks referenced herein are property of their respective owners.
Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

All your finances.
All in one app.

SoFi QR code, Download now, scan this with your phone’s camera

All your finances.
All in one app.

App Store rating

SoFi iOS App, Download on the App Store
SoFi Android App, Get it on Google Play

TLS 1.2 Encrypted
Equal Housing Lender