BNB Chain Gas Fees Explained: Wei, Gwei and How to Read Them
Every wallet shows it, every transaction costs it, and almost nobody can explain it: gas. Five minutes here and you'll read fees like a native — and stop being confused by numbers like 5000000000 wei.
What gas actually is
Every operation on BNB Chain — a transfer, a swap, deploying a token — consumes computational work. Gas is the unit that measures that work. A plain BNB transfer costs 21,000 gas; a PancakeSwap swap costs several times more because it does several times the computation; deploying a token contract costs more still.
Your fee is a two-part multiplication:
fee = gas used × gas price
Gas used depends on what you're doing. Gas price is what you bid per unit, and it's quoted in gwei.
Wei, gwei, BNB — the unit ladder
Smart contracts can't do decimals, so BNB is accounted in an integer base unit called wei:
- 1 BNB = 1,000,000,000,000,000,000 wei (10^18 — eighteen zeros)
- 1 gwei = 1,000,000,000 wei (10^9)
- 1 BNB = 1,000,000,000 gwei
Wei is where contracts do math, gwei is where gas prices live (because "3 gwei" is friendlier than "3000000000 wei"), and BNB is what wallets display. Same value, three magnifications.
Reading a real fee
Say a swap uses 150,000 gas at a 3 gwei gas price:
- 150,000 × 3 gwei = 450,000 gwei
- = 0.00045 BNB
That's the entire mystery. When your wallet shows a fee estimate, it's just this multiplication with a live gas price — BNB Chain's typically sits in single-digit gwei, which is why fees stay at cents.
Where people get burned
The classic mistake is decimal drift: pasting a token amount into a contract call and being off by a factor of 10^18 — sending dust when you meant tokens, or trying to send a galaxy when you meant ten. BEP-20 tokens use 18 decimals just like BNB, so the same wei-style conversion applies to token amounts in contract calls.
The fix is unglamorous: never count zeros by eye. The Wei Converter converts between wei, gwei and BNB instantly in both directions — type in any box, read the other two. Bookmark it; it's the tool you'll reach for every time a contract wants a raw integer.
Practical fee habits
- Gas price is a bid, not a fixed toll — wallets estimate it; you rarely need to touch it on BNB Chain.
- Failed transactions still burn gas — the computation ran even if the outcome reverted. Simulating first (as good dApps do) is cheaper than finding out on-chain.
- Keep a BNB buffer — every action needs gas, including the transaction that swaps into more BNB. Wallets stranded with tokens but zero BNB are a rite of passage; skip it.
Gas stops being intimidating the moment you see it's one multiplication and one unit ladder. For everything else, the converter does the zeros so you never have to.