One's Complement Calculator

Find the one's complement of a binary number (invert every bit), with optional bit width.

Result

One's complement
01001
Decimal (unsigned)
9
✓ Free⚡ Instant🔒 Runs in your browser📱 Mobile friendly∞ No limits

How to use the One's Complement Calculator

  1. Type or paste your value into the inputs above.
  2. The result is calculated instantly as you type — no button needed.
  3. Press Copy to copy any result, or Example to see a worked example (10110).

How 1's complement calculator works

Flip every bit: each 0 becomes 1 and each 1 becomes 0. In one's complement representation this gives the negative of the number.

Frequently asked questions

How do I use the One's Complement Calculator?

Enter your value in the box above. The result updates instantly as you type. Use the Copy button next to any result to copy it, Example to load a sample, or Clear to start again.

Is this 1's complement calculator tool free?

Yes. Binary Tool Hub is completely free, needs no sign-up and has no usage limits.

Is my data private?

Yes. Every calculation runs locally in your browser with JavaScript. Nothing you type is uploaded to a server.

Does it work on mobile?

Yes. The One's Complement Calculator works on iPhone, Android, tablets and desktop browsers, and even offline once the page has loaded.

How does the 1's complement calculator conversion work?

Flip every bit: each 0 becomes 1 and each 1 becomes 0. In one's complement representation this gives the negative of the number.