1. What are Miner Fees and Gas Fees? Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the1. What are Miner Fees and Gas Fees? Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the
新手学院/Cryptocurrency Knowledge/DeFi/What are Mi...d Gas Fees?

What are Miner Fees and Gas Fees?

Jul 16, 2025
0m
4
4$0.010946-3.72%

1. What are Miner Fees and Gas Fees?


Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the Ethereum blockchain. In simple terms, much like the literal meaning of "gas" in its context, just as every car on the road continuously consumes gasoline, on platforms like Ethereum and other smart contract platforms, each operation also consumes gas. The amount of gas represents the cost needed to perform a specific operation within the blockchain network and is eventually paid as a fee to miners. Therefore, it's often referred to as a miner fee.

The gas mechanism incentivizes the network's ecosystem through payments while effectively preventing the network from being congested by a large number of meaningless transactions. However, unlike Bitcoin, on smart contract platforms, regardless of the success of the transaction, a certain amount of gas must be paid. This is because even in the case of failure, miners have still expended resources to verify the transaction's computation.

2. Why is Gas Needed?


Gas is a crucial component of Ethereum, serving a dual purpose: as a buffer for Ethereum's floating price and miner rewards, and as a preventative measure against denial-of-service attacks. To prevent accidental or malicious infinite loops and other forms of computational waste within the network, creators of each transaction need to set a limit indicating the computational load they are willing to invest in transaction execution. The gas system helps deter attackers from sending spam transactions since they must bear the cost of the computational load, bandwidth, and storage resources they consume.

3. Gas Price and Gas Limit


Before delving into how to calculate gas fees, we need to understand two concepts in a transaction: gas price and gas limit.

Gas price allows the initiator of the transaction to set the amount of gas they are willing to pay. A higher gas price results in a faster confirmation of the transaction, while a lower gas price leads to a slower confirmation. The gas price can even be set to a minimum of 0. If there is extra space in a block, transactions with such gas prices can still be packed by miners and added to the blockchain. The Ethereum protocol itself does not prohibit feeless transactions, and there have been instances of successful feeless transactions in Ethereum's historical blocks.

Gas limit signifies the maximum amount of gas the initiator of the transaction is willing to pay to complete the transaction.

4. How to Calculate Gas Fees


In Ethereum, gas is paid using ETH, with the unit price measured in gwei. 1 gwei is equal to 0.000000001 ETH.

Prior to the Ethereum London upgrade, the gas fee calculation formula was:

Gas = Gas Limit * Gas Price

Let's assume Bob needs to send 1 ETH to Tom. The current gas limit is 21,000 units, and the gas price is 200 gwei. The gas fee would be: 21,000 * 200 = 4,200,000 gwei, which translates to 0.0042 ETH. In other words, Bob's account is debited a total of 1.0042 ETH when making the transfer, with 1 ETH going to Tom and 0.0042 ETH as the miner fee.

In August 2020, with the Ethereum London upgrade and the introduction of EIP-1559, to create smoother and more predictable fluctuations in gas prices, the gas calculation formula was adjusted:

Gas = Gas Limit * (Base Gas Price + Priority Fee)

The base gas price is calculated based on current block space usage demands and is burned upon expenditure. Users can also set a priority fee (often automatically set by third-party wallets) to ensure their transactions are processed quickly during network congestion.

Now, let's say Bob is sending 1 ETH to Tom again. Assuming a gas limit of 21,000 units, the base fee is priced at 100 gwei, and Bob pays an additional 10 gwei as a priority fee. The gas fee would be: 21,000 * (100 + 10) = 2,310,000 gwei, which is 0.00231 ETH. Thus, Bob's account is debited 1.00231 ETH, with 1 ETH going to Tom, 0.00021 ETH as the miner fee, and 0.0021 as the priority fee.

5. Why Are Gas Fees So High?


Any operation on Ethereum requires payment of gas fees, but the space in each block is limited. As Dapp functionality becomes more complex and the number of operations executed in smart contracts increases, each transaction takes up more space within the limited-sized block. With high demand, users must provide higher fees, striving to outbid other users' transactions. The higher the fee, the greater the likelihood of the transaction being included in the next block.

6. How to Improve?


Scalability upgrades for Ethereum should ultimately address some of the gas cost issues, enabling the platform to process thousands of transactions per second for comprehensive scalability.

Layer 2 scaling is a major initiative that can significantly optimize Gas costs, user experience, and scalability.

Conclusion


The surge in miner fees to some extent reflects the activity on the chain, and increased activity on the chain has a positive impact on network development and market valuation. However, the current high fees significantly impact user experience and require urgent resolution.

市场机遇
4 图标
4实时价格 (4)
$0.010931
$0.010931$0.010931
-1.40%
USD
4 (4) 实时价格图表

热门新闻

查看更多
对话Vitalik、肖风、AyaMiyaguchi与Joseph Chalom:从“减法原则”到智能体经济

对话Vitalik、肖风、AyaMiyaguchi与Joseph Chalom:从“减法原则”到智能体经济

对话 Vitalik、肖风、Aya Miyaguchi 与 Joseph Chalom:从“减法原则”到智能体经济|以太坊应用峰会观点精选 4 月 22 日,由以太坊应用联盟(Et…

Bitcoin价格需要上涨59%才能触及历史高点,但这个预售项目可能在窗口关闭前实现100倍回报

Bitcoin价格需要上涨59%才能触及历史高点,但这个预售项目可能在窗口关闭前实现100倍回报

比特币价格需上涨59%才能触及历史高点,但这个预售项目可能在窗口关闭前实现100倍回报,文章首发于Coinpedia Fintech

MuleRun CTO:Agent的护城河在数据密度和用户记忆

MuleRun CTO:Agent的护城河在数据密度和用户记忆

2026 年 4 月 13 日,一个名叫 MuleRun 的 Agent 的风控系统报警了。 涌入的账号注册间隔整齐到像在打节拍:平均 23.6 秒一个,标准差极低。深挖进去,是一…

AI 真正的泡沫,你根本买不到

AI 真正的泡沫,你根本买不到

最近打开手机,群里多半在聊这几件事: 英伟达又创下新高,美股大盘也历史新高;内存板块暴涨,闪迪今年到现在涨了 4 倍多、美光创下 08 年以来最强单周涨幅,连 A 股的存储板块也都…

相关文章

查看更多
流动性的基础知识

流动性的基础知识

流动性是在金融学中是一个含义较广的词语,在不同的语境可以有不同的含义。但总的来说,流动性可以分为以下几个概念:1)资产变现能力的强弱,指将现有资产或财富换为其他资产的能力。2)主体偿债能力强弱。常用于企业,如果企业资产现金流较多,则流动性好。3)市场中的货币存量多寡。适用于宏观经济领域,如果货币的总供应量大于总需求量,则是流动性过剩。在加密货币交易中,流动性指的是第一种情况。除此之外,加密市场的流

什么是 Ondo Finance 代币化股票?一文读懂 Ondo 生态核心玩法

什么是 Ondo Finance 代币化股票?一文读懂 Ondo 生态核心玩法

内容概述:Ondo Finance 是全球领先的真实世界资产代币化协议,已将美股与美债合规搬上区块链。Ondo 代币化股票是传统股票的“数字孪生”,一比一对应真实托管的股份。Ondo 代币化股票打破了传统券商的时间与地域限制,支持全天候交易与碎片化持有。投资者可通过 MEXC 便捷关注 Ondo 生态动态,把握真实世界资产赛道机遇。1. Ondo 代币化股票产品介绍Ondo Finance 由前高

GDOR Coin:依托 Solana 大宗商品叙事崛起的石油储备代币

GDOR Coin:依托 Solana 大宗商品叙事崛起的石油储备代币

GDOR Coin 出圈,源于 Solana 链上一股小众奇特风潮:打着官方质感名称的石油主题代币陆续涌现。 在交易者开始关注 WCOR、UNOS 这类币种后,另一同名赛道代币开始频繁出现在市场讨论中 ——GDOR,全称 Global Digital Oil Reserve(全球数字石油储备)。 单从名字来看,它远不像是普通模因币,给人的感觉仿佛是一枚与全球石油储备、能源市场、现实大宗商品基础设施

WCOR Coin:什么是 世界共同石油储备?

WCOR Coin:什么是 世界共同石油储备?

WCOR coin,也就是 World Collective Oil Reserve,是一个建立在 Solana 上的代币,围绕石油储备可见性、商品数据以及现实世界资产叙事构建。它的交易代码是 WCOR,并已成为 Solana 上较受关注的石油主题代币之一。 重点是:WCOR 并不等于拥有实物石油。这个代币使用了石油储备相关语言,项目也围绕公共石油储备信息进行呈现,但目前没有明确公开证据表明 WC

注册MEXC账号
注册 & 获得高达10,000 USDT奖金