For much of 2021, Ethereum mainnet gas fees turned the network into an expensive playground accessible mainly to those with large positions. A simple token swap could cost $50–150, and complex DeFi interactions ran $200 or more. Layer 2 networks were built specifically to solve this problem, and they have — dramatically. Understanding how Layer 2 transaction costs differ from mainnet, and how to calculate your actual savings, is now essential knowledge for anyone active in the Ethereum ecosystem.
Calculating Your Total L2 Savings
The formula is direct. Total L1 cost equals (L1 gas price in gwei) × (gas limit per transaction) × (number of transactions) × (gwei-to-ETH conversion) × (ETH price). Total L2 cost substitutes the L2 gas price. Total savings equals L1 cost minus L2 cost. For 100 transactions at 20 gwei L1 and 0.05 gwei L2, with 21,000 gas per transaction and ETH at $3,500: L1 cost = 100 × 20 × 21,000 × 0.000000001 × $3,500 = $147. L2 cost = 100 × 0.05 × 21,000 × 0.000000001 × $3,500 = $0.37. Savings = $146.63, a reduction of 99.75%. Even during L2 congestion events where gas prices rise to 0.5 gwei, the L2 cost for 100 transactions is only $3.68 — still 97.5% cheaper than L1.
How Ethereum's EIP-4844 Changed L2 Economics
The Ethereum network's Dencun upgrade in March 2024 introduced EIP-4844, commonly known as "proto-danksharding." This upgrade created a new data type called "blobs" that L2s use to post transaction data to L1 more cheaply than using standard calldata. The economic impact was dramatic: average transaction fees on Arbitrum, Optimism, and Base fell by 80–90% within days of the upgrade. Before Dencun, a Uniswap swap on Optimism cost $0.20–0.50. After, the same swap dropped to $0.01–0.05. The data cost is the dominant component of L2 transaction fees, and reducing it by an order of magnitude moved the entire L2 ecosystem to near-zero fee territory for ordinary users. Future Ethereum roadmap upgrades (full danksharding) are expected to reduce blob costs further as blob capacity expands.
Cross-Chain Activity and L2 Interoperability
As the L2 ecosystem matures, users increasingly hold assets across multiple Layer 2 networks simultaneously. Interoperability protocols like Across, Stargate, and the Superchain's interop specifications allow token transfers between L2s without routing through Ethereum mainnet, eliminating the 7-day withdrawal delay and the L1 bridge cost. Cross-L2 transfers through Across typically settle in minutes and cost 0.05–0.15% of the transferred amount. This infrastructure is transforming the L2 landscape from isolated chains into a more fluid network where capital moves between Arbitrum, Base, Optimism, and other networks based on where yield and activity are most favorable. For active DeFi participants, understanding cross-L2 costs is becoming as important as understanding L1-to-L2 bridging costs.
How Layer 2 Networks Reduce Fees
Layer 2 networks (L2s) process transactions off the Ethereum mainnet (Layer 1, or L1) and periodically commit compressed summaries of those transactions back to L1. This batching is the source of cost savings: instead of each user paying for full L1 computation and storage, hundreds of transactions share the cost of a single L1 settlement. Two dominant technologies accomplish this in different ways. Optimistic rollups (Arbitrum, Optimism, Base) assume transactions are valid by default and allow a 7-day challenge window for fraud proofs. ZK-rollups (zkSync Era, Polygon zkEVM, Scroll) generate cryptographic validity proofs for each batch, enabling faster settlement without a challenge period. Both approaches deliver fees that are typically 10–400 times lower than Ethereum mainnet.
Bridging Costs and the Full Cost of L2 Migration
Moving from L1 to an L2 requires using a bridge — a smart contract that locks funds on L1 and mints equivalents on L2. Bridging incurs an L1 gas cost, typically $3–15 for simple ETH transfers and $10–30 for ERC-20 tokens. Official bridges (Arbitrum Bridge, Optimism Bridge, Base Bridge) are the most secure option but carry the optimistic rollup challenge period: withdrawing from L2 back to L1 takes 7 days unless you use a third-party liquidity bridge like Hop Protocol or Across, which charge small fees (0.05–0.2%) to provide immediate withdrawals. For users planning to stay on L2 for extended periods, the bridging cost amortizes quickly against the ongoing fee savings. For one-off transactions, it may not be worth the friction.
Practical Steps for Moving to Layer 2
Verify that the specific application you want to use is deployed on your target L2 — most major DeFi protocols are, but some niche tools remain L1-only. Use the official bridge for your chosen network for amounts above a few hundred dollars. Keep a small ETH balance on L1 for any operations that genuinely require mainnet settlement. Monitor gas prices on both layers using etherscan.io/gastracker for L1 and the native explorer of your chosen L2. For frequent traders and DeFi users, the cumulative gas savings from operating predominantly on L2 can be substantial enough to materially improve annualized returns on yield farming and trading strategies alike. Quarterly, calculate the total fees saved versus hypothetical L1 operation — the figure is often large enough to justify the initial bridging effort many times over.
Current Gas Price Comparison: L1 vs L2
At an L1 gas price of 20 gwei with ETH at $3,500, a standard transfer (21,000 gas) costs 21,000 × 20 × 0.000000001 × $3,500 = $1.47. A Uniswap swap uses approximately 150,000 gas, costing around $10.50. On Arbitrum, the same swap typically costs $0.05–0.20. On Optimism and Base, similar amounts. On zkSync Era during low-congestion periods, complex DeFi transactions run under $0.10. For active users making 100 transactions per month, the difference between operating on L1 versus L2 can exceed $1,000 in monthly fees. The savings scale with transaction frequency — a protocol deployer or market maker running thousands of daily transactions saves proportionally more.
Which L2 for Which Use Case
The L2 landscape has matured into several well-established options with distinct strengths. Arbitrum commands the largest DeFi total-value-locked (TVL) among L2s as of 2026 and hosts the deepest liquidity for major protocols like GMX, Uniswap, and Aave. Base, launched by Coinbase in mid-2023, has grown rapidly as the on-ramp for Coinbase users and hosts significant consumer application activity. Optimism and its Superchain architecture are focused on building an ecosystem of interoperable L2s. zkSync Era and Polygon zkEVM offer ZK-based security with strong long-term scalability properties. For traders focused on DeFi, Arbitrum's liquidity depth makes it the default choice. For users new to crypto, Base's Coinbase integration simplifies onboarding considerably and reduces the friction of initial fund transfer.
The Security Trade-Offs of L2 Networks
Lower fees come with a more complex security model. Optimistic rollups rely on the assumption that someone will submit a fraud proof within the challenge window if a batch is invalid. This works in practice but represents a different security guarantee than settling directly on L1. ZK-rollups are cryptographically proven valid, which is theoretically superior, but their code complexity introduces different attack surfaces. Bridge contracts remain a significant risk vector — the Ronin Bridge hack ($625 million, 2022) and Wormhole hack ($320 million, 2022) both exploited bridge vulnerabilities rather than the rollup layer itself. For large amounts, using only audited official bridges and understanding the withdrawal timeline before committing funds is prudent practice.