Gas Estimator
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Gas Estimator gives you a complete picture of transaction costs on any EVM chain. It fetches the current gas price from the RPC provider, displays it in Gwei, and shows low and high price ranges to help you decide when to send. It estimates gas usage for your specific transaction—whether it's a simple ETH transfer or a complex contract interaction with data and value. The tool calculates the total estimated cost in ETH, including a 20% buffer for the gas limit to prevent out-of-gas errors. It also shows a rough USD equivalent for Ethereum Mainnet. This is essential for developers and users who want to know exactly how much a transaction will cost before sending it.
HOW TO USE
Connect your EVM wallet (optional—the tool works read-only). Select the network from the dropdown. Optionally enter the transaction details: the "to" address, any data/calldata (for contract interactions), and the ETH value to send. Click "estimate" to get a full gas report. The tool displays the current gas price in Gwei, low and high price options, estimated gas units, gas limit with a 20% buffer, and the total estimated cost in ETH. The report also includes any transaction details you provided. Use the "clear" button to reset and start a new estimate. No signing or approvals required.
TECHNICAL MECHANISM
The tool uses ethers.js v5.7.2 via the BGWallet provider. It calls provider.getGasPrice() to fetch the current gas price in wei, and provider.getBlockNumber() for context. It builds a transaction object from the user inputs (to, data, value), then calls provider.estimateGas(tx) to estimate the gas required. If the estimate fails (e.g., for an invalid transaction), it falls back to a default of 21,000 gas (the minimum for a simple ETH transfer). It adds a 20% buffer to the estimated gas to create a safe gas limit. The tool calculates the total cost as gasUsed * gasPrice, and converts the result to ETH using ethers.utils.formatEther(). Low and high price suggestions are calculated as 90% and 120% of the current price. For Ethereum Mainnet, a rough USD estimate is shown using a fixed conversion rate of $1,800 per ETH.
WHAT IT CANNOT SEE
This tool cannot predict future gas price movements with certainty—gas prices fluctuate based on network congestion. It cannot estimate gas for transactions that revert or fail—if a transaction would revert on-chain, the estimate may fail or produce inaccurate results. It cannot provide exact gas usage for complex contract interactions without simulation—the estimate is based on the provider's simulation and may vary from actual execution. It cannot account for EIP-1559 priority fees or max priority fees—it uses the legacy gas price model. It cannot estimate gas for non-EVM chains. The tool is limited by the RPC provider's pricing data and availability; if the provider is slow or unreachable, estimates may be delayed or unavailable.
PLEASE NOTE
Works exclusively on EVM-compatible chains: Ethereum Mainnet, Goerli, Sepolia, Polygon, Arbitrum, and Optimism. Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. This is a read-only, free developer tool—use it for transaction planning and cost estimation, but always verify the actual gas price before sending a transaction, as it may change between the estimate and the time of sending.