Crypto

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

Bitcoin L2 fees are calculated as a route total, not as one gas number. The full cost can include a Bitcoin miner fee, bridge or minting charge, destination gas, application fee, swap fee, price impact and withdrawal cost.

The amount shown in a wallet is therefore not enough to judge the route. A deposit can be cheap while the exit is expensive, or a low-gas network can lose more value through bridge spread and thin liquidity than through execution fees. This guide separates each charge and shows where it appears in a real BTC-to-L2 workflow.

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

Which charges belong in the total?

The total Bitcoin L2 cost is the sum of every required payment and every execution loss between the source BTC and the final asset. The formula is:

Total route cost = Bitcoin fees + bridge or minting fees + L2 gas + application fees + swap fees + price impact + withdrawal or conversion fees

Some components are explicit. A wallet may show a network fee or a bridge fee before signing. Others are embedded in the result: a pool returns fewer tokens because of price impact, or a bridge delivers less BTC because the withdrawal charge is deducted from the payout.

The right comparison is the amount that arrives at the intended destination and the amount that can be recovered on exit. Coincu’s Bitcoin L2 project comparison covers network positioning; this article focuses only on how the route cost is formed.

Each charge belongs in the total when it changes the amount paid, received or recovered. The same transaction can carry costs in BTC, the L2 gas token, a stablecoin or an application token, so the asset and network must be recorded beside the fee.

The Bitcoin DeFi ecosystem map is useful for identifying where lending, liquidity and asset representation enter the route. A fee review should not combine those categories into one “L2 fee” because each has a different payer and failure boundary.

Bitcoin deposit fees are paid before the L2 transaction

Stacks sBTC deposit fee and confirmation route

Stacks sBTC bridge surface showing the Bitcoin deposit and signer-processing stages discussed in this section. Source: Stacks public bridge.

The first cost is usually the Bitcoin transaction that funds the route. It is paid to Bitcoin miners and depends on the transaction’s virtual size and the selected fee rate. A deposit with several inputs can cost more than a simple transfer even when the BTC amount is the same.

The calculation is Bitcoin fee = transaction size in vBytes x fee rate in sat/vByte. The wallet usually estimates the transaction size from the inputs, outputs and script type, while the fee rate reflects the current demand for block space. The result is a BTC-denominated fee paid to miners, not a bridge charge.

The route may also require a second Bitcoin transaction after the deposit. Signer-led systems can consolidate deposits, while a bridge may batch withdrawals or create a separate payout transaction. The user may not sign that second transaction directly, but its cost can still be deducted from the minted or withdrawn amount.

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

Stacks makes this distinction visible in its sBTC bridge. The public bridge surface shows a Bitcoin deposit, confirmation stage, signer sweep and sBTC minting, with an estimated signer fee displayed separately from the initial Bitcoin transaction. On August 28, 2026, the interface displayed an estimated signer fee of approximately 360 sats; this is an interface estimate, not a settled sweep fee. The sBTC bridge is therefore a useful example of why a deposit quote and the final minted amount are not identical fields.

For a Bitcoin deposit, record the fee paid on the source transaction, the amount received by the bridge address, the amount credited on the destination chain and any signer or consolidation deduction. A quote that shows only the wallet’s miner fee leaves the bridge’s settlement cost unaccounted for.

L2 gas depends on the action and the gas asset

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

L2 gas is calculated as gas used x gas price, and the observed transactions show the actual difference between networks. Rootstock charged 0.000001258447168 RBTC for 48,280 gas at 0.0260656 Gwei. Citrea charged 0.00000010184135868 cBTC in total for 37,989 gas at 1,200,120 wei. BOB charged 0.000015404645308824 ETH for 59,174 gas in an initiateWithdrawal transaction.

Rootstock’s public network surface uses RBTC for EVM execution. The fee calculation for the observed transaction is 48,280 x 0.0260656 Gwei = 1,258,447,168,000 wei = 0.000001258447168 RBTC, matching the explorer total. This is the cost of that bridge system transaction, not the BTC deposit or final BTC withdrawal fee.

Citrea’s public network adds another fee layer beside EVM gas. The observed execution component is 37,989 x 1,200,120 wei = 45,591,358,680 wei, while the explorer total is 101,841,358,680 wei. The 56,250,000,000-wei difference shows why Citrea’s destination transaction fee cannot be represented by gas multiplication alone.

BOB’s public platform exposes a gateway and cross-chain Bitcoin DeFi route. The observed withdrawal transaction confirms the total fee and gas used, but the explorer does not attribute the gap between execution gas and total fee to a specific bridge, data-availability or solver component. That attribution must remain unverified.

The gas token must be funded separately from the asset being moved. A wallet can hold BTC and still lack RBTC, cBTC or ETH for the destination transaction. The gas snapshot is therefore one line in the route ledger, not the total BTC-to-BTC cost.

Bridge and minting fees are separate from gas

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

A bridge fee pays for the route that recognizes, locks, mints, burns or releases an asset. It is not automatically the same as the transaction fee paid to the Bitcoin or L2 network. Some routes charge a published percentage, some deduct an amount from the payout, and some expose only the estimated network cost while the operator or liquidity provider earns through the conversion rate.

Citrea, Rootstock and Stacks also have different settlement boundaries. A Citrea route may validate a Bitcoin deposit and mint a destination representation before a later withdrawal process pays BTC on Bitcoin. Rootstock’s PowPeg route connects BTC and RBTC through its own bridge assumptions. Stacks sBTC uses a signer-controlled process for deposits and withdrawals. Treating all three as a generic “bridge fee” hides who pays for the Bitcoin-side settlement and who controls the payout.

Bridge quotes should be checked for five fields: input asset, output asset, explicit bridge charge, source-network fee and destination-network fee. If one field is missing, the quote is incomplete. Coincu’s sBTC Bitcoin DeFi coverage provides related context on the asset route behind a bridge. A fee review still needs to separate that asset movement from the network and application charges.

Swaps add pool fees, approvals, and price impact

  • Pool fee: Swapping a BTC representation into a stablecoin or another token adds the venue’s configured pool fee, destination-network gas and price impact. Price impact increases when the order is large or available liquidity is thin.
  • Approval and routing: An approval may require a separate transaction before the swap. A router or aggregator can split the order across venues, improving execution while adding route complexity and sometimes a service fee. Compare the quoted output with the realized output, not only the nominal pool fee.
  • BTCFi conversion cost: The application action may be cheap while the conversion around it is expensive. A lending deposit can use little gas, but converting BTC into collateral or selling that representation during withdrawal can reduce the amount received. Coincu’s Bitcoin DeFi lending guide covers the collateral and liquidation boundary.
  • Lightning operating cost: Lightning follows the same accounting principle outside a smart-contract L2. A payment may avoid a base-layer transaction, but channel funding, rebalancing, provider conversion and eventual on-chain settlement still contribute to the total cost. Coincu’s institutional Bitcoin account coverage adds context on separating custody and settlement responsibilities from the visible transaction charge.

Withdrawal costs determine the recoverable amount

Withdrawal is where a low-entry-fee route can become expensive. The user may pay an L2 claim transaction, a bridge or signer charge, a Bitcoin payout fee, a conversion spread and an exchange withdrawal fee before receiving spendable BTC.

Stacks’ public sBTC route shows why the status matters. A withdrawal can be recorded on Stacks before signers complete the Bitcoin-side payout. The final amount is not confirmed until the Bitcoin transaction is broadcast and the recipient address receives the intended asset. The same logic applies to an exchange exit: a token deposit being credited does not prove that native BTC can be withdrawn without a separate fee and review.

How Are Bitcoin L2 Fees Calculated? Bridge, Gas, Swap, and Withdrawal Costs

The Rootstock ledger must remain stage-specific. The observed bridge system transaction above proves one RBTC execution cost, but it does not include the source Bitcoin peg-in fee, any RBTC acquisition or application action, the PowPeg release processing, or the final Bitcoin miner fee. A complete Rootstock route total is publishable only after those deposit and withdrawal transactions are matched to the same route and capture date.

Liquid adds a venue and issuer boundary when the asset is issued or restricted. The Liquid Network is designed for federated settlement and issued assets, but a user converting an asset back to BTC may still pay a venue spread or broker charge that is not a Liquid network fee.

The exit ledger should separate bridge fee, Bitcoin network fee, L2 gas, liquidity spread and exchange withdrawal fee. If the final payout is lower than expected, this separation identifies whether the loss came from protocol terms, market execution or the final service provider.

What the available fee evidence actually shows

The cost stack is shared, but the evidence quality differs by route. This table separates a settled public transaction from an interface estimate and from a missing transaction-level snapshot.

Citrea is most sensitive to the difference between Bitcoin settlement and destination execution. Rootstock makes the gas-token requirement important for EVM users. Stacks exposes signer processing and Bitcoin payout as separate stages. BOB requires the widest route inspection when a gateway connects several chains or liquidity venues. These snapshots establish individual destination transactions, not complete BTC deposit-to-withdrawal totals.

A fee record that survives changing prices

Record the route in sequence: source transaction, bridge request, destination transaction, application action, swap result, withdrawal request and final payout. For every stage, save the asset, network, transaction ID, explicit fee, amount before and amount after.

Use observed values for published snapshots and label them with the capture date. Do not turn an estimated gas quote into a permanent fee claim. Bitcoin fee rates, pool depth, bridge queues and exchange policies can change before the article is refreshed.

The BTCFi yield guide provides a related reminder: a displayed return is not the realized outcome until the asset, fees and exit are verified. Fee analysis follows the same rule. The amount that arrives and returns is more useful than a headline gas number.

Conclusion

Bitcoin L2 fees are calculated by adding the complete route cost: Bitcoin network fees, bridge or minting charges, destination gas, application fees, swap costs, price impact and withdrawal expenses. Citrea, Rootstock, Stacks and BOB place those costs at different stages, so no single gas figure can represent the user’s actual spend.

The reliable method is to record every asset and transaction from deposit to final payout. Separate protocol fees from market spread and exchange charges, then compare the amount received and recovered. That produces a fee result that remains useful even when network conditions change.

FAQs

Are Bitcoin L2 fees only the gas paid on the destination chain?

No. Destination gas is only one component. The route may also include Bitcoin miner fees, bridge charges, swap fees, price impact and withdrawal costs.

Why can a Bitcoin L2 deposit be cheap but the withdrawal be expensive?

Deposit and withdrawal use different transactions and settlement resources. The exit may require a Bitcoin payout, signer processing, liquidity or an exchange conversion that was not part of the initial deposit quote.

Which gas token is needed for a Bitcoin L2 transaction?

It depends on the network and application. Rootstock commonly uses RBTC for EVM execution, while other networks use their own execution token or abstract some gas through the application. Confirm the required token before signing.

Does a low bridge fee mean the route is cheaper?

Not necessarily. A low bridge charge can be offset by Bitcoin fees, destination gas, price impact, liquidity spread or an expensive withdrawal. The complete route must be measured.

Tickers and topics