CPFP and RBF fee bump calculator
A transaction stuck below the feerate the network is mining can be rescued two ways: child-pays-for-parent attaches a high-fee spend of its output, and replace-by-fee rebroadcasts it with a bigger fee. This page computes the exact child fee a package needs and the minimum replacement fee under rules 3 and 4 of the Bitcoin Core v32.1 replacement policy.
By Michael Lip · Rules from the Bitcoin Core v32.1 policy docs, fetched 2026-11-17 · All fee math runs in integer satoshis in your browser
Minimum child fee to lift the package to 10.000 sat/vB: 2,600 sat
Package feerate at that fee: 10.000 sat/vB
Child's own feerate: 18.571 sat/vB
The bump is viable: a miner including the package earns the target feerate or better.
Extra fee by CPFP: 2,600 sat (0.00002600 BTC, 1.69 USD). Extra fee by RBF of the same transaction at the same size: 1,200 sat (0.00001200 BTC, 0.78 USD). USD at 64,905 USD per BTC, mempool.space, 2026-11-17T13:45:05Z UTC.
How this page calculates
CPFP needs an output of the stuck transaction that you can spend, for example your change. You spend it in a child transaction with a high fee. Bitcoin Core packages.md defines the package feerate as the total fees divided by the total virtual size of all transactions in the package. A package has at most 25 transactions and 404,000 weight units. For package RBF, a package is 1 parent and 1 child, and the parent feerate must be lower than the package feerate. The package feerate is
( parent_fee + child_fee ) / ( parent_size + child_size )The calculator solves package feerate >= target for the child fee: the smallest fee that puts the package at your target feerate, rounded up so you never land a fraction of a satoshi short. The arithmetic is integer satoshi math scaled by 1000, so large packages never drift the way floating point would.
If the parent alone already pays your target feerate, a miner can take the parent without a child. The calculator then tells you that no child is needed. A child only helps when the parent pays less than the target, and the child then pays a higher feerate than the parent. The calculator assumes that the parent has no other unconfirmed parents.
RBF rules in Bitcoin Core v32.1
The current replacement policy is in the Bitcoin Core v32.1 file mempool-replacements.md. Rules 1 and 2 of that file are marked as removed. These rules stay.
- The replacement pays an absolute fee of at least the sum paid by the original transactions.
- The additional fee pays for the size of the replacement at the incremental relay feerate. The default is 0.1 sat/vB (100 sat/kvB). Bitcoin Core rounds this fee up to a whole satoshi.
- The number of distinct clusters of the conflicting transactions does not exceed 100.
- The replacement must strictly improve the feerate diagram of the mempool.
Full replace-by-fee is the default policy as of v28.0. Signaling for replace-by-fee is no longer required. The feerate diagram rule applies since v31.0. BIP 125 describes the older opt-in rules.
The RBF tab checks rules 3 and 4 and your target feerate. It does not check rules 5 and 6. These values are Bitcoin Core v32.1 defaults. Other nodes and miners can run other versions or settings, for example -incrementalrelayfee. No fee guarantees a confirmation time.
Which bump to pick
For the same stuck transaction and the same target, RBF usually costs less extra fee than CPFP. Near the lowest feerates, rule 4 can make RBF cost more. A replacement of the same size pays the target feerate on the parent size only. A child must also pay the target feerate on its own size. The CPFP tab shows both amounts. CPFP needs an output of the stuck transaction that you can spend, for example your change. RBF needs the keys of the inputs of the stuck transaction.
Both tabs use integer arithmetic and the Bitcoin Core v32.1 default policy values. They do not submit anything to the network. Use the numbers to plan a fee before you broadcast from your wallet.
Sources and author
Written by Michael Lip.
The replacement rules are from mempool-replacements.md. The package feerate and the package limits are from packages.md. The 100 sat/kvB default is DEFAULT_INCREMENTAL_RELAY_FEE in policy.h. All are Bitcoin Core v32.1, the latest version on bitcoincore.org, fetched on 2026-11-17 (UTC). The BTC price is from mempool.space at 2026-11-17T13:45:05Z UTC. It is a dated figure, not a live feed.