Această pagină are doar un rol de informare. Este posibil ca anumite servicii și caracteristici să nu fie disponibile în jurisdicția dvs.

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

Limitarea răspunderii
Acest conținut este doar cu titlu informativ și se poate referi la produse care nu sunt disponibile în regiunea dvs. Aceasta nu are rolul de a furniza (i) un sfat de investiție sau o recomandare de investiție; (ii) nu este o ofertă sau solicitare de cumpărare, vânzare, sau deținere de active digitale, și (iii) nu reprezintă consultanță financiară, contabilă, juridică, sau fiscală. Deținerile de cripto / active digitale, inclusiv criptomonedele stabile, prezintă un grad ridicat de risc și pot fluctua în mod semnificativ. Trebuie să analizați cu atenție dacă tranzacționarea sau deținerea de cripto / active digitale este potrivită pentru dvs., având în vedere propria situație financiară. Consultați un specialist în domeniul juridic / fiscal / financiar pentru întrebări legate de circumstanțele dvs. specifice. Informațiile (inclusiv datele de piață și informațiile statistice, dacă este cazul) care apar în această postare sunt doar pentru informare generală. Deși s-au luat toate măsurile de precauție rezonabile la întocmirea acestor date și grafice, nu se acceptă nicio responsabilitate sau răspundere pentru nicio eroare materială sau omisiune apărută în prezenta.

Active digitale supuse volatilității și nu sunt asigurate. Nu reprezintă un sfat financiar / de investiție. Nu toate produsele și serviciile sunt oferite în toate regiunile. Se aplică excluderi și Termene și condiții.

© 2026 OKX. Acest articol poate fi reprodus sau distribuit în întregime sau pot fi utilizate extrase de 100 de cuvinte sau mai puțin din acest articol, cu condiția ca o astfel de utilizare să fie non-comercială. Orice reproducere sau distribuire a întregului articol trebuie și să precizeze în mod vizibil: „Acest articol este © 2026 OKX și este utilizat cu permisiune”. Extrasele permise trebuie să citeze numele articolului și să includă atribuirea, de exemplu „Numele articolului, [numele autorului, dacă este cazul],© 2026 OKX”. Unele conținuturi pot fi generate sau asistate de instrumente de inteligență artificială (AI). Nu sunt permise niciun fel de lucrări derivate sau alte utilizări ale acestui articol.

Articole similare

Vizualizați mai mult
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 dec. 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 dec. 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 dec. 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 dec. 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 dec. 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 dec. 2026
Vizualizați mai mult