What Is a Gas Fee?
A gas fee is the cost of executing a transaction or smart contract operation on a blockchain. The term originates from Ethereum, where "gas" measures the computational effort required. Fees are paid to validators or miners who process the transaction and are denominated in the network's native token (ETH for Ethereum, SOL for Solana, etc.).
How Gas Fees Work
On Ethereum, gas has two components:
- Gas limit — The maximum units of computation you're willing to pay for
- Gas price — How much you pay per unit (measured in gwei, a fraction of ETH)
Total fee = gas limit × gas price. During network congestion, gas prices spike as users compete for block space. EIP-1559 introduced a base fee that adjusts dynamically with demand, plus an optional priority fee (tip) to incentivize faster inclusion.
Why It Matters for Traders
Gas fees directly impact DeFi profitability. A trade that earns $50 but costs $30 in gas yields only $20. Timing transactions during low-gas periods, using Layer 2 solutions, and batching operations are essential skills for on-chain traders. Gas price spikes also signal network activity — often correlating with market volatility events.