Questa pagina è solo a scopo informativo. Alcuni servizi e funzioni potrebbero non essere disponibili nella tua giurisdizione.

What is Gwei?

Gwei (also written as gwei) is a unit of ether (ETH): 1 gwei equals one billionth of an ETH, or 0.000000001 ETH. On Ethereum, every transaction pays for the computational work it uses, and that work is measured in gas. The fee equals the gas used multiplied by the price per unit of gas, and that price is usually quoted in gwei, which is why you often see wording such as "xx gwei per unit of gas."

For what a gas fee means in general and how different networks charge it, see gas fee. This article covers only how gwei converts, why it is used, and how to use it to work out what a transaction cost.

How gwei, wei and ETH convert

ETH can be divided into smaller units, and the smallest is called wei. The name gwei is short for giga-wei, meaning "one billion wei."

Unit Value in ETH Value in wei Common use
wei 0.000000000000000001 ETH (10⁻¹⁸ ETH) 1 Ethereum's technical accounting: transfer amounts in transactions and account balances are recorded in wei
gwei 0.000000001 ETH (10⁻⁹ ETH) 1,000,000,000 (10⁹) Expressing gas prices
ETH 1 10¹⁸ The asset used by the Ethereum network itself

To convert, you only need to remember two "billions": 1 gwei is one billion wei, and one billion gwei is 1 ETH. Gwei amounts can also include decimals; for example, 0.8 gwei is 800 million wei.

Why gas prices are expressed in gwei

The price of one unit of gas is usually a tiny fraction of an ETH. Written in ETH, it becomes a string of zeros such as 0.000000001 ETH, which makes it easy to misread the number of decimal places; in gwei, it is simply 1 gwei.

Gwei changes only how the number is written, not the actual fee: whether it is written as 1 gwei or 0.000000001 ETH, the same amount of ETH is deducted.

Calculating an Ethereum transaction fee in gwei: base fee plus priority fee, multiplied by gas used

On Ethereum, validators, which check and record transactions, bundle transactions into blocks and add them to the blockchain one after another. The price per unit of gas has two parts:

  • Base fee: the minimum price that Ethereum calculates automatically with a fixed formula, based on how much of the previous block was used. A transaction must pay at least this much to be valid. This portion of ETH is burned, meaning it is permanently removed from the total and goes to no one.
  • Priority fee: a tip the user pays on top of the base fee. It goes to the validator that includes the transaction and makes validators more willing to put it into a block. A transaction that pays only the base fee and no priority fee is valid under the rules, but the validator earns nothing extra from it and may give priority to transactions that include a tip.

Transaction fee = gas actually used × (base fee + priority fee).

A transfer that only sends ETH to a regular account, without having an onchain smart contract program perform any operation and without attaching other data, uses 21,000 gas. The base fee and priority fee below are figures set only to demonstrate the calculation and do not represent current network fees:

  • Assume a base fee of 0.8 gwei and a priority fee of 0.2 gwei, for a total of 1 gwei per unit of gas;
  • Fee = 21,000 × 1 gwei = 21,000 gwei = 0.000021 ETH.

These 21,000 gwei go to two places: the base fee of 21,000 × 0.8 = 16,800 gwei is burned, and the priority fee of 21,000 × 0.2 = 4,200 gwei is paid to the validator.

Users can also set the most they are willing to pay per unit of gas, called the max fee. The actual price is the base fee plus the priority fee, but it never exceeds the max fee: when the sum is higher than the max fee, the priority fee is reduced accordingly; when the max fee does not even cover the base fee, the transaction cannot be included for now and has to wait until the base fee falls to or below the max fee. The difference between the max fee and the actual price is not charged. For example, if the max fee in the example above is set to 2 gwei, the fee is still charged at 1 gwei.

FAQ

Is gwei a separate token?

No. Gwei is just a unit of ETH, much as a cent is a unit of a dollar, only with a far smaller ratio. Paying 1 gwei means paying one billionth of an ETH.

Why does the gwei figure in my wallet keep changing?

A wallet usually shows its estimated base fee plus a suggested priority fee. The base fee is recalculated for every block. The amount of gas a block can hold has a limit, and Ethereum sets half of that limit as the target: if the previous block used more gas than the target, the base fee rises; if it used less, the base fee falls. The suggested priority fee also adjusts with network usage, so the figure keeps changing. For what happens when the network is busy, see network congestion.

Why is the same amount of gwei worth different amounts in US dollars?

Gwei measures how much ETH was paid. The amount of ETH a fee works out to in gwei is fixed, but converting it into a fiat currency such as the US dollar also means multiplying by the ETH price at that time. So when the ETH price changes, the fiat amount for the same number of gwei changes too.

Explore gas fees, Ethereum, validators and network congestion, or return to the Crypto Glossary.

References

Disclaimer
Questo contenuto è fornito esclusivamente a scopo informativo e potrebbe riguardare prodotti non disponibili nella tua area geografica. Non ha lo scopo di fornire (i) consulenza in materia di investimenti o una raccomandazione di investimento; (ii) un'offerta o una sollecitazione ad acquistare, vendere o detenere criptovalute/asset digitali; o (iii) consulenza finanziaria, contabile, legale o fiscale. La detenzione di criptovalute/asset digitali, comprese le stablecoin, comporta un elevato grado di rischio e può essere soggetta a notevoli fluttuazioni. Dovresti valutare attentamente se il trading o la detenzione di criptovalute/asset digitali siano adatti a te, alla luce della tua situazione finanziaria. Contatta il tuo consulente legale, fiscale o finanziario per eventuali domande sulla tua situazione specifica. Le informazioni (inclusi i dati di mercato e le informazioni statistiche, se presenti) che appaiono in questo post sono solo a scopo informativo generale. Sebbene sia stata prestata la massima cura nella preparazione di questi dati e grafici, non si accetta alcuna responsabilità per eventuali errori di fatto o omissioni in essi contenuti.

Gli asset digitali sono soggetti a volatilità e non sono assicurati. Non costituisce consulenza finanziaria o in materia di investimenti. Non tutti i prodotti e servizi sono offerti in tutte le regioni. Si applicano esclusioni e termini e condizioni specifici.

© 2026 OKX. Questo articolo può essere riprodotto o distribuito nella sua interezza, o possono essere utilizzati estratti di 100 parole o meno di questo articolo, a condizione che tale uso non sia commerciale. Qualsiasi riproduzione o distribuzione dell'intero articolo deve inoltre indicare in modo ben visibile: "Questo articolo è © 2026 OKX e viene utilizzato con autorizzazione". Gli estratti consentiti devono citare il nome dell'articolo e includere l'attribuzione, ad esempio "Nome articolo, [nome dell'autore se applicabile], © 2026 OKX". Alcuni contenuti possono essere generati o assistiti da strumenti di intelligenza artificiale (IA). Non sono consentite opere derivate né altri utilizzi di questo articolo.

Articoli correlati

Visualizza altro
validator

What is a digital signature?

A digital signature is a string of characters computed from a piece of data with a [private key](/learn/what-is-private-key). Anyone who has the matching [public key](/learn/what-is-public-key), the s
3 dic 2026
12-03-glossary-thumnail/zero-knowledge-rollup

What is Post-Quantum Cryptography (PQC)?

**Post-quantum cryptography (PQC), also called quantum-resistant or quantum-safe cryptography, is a family of public-key algorithms designed to withstand attacks from quantum computers.** It runs as s
3 dic 2026
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
3 dic 2026
12-03-glossary-thumnail/zero-knowledge-rollup

What is a ZK rollup?

**A zero-knowledge rollup (ZK rollup) is a type of [rollup](/learn/what-is-a-rollup): it hands the results of a batch of transactions to the main chain together with a proof, and the main chain accept
3 dic 2026
12-03-glossary-thumnail/zero-knowledge-proof

What is a zero-knowledge proof?

**A zero-knowledge proof (ZKP) lets someone convince another party that a statement is true without revealing any information beyond the statement itself.** The party that submits the proof is called
3 dic 2026
12-03-glossary-thumnail/validator

What is a validator?

**A validator is a participant in a [proof-of-stake](/learn/what-is-proof-of-stake) blockchain that proposes new blocks and votes on other blocks.** It must first [stake](/learn/what-is-staking) the a
3 dic 2026
Visualizza altro