Enter the operation and the binary numbers you want to calculate. The entered values should be positive integers. Decimal results are displayed truncated to the unit.
In binary:
=
In decimal:
=
A binary number is a numeral system that uses only two digits: 0 and 1. It is mainly used in computer science and electronics to represent information in the two-state electrical system, on or off (1 or 0). The binary system is the basic system used by computers and electronic devices to process and store information as it is easy to implement electronically and easy for electronic circuits to process and store.
Binary numbers are used in a wide range of applications, such as encoding images and audio in digital format, transmitting information on computer networks, programming microprocessors, and representing numbers in machine language.
An example of a binary number is the number 1001, which in decimal is equal to 9.
To add two binary numbers, the same procedure used to add two decimal numbers is used, with the difference that only two digits are used in the binary system: 0 and 1.
The steps to add two binary numbers are as follows:
To subtract two binary numbers, a method similar to adding binary numbers is used, with the difference being that attention must be paid to cases where the right column number is less than the left column number.
The steps to subtract two binary numbers are as follows:
To convert a binary number to decimal, the following formula is used:
Where digit_1 is the leftmost digit of the binary number, digit_2 is the next, and so on, and n is the total number of digits in the binary number to be converted.
It is a base-10 numbering system and is the worldwide standard. Each digit that makes up a decimal number must take values between 0 and 9. If the digit value exceeds 9, a new digit must be added for its correct representation.
It is a base-2 numbering system and is very popular in the world of computing. Numbers in this binary system are composed of digits that can take values between 0 and 1. Because its digits have fewer possible values, the representation chain of a number in binary is longer than one represented in decimal.
Representation of numbers in each of the numbering systems.