Nerdulator> put something in

Base-16 literal

0x1000

  • Base 16
  • 13 bits
  • = 4,096

0x1000 is a hexadecimal literal equal to 4,096 in decimal. It needs 13 bits (2 bytes) of storage, and is 0x1000 in hexadecimal and 1000000000000 in binary.

In every base

Decimal4,096
Binary1000000000000
Octal10000
Hexadecimal1000
Base 32400
Base 3635S
Prefixed literals0x1000 · 0o10000 · 0b1000000000000

Bit width & storage

Significant bits13
Bytes needed2
Fits in 8 bitsNo
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bitsDoes not fit
Padded to 32 bits00000000000000000001000000000000

Read another way

As an IPv4 address0.0.16.0
As a 24-bit colour#001000
As a Unicode code pointU+1000, "က"
As a byte count4 KiB
As a duration in seconds1 hour, 8 minutes and 16 seconds

Bitwise operations

NOT (32-bit)4,294,963,199
Shift left by 18,192
Shift right by 12,048
Population count1the number of set bits
Lowest set bit4,096

Keep nerding

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

Neighbouring values

Also reads as

U+1000 (unicode character)

  • U+1000
  • က
  • Other letter

U+1000 is code point 4,096 (က), an other letter in the Outside the listed blocks block of the Basic Multilingual Plane. It takes 3 bytes in UTF-8 and 1 unit in UTF-16.

Open this reading on its own page →

Identity

Code pointU+1000
Decimal4,096
Characterက
General categoryOther letter
BlockOutside the listed blocks
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none

Encodings

UTF-8E1 80 803 bytes
UTF-161000a single unit
UTF-3200001000
Binary1000000000000
Bytes in UTF-8 vs UTF-163 vs 2UTF-16 is not always smaller, even for non-Latin text

Writing it in code

HTML numeric entityက
HTML hex entityက
CSS escape\1000
JavaScript\u1000
Python\u1000
Percent-encoded (URL)%E1%80%80

Things that catch people out

JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedNo

Keep nerding

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

Nearby code points

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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