loading prices...
prices by coingecko
onchain.search tools/free · no sign-up/links/about

home / bitcoin / bitcoin-transaction-size-calculatorlocal

Bitcoin Transaction Size Calculator (vBytes)

Estimate a Bitcoin transaction's weight and virtual size from its inputs and outputs (P2PKH, P2SH-P2WPKH, P2WPKH, P2TR), and the fee.

bitcoin-transaction-size-calculatorready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

bitcoin tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

Bitcoin fees are paid per virtual byte. Each input and output adds a known size, and SegWit and Taproot inputs are much smaller than old P2PKH ones because signature data is discounted. Types: p2pkh, p2sh-p2wpkh, p2wpkh, p2tr for inputs, plus p2sh and p2wsh for outputs.

02 // how to use it

  1. List your inputs by count and type.
  2. List your outputs, including change.
  3. Add a fee rate to see the fee, then press Run.

03 // faq

Why is a native SegWit input smaller?

Its signature sits in the witness, which counts a quarter as much toward size.

What is a typical one-input two-output size?

About 141 vB for native SegWit (P2WPKH).

04 // related tools

all 31 bitcoin tools →