Gas Limit vs Gas Price: What's the Difference?

When you send a transaction, you'll see "gas" settings. Two terms matter: gas limit and gas price. Here's the difference.
Gas limit
The maximum amount of computational work you'll allow your transaction to use. Simple transfers need little; complex swaps need more. If the limit is too low, the transaction fails (and you still pay for the work attempted).
Gas price
How much you pay per unit of gas, in BNB. A higher gas price gets your transaction processed faster when the network is busy.
Your fee = limit × price
Your total fee is roughly gas used × gas price. Wallets usually estimate both for you automatically, so you rarely need to change them. See BNB gas fees.
When to adjust
- Raise gas price to speed up a stuck transaction.
- Rarely change the gas limit unless a dApp advises it.
FAQ
Will a higher gas limit cost more?
You only pay for gas actually used, but set a limit high enough to let the transaction complete.
Why did my transaction run out of gas?
The gas limit was too low for the work required. Let your wallet estimate it.