You set up a wallet, upload a piece, click mint, and the wallet shows you a fee. An hour later the same action shows a different number. For artists and small businesses on a tight budget, unpredictable fees are frustrating. Gas follows a logic you can learn, though, and once you understand it you can plan around it.
Every action on a blockchain, from minting a token to transferring it, takes some computing work from the network. Gas is the unit that measures that work. A simple transfer uses relatively little gas. Deploying a new contract for a whole collection uses much more.
You do not pay in gas directly. You pay a price per unit of gas, in the chain's own currency, and the total fee is roughly the gas used multiplied by that price. On Ethereum, gas prices are usually quoted in gwei, a tiny fraction of one ether.
One point surprises many people: the fee depends on the work involved, not on the value of what you are moving. Transferring a token worth a few dollars and one worth thousands can cost about the same.
Each block on a blockchain has limited space. When many people want to make transactions at once, they compete for that space, and the price per unit of gas rises. When activity is quiet, it falls.
On Ethereum, the fee has two parts. A base fee is set automatically by the network according to how full recent blocks were, and it is destroyed rather than paid to anyone. A smaller priority fee, or tip, goes to whoever includes your transaction and can help it go through faster. Your wallet estimates both and shows a total before you confirm.
Popular mints, sudden market moves and any event that sends many people to the chain at once tend to push fees up. Fees can change from minute to minute, so an estimate you saw earlier is only a guide.
Browsing, viewing and many listing actions that only need a signature do not cost gas. If your wallet asks for a fee, something is being written to the chain.
When you confirm a transaction, it carries a gas limit, the maximum amount of work you are willing to pay for. If the transaction fails partway, for example because a mint sold out before yours went through, the network has still done work, and you usually pay for the gas used. That is one reason rushing into a crowded mint can be expensive even when you end up with nothing.
A transaction can also sit pending if the fee you offered is too low for current demand. Many wallets let you speed it up by offering a higher fee, or replace it with a cancellation. Both options cost gas too.
Treat gas like shipping or payment processing: a cost to understand, budget for and include in your prices.