Search
Free crypto tools · Market data loads when needed.Data details ↗
PRACTICAL CRYPTO LEARNING

Bitcoin CPFP and RBF fee-bump calculator

Calculate a Bitcoin CPFP child fee or a standalone RBF replacement fee with exact satoshi rounding, transparent assumptions and worked examples.

A CPFP child must cover the combined fee target of its parent and itself. An RBF replacement has to satisfy both the chosen target and replacement-policy requirements. These two calculators show the arithmetic using numbers you enter; neither connects to a wallet or determines whether a transaction will be accepted.

Tools, examples and answers on this page

CPFP: calculate the child fee

Scope: one unconfirmed parent and one proposed child spending its output. No other unconfirmed ancestors are included. Parent fee means the actual total fee, not its fee rate.

The defaults are invented learning examples, not current network rates.

RBF: estimate a standalone replacement fee

Scope: replace one standalone unconfirmed transaction, without ancestors, descendants or new unconfirmed relationships. For more complex packages, this model is insufficient. Enter the relevant node’s policy assumptions yourself.

The two 0.1 values are editable assumptions. The node’s current minimum can change, and wallet rules can differ.

How to use these Bitcoin fee-bump calculators

  1. Choose the strategy your wallet supports. RBF constructs a replacement; CPFP constructs a separate child spending an available output.
  2. Get the actual original/parent fee and virtual size. Transaction hex alone does not reveal the input values needed to derive a fee.
  3. Use the wallet’s proposed replacement or child virtual size. A changed transaction can have a different size.
  4. Enter a target rate and, for RBF, the policy assumptions. The tool does not fetch current mempool conditions.
  5. Read the result and limits. Verify the wallet preview and funding separately. Download a worksheet if you want a record of your inputs.

CPFP formula

Child fee = max(0, ceil(target rate × (parent vsize + child vsize)) − parent fee). With a 200-vB parent paying 200 sats and a 150-vB child at a combined target of 5 sat/vB, the child needs 1,550 sats. Combined fees are 1,750 sats across 350 vB. This is original example arithmetic, not a live recommendation.

RBF formula for the narrow standalone case

The estimate takes the largest of four whole-sat values: ceil(target × replacement size); original fee + ceil(incremental relay rate × replacement size); floor(original fee × replacement size ÷ original size) + 1; and ceil(node minimum × replacement size). The third term enforces a strictly higher fee rate.

With the defaults above, the four values are 1,100, 222, 221 and 22 sats. The estimate is 1,100 sats, or 900 sats more than the original fee. If the target is only 1 sat/vB, the relay increment term instead sets 222 sats.

Why a calculated fee is not an acceptance guarantee

Bitcoin Core’s documented replacement policy evaluates the affected transaction cluster and its fee-rate diagram. This simplified RBF model is only for the standalone case. CPFP likewise depends on the actual package, spendable outputs and relay policy. Wallet support, funding, output constraints and node settings still matter; miners do not promise a confirmation time.

All required fees round upward to whole sats using integer arithmetic. Fee-rate inputs accept up to three decimal places and 1,000,000 sat/vB. Each size is limited to 1–1,000,000 vB, and entered fees to 2,100,000,000,000,000 sats. These broad calculator bounds are not transaction-validity rules. Ratios shown in the result are truncated to three decimal places; the whole-sat result is exact for the inputs.

Privacy and exported files

No transaction ID, address, private key or seed phrase is needed. Calculations run in this page and do not save their inputs. CSV downloads contain the numbers you entered. Spreadsheet programs can reformat large integers; keep exact values as text.

Sources and next steps

Technical references reviewed 29 November 2026: Bitcoin Core 31 policy changes, Core replacement policy and Core package policy. Policies can change; the current wallet and node determine what they accept.

Read the CPFP versus RBF guide · Plan an ordinary fee or budget · Try the interactive number lab