The below table visualizes how the decimal number 1022 equals the binary number 1111111110.

1 | × | 2^{9} | = | 512 | |

+ | 1 | × | 2^{8} | = | 256 |

+ | 1 | × | 2^{7} | = | 128 |

+ | 1 | × | 2^{6} | = | 64 |

+ | 1 | × | 2^{5} | = | 32 |

+ | 1 | × | 2^{4} | = | 16 |

+ | 1 | × | 2^{3} | = | 8 |

+ | 1 | × | 2^{2} | = | 4 |

+ | 1 | × | 2^{1} | = | 2 |

+ | 0 | × | 2^{0} | = | 0 |

= | 1022 |

Binary numbers are a positional numeral system with the base (or "radix") 2. This means that binary digit (or "bit") only has two states: 1 and 0. As a result, binary numbers are well suited for electronic circuits since they can be represented as ON or OFF states, and they're therefore used as the fundamental data format in computers. A collection of 8 bits is commonly referred to as Byte. There are 2^{8} different combinations of bits in a byte, and it can therefore be used to represent integers between 0 and 255. To represent one quadrillion (the largest number supported on integers.info), a total of 50 bits are required.