Calculator Hub

Technology & Computing

Two's Complement Signed Integer Range Calculator

Find the two's complement binary/hex encoding of a signed value and the representable range for a given bit width.

Your inputs

Change any value to update the result instantly.

Technology & Computing

Two's complement binary

11111111111111111111111111111111 (0xFFFFFFFF)

Minimum representable value

-2,14,74,83,648

Maximum representable value

2,14,74,83,647

Bit width

32 bits

Values outside the representable range wrap around (overflow) in real hardware arithmetic.

Formula and working

Range = [-2^(w-1), 2^(w-1) - 1]; Negative encoding = 2^w + value (mod 2^w)

  1. 1

    Collect the inputs

    Integer width = 32; Signed value = -1

  2. 2

    Apply the formula

    Range = [-2^(w-1), 2^(w-1) - 1]; Negative encoding = 2^w + value (mod 2^w)

  3. 3

    Result

    Two's complement binary = 11111111111111111111111111111111 (0xFFFFFFFF)

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub