What gas fees actually pay for
Gas measures computational work on Ethereum. This is what the fee is charged for, how the base fee and priority tip fit together under EIP-1559, and why the base fee is burned.
Quick answer
Gas measures the computational work a transaction requires. Your fee is the amount of gas used multiplied by a price per gas. Since EIP-1559 that price splits into a base fee, set by the protocol and burned, plus an optional priority tip that goes to the validator. You also set a maximum you will pay, and anything above the actual cost is refunded. A plain transfer uses 21,000 gas.
Key points
- Gas is a unit that measures computational effort, not a currency in itself.
- Total fee equals gas used multiplied by (base fee plus priority fee).
- The base fee is set by the protocol and is burned, removing it from circulation.
- The priority fee is a tip that incentivises validators to include your transaction.
- A standard ETH transfer uses 21,000 gas; unused gas within your limit is refunded.
Gas measures work, not money
The word “gas” causes a lot of confusion because it sounds like a currency. It is not. Ethereum’s documentation defines it precisely: “Gas refers to the unit that measures the amount of computational effort required to execute specific operations on the Ethereum network.” Gas is a unit of work, in the same way that a kilowatt-hour is a unit of energy. Every operation a transaction performs, moving funds, storing data, running a piece of contract code, has a cost measured in gas.
Separating the amount of work from its price is the key to understanding fees. A transaction consumes a certain quantity of gas depending on what it does, and the network has a price per unit of gas at that moment. Multiply the two and you have the fee. This split is why the same action can cost very different amounts at different times: the work is constant, but the price per unit rises and falls with demand.
Why computation has to cost something
The fee exists for a structural reason, not merely to raise revenue. Every node in the network re-executes transactions to verify them, so computation is a shared, finite resource. If running code were free, nothing would stop someone from submitting an endless loop or a flood of pointless operations that every node would be forced to process, grinding the network to a halt. Charging for gas puts a real cost on computation, which both funds the validators doing the work and deters abuse. It is a pricing mechanism for a scarce resource.
How much gas a transaction uses
The gas an action consumes is determined by the operations it performs, and simple actions have fixed costs. Ethereum’s documentation states that “a standard ETH transfer requires a gas limit of 21,000 units of gas.” That figure is the baseline for the simplest possible transaction: sending ETH from one account to another with no additional logic.
More complex transactions cost more gas because they do more work. Interacting with a smart contract, swapping tokens, or minting an asset involves many individual operations, each adding to the total. When you send a transaction you specify a gas limit, the maximum units you are willing to consume, described in Ethereum’s documentation as “the maximum amount of gas units that can be consumed by the transaction.” The limit is a safety cap. Importantly, you are billed for gas actually used, not the whole limit: unused gas within your limit is refunded. Setting the limit too low, however, risks the transaction running out of gas partway and failing while still consuming what it used.
The price per gas: EIP-1559
Since the upgrade known as EIP-1559, the price you pay per unit of gas is not a single number you guess at. It is split into two parts, and Ethereum’s documentation gives the total plainly: the fee is “units of gas used × (base fee + priority fee).”
The base fee
The base fee is set by the protocol itself, not by the sender, and represents the minimum price per unit of gas for the current block. It moves algorithmically with demand. Ethereum’s documentation explains that it adjusts by a maximum of 12.5% per block depending on how full the previous block was relative to a target size. When blocks are consistently more than half full, the base fee climbs; when they are emptier, it falls. This gives users a far more predictable price than the blind auction that preceded it.
The striking feature of the base fee is where it goes: nowhere. Ethereum’s documentation states that the “base fee is burned, removing it from circulation.” It is not paid to the validator. Burning the base fee removes any incentive for validators to artificially inflate it, since they do not receive it, and ties the cost of using the network to genuine demand.
The priority fee
On top of the base fee sits the optional priority fee, or tip, which does go to the validator. Its purpose, in Ethereum’s words, is to “incentivise validators to include a transaction in the block.” When the network is busy, a higher tip makes your transaction more attractive to include sooner. When it is quiet, a small tip suffices. This is the lever that lets you trade a little extra cost for faster inclusion.
The maximum fee and your refund
Because the base fee can move between the moment you sign and the moment your transaction is included, EIP-1559 lets you set a max fee per gas, the ceiling you are willing to pay per unit. Ethereum’s documentation describes it as “the maximum fee per unit of gas willing to be paid for the transaction.” You are only ever charged the actual base fee plus your tip; if the base fee turns out lower than your ceiling, the difference is refunded. In the documentation’s terms, the sender receives back the max fee minus the base fee and tip.
So three numbers describe the price side of a modern Ethereum transaction: the base fee (set by the protocol, burned), the priority fee (your tip, paid to the validator), and the max fee (your ceiling, which protects you from overpaying while ensuring your transaction can still be included if the base fee ticks up). Fees are usually quoted in gwei, a small denomination that Ethereum’s documentation defines as one-billionth of an ETH.
Putting it together
Walk through a plain transfer. It uses 21,000 gas. Suppose the base fee at inclusion is some value in gwei and you add a modest tip. Your fee is 21,000 multiplied by the sum of those two per-gas prices. The base-fee portion is burned; the tip portion goes to the validator who included you; anything you authorised above the actual cost, up to your max fee, comes back. Nothing about that fee is a subscription, a platform charge, or a fixed toll. It is a direct, itemised payment for a measured quantity of computational work at the going rate.
Reading fees without being misled
A few points guard against common misconceptions. High fees are a symptom of high demand for block space, not of a “greedy” network; the base-fee mechanism responds to congestion rather than causing it. A complex transaction costs more than a transfer because it genuinely performs more work, not because it is penalised. And a failed transaction can still cost gas, because the network expended real computation attempting it before it reverted. Seen this way, the gas fee is the most honest line item in the system: it is the price of the work you asked the network to do, no more and no less.
Why block space is the scarce resource
Underneath the mechanism is a simple economic fact: each block can hold only so much gas. Ethereum’s documentation notes that blocks have a target size and a hard ceiling, and that the base fee adjusts precisely to keep blocks near the target on average. When more people want to transact than a block can accommodate, they are effectively bidding for a limited amount of space, and the base fee rises until demand fits. This is why fees spike during periods of intense activity and settle when the rush passes. It is the same logic as any market for a capped resource, expressed in code rather than in a pricing department.
This framing also explains the direction of much of the engineering work across the field. Efforts to lower fees generally aim either to make each operation cheaper in gas terms or to create more usable space for transactions, for example by moving activity onto layers that settle back to the main chain in batches. The details of those approaches are beyond this article, but the underlying goal is always the same: reduce the competition for scarce block space so that the price per unit of gas, and therefore the fee, comes down. None of it changes the core accounting, which remains gas used multiplied by price per gas.
Sources
Frequently asked questions
Is gas a separate cryptocurrency I have to buy?
Why does the same transaction cost different amounts at different times?
Where does my gas fee go?
What happens if I set the gas limit too low?
Why did a failed transaction still charge me a fee?
Note: CamoCrypt is security & education only — no prices, no predictions, no investment advice. Verify every address and contract yourself; we cannot recover lost funds and neither can anyone who contacts you claiming they can.