Nerdulator> put something in

Base-8 literal

0o377

  • Base 8
  • 8 bits
  • = 255

0o377 is a octal literal equal to 255 in decimal. It needs 8 bits (1 bytes) of storage, and is 0xFF in hexadecimal and 11111111 in binary.

In every base

Decimal255
Binary11111111
Octal377
HexadecimalFF
Base 327V
Base 3673
Prefixed literals0xff · 0o377 · 0b11111111

Bit width & storage

Significant bits8
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits11111111
Padded to 32 bits00000000000000000000000011111111

Read another way

As an IPv4 address0.0.0.255
As a 24-bit colour#0000FF
As a Unicode code pointU+00FF, "ÿ"
As a byte count255 B
As a duration in seconds4 minutes and 15 seconds

Bitwise operations

NOT (32-bit)4,294,967,040
Shift left by 1510
Shift right by 1127
Population count8the number of set bits
Lowest set bit1

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Neighbouring values

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “0o377” by Nerdulator’s computing engine. Nothing here was retrieved from a database of answers or written by a model.