Skip to content

Two's Complement Calculator

Convert a signed integer to its two's complement binary and hexadecimal representation, or decode a binary string back to its signed decimal value. Choose 8, 16, 32, or 64 bits.

Direction

Inputs

Input

Results

Enter a value to see results.

Representation

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?