# 5.2 Maximum Number of Teams and Size Constraints

The maximum number of teams allowed in a competition is 256 (max size uint8), and team sizes must conform to 2^n. This limitation is in place because the maximum number of matches for a given n teams is n - 1. With this constraint, BRKT can store all match outcomes as bit flags in a single storage slot, further optimizing on-chain data storage and reducing costs.
