Twos Complement Converter Calculator
Convert a signed decimal number to its twos complement binary and hex form.
Compare Your Options And Get Clear Answers
Convert a signed decimal number to its twos complement binary and hex form.
Twos Complement Converter Estimator
Enter your numbers below for an instant estimate.
How It Works
Key concepts behind this calculator
Enter Values
Fill in each field with your own numbers.
Calculate
Results update as you change the inputs.
Review
Read the breakdown and the explanation.
Adjust
Change values to compare scenarios.
Twos Quick Guide
Typical values for reference.
| Decimal | Binary | Hex | Unsigned |
|---|---|---|---|
| -128 | 10000000 | 0x80 | 128 |
| -42 | 11010110 | 0xD6 | 214 |
| -1 | 11111111 | 0xFF | 255 |
| 127 | 01111111 | 0x7F | 127 |
| Rule of Thumb | Check inputs | Use as a guide | Round sensibly |
Twos Complement Converter Calculator FAQ
Answers to common questions about this calculator.
The standard way computers store signed integers.
Invert the bits and add 1.
-128 to 127.
Addition works the same for signed and unsigned values.
