Gwei is a denomination of ether (ETH), Ethereum’s native currency, not a separate coin or token. It is commonly used to quote gas prices because it avoids expressing tiny ETH fractions with many decimal places.
Wei is the smallest unit of ETH. The fixed conversions are 1 gwei = 1,000,000,000 wei = 0.000000001 ETH, and consequently 1 ETH = 1,000,000,000 gwei = 10¹⁸ wei.
To convert an amount from gwei to wei, multiply it by 1,000,000,000 (10⁹). To convert it to ETH, divide by the same number. These operations change the denomination, not the underlying amount.
Gas Quantity, Price and Transaction Fees
Gas measures the computational work consumed by an on-chain Ethereum transaction, including smart-contract execution. Gas used is a quantity of work; the gas price is a monetary amount per unit of that work.
For ordinary Ethereum execution, the fee equals gas actually used multiplied by the effective price per gas. The gas limit is a ceiling on consumption, not necessarily the amount used. This calculation covers the execution fee, not necessarily additional Ethereum or layer-2 charges.
In a hypothetical transaction, 21,000 gas × 20 gwei/gas gives a fee of 420,000 in the quoted denomination. Dividing that amount by one billion gives 0.00042 ETH.
Executed work can incur a fee even if the transaction fails; a rejection before execution need not consume gas.
Looking for liquidity, exploring on-ramp/off-ramp services, or seeking expert guidance?
Get startedBase Fee and Priority Fee
The paid execution price per gas is the protocol-set base fee plus the effective priority fee, or tip, actually paid. In an EIP-1559 transaction, the maximum fee per gas caps the combined price, while the maximum priority fee per gas caps the tip. When the base fee plus the offered priority fee fits within the total cap, that sum determines the paid price.
In that situation, raising only the total cap does not increase payment if the base fee and priority fee stay unchanged. Raising the priority fee can increase the paid price when the total cap covers the new sum. Unused headroom under the total cap is not an extra payment. The base fee and cap still matter, so an offered tip should not be confused with an effective tip actually paid.
Paying only the base fee can satisfy the fee requirement without securing inclusion. Validators are the participants proposing blocks of transactions.
Gwei and Execution-Price Components
| Criteria | Denomination | Base fee | Priority fee (tip) |
|---|---|---|---|
| Units | DenominationCurrency denomination, not computational work. | Base feeProtocol-set price per gas required for fee eligibility. | Priority fee (tip)Effective extra price per gas actually paid as a tip. |
| Fee role | DenominationExpresses a quoted unit price or the resulting fee amount. | Base feeThe base-fee payment—gas used × base fee per gas—is burned, removing that ETH from circulation. | Priority fee (tip)The validator receives gas used × effective tip per gas as the inclusion incentive. |
| What changes | DenominationFixed conversion to wei and ETH. | Base feeAdjusts with block gas usage. | Priority fee (tip)Varies with demand for inclusion. |
Changing Prices, Fixed Units
The protocol adjusts the next block’s base fee using the previous block’s gas usage relative to a target: usage above target raises it, usage below target lowers it, and usage at target leaves it unchanged.
When competition for block space is high, users may offer higher tips; lower demand can permit lower tips. A higher tip can improve inclusion likelihood without guaranteeing priority or next-block inclusion. These prices change, but the denomination’s conversion to wei and ETH stays fixed.
Reading Wallet and Gas-Tracker Estimates
Wallets commonly recommend per-gas fee components, while gas trackers report gas-price information.
To estimate the execution cost, multiply expected gas consumption by the estimated paid price per gas, then convert the result to ETH. A lower unit-price quote alone does not mean a lower total fee if the transaction consumes more gas.
These estimates depend on assumed usage and network conditions, so they do not promise a final cost or inclusion time. Offering too low a tip for current demand can mean delay or non-inclusion; paying an unnecessarily high effective tip can waste ETH.