{
  "$schema": "https://degreesofsatoshi.com/encyclopedia/schemas/article-v1.json",
  "schemaVersion": "1.0.0",
  "id": "ethereum-gas-fees",
  "canonical": "https://degreesofsatoshi.com/encyclopedia/ethereum-gas-fees/",
  "collection": "ethereum",
  "title": "Ethereum gas fees: units, prices and the amount actually paid",
  "description": "Calculate an illustrative Ethereum fee, distinguish gas used from the gas limit, and understand base fees, tips and charges for failed execution.",
  "aliases": [
    "gas limit",
    "gas price",
    "gwei fee",
    "Ethereum transaction cost"
  ],
  "dates": {
    "published": "2026-10-02",
    "modified": "2026-10-02",
    "verified": "2026-10-02T18:16:35.976Z",
    "dataAsOf": null
  },
  "authorship": {
    "publisher": "Degrees of Satoshi editorial project",
    "process": "AI-assisted research and drafting with a separate automated source-verification pass; no external expert or named human review is implied."
  },
  "quickAnswer": {
    "text": "Gas measures Ethereum execution work. An ordinary execution fee is gas used multiplied by the effective gas price, paid in ETH. Under EIP-1559 that price combines the block’s base fee and an allowed priority fee within the sender’s cap. A gas limit is a resource ceiling, not the amount necessarily charged.",
    "claimId": "ethereum-gas-fees-quick-answer",
    "sourceIds": [
      "gas",
      "eip1559"
    ]
  },
  "keyFacts": [
    {
      "label": "Execution fee",
      "value": "Gas used × effective gas price",
      "sourceIds": [
        "gas"
      ],
      "id": "execution-fee",
      "claimId": "ethereum-gas-fees-fact-execution-fee"
    },
    {
      "label": "Base fee",
      "value": "Removed from circulation",
      "sourceIds": [
        "eip1559"
      ],
      "id": "base-fee",
      "claimId": "ethereum-gas-fees-fact-base-fee"
    },
    {
      "label": "Maximum fee",
      "value": "A price cap per gas, not an automatic tip",
      "sourceIds": [
        "eip1559"
      ],
      "id": "maximum-fee",
      "claimId": "ethereum-gas-fees-fact-maximum-fee"
    }
  ],
  "prerequisites": [
    "ether-and-ethereum",
    "ethereum-transactions-and-nonces"
  ],
  "sections": [
    {
      "id": "work-and-price",
      "heading": "Keep gas units, gas price and transferred value separate",
      "sourceIds": [
        "edition-eth-gas",
        "edition-eth-jsonrpc",
        "edition-eip1559",
        "edition-erc20",
        "edition-eip4844",
        "edition-optimism-fees"
      ],
      "paragraphs": [
        "A transaction consuming 50,000 gas at an effective price of 12 gwei per gas pays 600,000 gwei, or 0.0006 ETH, for execution gas. The gas limit is its allowed work budget; gas used is the work actually charged under the rules.",
        "The transaction’s transferred ETH value is another field. A zero-value contract call can still consume gas or move ERC-20 tokens. For a completed transaction, use its receipt and identify any additional blob or rollup fee components before calling the figure the total cost."
      ]
    },
    {
      "id": "fee-example",
      "heading": "Example: compute the burn and tip separately",
      "sourceIds": [
        "gas",
        "eip1559"
      ],
      "paragraphs": [
        "Take an illustrative 21,000-gas transfer with a 5-gwei base fee, a 1-gwei priority fee and a sufficient maximum-fee cap. The execution fee is 126,000 gwei, or 0.000126 ETH.",
        "Of that, 105,000 gwei is the base-fee component and 21,000 gwei is the priority component. The first is burned. These fixed example inputs teach the arithmetic; they are not a current fee estimate."
      ]
    },
    {
      "id": "caps-and-failure",
      "heading": "A limit protects the budget but can also stop execution",
      "sourceIds": [
        "gas",
        "eip1559"
      ],
      "paragraphs": [
        "The gas limit bounds consumption. Setting it above actual use does not by itself charge the whole ceiling. Setting it too low can cause out-of-gas failure; unlike simply waiting in the mempool, included failed execution can incur a fee.",
        "The maximum fee per gas also limits how much of the offered priority fee fits above the base fee. Effective price is determined by those caps and the block conditions, rather than automatically equaling the largest number a wallet displays."
      ]
    },
    {
      "id": "other-fee-components",
      "heading": "An execution estimate is not every possible application cost",
      "sourceIds": [
        "eip4844",
        "scaling",
        "erc4337"
      ],
      "paragraphs": [
        "Rollups can charge for execution and for publishing data to Ethereum. Blob transactions have a distinct blob-fee mechanism. A swap or bridge may add application or service charges. Label the component being estimated.",
        "A sponsor can hide the network charge from a user or bill in another asset, but somebody still settles it. Comparing two quoted totals is meaningful only when they cover the same action, network and fee components."
      ]
    }
  ],
  "faq": [
    {
      "question": "Does transferring more ETH always use more gas?",
      "answer": "No. Resource use depends on the operation and its state, not simply the monetary amount sent. A contract call can be more complex than an ordinary transfer.",
      "sourceIds": [
        "gas",
        "evm"
      ]
    },
    {
      "question": "Is the maximum fee always what I pay?",
      "answer": "No. The included transaction uses an effective gas price constrained by the cap and actual gas consumption. The full quoted maximum is not automatically charged.",
      "sourceIds": [
        "eip1559"
      ]
    },
    {
      "question": "Why did a reverted transaction cost money?",
      "answer": "The network executed work before reaching the failure. Reverting the requested state changes does not make that consumed work free.",
      "sourceIds": [
        "gas"
      ]
    }
  ],
  "claims": [
    {
      "id": "ethereum-gas-fees-quick-answer",
      "articleSlug": "ethereum-gas-fees",
      "statement": "Gas measures Ethereum execution work. An ordinary execution fee is gas used multiplied by the effective gas price, paid in ETH. Under EIP-1559 that price combines the block’s base fee and an allowed priority fee within the sender’s cap. A gas limit is a resource ceiling, not the amount necessarily charged.",
      "sourceIds": [
        "source-a8f47d83f0f10a68",
        "source-52c8282149224113"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-a8f47d83f0f10a68",
          "locator": "How are gas fees calculated; base fee; gas limit"
        },
        {
          "sourceId": "source-52c8282149224113",
          "locator": "Abstract; specification; reference implementation"
        }
      ],
      "scope": {
        "collection": "ethereum",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T18:16:35.976Z",
        "reviewer": "Codex independent automated reviewer /root/verify_ethereum_100",
        "notes": [
          "Independently recomputed 50000 × 12 × 10^9 = 600000000000000 wei = 0.0006 ETH; gas limit, actual charge and value field remain distinct.",
          "Added ERC-20, EIP-4844 and Optimism fee sources because the changed section explicitly covers token movement and additional blob/rollup components; execution multiplication is not mislabeled as every fee."
        ]
      }
    },
    {
      "id": "ethereum-gas-fees-fact-execution-fee",
      "articleSlug": "ethereum-gas-fees",
      "statement": "Execution fee: Gas used × effective gas price",
      "sourceIds": [
        "source-a8f47d83f0f10a68"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-a8f47d83f0f10a68",
          "locator": "How are gas fees calculated; base fee; gas limit"
        }
      ],
      "scope": {
        "collection": "ethereum",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T18:16:35.976Z",
        "reviewer": "Codex independent automated reviewer /root/verify_ethereum_100",
        "notes": [
          "Independently recomputed 50000 × 12 × 10^9 = 600000000000000 wei = 0.0006 ETH; gas limit, actual charge and value field remain distinct.",
          "Added ERC-20, EIP-4844 and Optimism fee sources because the changed section explicitly covers token movement and additional blob/rollup components; execution multiplication is not mislabeled as every fee."
        ]
      }
    },
    {
      "id": "ethereum-gas-fees-fact-base-fee",
      "articleSlug": "ethereum-gas-fees",
      "statement": "Base fee: Removed from circulation",
      "sourceIds": [
        "source-52c8282149224113"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-52c8282149224113",
          "locator": "Abstract; specification; reference implementation"
        }
      ],
      "scope": {
        "collection": "ethereum",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T18:16:35.976Z",
        "reviewer": "Codex independent automated reviewer /root/verify_ethereum_100",
        "notes": [
          "Independently recomputed 50000 × 12 × 10^9 = 600000000000000 wei = 0.0006 ETH; gas limit, actual charge and value field remain distinct.",
          "Added ERC-20, EIP-4844 and Optimism fee sources because the changed section explicitly covers token movement and additional blob/rollup components; execution multiplication is not mislabeled as every fee."
        ]
      }
    },
    {
      "id": "ethereum-gas-fees-fact-maximum-fee",
      "articleSlug": "ethereum-gas-fees",
      "statement": "Maximum fee: A price cap per gas, not an automatic tip",
      "sourceIds": [
        "source-52c8282149224113"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-52c8282149224113",
          "locator": "Abstract; specification; reference implementation"
        }
      ],
      "scope": {
        "collection": "ethereum",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T18:16:35.976Z",
        "reviewer": "Codex independent automated reviewer /root/verify_ethereum_100",
        "notes": [
          "Independently recomputed 50000 × 12 × 10^9 = 600000000000000 wei = 0.0006 ETH; gas limit, actual charge and value field remain distinct.",
          "Added ERC-20, EIP-4844 and Optimism fee sources because the changed section explicitly covers token movement and additional blob/rollup components; execution multiplication is not mislabeled as every fee."
        ]
      }
    }
  ],
  "sources": [
    {
      "id": "gas",
      "label": "Gas and fees",
      "publisher": "ethereum.org contributors",
      "url": "https://raw.githubusercontent.com/ethereum/ethereum-org-website/dcc900ff125891da5b6c723b905a7113cf1bd864/public/content/developers/docs/gas/index.md",
      "canonicalUrl": "https://ethereum.org/en/developers/docs/gas/",
      "version": "dcc900ff125891da5b6c723b905a7113cf1bd864",
      "checkedAt": "2026-10-02T14:35:40.393022+00:00",
      "locator": "How are gas fees calculated; base fee; gas limit",
      "sha256": "5af7b13e15072d45f38e6fd48e414324c7229b6110d6f8f7fc14100e5153509d",
      "note": "Supports gas units, ETH/gwei units, base/priority fees, resource limits and charges for executed failed transactions.",
      "recordId": "source-a8f47d83f0f10a68",
      "contentSha256": "5af7b13e15072d45f38e6fd48e414324c7229b6110d6f8f7fc14100e5153509d"
    },
    {
      "id": "eip1559",
      "label": "EIP-1559: Fee market change",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://raw.githubusercontent.com/ethereum/EIPs/ac912ca6a9685590345dd8e5736cda75976d0131/EIPS/eip-1559.md",
      "canonicalUrl": "https://eips.ethereum.org/EIPS/eip-1559",
      "version": "ac912ca6a9685590345dd8e5736cda75976d0131",
      "checkedAt": "2026-10-02T14:35:51.249311+00:00",
      "locator": "Abstract; specification; reference implementation",
      "sha256": "4460ad966a22d8501e12d75165c2c784c61748d8128229f115ebac1bfccac59f",
      "note": "Defines the base-fee burn, tip, maximum fee and effective gas price calculation.",
      "recordId": "source-52c8282149224113",
      "contentSha256": "4460ad966a22d8501e12d75165c2c784c61748d8128229f115ebac1bfccac59f"
    },
    {
      "id": "evm",
      "label": "Ethereum Virtual Machine",
      "publisher": "ethereum.org contributors",
      "url": "https://raw.githubusercontent.com/ethereum/ethereum-org-website/dcc900ff125891da5b6c723b905a7113cf1bd864/public/content/developers/docs/evm/index.md",
      "canonicalUrl": "https://ethereum.org/en/developers/docs/evm/",
      "version": "dcc900ff125891da5b6c723b905a7113cf1bd864",
      "checkedAt": "2026-10-02T14:35:40.399163+00:00",
      "locator": "State transition function; EVM instructions; storage",
      "sha256": "2a938eb38a613c0cd2e27229691f7bc3741585ab495a89e9db67fdd575f8b052",
      "note": "Supports deterministic execution, opcodes and the distinction between temporary execution memory and persistent state.",
      "recordId": "source-f31f86bc84bd28d7",
      "contentSha256": "2a938eb38a613c0cd2e27229691f7bc3741585ab495a89e9db67fdd575f8b052"
    },
    {
      "id": "eip4844",
      "label": "EIP-4844: Shard Blob Transactions",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://raw.githubusercontent.com/ethereum/EIPs/ac912ca6a9685590345dd8e5736cda75976d0131/EIPS/eip-4844.md",
      "canonicalUrl": "https://eips.ethereum.org/EIPS/eip-4844",
      "version": "ac912ca6a9685590345dd8e5736cda75976d0131",
      "checkedAt": "2026-10-02T14:35:51.590523+00:00",
      "locator": "Abstract; gas accounting; consensus-layer validation; rationale",
      "sha256": "2772bdb675d90d89ebb4bf74269e48c8ea46745e78161c8574ffa78328b31885",
      "note": "Defines blob commitments, separately priced blob gas and time-limited data serving; original capacity constants are not treated as current limits.",
      "recordId": "source-62554f5963866df3",
      "contentSha256": "2772bdb675d90d89ebb4bf74269e48c8ea46745e78161c8574ffa78328b31885"
    },
    {
      "id": "scaling",
      "label": "Scaling overview",
      "publisher": "ethereum.org contributors",
      "url": "https://raw.githubusercontent.com/ethereum/ethereum-org-website/dcc900ff125891da5b6c723b905a7113cf1bd864/public/content/developers/docs/scaling/index.md",
      "canonicalUrl": "https://ethereum.org/en/developers/docs/scaling/",
      "version": "dcc900ff125891da5b6c723b905a7113cf1bd864",
      "checkedAt": "2026-10-02T14:35:47.354550+00:00",
      "locator": "Layer 2 scaling; rollups; sidechains; validium",
      "sha256": "184af71e45f53390c4f782d936954caf42715feb82048072d79eb05495569a21",
      "note": "Supports rollup execution/settlement roles and distinct security assumptions of sidechains and offchain data systems.",
      "recordId": "source-27bb64638570155e",
      "contentSha256": "184af71e45f53390c4f782d936954caf42715feb82048072d79eb05495569a21"
    },
    {
      "id": "erc4337",
      "label": "ERC-4337: Account Abstraction Using Alt Mempool",
      "publisher": "Ethereum Request for Comments",
      "url": "https://raw.githubusercontent.com/ethereum/ERCs/583335b7912e51b1ea515bb662532dd29b27e786/ERCS/erc-4337.md",
      "canonicalUrl": "https://eips.ethereum.org/EIPS/eip-4337",
      "version": "583335b7912e51b1ea515bb662532dd29b27e786",
      "checkedAt": "2026-10-02T14:35:55.049363+00:00",
      "locator": "Abstract; definitions; UserOperation; EntryPoint; paymasters",
      "sha256": "baaa07330dcb67838234774ee8cf8022b5e16e68ddbfa4958913505dc7d44562",
      "note": "Defines user operations, bundlers, programmable validation and sponsored gas settlement.",
      "recordId": "source-a40a3054f2d60b07",
      "contentSha256": "baaa07330dcb67838234774ee8cf8022b5e16e68ddbfa4958913505dc7d44562"
    },
    {
      "id": "edition-eth-gas",
      "label": "Gas and fees",
      "publisher": "ethereum.org contributors",
      "url": "https://ethereum.org/en/developers/docs/gas/",
      "locator": "What is gas?; Base fee; Priority fee",
      "note": "Execution resource units, fee components and gas expenditure.",
      "version": null,
      "checkedAt": "2026-10-02T17:03:41.688Z",
      "contentSha256": "566e61b7dce594a477ef28bab1f5a23279feb4f782e2838623fc7491c9daec66",
      "recordId": "source-5cadd0da692ffaa8"
    },
    {
      "id": "edition-eth-jsonrpc",
      "label": "Ethereum JSON-RPC",
      "publisher": "ethereum.org contributors",
      "url": "https://ethereum.org/en/developers/docs/apis/json-rpc/",
      "locator": "eth_getTransactionByHash; eth_getTransactionReceipt; eth_call; eth_getLogs; eth_getCode; eth_estimateGas; eth_getBalance; eth_getStorageAt; eth_getTransactionCount; default block parameter",
      "note": "RPC response fields, transaction receipts, call simulation and log filtering.",
      "version": null,
      "checkedAt": "2026-10-02T17:03:42.060Z",
      "contentSha256": "ed13997ec4f415dff80883add0730d4e64bcc8c17b95dd4f6c27aed0241a4073",
      "recordId": "source-a5154b4118a3d15f"
    },
    {
      "id": "edition-eip1559",
      "label": "Fee market change for ETH 1.0 chain",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://eips.ethereum.org/EIPS/eip-1559",
      "locator": "Specification",
      "note": "Base fees, fee caps, priority fees and effective transaction gas price.",
      "version": "EIP/ERC-1559; retrieved document hash recorded",
      "checkedAt": "2026-10-02T17:03:42.151Z",
      "contentSha256": "453b293845f8faac282a468be0c01594f0a785dde3af34947ee676c085e011b7",
      "recordId": "source-2be2a692f09f4d89"
    },
    {
      "id": "edition-erc20",
      "label": "ERC-20 Token Standard",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://eips.ethereum.org/EIPS/eip-20",
      "locator": "totalSupply; balanceOf; transfer; decimals; approve; allowance; transferFrom; Transfer",
      "note": "Token supply, displayed units and balance accounting.",
      "version": "ERC-20",
      "checkedAt": "2026-10-02T17:03:45.826Z",
      "contentSha256": "98bda5e4707841a68684879878c4c165fdaa47d89ed69ebf232ab9be06ff050e",
      "recordId": "source-ac4ad503a55127bb"
    },
    {
      "id": "edition-eip4844",
      "label": "Shard Blob Transactions",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://eips.ethereum.org/EIPS/eip-4844",
      "locator": "Gas accounting; Opcode to get versioned hashes; Point evaluation precompile; Consensus layer validation",
      "note": "Blob commitments, separate blob-gas fee calculations and temporary data availability.",
      "version": "EIP/ERC-4844; retrieved document hash recorded",
      "checkedAt": "2026-10-02T17:03:42.506Z",
      "contentSha256": "d1c1eb7c505919bb326f493d163b9200b72ed0de2416deae37db6d75cc07baa5",
      "recordId": "source-f8f55ea8fe5a54a7"
    },
    {
      "id": "edition-optimism-fees",
      "label": "OP Stack transaction fees",
      "publisher": "Optimism",
      "url": "https://docs.optimism.io/stack/transactions/fees",
      "locator": "Gas fee components; Execution gas fee; L1 data fee; Operator fee",
      "note": "Rollup execution, data-publication and operator fee components depend on active network upgrades.",
      "version": null,
      "checkedAt": "2026-10-02T17:55:17.901Z",
      "contentSha256": "99d0390b07f64df31a092d5daedf00c7aecc718e5e5601e5b70f9935fa1dc043",
      "recordId": "source-06697b48df70893b"
    }
  ],
  "related": {
    "articles": [
      "ethereum-fee-burning",
      "ethereum-blobs-data-availability",
      "ethereum-layer-2"
    ],
    "dossiers": [],
    "wallets": []
  },
  "revisionHistory": [
    {
      "date": "2026-10-02",
      "kind": "published",
      "summary": "First publication after primary-source research and independent automated verification."
    },
    {
      "date": "2026-10-02",
      "kind": "substantive-edit",
      "summary": "Expanded explanation: Keep gas units, gas price and transferred value separate. Worked examples are illustrative; source checks and independent verification are recorded separately."
    }
  ],
  "citation": "Degrees of Satoshi editorial project. “Ethereum gas fees: units, prices and the amount actually paid.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/ethereum-gas-fees/"
}
