(
PunctuationPrintableDec 40

ASCII 40 (

The printable character "(" at ASCII code 40.

All Representations

Decimal
40
Hexadecimal
0x28
Octal
0o050
Binary
00101000
HTML Entity
(

Character Details

Character(
Name(
Decimal40
Hexadecimal0x28
Octal0o050
Binary00101000
HTML Entity(
CategoryPunctuation
PrintableYes

About ASCII 40 (()

The left parenthesis (opening paren) groups expressions in mathematics, programming, and written language. In virtually every programming language, parentheses enclose function call arguments, enforce operator precedence, and group subexpressions for clarity. In regular expressions, '(' begins a capture group for extracting matched substrings. In Lisp and its descendants (Scheme, Clojure), parentheses are the fundamental syntactic element enclosing all s-expressions. Matching parentheses correctly is a classic problem in computer science, commonly solved with stack-based algorithms and taught in introductory courses.

Punctuation marks serve as the structural scaffolding of written language, delineating sentences, clauses, and phrases while conveying emphasis and grouping. In programming, these same characters gain powerful additional roles as operators, statement terminators, delimiters, and syntactic markers that compilers and interpreters rely upon. This dual significance in both natural language and code syntax means punctuation characters carry outsized functional importance relative to their small count in the ASCII character set.

In the ASCII encoding table, Left Parenthesis is assigned code point 40 in decimal (0x28 hexadecimal, 050 octal, 00101000 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Left Parenthesis works reliably across all operating systems, programming languages, and internet protocols.

Related ASCII Characters

Nearby ASCII Codes

DecHexOctBinCharName
350x230o04300100011##
360x240o04400100100$$
370x250o04500100101%%
380x260o04600100110&&
390x270o04700100111''
400x280o05000101000((
410x290o05100101001))
420x2A0o05200101010**
430x2B0o05300101011++
440x2C0o05400101100,,
450x2D0o05500101101--

Explore the Full ASCII Table

Browse all 128 ASCII characters with codes, representations, and detailed references.