Bitcoin Transaction Size Calculator

This calculator will give you the upper bound of the size of a transaction with specific characteristics. The size could be a few bytes smaller due to signature randomness, but it's unpredictable and you should err on the side of caution to avoid creating transactions that don't get relayed due to paying fees below the standard minimum rate.

If you want to understand how the calculation gets broken down, check out the explanation on the Bitcoin Optech Calculator

What are the attributes of the bitcoin transaction?

Transaction size in raw bytes:
Transaction size in virtual bytes:
Transaction size in weight units:

Which size should you use for calculating fee estimates?
Estimates should be in satoshis per virtual byte.

This tool is 100% open source code

The Bitcoin Transaction Size Calculator repository can be found at


Twitter Bootstrap: