How Does a Zero-Fee Transaction Affect a Bitcoin Block’s Overall Profitability?

A zero-fee transaction slightly reduces the block's overall profitability compared to filling that space with a transaction that pays a fee. Miners aim to maximize profit by selecting transactions with the highest fee-per-byte.

Including a zero-fee transaction means forgoing the potential revenue from a paying transaction that could have occupied the same block space.

What Would Happen If the Difficulty Did Not Adjust?
How Is Transaction Fee Calculated in Bitcoin?
What Is the Long-Term Sustainability Model for Bitcoin Mining Revenue Once All Block Rewards Are Issued?
What Is the “Halving” Event in Bitcoin’s Protocol?
How Do Competing Mining Pools Influence the Average Transaction Fee?
How Does the Inclusion of “Zero-Fee” Transactions Affect the Overall Fee Market?
What Is the Significance of Transaction Size in Bytes?
What Is ‘Transaction Malleability’?