A variable that can take on either of two values. The paired values may be given various names, such as ‘on/off’, ‘true/false’, or the numbers 0 and 1. Regardless of their naming, any binary variable can be represented in computing hardware by a single bit.