<p>The current gas limit can be checked on the <a href="https://ethstats.net/" rel="noreferrer">network stats page</a>.</p>

<p>It's currently <strong>3,141,592</strong> (pi million). The gas limit per block is not fixed, though. The number of contract calls and standard transactions is limited by the gas limit, which is 1.2x of the exponential moving average. So there's only so much gas that can be expended per block, even though it can grow, of course. </p>

<p>Note that each call to the contract to the caller cost an amount of Ether defined by <code>(gas sent to contract)*(price of gas as defined by caller)</code> so sending 10 thousend transactions per block could end up quite a pricey endeavour. </p>

CC BY-SA 3.0
2016-01-28T16:22:50.733Z
2017-04-05T07:40:47.447Z
2017-04-05T07:40:47.447Z
q9f
<p>In Ethereum, gas is a measure of computational effort. To each operation, a fixed amount of gas is assigned (e.g. adding two numbers costs 3 gas, calculating a hash costs 30 gas, sending a transaction costs 21000 gas [1]).</p>

<p>Since computation is expensive (mind that it has to be done by every full node in the network), excessive consumption of gas needs to be discouraged. Therefore, each unit of gas must be paid for (in Ether) by the sender of the transaction that triggered the computation.</p>

<p>Unfortunately, it is often not easy and in general even impossible to know in advance how much gas a transaction will need eventually. Therefore, transactions have a <em>gas limit</em> field to specify the maximum amount of gas the sender is willing to buy. If the gas used exceeds this limit during execution, processing is stopped. The sender still has to pay for the performed computation, but they are protected from running completely out of funds.</p>

<p>The transaction gas limit also protects full nodes from attackers, who could, without a gas limit, make them execute effective infinity loops. If such a transaction would take longer than one block to process, it could never be included in a block, and, thus, the attacker wouldn't need to pay for it. [2]</p>

<p>Additionally, blocks, too, have a field called <em>gas limit</em>. It defines the maximum amount of gas all transactions in the whole block combined are allowed to consume. Similar to the maximum block size in Bitcoin (measured in bytes), its purpose is to keep block propagation and processing time low, thereby allowing for a sufficiently decentralized network. In contrast to Bitcoin, it is however not a constant. Instead, miners have the option to increase or decrease it every block by a certain factor. [3]</p>

<ul>
<li>[1] See the <a href="http://gavwood.com/Paper.pdf">Yellow Paper</a> for a breakdown of operations and the respective gas costs (Appendices G and H)</li>
<li>[2] <a href="https://github.com/ethereum/wiki/wiki/Design-Rationale#gas-and-fees">https://github.com/ethereum/wiki/wiki/Design-Rationale#gas-and-fees</a></li>
<li>[3] See the <a href="http://gavwood.com/Paper.pdf">Yellow Paper</a> Equations 40 to 42 for the exact rules</li>
</ul>

CC BY-SA 3.0
2016-10-26T06:35:48.503Z
yellow paper was updated, now [3] refers to equations 45-47.
ronme
CC BY-SA 4.0
2018-11-18T01:54:40.610Z
Computation is very cheap, regardless of how many nodes are in the network. The computations that occur on Ethereum would still cost an aggregate of pennies over all nodes. What's expensive is time spent not mining the block. A block hits every 15 seconds, so if a miner wastes 5 seconds computing someone's function, he now has 5 fewer seconds to guess the correct nonce. The price of the rest of nodes computing the answer to catch up with the blockchain is irrelevant, since they're forced to do that anyway.
Nicholas Pipitone
CC BY-SA 3.0
2015-08-22T00:39:23.083Z
2015-08-22T00:39:23.083Z
jnnk
<p>What is the function of Gas Limit parameter in Ethereum?
Is it involved in mining or something else? </p>

CC BY-SA 3.0
2016-09-08T02:16:18.857Z
Related: http://ethereum.stackexchange.com/questions/8572/is-it-possible-that-the-block-gas-limit-will-drop-below-its-current-level and http://bitcoin.stackexchange.com/questions/41503/the-ethereum-gas-limit-seems-prohibitively-low-will-it-ever-be-raised-if-so-w
eth
CC BY-SA 4.0
2019-01-26T20:16:24.663Z
I'm voting to close this question as off-topic because it is not bitcoin related and would be better covered on the ethereum stackexchange
G. Maxwell
CC BY-SA 4.0
2019-01-29T04:32:35.330Z
I'm voting to leave this question open. While this question does belong in the ethereum stack exchange now, it is too old to migrate. Additionally it was on topic at the time of asking as, AFAICT, the ethereum stack exchange did not exist yet.
Ava Chow
<ethereum><mining-theory>
What is Gas Limit in Ethereum?
Sebastian Xawery Wiśniowiecki
# What is Gas Limit in Ethereum?

(Asked by: username_0 on 2015-08-18)

What is the function of Gas Limit parameter in Ethereum?
Is it involved in mining or something else?

**Tags:** ethereum, mining-theory

> **Comments:**
> **username_1**: Related: http://ethereum.stackexchange.com/questions/8572/is-it-possible-that-the-block-gas-limit-will-drop-below-its-current-level and http://bitcoin.stackexchange.com/questions/41503/the-ethereum-gas-limit-seems-prohibitively-low-will-it-ever-be-raised-if-so-w  
> **username_2**: I'm voting to close this question as off-topic because it is not bitcoin related and would be better covered on the ethereum stackexchange  
> **username_3**: I'm voting to leave this question open. While this question does belong in the ethereum stack exchange now, it is too old to migrate. Additionally it was on topic at the time of asking as, AFAICT, the ethereum stack exchange did not exist yet.  

---

## 2 answers

### Answer by username_5 on 2015-08-22. Score: 59 | Accepted answer

In Ethereum, gas is a measure of computational effort. To each operation, a fixed amount of gas is assigned (e.g. adding two numbers costs 3 gas, calculating a hash costs 30 gas, sending a transaction costs 21000 gas [1]).

Since computation is expensive (mind that it has to be done by every full node in the network), excessive consumption of gas needs to be discouraged. Therefore, each unit of gas must be paid for (in Ether) by the sender of the transaction that triggered the computation.

Unfortunately, it is often not easy and in general even impossible to know in advance how much gas a transaction will need eventually. Therefore, transactions have a *gas limit* field to specify the maximum amount of gas the sender is willing to buy. If the gas used exceeds this limit during execution, processing is stopped. The sender still has to pay for the performed computation, but they are protected from running completely out of funds.

The transaction gas limit also protects full nodes from attackers, who could, without a gas limit, make them execute effective infinity loops. If such a transaction would take longer than one block to process, it could never be included in a block, and, thus, the attacker wouldn't need to pay for it. [2]

Additionally, blocks, too, have a field called *gas limit*. It defines the maximum amount of gas all transactions in the whole block combined are allowed to consume. Similar to the maximum block size in Bitcoin (measured in bytes), its purpose is to keep block propagation and processing time low, thereby allowing for a sufficiently decentralized network. In contrast to Bitcoin, it is however not a constant. Instead, miners have the option to increase or decrease it every block by a certain factor. [3]

* [1] See the [Yellow Paper](http://gavwood.com/Paper.pdf) for a breakdown of operations and the respective gas costs (Appendices G and H)
* [2] <https://github.com/ethereum/wiki/wiki/Design-Rationale#gas-and-fees>
* [3] See the [Yellow Paper](http://gavwood.com/Paper.pdf) Equations 40 to 42 for the exact rules

> **Comments:**
> **username_6**: yellow paper was updated, now [3] refers to equations 45-47.  
> **username_7**: Computation is very cheap, regardless of how many nodes are in the network. The computations that occur on Ethereum would still cost an aggregate of pennies over all nodes. What's expensive is time spent not mining the block. A block hits every 15 seconds, so if a miner wastes 5 seconds computing someone's function, he now has 5 fewer seconds to guess the correct nonce. The price of the rest of nodes computing the answer to catch up with the blockchain is irrelevant, since they're forced to do that anyway.  

---

### Answer by username_4 on 2016-01-28. Score: 8

The current gas limit can be checked on the [network stats page](https://ethstats.net/).

It's currently **3,141,592** (pi million). The gas limit per block is not fixed, though. The number of contract calls and standard transactions is limited by the gas limit, which is 1.2x of the exponential moving average. So there's only so much gas that can be expended per block, even though it can grow, of course.

Note that each call to the contract to the caller cost an amount of Ether defined by `(gas sent to contract)*(price of gas as defined by caller)` so sending 10 thousend transactions per block could end up quite a pricey endeavour.


---

