Optimism Gas Fee
OP Mainnet · L2Live Optimism gas
0.001000 Gwei
~21k gas transfer
$0.00004631
= $0.00004262 L2 + $0.00000370 L1
ETH ≈ $2,028.75
Full estimateOptimistic rollup. EVM-equivalent. Frequently the cheapest of the OP-stack chains.
Includes the L1 data/security fee (queried live from the GasPriceOracle predeploy). L1 fee dominates the tiny L2 execution cost on OP Stack chains.
Optimism at a glance
- Block time
- ~2s sequencer · ~10 min L1 finality
- Withdrawal to L1
- ~7 days native · minutes via third-party bridges
- Chain ID
- 10
- Gas model
- ETH · L1 calldata fee added on top via OP Stack oracle
History
Execution gas cost over time
21,000-gas transfer in USD, sampled every 90 s from the optimism RPC. Execution gas only — OP-stack chains add an L1 calldata fee on top in real wallet quotes.
How Optimism gas pricing actually works
OP Mainnet is the canonical OP Stack rollup — the reference implementation that Base, Worldcoin, Mode, Zora, and dozens of other “Superchain” rollups derive from. Same fee mechanics on every OP Stack chain; what differs between them is governance, block size limits, and the chain-specific L1 fee scalar (the multiplier each chain sets on top of the raw L1 posting cost).
Each transaction pays in two parts:
- L2 execution fee. Standard EVM gas × the L2 base fee, paid in ETH to the sequencer. The L2 base fee floats based on local congestion — usually 0.001-0.01 gwei, far below mainnet's floor. Routinely a rounding error.
- L1 data fee. Computed by the GasPriceOracle predeploy at
0x420…00F:calldata_bytes × L1_base_fee × scalar. On Optimism, the scalar is set by governance and is historically slightly higher than Base's — which is why a given transaction tends to cost a few cents more on OP than on Base.
Two things changed how this works over the past two years. First, fault proofs went live on OP Mainnet in mid-2024, completing the “stage 1” rollup definition (real decentralized challenges, not just admin upgrades). Second, EIP-4844 / Dencun moved L1 data posting from regular calldata to blob calldata — cutting the L1 fee roughly 10x and making OP Mainnet much closer in cost to a true cents-per-transaction L2.
What you actually pay — wallet examples
| Transaction | Optimism | Mainnet | Savings |
|---|---|---|---|
| ETH transfer | ~$0.02-0.05 | $0.50-3 | 20-60x |
| USDC transfer | ~$0.03-0.10 | $1.50-8 | 30-80x |
| Uniswap V3 swap | ~$0.15-0.60 | $5-30 | 20-50x |
| Velodrome swap (OP-native) | ~$0.10-0.30 | n/a | native |
Optimism vs Base — when each one wins
Optimism and Base are mechanically identical (same OP Stack codebase) but differ in three practical ways:
- Cost. Base is usually 20-40% cheaper for the same transaction because of its lower L1 fee scalar. If you're purely fee-optimizing for routine activity, Base wins.
- Ecosystem. Optimism is home to mature OP-native venues: Velodrome (vote-escrow DEX with deeper liquidity than its Base equivalent Aerodrome on some pairs), Synthetix (the original perps protocol), Kwenta, and the largest OP Stack token incentive program. If you're trading on these specific venues, Optimism is the right chain.
- On-ramp. Base wins for Coinbase users (free direct withdrawal). Optimism doesn't have a dominant exchange on-ramp; you bridge from mainnet or come over from another L2.
The Superchain interoperability roadmap (under development as of 2026) plans to remove the friction between OP Stack chains — eventually you'll bridge between Optimism and Base in seconds with no third-party bridge. Until then, treat the two as distinct networks with shared mechanics.
When Optimism gas surprises you
The OP Stack L1 data fee adds friction to two specific patterns worth knowing about:
- Large-calldata transactions. Because the L1 fee scales linearly with calldata size, transactions with big inputs (a Permit2 with many tokens, a multi-hop swap with multiple intermediate steps, a batch action) cost much more in L1 fee than they do in execution gas. A 5-hop Uniswap swap on Optimism can hit $2-3 during peak mainnet hours because the calldata is 4-5x the size of a single-hop swap.
- Failed transactions still pay L1. If your transaction reverts on L2, you're refunded the execution gas — but the L1 data fee is paid regardless because the calldata was already published to Ethereum. On a quiet day this is pennies; during a mainnet spike, a failed OP transaction can cost $1-3 with nothing to show for it.
- Blob saturation. Optimism, Base, and every other rollup compete for blob space. When too many rollups want to post at once, blob gas spikes — sometimes 5-10x its normal floor. Rare today but expected as more L2s come online and during periods of mainnet activity. Watch the blob base fee on eth gas price today if you're doing high-value OP transactions during congested windows.
How to reduce your Optimism gas fees
- Watch L1 base fee. The L1 data portion of every OP transaction tracks mainnet base fee. Send during a calm mainnet window and your Optimism fees drop too.
- Use OP-native DEXs. Velodrome and other native venues are gas-tuned for Optimism — fewer wasted gas units than cross-deployed mainnet apps.
- Batch where possible. Combining approval + swap into one tx halves the L1 data footprint.
- Skip mainnet congestion days. A spike on L1 cascades to every rollup. Wait for the next quiet window.
- Set a mainnet gas alert. Get notified when L1 drops below your threshold — Optimism cheapness follows.
When to use mainnet vs Optimism
Optimism is the right call for most routine DeFi activity — swaps, lending, NFT trades on OP-native marketplaces — where mainnet fees would eat into returns. Stay on mainnet when depositing to a CEX that does not support OP withdrawals, when interacting with mainnet-only contracts, or when the bridge round-trip would exceed your fee savings on a small transaction.
Compare against Arbitrum gas, Base gas, and Polygon gas in our live L2 fees comparison.
Frequently asked questions
What is the Optimism gas fee right now?
The Optimism gas price above is live from the OP Mainnet RPC, denominated in Gwei. A typical transfer costs a fraction of a cent because Optimism settles compressed transaction data to Ethereum in batches.
Why is Optimism cheaper than Ethereum mainnet?
Optimism is an optimistic rollup on the OP Stack. It runs transactions off-chain at L2 speed, then posts compressed proofs to Ethereum. You pay only a small share of the L1 cost because data is batched and compressed.
How is Optimism gas calculated?
Optimism fees have two parts: L2 execution gas (the eth_gasPrice you see) and an L1 data fee for posting calldata to Ethereum. Most wallets show you the combined total before you sign.
Does Optimism use ETH for gas?
Yes, OP Mainnet uses ETH for gas. Bridge ETH from Ethereum mainnet via the official Optimism Bridge or a third-party bridge before transacting.
When does Optimism gas spike?
When Ethereum mainnet base fee rises, so does the L1 data portion of every Optimism transaction. Mainnet congestion is the dominant driver of L2 fee swings.
Is Optimism cheaper than Arbitrum or Base?
Often within the same order of magnitude. The cheapest L2 changes week to week — check our live L2 fees comparison for the current ranking.
How do I bridge to Optimism?
Use the official Optimism Gateway (app.optimism.io/bridge) for ETH and supported tokens. Native withdrawals to mainnet take ~7 days; faster third-party bridges charge a small premium.
Related ETH gas tools and guides
Pick the cheapest L2 in one glance.
See live gas prices for Optimism, Arbitrum, Base, and Polygon side by side — sorted from cheapest to most expensive.