My favorites
← Electronics calculators

Number base and bit operations

Calculate, convert and check circuit values in your browser.

Inputs

Results

Decimal
255
Hexadecimal
FF
Octal
377
Binary
00000000000000000000000011111111

Questions, examples and engineering limits

Convert unsigned 32-bit binary, hexadecimal, octal and decimal values. Toggle bits and compare logical shifts with signed integer interpretation.

Content updated:

How is Binary, Hex and Decimal Converter with 32-Bit Tools calculated?

Use value = Σ digit × base^position. Convert unsigned 32-bit binary, hexadecimal, octal and decimal values. Toggle bits and compare logical shifts with signed integer interpretation.

Sources: developer.mozilla.org [1]

How do I calculate this example: FF (hex)?

255 (decimal) = 377 (octal) = 11111111 (binary). This is a calculated example under the model stated above; it is not a measured component specification.

Which units does Binary, Hex and Decimal Converter with 32-Bit Tools use?

base 2, 8, 10, 16; 0…4294967295. Convert prefixes before substituting values; keep the input and output units attached to every number.

Sources: developer.mozilla.org [1]

What is FFFFFFFF in decimal?

Unsigned 32-bit FFFFFFFF is 4294967295. The same bits represent −1 only under signed two’s-complement interpretation.

Sources: developer.mozilla.org [1]

Does a leading zero change the value?

Not within the selected base. Binary 00101 equals 101. Choose the base explicitly; prefixes must match it.

Sources: developer.mozilla.org [1]

What happens to overflow when shifting left?

Bits beyond 32 positions are discarded. Logical right shift fills with zeros. This is not an arbitrary-precision integer calculator.

Sources: developer.mozilla.org [1]

Answers use the stated model and units. Examples are calculated values, not measurements or component ratings.