How Does the Number of Inputs and Outputs Affect the Size of a Transaction?

The number of inputs and outputs significantly affects the size of a transaction. Each input requires a signature and a reference to a previous transaction output, adding a substantial amount of data (bytes) to the new transaction.

Similarly, each output adds data, although typically less than an input. Therefore, a transaction consolidating funds from many previous small transactions (many inputs) or one sending funds to many different addresses (many outputs) will be much larger in size than a simple single-input, single-output transaction.

What Is the Role of a ‘Stealth Address’ in Conjunction with Ring Signatures?
How Is the ‘Decoy’ Selection Process Made Random in Monero?
What Is the Transaction Fee Implication of Using a Multisig Wallet?
How Does the Number of Inputs and Outputs Affect the Size of a Transaction?
How Do Wallet Software Providers Help Users Estimate the Size of Their Transaction?
What Are the Advantages of Threshold Signatures over Traditional Multi-Sig?
Why Is a Random Number (K) Critical for the Security of Each ECDSA Signature?
What Is the Significance of a “Threshold Signature Scheme” in a DON?

Glossar