Two's Complement

Calculate Two's Complement instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.

Two's Complement

Decimal (8-bit)
Two's compl. (dec.)
251
Calculate Two's Complement instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.

More about: Two's Complement

What it calculates

The “Two's Complement” calculator computes Two's compl. (dec.) from 1 parameter: decimal (8-bit).

A core calculation for studying, engineering tasks, and checking solutions.

Example calculation

With parameters Decimal (8-bit) = -5 the result is 251.

How to use

  1. Enter the parameter values — every field above is adjustable with a slider.
  2. The result and related metrics are calculated automatically as you type.
  3. Use the additional metrics shown (if any) where needed.
  4. Copy the result or bookmark the page.

Related calculators