CPFP adds a child transaction whose fee can help pay for its unconfirmed parent. RBF replaces an unconfirmed transaction with a new version that satisfies replacement policy. Both change fees, but they use different transactions and different calculations.
On this page
Open the Bitcoin fee-bump workbench
What is the difference between CPFP and RBF?
| Question | CPFP | RBF |
|---|---|---|
| What is created? | A child spending an output of the unconfirmed parent | A replacement conflicting with the original |
| What is the fee target? | The relevant parent-and-child package | The replacement and the node’s replacement rules |
| What wallet capability is needed? | Ability to spend a suitable unconfirmed output | Ability to construct and sign the replacement |
| Does a calculation promise confirmation? | No | No |
A wallet may expose one, both or neither approach. If a custodial service created the transaction, the user may have no control over its construction. Check that service’s documented process instead of assuming a calculator can alter a transfer.
CPFP example: a cheap parent needs an expensive child
Suppose an unconfirmed parent has a virtual size of 200 vB and pays 200 sats, a rate of 1 sat/vB. A proposed child is 150 vB. You choose a hypothetical combined target of 5 sat/vB.
- Add the sizes: 200 + 150 = 350 vB.
- Multiply by the target: 350 × 5 = 1,750 sats.
- Subtract the fee already paid by the parent: 1,750 − 200 = 1,550 sats for the child.
The child alone pays about 10.333 sat/vB, while the pair pays exactly 5 sat/vB. Comparing only the child’s rate with the package target would miss the parent’s shortfall. The CPFP calculator shows both rates.
This example assumes only that parent and child. If there are other unconfirmed ancestors, their fees and sizes can matter too. Spending an output also needs sufficient value and a valid transaction; output requirements and wallet policy are outside the arithmetic.
RBF example: why your target can be too low
Take a standalone original of 200 vB paying 200 sats. Its proposed replacement is 220 vB, and the target is 1 sat/vB. For this invented scenario, use an incremental relay rate of 0.454 sat/vB and a node minimum of 0.1 sat/vB.
- Target requirement: ceil(220 × 1) = 220 sats.
- Original fee plus increment: 200 + ceil(220 × 0.454) = 300 sats.
- Strictly higher original rate: floor(200 × 220 ÷ 200) + 1 = 221 sats.
- Entered minimum: ceil(220 × 0.1) = 22 sats.
The largest requirement is 300 sats. A 220-sat replacement meets the target rate but not the other constraints in this model. Try these inputs in the standalone RBF estimator. The 0.454 value is intentionally chosen for the rounding exercise, not a claim about a network default.
What current replacement policy adds
Bitcoin Core introduced a mempool fee-rate diagram in version 31 in replacement evaluation. Its release notes describe the simpler standalone case as requiring a higher fee and fee rate; related transactions need broader analysis. Our calculator deliberately covers only that standalone case and includes an entered relay increment and minimum. It does not implement a full mempool or wallet validator.
Replacement rules belong to the accepting node, not to an immutable network-wide fee schedule. Wallet construction, changing mempool conditions and relay paths can affect the outcome. A checked scope box is your assertion about the example, not a verification of an on-chain transaction.
Which numbers should you collect first?
- The actual original or parent fee in whole sats.
- Its virtual size in vB, not a byte count substituted without checking.
- The wallet’s proposed child or replacement vsize.
- The target and any policy assumptions, clearly labelled as such.
A raw transaction includes outputs but not every previous output value needed to compute its fee. The local decoder can explain structure and vsize; it does not independently establish the actual fee. Read the raw transaction guide before treating a decoded field as a complete cost record.
Common fee-bump questions
Can I use CPFP if I am receiving the payment?
Potentially, if you control a suitable parent output and your wallet supports spending it while it is unconfirmed. Control of an output and wallet support must be established separately. Merely knowing the transaction ID does not give that ability.
Does RBF need the same virtual size?
No. Changed inputs or outputs can change size. Use the proposed replacement’s size in the calculation; copying the old size can understate the new requirement.
Can a fee bump reverse a confirmed transaction?
These tools model unconfirmed transactions. They do not reverse confirmations, recover funds, broadcast transactions or change a recipient credit held by an exchange.
How soon will a bumped transaction confirm?
The calculator cannot tell you. It computes fees for your assumptions and does not predict miners’ selections or future demand.
Practise the distinction
Before trying the calculator, explain why the CPFP example needs a child-only rate above 5 sat/vB and why the RBF example needs more than 220 sats. The interactive number lab checks both answers and explains each step. For a transfer-status problem, start with the pending-transfer guide to distinguish a blockchain issue from an exchange credit.
Sources and review
Technical references reviewed 29 November 2026. Examples and exercises are original Crypto.tt educational material.