Parentheses ( ), square brackets [ ], and braces { } are three different pairs of grouping symbols.
They can all enclose text or expressions, but their roles differ across prose, mathematics, programming, dictionaries, citations, and technical notation.
The terminology can also vary. In American English, parentheses, brackets, and braces commonly distinguish the three pairs. In other contexts, brackets is a broader term that includes round brackets, square brackets, and curly brackets.
Parentheses, Brackets, and Braces at a Glance
| Symbols | Common name | Unicode names | Code points |
|---|---|---|---|
| ( ) | Parentheses / Round brackets | LEFT PARENTHESIS / RIGHT PARENTHESIS | U+0028 / U+0029 |
| [ ] | Square brackets / Brackets | LEFT SQUARE BRACKET / RIGHT SQUARE BRACKET | U+005B / U+005D |
| { } | Braces / Curly brackets | LEFT CURLY BRACKET / RIGHT CURLY BRACKET | U+007B / U+007D |
These are among the most familiar punctuation and grouping symbols, but the same pair can have very different meanings in prose and technical notation.
What Are Parentheses ( )?
The characters are:
( — U+0028 LEFT PARENTHESIS
) — U+0029 RIGHT PARENTHESIS
In prose, parentheses commonly set off supplementary information:
The second version (released in June) fixed the problem.
The parenthetical material adds information while remaining visually separate from the main flow of the sentence. Exact punctuation around parentheses depends on the language and editorial style.
Parentheses in Mathematics
Parentheses are heavily used for mathematical grouping.
For example:
2 × (3 + 4)
The parentheses show that the enclosed expression should be treated as a group.
They can also appear in:
- function notation;
- coordinates;
- ordered pairs;
- interval notation;
- matrices and other structures in particular conventions.
The exact meaning depends on the mathematical context.
Parentheses in Function Notation
A familiar example is:
f(x)
Here the parentheses enclose the argument of a function.
This is very different from a parenthetical remark in prose, even though the Unicode characters are the same.
What Are Square Brackets [ ]?
The characters are:
[ — U+005B LEFT SQUARE BRACKET
] — U+005D RIGHT SQUARE BRACKET
Square brackets are commonly used when a second type of enclosure needs to be distinguished from ordinary parentheses, or when editorial material is inserted into quoted text.
Square Brackets in Quotations
In edited quotations, square brackets can indicate material added or changed by someone other than the original speaker or writer.
For example:
“She [the project manager] approved the change.”
The brackets show that the explanatory words were inserted into the quotation.
Exact editorial conventions vary, so bracketed material should be interpreted according to the citation or publication style being used.
Square Brackets for Nested Material
Square brackets can also distinguish one level of enclosure from another.
For example:
(see the earlier report [Appendix B] for details)
This avoids a visually confusing sequence of nested parentheses.
Publishers use different nesting conventions, so this pattern is common rather than universal.
Square Brackets in Mathematics
Square brackets have many mathematical uses.
They may indicate:
- grouping;
- closed intervals;
- matrices;
- commutators;
- equivalence classes;
- other structures defined by a particular notation system.
For example:
[0, 1]
commonly denotes a closed interval containing its endpoints.
The same square brackets can mean something entirely different in another mathematical context.
Parentheses vs Square Brackets in Interval Notation
In one common interval-notation convention:
(0, 1)
represents an open interval that excludes its endpoints.
[0, 1]
represents a closed interval that includes its endpoints.
Mixed forms are also possible:
(0, 1]
which includes one endpoint but not the other.
Other mathematical traditions use different interval conventions, so the notation should be read according to the context.
What Are Braces { }?
The characters are:
{ — U+007B LEFT CURLY BRACKET
} — U+007D RIGHT CURLY BRACKET
They are commonly called braces or curly brackets.
Compared with parentheses and square brackets, braces are relatively uncommon in ordinary prose but very common in mathematics and programming.
Braces in Set Notation
One of the most familiar mathematical uses of braces is to enclose the elements of a set:
{1, 2, 3}
Set-builder notation also uses braces:
{x | x > 0}
Here the braces delimit the set expression as a whole.
Braces in Piecewise Functions
A large curly brace is commonly used to group multiple cases in a piecewise mathematical definition.
In professional mathematical layout, the typesetting system may stretch a brace to fit several lines rather than simply displaying a normal fixed-size keyboard glyph.
The basic curly-bracket characters remain important in plain-text and source representations.
Braces in Programming
Many programming languages use curly brackets as structural syntax.
Depending on the language, they may delimit:
- blocks of code;
- object literals;
- sets or dictionaries;
- interpolation expressions;
- initializers;
- other language-specific structures.
For example:
{ value: 10 }
may be meaningful syntax in one language and invalid or different in another.
The programming language defines the meaning, not Unicode.
Parentheses in Programming
Programming languages often use parentheses for:
- function calls;
- parameter lists;
- expression grouping;
- conditions;
- tuples or similar structures.
For example:
print(value)
The exact role depends on the language grammar.
Square Brackets in Programming
Square brackets commonly appear in:
- array or list indexing;
- list literals;
- attribute access;
- character classes in regular expressions;
- type notation;
- optional syntax in documentation conventions.
For example:
items[0]
commonly accesses an element in languages that use square-bracket indexing.
Why the Three Pairs Cannot Be Swapped in Code
In prose, choosing the wrong bracket type may create a punctuation or style problem. In programming, it can change the syntax completely.
For example:
function(value)
function[value]
function{value}
contain different characters and may have different meanings—or only one may be valid at all.
Parentheses vs Brackets in Ordinary Writing
In prose, parentheses are commonly used for supplementary remarks.
Square brackets are more often associated with editorial intervention, nested material, or specialized conventions.
For example:
The building (which opened in 1920) was renovated.
versus:
“The building [which opened in 1920] was renovated.”
The brackets in the second sentence suggest that the enclosed words were inserted or altered within the quotation.
Braces in Ordinary Writing
Curly braces are much less common as ordinary sentence punctuation.
When they appear in general text, they are often part of:
- technical notation;
- templates;
- forms;
- programming examples;
- mathematical expressions.
Are “Brackets” and “Parentheses” the Same Thing?
The terminology varies.
In one common American English convention:
- ( ) are parentheses;
- [ ] are brackets;
- { } are braces.
In broader terminology, all three can be described as kinds of brackets:
- round brackets;
- square brackets;
- curly brackets.
When exact identification matters, the Unicode names LEFT PARENTHESIS, LEFT SQUARE BRACKET, and LEFT CURLY BRACKET remove that ambiguity.
Opening vs Closing Brackets
Each of the three common pairs has a separate opening and closing character:
| Pair | Opening | Closing |
|---|---|---|
| Parentheses | ( | ) |
| Square brackets | [ | ] |
| Curly brackets | { | } |
Unicode encodes each side separately.
Do Opening and Closing Symbols Always Match?
In ordinary prose and most programming syntax, grouping symbols are expected to form matching pairs. A missing or mismatched delimiter can make a sentence difficult to read or cause a syntax error.
Mathematical notation has intentional exceptions. For example:
(0, 1]
is a deliberately mixed pair in a common interval convention: the parenthesis excludes the left endpoint while the square bracket includes the right endpoint.
So a mixed pair is not automatically an error; the surrounding notation determines whether it is intentional.
What About Angle Brackets < >?
The characters:
< >
are often called angle brackets in computing, but their Unicode names are LESS-THAN SIGN and GREATER-THAN SIGN.
Unicode also contains dedicated mathematical angle brackets:
⟨ ⟩
This is a separate character family and should not be confused with parentheses, square brackets, or curly braces.
What About Other Unicode Brackets?
Unicode contains many additional bracket and enclosure characters beyond the three ASCII pairs.
Examples include:
- mathematical double brackets;
- angle brackets;
- tortoise-shell brackets;
- lenticular brackets;
- CJK brackets;
- ornamental bracket forms.
A copied bracket-shaped character should therefore not automatically be assumed to be one of the six standard keyboard characters.
Why Font Design Can Make Brackets Confusing
Fonts vary in the height, curvature, stroke weight, and width of brackets.
A narrow square bracket may resemble a vertical line. A rounded square bracket can look closer to a parenthesis. Curly braces can become difficult to distinguish at small sizes.
The Unicode character remains the same regardless of the glyph design.
How to Tell Which Bracket You Have
The basic keyboard pairs are usually easy to distinguish by shape:
- ( ) are curved;
- [ ] have straight vertical sides with short horizontal strokes;
- { } have an indented curly-brace shape.
Specialized Unicode brackets can look similar to these familiar forms.
If a copied character is unusual or does not behave as expected, paste it into What Is This Symbol to inspect its exact Unicode identity.
The Main Difference
- ( ) are U+0028 and U+0029, LEFT and RIGHT PARENTHESIS;
- [ ] are U+005B and U+005D, LEFT and RIGHT SQUARE BRACKET;
- { } are U+007B and U+007D, LEFT and RIGHT CURLY BRACKET;
- all three can group information, but their grammatical, mathematical, and programming roles differ;
- the word bracket itself can be broader or narrower depending on regional and technical terminology.
The symbols are visually distinct, but the more important question is what kind of structure they create in the context where they appear.