Gas Fees Explained: Why They Change and How to Pay Less

A gas fee is the amount of computational work your transaction uses multiplied by the price you pay per unit of that work, and it changes minute to minute because the price rises automatically when blocks are fuller than the network's target.

Updated · By RampAtlas Research

Key takeaways

  • A gas fee is the computational work your transaction uses multiplied by the price you pay per unit of that work.
  • Ethereum defines the fee as units of gas used multiplied by the sum of the base fee and the priority fee.
  • A standard ETH transfer requires a gas limit of 21,000 units of gas.
  • The Ethereum base fee moves by at most 12.5 percent per block depending on whether the previous block was above or below the target size.
  • The base fee is burned rather than paid to a validator, so raising your tip does not increase what the protocol takes.
In this guide

A gas fee is the amount of computational work your transaction uses multiplied by the price you pay per unit of that work, and it changes minute to minute because the price rises automatically when blocks are fuller than the network's target.

How a gas fee is calculated and why it movesThe fee is the gas a transaction uses multiplied by the base fee plus the priority tip, and the base fee rises automatically for as long as blocks run fuller than the network's target size.GAS USEDthe work done×BASE FEEprotocol-set, burned+PRIORITY TIPyour bid to include=FEE PAIDper transactionBURNEDpaid to no oneVALIDATORincludes you soonerBASE FEEtarget sizeBLOCK FULLNESS, IN ORDERFULLER THAN TARGETthe base fee risesup to 12.5% a blockemptier than targetand it falls the same way
The work your transaction needs is roughly fixed by what it does. The price of that work is not: the base fee is set by the protocol and burned rather than paid to anyone, and the priority tip is what a validator actually receives for including you sooner. The base fee is an automatic response to how full the last block was, moving by at most 12.5 percent per block in either direction, which is why fees spike within minutes and fall back the same way.

Once you separate those two numbers, most of the confusion goes away. The work your transaction needs is roughly fixed by what the transaction does. The price of that work is set by demand, and it is the only half you have any control over.

Gas is a unit, not a currency

Ethereum's documentation defines gas as "the unit that measures the amount of computational effort required to execute specific operations on the Ethereum network" (source: ethereum.org gas documentation, September 2026). Every operation a transaction performs has a cost in these units, and the total is the gas your transaction uses.

Charging for computation is what stops the network from being flooded with spam and infinite loops. Someone has to pay for every step, so pointless steps are expensive.

A plain transfer is the cheapest thing you can do. Ethereum states that "a standard ETH transfer requires a gas limit of 21,000 units of gas." Anything involving a smart contract costs more, because the contract's own operations are added on top. A token transfer, a swap, and an approval are each more work than moving the network's own coin.

The price side

The price per unit is quoted in gwei. Ethereum's documentation explains that "gas prices are usually quoted in gwei, which is a denomination of ETH. Each gwei is equal to one-billionth of an ETH."

Since the fee market was reformed, the price has two components. The base fee is set by the protocol, and Ethereum says "you have to pay at least this amount for your transaction to be considered valid." The priority fee is "a tip that you add to the base fee to make your transaction attractive to validators."

The formula is stated directly: "units of gas used * (base fee + priority fee)" (source: ethereum.org gas documentation, September 2026).

One detail changes how you should think about the whole system. The base fee is burned, meaning it is removed from circulation rather than paid to anyone. The tip is what a validator actually receives for including your transaction sooner.

21,000 units of gas

Standard ETH transfer

ethereum.org gas documentation, September 2026

At most 12.5 percent

Base fee change per block

ethereum.org gas documentation, September 2026

$0.022 mainnet, $0.0011 layer 2

Average transaction cost

ethereum.org, September 2026

Why the price moves

The base fee is not a market quote. It is an automatic adjustment to how full the previous block was.

Ethereum's documentation gives the mechanism: "each block has a target size of half the current gas limit," and "the base fee will increase or decrease by a maximum of 12.5% per block if the target block size is above or below the target." Blocks can hold up to double the target, but sustained demand at that level pushes the base fee up by 12.5 percent per block, compounding until demand falls away.

This is why fees spike in minutes rather than drifting. A popular mint, a liquidation cascade, or a sudden market move fills blocks past the target, the base fee compounds upward, and everything on the network gets more expensive at once. It is also why the spike ends quickly. The same mechanism runs in reverse as soon as blocks fall below target.

Six ways to pay less

Six ways to pay less, largest saving first.
ApproachWhy it works
Use a layer 2The largest single saving available. As of September 2026 ethereum.org shows an average transaction cost of $0.022 on Ethereum mainnet against $0.0011 on layer 2 networks (source: ethereum.org). The Dencun upgrade in March 2024 introduced data blobs, which let rollups post their data more cheaply and "pass the savings on to end users in the form of cheaper transactions" (source: ethereum.org proto-danksharding documentation). Our guide on layer 1 and layer 2 covers what you give up, if anything
WaitBecause the base fee resets downward at up to 12.5 percent per block, a transaction that is not urgent costs materially less an hour later. Most wallets let you set a lower tip and accept a slower confirmation
Check before you sendEvery block explorer runs a gas tracker showing estimates for slow, average, and fast inclusion. Reading it takes ten seconds and tells you whether you are in a spike
BatchOne transaction moving funds once costs less than three transactions moving them three times. Consolidating before you withdraw, rather than after, saves the difference
Do fewer contract interactionsApprovals, wraps, and bridges each cost gas on their own. A route with two steps costs less than the same trade routed through four
Withdraw larger amounts less oftenAn exchange withdrawal fee is usually a flat charge per withdrawal, so ten small withdrawals cost roughly ten times one large one. This is separate from network conditions and entirely within your control

Network fees and exchange fees are different things

The network fee is paid to the blockchain. The withdrawal fee is set by the exchange and may be higher than the network cost, lower than it, or bundled into a spread. Exchanges also differ in whether they let you choose a cheaper network for the same asset.

Neither has anything to do with the trading fee you paid to buy. Our guide to exchange fees separates the layers, and the fee figures we hold for each platform are on its page under Exchanges.

Failed transactions still cost you

The defenses are ordinary. Leave the wallet's suggested gas limit alone unless you know why you are changing it, keep enough of the network's native coin in the wallet to cover fees, and treat a transaction that fails twice for the same reason as a signal to stop and check the contract rather than to raise the limit again.

Other networks price this differently

Gas is Ethereum's model and the vocabulary spread from there, but each Ethereum alternative sets fees its own way. Bitcoin prices by transaction size in bytes rather than by computation, so a simple transfer on Bitcoin is priced on how much block space it occupies. Some networks charge a near-fixed fee per transaction.

Frequently Asked Questions

Why did my wallet estimate a fee and then charge less?

The estimate covers the gas limit, which is the maximum you authorize. You are charged for the gas actually used, and unused gas is not taken. Overestimating the limit is safe; underestimating it causes a failure.

Can I speed up a stuck transaction?

Usually yes. Many wallets offer a replacement that resubmits the same nonce with a higher tip. Sending the funds again as a new transaction instead risks paying twice if the first one eventually confirms.

Does a bigger transfer cost more gas?

No. The value being moved does not change the computation. Sending a large amount and a small amount of the same asset costs the same in gas, which is why small transfers are the ones that feel expensive.

Who receives the fee?

The priority fee goes to the validator that includes your transaction. The base fee is burned and goes to no one. That split is why bidding higher speeds you up without enriching the protocol.

Is there any way to avoid gas entirely?

Not on a public chain. Trades that happen inside an exchange's own ledger never touch a blockchain and so incur no gas, but that is because no transfer is occurring. The fee arrives when you withdraw.