Gas Fee Calculator
Overview
Calculate Ethereum transaction costs based on gas price and limit. See cost estimates in ETH and USD for transfers, swaps, NFT mints, and smart contract interactions.
Key Facts
| Field | Value |
|---|---|
| Calculator ID | gas-fee |
| Category | Finance |
| Vertical | Finance & Crypto |
| App route | /verticals/finance/gas-fee |
| API endpoint | /api/public/calculate?id=gas-fee |
Inputs
| Input ID | Label | Type | Required | Default | Constraints |
|---|---|---|---|---|---|
| - | - | - | - | - | - |
How to Use
- Select Transaction Type — Select transaction type (ETH transfer, token swap, NFT mint, etc.)
- Enter Gas Price — Enter current gas price in Gwei (check Etherscan) and ETH price in USD
- View Costs — View total cost in ETH and USD, plus speed options and optimization tips
Result Surfaces
| Output | Display Type | Format |
|---|---|---|
| Computed results | result-card | - |
Related Calculators
FAQ
What is gas fee in Ethereum?
Gas fee is the cost to execute a transaction on Ethereum blockchain. It's measured in Gwei (1 Gwei = 0.000000001 ETH). Total fee = gas price × gas limit. During network congestion, gas prices spike from 20 Gwei to 200+ Gwei.
How can I reduce Ethereum gas fees?
Transact during off-peak hours (weekends, late night UTC), use Layer 2 solutions (Arbitrum, Optimism), batch multiple transactions, use EIP-1559 to set max fee, or wait for network congestion to drop. Gas fees are lowest on Sundays.
What is a good gas price to use?
Check current gas prices at ethgasstation.info or etherscan.io/gastracker. Fast: 50-100 Gwei (1-2 min), Standard: 30-50 Gwei (3-5 min), Slow: 20-30 Gwei (10+ min). For non-urgent transactions, set low gas and wait.
Evidence
src/lib/calculators/registry.ts(metadata)src/lib/calculators/page-registry.ts(page/HowTo metadata)src/lib/calculators/finance/gas-fee.ts(calculator config)