Skip to content

Binary Data

How modern computers use binary to represent digital and analog data

Terms Used in this Section

TermMeaning
BinaryBase 2 numbers.
DecimalBase 10 numbers.
Hex or HexadecimalBase 16 numbers.
Place or Place ValueValue of a single number in multi-symbol value. Example: In the number 12345, the Place Value if the 3 is 300.
SignedNumbers that represent negative, zero, and positive values.
SymbolsWritten characters used to depict numbers. Symbols represent to represent Decimal are 0,1,2,3,4,5,6,7,8,9.
UnsignedNumbers that represent only zero and positive values.

Introduction

Binary is used to represent both numeric and non-numeric data, with the same hardware handling storage and processing. While modern computer architectures follow common standards, they can differ in how data is stored and processed based on their intended use

For example, a system designed for scientific computing or graphics processing may be optimized to handle mathematical operations more efficiently

A system designed for data verification and distribution prioritizes data integrity and efficient transfer processing over scientific precision

When representing data in binary, it's important to remember that bits hold universal values. Their meaning only becomes relevant when the system processes them through a specific operation

In essence, bits are just bits until they are used

Only then do they take on a type and follow specific rules for operations

Representing Numbers in Binary

Discover how binary is applied to modern computer hardware/software to represent base 10 numeric information.

Including Unsigned and Signed Integers, and Fractional numbers.

Representing Non-Numeric Data in Binary

Learn how binary is encoded in various formats to represent text and other non-numeric data.


To get started, expand the section in the Sidebar Menu and read each section

The contents of this E-Text were developed under an Open Textbooks Pilot grant from the Fund for the Improvement of Postsecondary Education (FIPSE), U.S. Department of Education. However, those contents do not necessarily represent the policy of the Department of Education, and you should not assume endorsement by the Federal Government.
Released under Creative Commons BY NC 4.0 International License