Adjust the inputs below. Results update as you type.
Binary arithmetic follows the same rules as decimal but with only digits 0 and 1 and carries at 2 instead of 10. Two's complement represents negative numbers in most computer systems. Enter numbers in any base using the prefix (0b for binary, 0x for hex) or select the base from the dropdown. Useful for computer science coursework and low-level programming.
Decimal: 10