What it means
Ether, the native currency of Ethereum, can be divided into very small pieces. The smallest unit is called a wei, and one ether equals 1,000,000,000,000,000,000 wei.
A gwei, short for giga-wei, equals 1,000,000,000 wei, so one ether equals 1,000,000,000 gwei. The unit exists for convenience.
Writing a fee as 20 gwei is much easier than writing 0.00000002 ether, just as a shop quotes in cents rather than in fractions of a dollar. Wallets and block explorers therefore display gas prices in gwei.
Gas is the measure of the computing work a transaction needs. A simple transfer of ether uses a fixed amount of gas, while a complex smart contract action uses more.
The fee is the amount of gas used multiplied by the price per unit of gas, and the price is quoted in gwei. The gas price moves with demand.
When many people are using the network, users bid more gwei to have their transactions processed quickly, and the average fee rises. When the network is quiet, fees fall, so timing can reduce costs.
For businesses, gwei matters because network fees are a real operating cost for anything built on Ethereum. A company that accepts payments, issues tokens or runs automated contracts must budget for fees in ether and translate them into dollars for its accounts.
The dollar cost depends on both the gas price in gwei and the market price of ether. Accounting for the fees needs a clear policy.
Finance teams usually record each fee at the dollar value of the ether on the transaction date and keep the transaction reference for audit. Because the price of ether can swing, the same fee in gwei can have very different dollar costs from one month to the next.
In practice
Real-world examples.
Example
A freelancer receives payment in ether and moves it to an exchange to sell it. Her wallet shows a fee of 25 gwei per unit of gas and she waits for a quieter period to pay less. She saves a small amount on a regular basis. She also batches several small transfers into one to reduce the number of fees.
Example
A start-up building a payments application budgets for network fees. The finance lead estimates the average gas used per transaction, the expected gwei price and the ether price. She sets aside a monthly fee budget and reviews it against the actual cost. If the gas price rises above a set level, the team delays non-urgent transactions.
Example
A treasury manager at a company that holds digital assets records network fees as an operating expense. The accountant converts each fee to dollars using the ether price at the transaction date. The audit file includes the transaction hash for each entry. The treasurer reviews the total each quarter against the budget.
Formula
Calculation
Transaction fee in ether = gas used x gas price in gwei / 1,000,000,000
Fee in dollars = fee in ether x price of one ether in dollars
Suppose a simple ether transfer uses 21,000 units of gas and the gas price is 20 gwei. The fee is 21,000 x 20 = 420,000 gwei, which is 420,000 / 1,000,000,000 = 0.00042 ether.
If one ether is worth an illustrative $2,000, the fee in dollars is 0.00042 x 2,000 = $0.84.Case study
Seen in the real world.
Lumen Payments is a fictional company that settles invoices for exporters using Ethereum. In its first month, the finance team found that network fees were far higher than forecast.
An analysis showed that the team had set a fixed gas price in gwei and paid a high price even when the network was quiet. The illustrative fix was to use a dynamic setting that offered a competitive price without overpaying.
After the change, average fees fell by about a third, and the company wrote a fee policy for finance staff. In this fictional story, the saving was worth several thousand dollars a month at the firm's volumes. The finance team also began reporting network fees as a separate line so that managers could see them clearly.
Watch out
Common mistakes.
- Confusing gwei with ether, when one ether equals one billion gwei.
- Forgetting that the fee equals gas used multiplied by gas price, so a complex action costs more than a simple transfer at the same price.
- Budgeting fees in gwei and ignoring the dollar price of ether, which also drives the real cost.
Questions
People also ask.
What is a gwei?
It is one billionth of an ether, used to quote gas prices.
Why do gas prices change?
Because they rise when demand for network space is high and fall when it is low.
How do I convert gwei to dollars?
Divide the total gwei by 1,000,000,000 to get ether, then multiply by the dollar price of ether.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%Related
