> For the complete documentation index, see [llms.txt](https://docs.lumia.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lumia.org/reference/gas-and-fees.md).

# Gas and fees

**Who this is for:** developers estimating transaction cost. This is the canonical fee table: for the node-operator view of fee collection see [`/run-a-node/zknode/gas-fees`](https://app.gitbook.com/s/chmhPiVNAafGw48c4oU2/run-a-node/zknode/gas-fees-node-operator-view), which transcludes this page.

### Fee calculation

| Field    | Value                                                                                                                                                             |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Formula  | `L2{gas_fee} = L1{gas_fee} * Factor` (from docs.lumia.org)                                                                                                        |
| Behavior | docs.lumia.org states L2 gas prices "linearly follow" L1 prices, and that transaction cost can be reduced by timing transactions during lower L1 network activity |

### Source / last verified

checked at `docs.lumia.org/build/zknode/gas-fees`.
