Compare L2 Gas Costs in One View
Base, Optimism and Linea all promise cheap transactions. Learn how L2 fees are made, how to compare them fairly in one chart, and why they sometimes spike.
Layer-2 networks exist to make transactions cheaper than on Ethereum mainnet, and most of the time they do — often by a wide margin. But "cheap" hides a lot of variation. Fees differ between L2s, change through the day, and occasionally spike in ways that surprise users who assumed an L2 is always nearly free.
In this tutorial you will learn what an L2 fee is made of, how to compare fees across chains fairly, and how to build a single view that shows Ethereum, Base, Optimism and Linea side by side.
What you pay for on an L2
An L2 transaction fee has two components:
- The execution fee. Like on mainnet, every operation costs gas, and the L2 has its own base fee that rises when its blocks are busy. On most L2s, execution is very cheap because block space is plentiful.
- The data fee. An optimistic or zero-knowledge rollup must post data about its transactions to Ethereum so that anyone can verify or reconstruct its state. Your share of that cost is passed on to you. Since Ethereum introduced blob space for rollup data, this component has fallen dramatically — but it still depends on demand for Ethereum's data capacity.
The practical consequence: an L2's fees depend on its own congestion and on conditions on Ethereum. Two L2s can diverge because one is busier, and all of them can move together when Ethereum's data market heats up.
Pick a fair unit of comparison
Comparing "gas prices" across chains is misleading — each chain prices gas differently, and transactions use different amounts. Compare the cost of doing the same thing instead:
- Median fee per transaction is the simplest fair measure: what a typical transaction actually paid, in dollars.
- Cost of a simple transfer is the cleanest: a plain ETH or token transfer does roughly the same work everywhere.
Use dollar terms for both. Fees quoted in each chain's native units hide the comparison you actually care about.
Build the comparison view
Open the Wevr.ai chart explorer and find the fee charts for Base. Then switch the chain selector to Optimism, Linea and Ethereum in turn, opening the equivalent chart for each.
To see them together, add each chain's median fee chart to a single dashboard:
- Open the Dashboards page and create a new dashboard called "L2 fee comparison".
- Add the median transaction fee chart for each of the four chains.
- Set every chart to the same time window — 30 days is a good start.
- Put Ethereum at the top as the reference, with the three L2s beneath it.
Now you can read the whole fee landscape in one glance.
Read the chart
A few things usually stand out:
- The gap with mainnet. L2 fees typically sit a large multiple below Ethereum's. That gap is the core value proposition, and the chart shows how stable it is.
- Differences between L2s. Each network has its own traffic, its own fee settings and its own approach to posting data. Expect consistent differences between them rather than identical lines.
- Synchronised spikes. When all L2s spike at the same time, look at Ethereum: the data component of fees is likely the cause. When only one L2 spikes, it is usually that network's own congestion — a popular mint, an airdrop claim, a bot war.
- Time-of-day patterns. Activity, and therefore fees, follows the global trading day. Zoom into a week and you will often see a daily rhythm.
Investigate a spike
Pick the largest spike on any L2 and find out what caused it. Open the live tables for that chain, jump to the time of the spike, and sort transactions by fee. A spike caused by a single popular contract shows up immediately: hundreds of transactions to the same address, all paying elevated fees.
This is the habit that turns a fee chart into understanding. Every spike has a story, and the story is usually one table sort away.
Common pitfalls
Comparing averages instead of medians. A handful of transactions paying enormous fees — usually bots racing for an opportunity — can drag an average far above what normal users pay. Medians describe the typical experience much better.
Ignoring what transactions do. A chain where most activity is simple transfers will show lower fees per transaction than one dominated by complex DeFi interactions, even if gas is priced identically. When the comparison matters, compare the same kind of transaction.
Forgetting the bridge. Getting assets onto an L2 has its own cost, paid on the way in and again on the way out. For occasional users, the bridge can cost more than months of L2 transactions; for frequent users, it is quickly amortised.
Assuming today's ranking is permanent. L2s upgrade their fee mechanisms, change how they post data and compete for users. The cheapest network this quarter may not be the cheapest next quarter, which is exactly why a dashboard beats a bookmark.
Use what you learned
Two practical takeaways:
- Timing matters even on L2s. If you make large numbers of small transactions, the cheapest hours can make a real difference.
- Check before you bridge. Choosing an L2 for an activity is partly about fees. Your comparison view answers "where is this cheapest right now?" in seconds.
You now understand what L2 fees are made of, how to compare them fairly, and how to trace a spike to its cause. Keep the dashboard — fee landscapes change as networks upgrade, and a single view is the fastest way to notice.