Asterisk in binary code

AnswerAsterisk * is 00101010 in binary — ASCII code 42.

012806413201618041201

How asterisk becomes 00101010

The character’s code is 42. Writing 42 as a sum of powers of two gives 32 + 8 + 2 = 42. Put a 1 under each place value used and a 0 everywhere else, and you get 00101010.

Binary (8-bit)00101010
Decimal (ASCII code)42
Hexadecimal2A (0x2A)
Octal052
UnicodeU+002A
HTML entity*

Frequently asked questions

What is asterisk in binary?

Asterisk is 00101010 in 8-bit binary. That is ASCII and UTF-8 code 42, which is 32 + 8 + 2 = 42.