Calculator-Online.net

Calculator Online

Calculator-Online.net

Calculator Online

Follow Us On:

Your Result is copied!
Advertisement

One's Complement Calculator

Add the number and click on the 'Calculate' button to find its one’s (1’s) complement.

Input Format:

Decimal One's Complement = -127 to 127

Hex One's Complement = 8 Complement (without leading zeros)

Binary One's Complement = 0-9 and A-F (16-Complement)

Advertisement

One's Complement Calculator

The One’s Complement Calculator is a digital tool designed to compute the 1’s complement of numbers expressed in binary, decimal, or hexadecimal formats. It works by reversing each bit of the number, turning every 0 into 1 and every 1 into 0.

What is One's Complement?

The one’s complement of a binary number is formed by inverting all bits in its signed representation.

Symbol for One's Complement:

The notation used for 1’s complement is ~, commonly known as the bitwise NOT operator in computer systems.

How to Find One’s Complement?

There are two common approaches to determine the 1’s complement:

1. Manual Method

  1. First convert the given value into binary form.
  2. Flip each bit — change 0 to 1 and 1 to 0.

2. Online Calculator

Enter any number into the One’s Complement Calculator, and it will instantly generate the complemented result without manual conversion.

Examples:

Example 1: Binary Number

Determine the 1’s complement of:

(1100100110010)2

Solution:

  • Original number: 1100100110010
  • Bit inversion: 0011011001101

Example 2: Decimal Number

Find the 16-bit 1’s complement of 85:

Solution:

  1. Convert 85 into binary:
    • 85 ÷ 2 = 42 remainder 1
    • 42 ÷ 2 = 21 remainder 0
    • 21 ÷ 2 = 10 remainder 1
    • 10 ÷ 2 = 5 remainder 0
    • 5 ÷ 2 = 2 remainder 1
    • 2 ÷ 2 = 1 remainder 0
    • 1 ÷ 2 = 0 remainder 1
  2. Binary form: 1010101
  3. Invert bits: 0101010
  4. 16-bit format: 0000 0000 0101 0101

Example 3: Hexadecimal Number

Compute the 1’s complement of hexadecimal ‘3C’:

Solution:

  1. 3 = 0011, C = 1100
  2. Invert bits → 1100 0011

One's Complement Table

Decimal, Binary, 1's Complement, and Hexadecimal Equivalents
Decimal Binary 1's Complement Hexadecimal
1 0001 1110 1
2 0010 1101 2
3 0011 1100 3
4 0100 1011 4
5 0101 1010 5
6 0110 1001 6
7 0111 1000 7
8 1000 0111 8
9 1001 0110 9
10 1010 0101 A
11 1011 0100 B
12 1100 0011 C
13 1101 0010 D
14 1110 0001 E
15 1111 0000 F

FAQs:

What is the purpose of 1’s complement?

It is used in signed binary number representation and early computer arithmetic systems.

How to represent −25 in 8-bit 1’s complement?

  1. 25 in binary → 00011001
  2. Invert bits → 11100110

What is the numeric range?

For an N-bit system, values range from −(2^(N−1) − 1) to +(2^(N−1) − 1).

1’s complement of hexadecimal 7?

  • 7 → 0111
  • Complement → 1000

References:

Wikipedia: One’s Complement Representation

GeeksforGeeks: Binary Complement Systems

TutorialsPoint: One’s Complement Method

animal image
sales modal popup close

Easter into Action, Save With Satisfaction

UPTO

50 %

OFF

Online Calculator

Calculator Online

Get the ease of calculating anything from the source of calculator online

Email us at

Contact Us

© Copyrights 2026 by Calculator-Online.net