What a rebalance actually costs
A rebalance is a payment your node sends to itself around a loop of channels. It moves balance from a channel that holds too much to one that holds too little. Every other node on the loop charges its published fee, so the cost depends on which loop you use. On three real loops, moving 1 000 000 sats would cost 1 017, 2 315 and 4 501 sats at the fees retrieved on November 7, 2026 UTC.
- 01 Channels are not accounts
- 03 Four ways to get inbound liquidity
- — What a base fee and a fee in ppm are
- Compute what a circular rebalance would cost on a loop whose fees you can read
- Say which costs a published fee leaves out
- Judge whether a rebalance can pay for itself from your own fee rate
The fee every forwarding node applies
A rebalance moves balance between your own channels, so a channel that has run dry can forward payments again. It costs whatever the other nodes on the loop charge, so you must read their published fees before you start. This lesson shows how to compute that cost for any loop and prices three real ones. A node that forwards your payment charges the fee in its published policy for the channel the payment leaves by. BOLT 7 says a node should accept a payment that pays at least fee_base_msat + ( amount_to_forward * fee_proportional_millionths / 1000000 ) for the amount it forwards. The base fee is a flat charge in millisatoshis (msat). The proportional fee is in parts per million, written ppm.
Mastering the Lightning Network calls this a circular route: a payment from your node back to your node. It leaves over a channel with a large local balance and returns over a channel with a large remote balance. The shortest such loop that uses two other nodes works like this. Your node pays node B over your full channel. Node B forwards to node C. Node C forwards back to you over your empty channel.
You pay no fee on the first hop, because you are the sender. You pay B’s fee for the channel from B to C, and C’s fee for the channel from C to you. Each node’s fee is computed on the amount that node forwards, so the calculation starts at the last hop. BOLT 7 gives the fee formula and a worked example with one forwarding node. With more nodes, the same formula applies from the last hop backward.
Three loops, with the fees their nodes published
We took public channels between well-connected nodes and found triangles, where three nodes each have a channel with the other two. We read each channel’s published policies from the mempool.space Lightning API on November 7, 2026 UTC.1 For each triangle we picked one node as the rebalancing node and computed the fee of a 1 000 000 sat rebalance. Fees are in whole millisatoshis, rounded down. The loops are illustrations, and no payment was sent.2 The table shows the result.
| Loop (you → first node → second node → you) | First node’s fee | Second node’s fee | Total for 1 000 000 sats |
|---|---|---|---|
| Strike → block-iad-1 → Babylon-4a → Strike | 0 msat + 997 ppm (set Aug. 30) | 0 msat + 20 ppm (set Aug. 30) | 1 017 sats, or 0.10% |
| block-iad-1 → Babylon-4a → ACINQ → block-iad-1 | 50 msat + 814 ppm (set Aug. 29) | 1 000 msat + 1 499 ppm (set Aug. 27) | 2 315 sats, or 0.23% |
| bfx-lnd0 → block-iad-1 → kappa → bfx-lnd0 | 0 msat + 1 497 ppm (set Aug. 30) | 0 msat + 3 000 ppm (set Aug. 29) | 4 501 sats, or 0.45% |
The most expensive loop costs about 4.4 times the cheapest, for the same amount moved. The reason is that each node sets a fee per channel, and a node’s fee toward one neighbor can differ from its fee toward another. ACINQ, for example, published 1 499 ppm on its channel to block-iad-1 and 499 ppm on its channel to Babylon-4a.
The arithmetic for the middle loop
The rebalancing node is block-iad-1. It sends 1 000 000 sats, which is 1 000 000 000 msat, and the same amount must arrive back.
- ACINQ forwards 1 000 000 000 msat to block-iad-1. Its fee is 1 000 + 1 000 000 000 × 1 499 / 1 000 000 = 1 500 000 msat.
- Babylon-4a must forward 1 000 000 000 + 1 500 000 = 1 001 500 000 msat to ACINQ. Its fee is 50 + 1 001 500 000 × 814 / 1 000 000 = 815 271 msat.
- The total fee is 1 500 000 + 815 271 = 2 315 271 msat, which is 2 315 sats and 0.2315% of the amount.
The fee grows almost in a straight line with the amount, because the base fees are small. The slider shows this loop at five amounts.
A model. Each row is the arithmetic above for the loop block-iad-1 → Babylon-4a → ACINQ → block-iad-1, at the fees retrieved on Nov. 7. The smallest channel on the loop holds 16 009 611 sats of capacity, which is above every row, but the table cannot know how much balance any channel holds.
| Amount rebalanced | Fee paid | Fee per amount moved |
|---|---|---|
| 100 000 sats | 232 sats | 2 325 ppm |
| 500 000 sats | 1 158 sats | 2 316 ppm |
| 1 000 000 sats | 2 315 sats | 2 315 ppm |
| 2 000 000 sats | 4 629 sats | 2 315 ppm |
| 5 000 000 sats | 11 572 sats | 2 314 ppm |
Without JavaScript, and in print, this block shows the five rows of the table.
Whether the rebalance pays for itself
A rebalance only helps if the refilled channel then earns more in forwarding fees than the rebalance cost. Suppose your own fee on that channel is 1 000 ppm, a rate chosen for the arithmetic. The middle loop costs 2 315.271 sats, so the channel must forward 2 315.271 / 0.001 = 2 315 271 sats before the fee has paid for itself. That is 2.3 times the amount you moved.
At 250 ppm the same rebalance needs 9 261 084 sats of forwarding, which is 9.3 times the amount moved. The cost of a rebalance is fixed by other nodes’ fees, so a low fee on your own channel makes it harder for any rebalance to pay.
What this computation leaves out
The figures above are what the published fees add up to if the payment succeeds on the first attempt. Five things can make a real rebalance cost more or fail.
- The policies change. Each policy in the table carries the date its node last updated it. A policy set in August may still be in force or may have been replaced since.
- Balance is not in the data. The channel records we read carry capacity, fees and limits, and no balance. A payment can therefore fail on a channel that lacks balance in the direction you need, and be retried on another loop.
- Inbound fees are not included. Some nodes also charge or discount payments that arrive over a channel.3
- Longer loops add fees. If no triangle is available, the loop passes through more nodes, and each one adds its fee.
- Capital is not priced. The arithmetic counts routing fees only. It leaves out what the locked capital could earn elsewhere. The next lesson, what capital costs in bitcoin, gives that baseline.
What has not been measured yet
This block will carry the median clearing price for a rebalance matched through Boltring, which is the price of rebalances that were paid rather than computed.Reason: only 0 of 0 buckets cleared k-anonymity (minimum 5 participants); a median over fewer than 3 is not a measurement.
This block will carry the cost of rebalances read from a payment log on our own node. That log does not exist yet.Reason: the teaching node does not exist yet, so there is no payment log to read.
A computed price and a paid price answer different questions. The computed price tells you what a loop charges on paper. The paid price tells you what rebalances cost after failures and retries. We have only the first, and we do not fill the gap with a figure from another source.
Reproduce it
The six channel records below are the source of the table. The command prints the two policies on the channel between Babylon-4a and ACINQ. Replace the channel number to read the others. Use the long channel number, because the short ID does not work in this address. The service sometimes returns an empty reply or “Channel not found” for a channel that exists, so retry before you conclude that a record is gone.
curl -s https://mempool.space/api/v1/lightning/channels/1058127109725880320 \
| jq -c '[.node_left, .node_right][] | {alias, base_fee_mtokens, fee_rate, is_disabled, updated_at}'
| Channel number | Short channel ID | Policy read from |
|---|---|---|
| 1032367751256342528 | 938933x820x0 | block-iad-1 |
| 980508185950158849 | 891767x2796x1 | Babylon-4a |
| 1058127109725880320 | 962361x1644x0 | Babylon-4a |
| 1060287650024783873 | 964326x886x1 | ACINQ |
| 1059667525531992065 | 963762x1882x1 | block-iad-1 |
| 1011395666597904385 | 919859x2800x1 | kappa |
- 01 A loop has two forwarding nodes. The second charges 1 000 msat plus 1 500 ppm and the first charges 0 msat plus 800 ppm. You rebalance 2 000 000 sats. Which node's fee do you compute first?
The second node's, because it forwards the exact amount that arrives back at you. Its fee is 1 000 msat plus 2 000 000 000 msat times 1 500 ppm, which is 3 001 000 msat. The first node forwards that amount plus the second node's fee, so its fee is computed on 2 003 001 000 msat. Fees computed on the plain amount understate the cost.
- 02 A loop costs 2 300 sats to move 1 000 000 sats. Your fee on the refilled channel is 500 ppm. How much must the channel forward before the rebalance has paid for itself?
4 600 000 sats, because 2 300 sats divided by 0.0005 is 4 600 000. That is 4.6 times the amount you moved. The calculation counts only forwarding fees from this one channel. It ignores the cost of the capital and any second rebalance the channel needs later.
- 03 The table shows a loop that costs 1 017 sats. Can you rely on paying 1 017 sats to rebalance on that loop tomorrow?
No. The figure is the fee the two nodes had published when we retrieved it. Either node can change its policy at any time. The published fee also says nothing about whether the channels on the loop hold enough balance to forward your payment, so the real attempt can fail and be retried on another loop.
Notes
- The policy data comes from the mempool.space Lightning API, retrieved Nov. 7. The channel endpoint names the fields
base_fee_mtokensandfee_rate. We read them asfee_base_msatandfee_proportional_millionths, and we checked that reading against a channel whose policy our own node read from gossip.mempool.space Lightning API - Node names are the aliases the nodes announce. An alias is not proof of who runs the node. We do not know whether any reader has channels with these nodes, so the loops show how the arithmetic works.
- Some nodes also publish an inbound fee, a discount or surcharge on payments that arrive over a channel. The API response contains no such field, so the figures do not include it.
Source & license
This page adapts no licensed material. It is original work by Delta Gamma LLC and is published under CC BY-SA 4.0; the figures it reports are separately dedicated to the public domain, below.
Measurements are the author's own and are dedicated to the public domain (CC0). Cite as: ln.university, LN 300 lesson 3, "What a rebalance actually costs", figures as of the date shown on each block.