Curious Minds

Clear answers to science and history questions

Greater Than Symbol: Before or After Number?

· 5 min read · Science

The greater than symbol (>) always comes before the number it compares to, not after. For example, in “5 > 3,” the symbol is placed between the two numbers, with the larger number on the left and the smaller on the right. This placement is not arbitrary—it follows the symbol’s historical design and its role in mathematical notation.

What the Greater Than Symbol Actually Means

The greater than symbol (>) is a relational operator used to compare two values. It states that the value on the left is larger than the value on the right. The symbol is a rotated “V” or an angle bracket, and its open end always faces the larger number, while the pointed end faces the smaller number. This visual cue is the key to remembering its placement: the wide opening “eats” the bigger value.

For instance:

  • 9 > 2 (9 is greater than 2)
  • -1 > -5 (-1 is greater than -5)
  • 0.5 > 0.25 (0.5 is greater than 0.25)

The symbol is always written between the two values, never directly adjacent to just one number in a typical comparison. So you write “7 > 4,” not “7 >” or “> 4” unless you are in a programming context where the symbol acts differently (see below).

Why the Symbol Points the Way It Does

The greater than symbol evolved from the work of English mathematician Thomas Harriot, who used it in his unpublished papers around 1631. The symbol was later popularized by other mathematicians. The design is intentionally intuitive: the open side is wider, representing the larger quantity, while the closed point represents the smaller. This is why the symbol is placed with the open end toward the bigger number.

A common mnemonic is the “alligator” trick: imagine the symbol as an alligator’s mouth that always wants to eat the larger number. So in “8 > 3,” the mouth opens toward 8. This mental image reinforces the correct placement and direction.

How to Read and Write Comparisons Correctly

When writing a comparison, you place the greater than symbol between two numbers or expressions. The structure is always:

Larger value > smaller value

For example:

  • 100 > 99
  • 2.5 > 2.4
  • 3/4 > 1/2

If you need to say that a number is greater than another but the order is reversed, you would use the less than symbol (<) instead. For instance, “3 < 5” is the same as “5 > 3.” Both are correct, but the symbol must always point to the smaller number.

Common Mistakes and Misconceptions

One of the most frequent errors is confusing the greater than and less than symbols. Many students mix them up, especially when reading from left to right. A reliable way to avoid this is to remember that the symbol always points to the smaller number. So if you see “>”, the left side is larger; if you see “<”, the right side is larger.

Another misconception is that the symbol can be placed after a number to indicate “greater than” in a list or label. For example, writing “5>” to mean “5 and above” is not standard mathematical notation. In formal writing, you should use phrases like “greater than 5” or “5 or more.” In programming, however, the symbol is used as an operator, and its position depends on the syntax.

Using the Greater Than Symbol in Programming

In programming languages like JavaScript, Python, or C++, the greater than symbol is used as a comparison operator. It is placed between two operands, just as in math. For example:

if (age > 18) { ... }

Here, the symbol appears between the variable and the number. It is never placed after a number in a comparison. However, in some contexts like HTML or XML, the greater than symbol is used to close tags (e.g., </div>), but that is a different function entirely.

In shell scripting, you might see something like 2> file which redirects output, but that is not a comparison. So in programming, the rule remains: the greater than symbol goes between the two values being compared.

How to Choose the Correct Symbol

When you need to write a comparison, follow these steps:

  1. Identify the two values you are comparing.
  2. Determine which is larger.
  3. Place the larger value on the left.
  4. Write the greater than symbol (>) between them.
  5. Write the smaller value on the right.

If you want to include the possibility of equality, you would use the “greater than or equal to” symbol (≥), which is a combination of the greater than sign and an equal sign. It is also placed between the two values, e.g., “x ≥ 5.”

Frequently Asked Questions

Is the greater than symbol before or after the number?
It is always placed between two numbers, not directly before or after a single number. For example, “7 > 5” is correct, while “7 >” or “> 5” is not a complete comparison.

How do I remember which way the symbol goes?
Think of the symbol as an alligator’s mouth that wants to eat the bigger number. The open side faces the larger value, so the symbol always points to the smaller one.

What is the difference between > and
The greater than symbol (>) means the left value is larger, while the less than symbol (<) means the right value is larger. Both symbols point to the smaller number.

Can I use > after a number like “5>” to mean “5 and above”?
In standard math, no. That notation is not used. Instead, you would write “greater than 5” or use the symbol in a comparison like “x > 5.” In some informal contexts, people use “5+” but not “5>”.

Does the greater than symbol change meaning in programming?
No, it still means “greater than” when used as a comparison operator. However, in some languages it can be used for other purposes, like redirecting output in shell, but that is not a comparison.

Why does the symbol look like a “V” turned sideways?
The symbol was designed to visually represent the concept of “greater than” by having a wide opening on the side of the larger number. It is not a letter, but a mathematical notation.

In this article
  1. What the Greater Than Symbol Actually Means
  2. Why the Symbol Points the Way It Does
  3. How to Read and Write Comparisons Correctly
  4. Common Mistakes and Misconceptions
  5. Using the Greater Than Symbol in Programming
  6. How to Choose the Correct Symbol
  7. Frequently Asked Questions