HomeUncategorizedGreater Than Sign (>) Calculator with Steps | StatsUnlock

Greater Than Sign (>) Calculator with Steps | StatsUnlock

Greater Than Sign Calculator

Type any two numbers and this greater than less than sign calculator puts the correct sign between them: >, < or =. It works with fractions, decimals, percents, negative numbers and square roots, and it shows every step.

Math SolverStep by StepExact AnswerInequality Signs> < ≥ ≤ = ≠Free

⚡ 0. Quick Answer

The greater than sign is >. It means the number on its left is bigger than the number on its right, so 3/4 > 0.7 reads "three quarters is greater than 0.7".

Worked example: 3/4 = 0.75 and 0.7 = 0.70. Since 75 hundredths is more than 70 hundredths, the correct sign is >. The exact difference is 3/4 − 0.7 = 1/20, which is positive.

a > b  ⇔  a − b > 0

Rule of thumb: the open side faces the bigger number and the point faces the smaller one. Turn it round and you have the less than sign (<). Add a line under either one for "or equal to": ≥ and ≤. Use = when the two values match and ≠ when they do not. A stroke through a sign means "not" (≯, ≮), a doubled sign means "much" (≫, ≪), and ≈ means "about equal". The operation signs sit beside them: + adds, − subtracts, × multiplies (typed as * in spreadsheets and code), and ÷ divides (typed as /).

>Greater than
<Less than
≥Greater than or equal to
≤Less than or equal to
=Equal to
≠Not equal to
≫Much greater than
≪Much less than
≯Not greater than
≮Not less than
≈Approximately equal to
≧Greater than over equal to
≦Less than over equal to
⩾Greater than or slanted equal to
⩽Less than or slanted equal to
≷Greater than or less than
≡Identical to
±Plus or minus
+Plus (add)
−Minus (subtract)
*Asterisk (times, in code)
×Times (multiply)
÷Divided by

Greater than or equal to sign copy and paste: press Copy under ≥, then paste it into Word, Google Docs, an email or a chat. All 23 signs copy the same way. Type >, < or = straight from the keyboard.

Key Takeaways

  • The greater than sign is > and the less than sign is <. The wide, open side always faces the bigger number.
  • a > b exactly when a − b is positive. Subtract, look at the sign of the answer, and you have the right symbol.
  • To compare fractions, use one denominator: 3/4 = 15/20 and 0.7 = 14/20, and 15 is more than 14.
  • With two negative numbers the order flips: −3 > −8, because −3 is closer to zero.
  • On a keyboard, type ≥ with Alt + 242 on Windows or Option + . on a Mac. In a spreadsheet or code, write >=.

📚 1. What Is the Greater Than Sign?

The greater than sign (>) is the math sign for greater than. It is written between two values to say that the first one is larger than the second. 8 > 3 is read "eight is greater than three". The sign looks like an arrowhead pointing to the right: two short lines that meet at a point on the right and open wide on the left.

What does the greater than sign look like next to its partner? The less than sign (<) is the same shape turned round. It points to the left and opens to the right, so 3 < 8 reads "three is less than eight". These two are the greater than and less than signs, sometimes called the bigger than and smaller than signs. Both statements above describe the same fact.

What the greater than sign looks like and which way it facesThe statement 8 is greater than 3, with the open side of the greater than sign facing 8 and the point facing 3. Below it the flipped statement, 3 is less than 8.bigger numbersmaller number83open side faces itpoint faces it8 > 3   "eight is greater than three"flipped: 3 < 8   "three is less than eight"
Which way is the greater than sign? The open side faces the bigger number (8) and the point faces the smaller number (3). Swap the numbers and the sign turns round with them.

A worked one-liner: which sign goes between 3/4 and 0.7? Write both as hundredths: 3/4 = 0.75 and 0.7 = 0.70. Since 0.75 is more than 0.70, the answer is 3/4 > 0.7.

Number line showing 0.7 and three quartersA number line from 0 to 1. 0.7 is marked in orange and 3/4, which is 0.75, is marked in blue just to its right.00.20.40.60.81A = 3/4B = 0.73/4 > 0.7
On a number line, 3/4 (0.75) sits to the right of 0.7. The number further to the right is always the greater one, so 3/4 > 0.7.

1.1 Greater than or equal to sign, and the rest of the family

The greater than or equal to sign (≥) is a greater than sign with a line underneath. It means "bigger than or the same as". x ≥ 18 is true for 18, 19, 20 and every larger number. The less than or equal to symbol (≤) works the same way in the other direction. Together with = and ≠ these are the greater than less than equal to signs used in all of school mathematics.

SignNameRead asExampleTrue when
>Greater than signis greater than3/4 > 0.7the left number is bigger
<Less than signis less than0.7 < 3/4the left number is smaller
≥Greater than or equal to signis at least5 ≥ 5the left number is bigger or the same
≤Less than or equal to signis at most4 ≤ 5the left number is smaller or the same
=Equals signis equal to0.5 = 1/2both sides have the same value
≠Not equal to signis not equal to0.5 ≠ 0.45the two values differ

1.2 Three ways to decide which sign is right

This calculator checks every answer three ways. The table shows when each method is the quickest one by hand.

MethodWhat you doBest forWatch out for
Common denominatorRewrite both numbers over the same denominator, then compare the topsTwo fractions, or a fraction and a decimalFinding the lowest common denominator takes a moment
Cross-multiplicationMultiply each top by the other bottom and compare the two productsTwo fractions in an exam, when speed mattersOnly valid when both denominators are positive
Decimals and place valueLine up the decimal points and compare digit by digit from the leftDecimals, percents and moneyRounding can hide a small difference such as 1/3 and 0.333
SubtractionWork out a − b and look at whether it is positive, negative or zeroNegative numbers and checking any answerSubtracting a negative means adding

Who uses it: pupils meet the greater than sign in the first years of school and use it through algebra, where it becomes the language of inequalities. Programmers write it in every if statement. Spreadsheet users type it in filters and IF formulas. Scientists use it to state limits such as p < 0.05. The symbols > and < first appeared in print in 1631, in a book by the English mathematician Thomas Harriot. The forms with a line underneath, ≥ and ≤, were used by the French scientist Pierre Bouguer in 1734.

🧮 2. Enter Your Problem

Type each number the way you would write it: 3/4, 0.7, -5, 15%, 2 1/3 (a mixed number), 3x10^8, 0.(3) for a repeating decimal, sqrt(2) or pi. The tool decides whether >, < or = belongs between them.

Write a full statement and the tool says whether it is true or false, and gives the correct sign if it is false. Use >, <, >=, <=, = or != between the numbers. Chains work too, for example -5 < -3 < 0.

Mix any forms you like. You get the list from least to greatest with less than signs, and from greatest to least with greater than signs. Equal values are joined with an equals sign.

Teachers use this to build an answer key: paste or upload many pairs, then Download Doc gives every answer with its working. A header row is skipped.

Nothing is worked out until you press Solve. Pressing Enter in a number box does the same.

📊 3. Results and Step-by-Step Solution

Correct sign
___
Press Solve to see the correct sign, the exact answer, the decimal check and every step.

🧠 4. Understanding Your Answer, In Detail

4.1 What the sign in your answer means

___ Solve a problem above to fill this paragraph with your own numbers.

A comparison sign makes a claim that is either true or false. "3/4 > 0.7" claims that 3/4 is the larger number, and it is true. The sign you choose has to match where the two numbers sit on the number line. The number further to the right is the greater one, every time, for whole numbers, fractions, decimals and negative numbers alike.

4.2 What the difference tells you

___ Solve a problem above to fill this paragraph with your own numbers.

Mathematicians define "greater than" with subtraction: a > b means that a − b is a positive number. That is why the calculator reports the difference. A positive difference gives >, a negative difference gives <, and a difference of exactly zero gives =. The size of the difference also tells you how far apart the numbers are, which the sign alone cannot.

4.3 Exact fractions against decimals

___ Solve a problem above to fill this paragraph with your own numbers.

A decimal check is fast, but rounding can mislead. 1/3 and 0.333 look equal to three places, yet 1/3 is greater, because 1/3 = 0.3333... goes on for ever. The exact method never rounds: 1/3 = 1000/3000 and 0.333 = 999/3000, and 1000 is more than 999. When two numbers are very close, trust the common denominator, not the rounded decimal.

4.4 What the charts show

___ Solve a problem above to fill this paragraph with your own numbers.

Chart 1 is the number line picture. Chart 2 shows each number as a bar, which makes "bigger" visible at a glance. Chart 3 shows the numerators once both numbers share a denominator. Chart 4 tests all six signs at once, so you can see that when A > B is true, A ≥ B and A ≠ B are true as well.

4.5 Greater than or less than sign with negative numbers

Negative numbers are where most mistakes happen. −8 looks bigger than −3 because 8 is bigger than 3, but −8 is the smaller number: it is further to the left, colder as a temperature and deeper as a debt. For two negative numbers, the one closer to zero is greater, so −3 > −8. Any positive number is greater than any negative number, and zero sits between them.

4.6 How the answer changes when you change a number

The sign only changes when the numbers cross each other. Raise 0.7 to 0.74 and 3/4 is still greater. Raise it to 0.75 and the two are equal. Raise it to 0.76 and the sign turns round to <. So a comparison is sensitive only near the point where the two values meet, and that is exactly where an exact method matters most.

4.7 When both signs are true, and when none is

If the numbers are equal, three statements are true at once: a = b, a ≥ b and a ≤ b. That is not a contradiction, because "or equal to" covers the equal case. At the other extreme, no sign can be written when one of the numbers does not exist. A fraction with 0 underneath, such as 5/0, is undefined, so 5/0 ? 2 has no answer at all.

4.8 Where this leads next

Once numbers can be compared, letters can be too. An inequality such as x > 3 uses the same sign to describe every number to the right of 3 on the number line. Solving inequalities follows the rules of equations, with one extra rule: multiplying or dividing both sides by a negative number turns the sign round.

✍ 5. How to Write the Answer

▶ Solve a problem above to fill all five cards with your own answer.

1. Exam or homework answer
Compare ___ and ___. Working: ___. Answer: ___
Conventions for this style
  • Show the conversion to a common form. That line earns the method mark.
  • Write the final statement with the numbers in the order the question gave them.
  • Leave fractions exact. Do not round unless the question asks for decimals.
2. Final answer only
___
Conventions for this style
  • One line: first number, sign, second number.
  • Use the real signs ≥ and ≤ in print. Use >= only in code and spreadsheets.
  • Put a space on each side of the sign so it is easy to read.
3. Teacher's answer key line
Q: ___ ? ___ A: ___
Conventions for this style
  • Give the sign and the decimal values, so a marker can check at a glance.
  • For a whole worksheet, use the Batch tab and Download Doc.
4. Report or lab write-up sentence
The value ___ was compared with ___ and found to be ___.
Conventions for this style
  • In running text, write the words "greater than" or "less than" in full.
  • Keep symbols for tables, equations and limits such as p < 0.05.
  • State the difference when its size matters, not only its direction.
5. Plain text for a forum or chat
___
Conventions for this style
  • Plain keyboard characters only, so it pastes cleanly anywhere.
  • Type >= for ≥, type <= for ≤, and != for ≠.
  • Write fractions with a slash: 3/4.

∑ 6. Formulas Used

①
Definition of greater than
a > b  ⇔  a − b > 0
a, bAny two real numbers: whole numbers, fractions, decimals or negatives
>The greater than sign, read "is greater than"
⇔"Exactly when": each side is true whenever the other is
Example3/4 − 0.7 = 1/20, which is positive, so 3/4 > 0.7
NoteA negative difference gives a < b, and zero gives a = b
②
Cross-multiplication test for two fractions
a/b > c/d  ⇔  a × d > c × b   (b, d positive)
a, cThe numerators (top numbers), integers
b, dThe denominators (bottom numbers), positive integers
Example3/4 and 7/10: 3 × 10 = 30 and 7 × 4 = 28. 30 is more than 28, so 3/4 > 7/10
RequiresPositive denominators. Move any minus sign to the numerator first
③
Common denominator form
a/b = (a × L÷b) / L   and   c/d = (c × L÷d) / L,  L = LCM(b, d)
LThe least common denominator, the lowest common multiple of b and d
LCMLowest common multiple, found as b × d ÷ GCD(b, d)
ExampleL = LCM(4, 10) = 20, so 3/4 = 15/20 and 7/10 = 14/20
RuleWith equal denominators, the larger numerator is the larger number
④
The check: trichotomy
Exactly one is true:   a < b   or   a = b   or   a > b
TrichotomyFor any two real numbers, one and only one of the three signs fits
CheckThe tool confirms the difference, the cross products and the decimals all give the same sign
ExampleFor 3/4 and 0.7 only ">" is true. "<" and "=" are both false
⑤
Flipping and the "or equal to" signs
a > b ⇔ b < a   ·   a ≥ b ⇔ (a > b or a = b)
b < aThe same fact read from the other side: swap the numbers, turn the sign
≥Greater than or equal to: true when a is bigger or the same as b
≤Less than or equal to: true when a is smaller or the same as b
Example3/4 > 0.7 and 0.7 < 3/4 say the same thing. 3/4 ≥ 0.7 is also true
⑥
Special case: negative numbers
a > b  ⇔  −a < −b
−a, −bThe opposites of a and b, mirrored through zero on the number line
RuleMultiplying or dividing both sides by a negative number turns the sign round
Example8 > 3, so −8 < −3
NoteAdding or subtracting the same number on both sides never changes the sign
⑦
Conversion rules before comparing
p% = p/100  ·  0.d₁d₂…dₖ = d₁d₂…dₖ / 10ᵏ  ·  w n/d = (w × d + n)/d
p%A percent, p parts out of 100. 15% = 15/100 = 3/20
kThe number of decimal places. 0.7 has one, so 0.7 = 7/10
w n/dA mixed number. 2 1/3 = (2 × 3 + 1)/3 = 7/3
RootsFor positive numbers, √x > y exactly when x > y²

🔀 7. Greater Than Sign Flowchart, Step by Step

This flowchart shows how to choose the greater than or less than sign, step by step, from two raw numbers to a finished statement. Every box uses the same worked example as the Excel, R and Python sections: which sign goes between 3/4 and 0.7?

Start or result Data step Calculation step Yes or no check
Start Two numbers and an empty space between them 3/4  ?  0.7
CheckDo both numbers exist?
YesNeither has 0 as a denominator. Here both are fine, so carry on.
No, stopA number such as 5/0 is undefined. No sign can be written.
1
Write both numbers as fractions decimal with k places = digits / 10ᵏ 3/4 stays as it is. 0.7 = 7/10
CheckDo the numbers have different signs?
NoBoth are positive here, so compare their sizes in the next steps.
Yes, finish earlyThe positive number is the greater one. Write the sign and stop.
2
Find the least common denominator L = LCM(4, 10) L = 20
3
Rewrite both fractions over that denominator a/b = (a × L÷b) / L 3/4 = 15/20 and 7/10 = 14/20
4
Compare the numerators larger numerator = larger number 15 is more than 14, so the first number is greater
5
Confirm by subtracting a > b ⇔ a − b > 0 15/20 − 14/20 = 1/20 = 0.05, a positive number
CheckIs the difference exactly zero?
NoIt is 1/20, so one number is greater. Positive means the first one.
Yes, write =The numbers are equal, like 0.5 and 1/2. Use the equals sign.
Result 3/4 > 0.7 Greater than Verified three ways Read "three quarters is greater than 0.7". Flipped: 0.7 < 3/4.

Check any box yourself: the Excel sheet in Section 9, the R script in Section 10, the Python script in Section 11 and the written method in Section 14 all give 15/20 against 14/20 and a difference of 1/20 for this problem.

📝 8. How to Use This Calculator

  1. Choose a tab. Use Compare Two Numbers for one pair, Check a Statement to test something like 3/4 >= 0.7, Order a List to sort many numbers, or Batch to solve a whole worksheet.
  2. Type the first number. Enter it the way you would write it: 3/4, 0.7, -5, 15%, 2 1/3, 3x10^8, sqrt(2) or pi. The keypad under the boxes has the keys a phone keyboard hides.
  3. Type the second number. It can be in a different form from the first. Mixing a fraction with a decimal or a percent is exactly what the tool is for.
  4. Or pick a sample problem. Ten built-in problems cover fractions, decimals, negative numbers, a percent, large numbers, a square root, equal values and an undefined case.
  5. Set the decimal places and answer form. Choose 2, 4, 6 or 10 decimal places, and whether the answer box shows exact fractions or decimals only.
  6. Press Solve. Nothing is worked out until you do. Changing any number clears the old result, so you never read a stale answer.
  7. Read the answer box. It shows the two numbers with the correct sign between them, how to read it aloud, and a Verified badge once three methods agree.
  8. Follow the step-by-step solution. Each step is one move: convert, find a common denominator, compare, cross-multiply, check with decimals, subtract, write the statement.
  9. Check the table and the four charts. The table lists every value, including the difference and all six comparison signs. The charts show the numbers on a number line and as bars.
  10. Download the working. Download Doc saves a text file with the answer and every step. Download PDF opens the print dialog with a clean one-page report.

📈 9. How to Use the Greater Than Sign in Excel

Excel uses the greater than sign as a comparison operator. Put it between two cells and Excel answers TRUE or FALSE. With one IF formula you can also make Excel print the correct sign itself, which turns a sheet into a greater than less than sign calculator for a whole column of pairs. This section uses the same problem as the rest of the page: 3/4 in A2 and 0.7 in B2.

The whole thing in one line: with the two numbers in A2 and B2, type =IF(A2>B2,">",IF(A2=B2,"=","<")) and press Enter. For 0.75 and 0.7 it returns >.

9.1 The functions you need

You wantExcel formulaNote
Is A greater than B?=A2>B2Returns TRUE or FALSE
Is A greater than or equal to B?=A2>=B2Excel has no ≥ key. Type > then =
Is A less than B?=B2>A2The same test read from the other side
Is A not equal to B?=A2<>B2Less than followed by greater than means "not equal"
Print the correct sign=IF(A2>B2,">",IF(A2=B2,"=","<"))Gives >, = or < as text
Direction as a number=SIGN(A2-B2)1 means A is greater, −1 means A is less, 0 means equal
The larger of the two=MAX(A2,B2)MIN gives the smaller
Count the cells above 0.7=COUNTIF(A2:A20,">0.7")The sign and the number go inside quotation marks
Show the ≥ symbol in a cell=UNICHAR(8805)8804 gives ≤ and 8800 gives ≠
Equal within a tiny tolerance=ABS(A2-B2)<=0.000000001Safe for numbers that came out of long calculations
The fraction trap. If you type 3/4 straight into a cell, Excel turns it into a date (4 March or 3 April). Type =3/4 instead, or type 0 3/4 with a zero and a space in front.

9.2 Step by step

1 Enter the two numbers

Put the first number in A2 and the second in B2. Type =3/4 in A2 so Excel stores 0.75, and 0.7 in B2.

Excel sheet with =3/4 in cell A2Xgreater-than.xlsx - ExcelA2fx=3/4AB1A (first)B (second)20.750.7

A2 holds 0.75 (typed as =3/4) and B2 holds 0.7.

2 Ask the greater than question

In C2 type the two cells with the greater than sign between them. Excel answers TRUE because 0.75 is more than 0.7.

=A2>B2
Excel sheet with =A2>B2 in cell C2Xgreater-than.xlsx - ExcelC2fx=A2>B2ABC1A (first)B (second)A greater?20.750.7TRUE

C2 shows TRUE: A2 is greater than B2.

3 Make Excel print the sign

A nested IF tests "greater" first, then "equal". Anything left over must be "less".

=IF(A2>B2,">",IF(A2=B2,"=","<"))
Excel sheet with =IF(A2>B2,">",IF(A2=B2,"=","<")) in cell D2Xgreater-than.xlsx - ExcelD2fx=IF(A2>B2,">",IF(A2=B2,"=","<"))ABCD1A (first)B (second)A greater?Sign20.750.7TRUE>

D2 shows the greater than sign, >, so the statement is 0.75 > 0.7.

4 Add the difference and fill down

The difference confirms the sign: positive for >, negative for <, zero for =. Select C2 to E2 and drag the fill handle down to compare a whole list of pairs.

=A2-B2
Excel sheet with =A2-B2 in cell E2Xgreater-than.xlsx - ExcelE2fx=A2-B2ABCDE1A (first)B (second)A greater?SignA - B20.750.7TRUE>0.0530.6250.583333TRUE>0.0416674−8−3FALSE<−550.50.5FALSE=0

Four pairs at once. Row 2 gives a difference of 0.05 (that is 1/20), row 4 shows −8 < −3, and row 5 shows two equal values.

5 Build the full statement

Join the three parts with & to write the comparison as a sentence you can copy.

=A2&" "&D2&" "&B2

For row 2 this returns the text 0.75 > 0.7.

9.3 The awkward cases

  • Numbers stored as text. In Excel any text counts as greater than any number, so ="10">9 is TRUE for the wrong reason. Look for green triangles in the cell corners and convert the cells to numbers.
  • Fifteen significant digits. Excel keeps about 15 digits. Two numbers that differ only at the 16th digit compare as equal. This calculator uses exact fractions, so it has no such limit.
  • Typing the ≥ sign. In a formula always type >=. The single character ≥ is for display only. To show it in a cell use =UNICHAR(8805), or Insert, Symbol, then choose the Mathematical Operators subset.
  • Greater than or equal sign in Word. Type 2265 and press Alt + X to get ≥. Type 2264 and press Alt + X to get ≤. The same works in Outlook.
  • Comparing dates and times. Dates are stored as numbers, so =A2>B2 is TRUE when A2 is the later date.

9.4 Why Excel might disagree with R or Python

SituationWhat happensFix
=0.1+0.2=0.3Excel says TRUE because it compares 15 digits. R and Python say FALSE, because the stored binary values differ at the 17th digitIn R use all.equal(). In Python use math.isclose() or Fraction
Chained comparison =1 < 2 < 3Excel works left to right: 1 < 2 is TRUE, then TRUE < 3 is FALSE. Python reads the chain as a whole and says TrueIn Excel write =AND(1 < 2, 2 < 3)
Chain 3 > 2 > 1 in RR also works left to right: 3 > 2 is TRUE, and TRUE > 1 is FALSEIn R write 3 > 2 & 2 > 1
Text against a numberExcel: text is always greater. R compares them as text. Python raises a TypeErrorConvert text to numbers before comparing
Upper and lower case="a"="A" is TRUE in Excel. R and Python treat them as differentUse EXACT() in Excel for a case-sensitive test
=-3^2>0TRUE in Excel, where −3^2 is 9. In R, Python and on paper −3^2 is −9, so the test is falseWrite =-(3^2) in Excel
=ROUND(2.5,0)>2TRUE in Excel, which rounds halves up to 3. R and Python round 2.5 to the even number 2, so the test is falseCompare before rounding, not after
ToolGreater thanGreater than or equal toNot equal to
Excel and Google Sheets=A2>B2=A2>=B2=A2<>B2
Ra > ba >= ba != b
Pythona > ba >= ba != b
SQLa > ba >= ba <> b

9.5 Charting it in Excel

  1. Select the two numbers and their labels.
  2. Choose Insert, Charts, Clustered Column. The taller column is the greater number.
  3. For a number line picture, use Insert, Scatter with the numbers as x values and 0 as every y value. Do not use a Line chart, which spaces the points evenly and hides the real gap.
  4. Set the vertical axis to start at 0, or small differences will look larger than they are.

9.6 Excel errors you will probably hit

Excel showsWhyFix
#DIV/0!A cell divides by zero, for example =5/0The number is undefined, so it cannot be compared. Correct the denominator
#VALUE! in the differenceOne cell holds text, so =A2-B2 cannot subtractConvert the text to a number, or retype it
A date such as 04-MarYou typed 3/4 without an equals signType =3/4 and format the cell as Number
"There is a problem with this formula"You typed the ≥ character inside a formulaUse >=
#SPILL!A range comparison such as =A2:A9>B2:B9 has no empty cells to fillClear the cells below the formula
TRUE when you expected FALSEOne of the numbers is stored as textCheck for green triangles, then use Convert to Number

📈 10. How to Use the Greater Than Sign in R

In R the greater than sign is the operator >, and 3/4 > 0.7 returns TRUE. The script below goes further. It compares the two numbers exactly with whole-number arithmetic, prints the correct sign with the working, checks the answer and saves one figure at 300 dpi. It uses base R only.

Copy the whole block. It runs top to bottom in RStudio, Posit Cloud or plain Rscript. Change only the four lines that set the numerators and denominators.

10.1 The complete script

R, base only, saves greater_than_sign.png

# ============================================================
# Greater than sign: which sign goes between two numbers?
# StatsUnlock - https://statsunlock.com/greater-than-sign/
# Base R only. No packages to install.
# ============================================================

# ---- 1. Your two numbers, each as numerator / denominator --
# 3/4 is 3 over 4. The decimal 0.7 is 7 over 10.
a_num <- 3;  a_den <- 4      # A = 3/4
b_num <- 7;  b_den <- 10     # B = 0.7 = 7/10
a_text <- "3/4"
b_text <- "0.7"

# ---- 2. Exact comparison with whole numbers only -----------
# Cross-multiply. Both denominators must be positive.
stopifnot(a_den > 0, b_den > 0)
cross_a <- a_num * b_den     # 3 * 10 = 30
cross_b <- b_num * a_den     # 7 * 4  = 28

if (cross_a > cross_b) {
  sign_chr <- ">"
} else if (cross_a == cross_b) {
  sign_chr <- "="
} else {
  sign_chr <- "<"
}
words <- c(">" = "is greater than", "=" = "is equal to", "<" = "is less than")

# ---- 3. Show the working -----------------------------------
gcd <- function(x, y) if (y == 0) abs(x) else gcd(y, x %% y)
lcd   <- a_den * b_den / gcd(a_den, b_den)
top_a <- a_num * lcd / a_den
top_b <- b_num * lcd / b_den
d_num <- cross_a - cross_b
d_den <- a_den * b_den
g     <- gcd(d_num, d_den)
A <- a_num / a_den
B <- b_num / b_den

cat(sprintf("A = %s = %d/%d = %.4f\n", a_text, a_num, a_den, A))
cat(sprintf("B = %s = %d/%d = %.4f\n", b_text, b_num, b_den, B))
cat(sprintf("Common denominator %d: %d/%d and %d/%d\n", lcd, top_a, lcd, top_b, lcd))
cat(sprintf("Cross products: %d and %d\n", cross_a, cross_b))
cat(sprintf("Difference A - B = %d/%d = %.4f\n", d_num / g, d_den / g, A - B))
cat(sprintf("Answer: %s %s %s   (%s %s %s)\n",
            a_text, sign_chr, b_text, a_text, words[[sign_chr]], b_text))

# ---- 4. Check the answer -----------------------------------
# sign() gives 1, 0 or -1. The exact and the decimal route must agree.
stopifnot(sign(cross_a - cross_b) == sign(top_a - top_b))
stopifnot(isTRUE(all.equal(A - B, d_num / d_den)))
cat("Check passed: tops, cross products and difference all agree.\n")

# ---- 5. One figure: both numbers on a number line ----------
png("greater_than_sign.png", width = 2400, height = 900, res = 300)
par(mar = c(4.2, 1, 2.6, 1), family = "sans")
lo <- min(A, B, 0); hi <- max(A, B, 1); pad <- (hi - lo) * 0.08
plot(NA, xlim = c(lo - pad, hi + pad), ylim = c(-1, 1), yaxt = "n", ylab = "",
     xlab = "Number line (further right is greater)", bty = "n")
segments(lo - pad, 0, hi + pad, 0, col = "#475569", lwd = 2)
points(c(A, B), c(0, 0), pch = 19, cex = 2.2, col = c("#2563eb", "#ea580c"))
text(A, 0.45, a_text, col = "#2563eb", font = 2)
text(B, -0.45, b_text, col = "#ea580c", font = 2)
title(main = paste(a_text, sign_chr, b_text), adj = 0, font.main = 2)
dev.off()
cat("Saved greater_than_sign.png\n")

Expected output: common denominator 20 with 15/20 and 14/20, cross products 30 and 28, difference 1/20 = 0.0500, and the answer 3/4 > 0.7.

10.2 What each part does

Line or functionWhat it does, and why it is there
a_num, a_denThe first number as a fraction. Keeping the top and bottom as whole numbers means nothing is rounded.
stopifnot(a_den > 0, ...)Cross-multiplication is only valid for positive denominators. This line stops the script if that is not true.
cross_a, cross_bThe two cross products, 30 and 28. Comparing them is the same as comparing the fractions.
if ... else if ... elsePicks the sign as text. The three branches match the three possible answers: greater, equal, less.
gcd()Euclid's method for the greatest common divisor, needed to find the least common denominator and to reduce the difference.
%%The remainder operator. 10 %% 4 is 2.
sprintf()Formats the output. %d prints a whole number, %.4f prints four decimal places, %s prints text.
all.equal()Compares two decimals with a small tolerance. Never test decimals with ==, because 0.1 + 0.2 == 0.3 is FALSE in R.
png(..., res = 300)Opens a 300 dpi image file. dev.off() closes it. Forgetting dev.off() leaves an empty file.
The classic R trap. x <-3 does not ask "is x less than −3?". It assigns the value 3 to x, because <- is the assignment arrow. Put spaces round the sign: x < -3.

10.3 What the figure shows

A number line from 0 to 1 with two dots: blue for A (3/4) and orange for B (0.7). The blue dot is further to the right, which is the picture behind the statement 3/4 > 0.7. The title of the figure is the finished statement.

10.4 Common R problems and fixes

SymptomCauseFix
0.1 + 0.2 == 0.3 is FALSEDecimals are stored in binary and are slightly offUse isTRUE(all.equal(0.1 + 0.2, 0.3))
x suddenly equals 3You typed x<-3, which assignsWrite x < -3 with spaces
"10" > "9" is FALSEBoth are text, and text is compared letter by letterConvert with as.numeric() first
Result is NAOne of the values is missingAny comparison with NA gives NA. Remove or fill the missing value
A warning about "the condition has length > 1"if was given a whole vectorUse ifelse() for vectors, or any() and all()
3 > 2 > 1 is FALSER compares left to right, so it tests TRUE > 1Write 3 > 2 & 2 > 1

10.5 Useful one-liners

You wantR code
Is 3/4 greater than 0.7?3/4 > 0.7
Direction as 1, 0 or −1sign(3/4 - 0.7)
The larger of two numbersmax(3/4, 0.7)
Compare two columns, row by rowifelse(a > b, ">", ifelse(a == b, "=", "<"))
Order a list from least to greatestsort(c(3/4, 0.7, 2/3, -1/2))
Show a decimal as a fractionMASS::fractions(0.75)
Print the ≥ symbolcat("≥")

📈 11. How to Use the Greater Than Sign in Python

Python writes greater than as > and greater than or equal to as >=. The script below uses the built-in fractions module, so 3/4 and 0.7 are held as exact fractions and the comparison can never be upset by rounding. It prints the sign with the working, checks the answer three ways and saves one 300 dpi figure.

Copy the whole block. Change only the two lines a_text and b_text. Fractions such as "5/8" and decimals such as "0.45" both work.
fractionsexact numbers, standard library
mathlcm, standard library
matplotlibthe figure

Install the one outside package with pip install matplotlib. math.lcm needs Python 3.9 or newer.

11.1 The complete script

Python 3.9+, saves greater_than_sign.png

# ============================================================
# Greater than sign: which sign goes between two numbers?
# StatsUnlock - https://statsunlock.com/greater-than-sign/
# Exact arithmetic with fractions.Fraction, one 300 dpi figure.
# ============================================================
import math
from fractions import Fraction

import matplotlib
matplotlib.use("Agg")              # remove this line in Jupyter
import matplotlib.pyplot as plt

# ---- 1. Your two numbers -----------------------------------
# Give each number as text so nothing is rounded on the way in.
a_text = "3/4"
b_text = "0.7"

A = Fraction(a_text)               # 3/4
B = Fraction(b_text)               # 7/10, exact

# ---- 2. Choose the sign ------------------------------------
if A > B:
    sign, words = ">", "is greater than"
elif A == B:
    sign, words = "=", "is equal to"
else:
    sign, words = "<", "is less than"

# ---- 3. Show the working -----------------------------------
lcd = math.lcm(A.denominator, B.denominator)
top_a = A.numerator * (lcd // A.denominator)
top_b = B.numerator * (lcd // B.denominator)
cross_a = A.numerator * B.denominator
cross_b = B.numerator * A.denominator
diff = A - B

print(f"A = {a_text} = {A} = {float(A):.4f}")
print(f"B = {b_text} = {B} = {float(B):.4f}")
print(f"Common denominator {lcd}: {top_a}/{lcd} and {top_b}/{lcd}")
print(f"Cross products: {cross_a} and {cross_b}")
print(f"Difference A - B = {diff} = {float(diff):.4f}")
print(f"Answer: {a_text} {sign} {b_text}   ({a_text} {words} {b_text})")

# ---- 4. Check the answer three ways ------------------------
by_tops = (top_a > top_b) - (top_a < top_b)
by_cross = (cross_a > cross_b) - (cross_a < cross_b)
by_diff = (diff > 0) - (diff < 0)
assert by_tops == by_cross == by_diff, "the three methods disagree"
print("Check passed: tops, cross products and difference all agree.")

# ---- 5. One figure: both numbers on a number line ----------
fig, ax = plt.subplots(figsize=(8, 2.6))
lo = min(float(A), float(B), 0.0)
hi = max(float(A), float(B), 1.0)
pad = (hi - lo) * 0.08
ax.hlines(0, lo - pad, hi + pad, color="#475569", linewidth=2, zorder=1)
ax.scatter([float(A)], [0], s=180, color="#2563eb", zorder=3, label=f"A = {a_text}")
ax.scatter([float(B)], [0], s=180, color="#ea580c", zorder=3, label=f"B = {b_text}")
ax.annotate(a_text, (float(A), 0), xytext=(0, 16), textcoords="offset points",
            ha="center", color="#2563eb", fontweight="bold")
ax.annotate(b_text, (float(B), 0), xytext=(0, -24), textcoords="offset points",
            ha="center", color="#ea580c", fontweight="bold")
ax.set_ylim(-1, 1)
ax.set_yticks([])
ax.set_xlabel("Number line (further right is greater)")
ax.set_title(f"{a_text} {sign} {b_text}", fontweight="bold", loc="left")
ax.spines[["top", "right", "left"]].set_visible(False)
ax.legend(frameon=False, loc="upper left", ncol=2)
fig.savefig("greater_than_sign.png", dpi=300, bbox_inches="tight")
print("Saved greater_than_sign.png")

Run it with python greater_than_sign.py. It prints 15/20 and 14/20, cross products 30 and 28, a difference of 1/20 = 0.0500 and the answer 3/4 > 0.7. In Jupyter or Google Colab, delete the matplotlib.use("Agg") line and add plt.show() at the end.

11.2 What each part does

Line or functionWhat it does, and why it is there
Fraction("0.7")Reads the text 0.7 as exactly 7/10. Pass text, not a float. Fraction(0.7) without quotation marks gives 3152519739159347/4503599627370496, the binary value the computer really stores.
A > B, A == BComparisons between two Fraction objects are exact, with no tolerance needed.
math.lcm()The lowest common multiple of the two denominators, here 20.
//Whole-number division. 20 // 4 is 5, with no decimal point.
(x > y) - (x < y)A short way to get 1, 0 or −1 for greater, equal or less. Python treats True as 1 and False as 0.
assertStops the script with a message if the three methods ever disagree.
f"{float(A):.4f}"An f-string. .4f prints four decimal places.
savefig(dpi=300, bbox_inches="tight")Saves the figure at print quality and trims the empty border.

11.3 What the figure shows

The same number line as the R script: a blue dot at 3/4 and an orange dot at 0.7, with the statement 3/4 > 0.7 as the title. The number further to the right is the greater one.

11.4 Common Python problems and fixes

SymptomCauseFix
0.1 + 0.2 == 0.3 is FalseFloats are binary approximationsUse math.isclose(0.1 + 0.2, 0.3) or Fraction
TypeError: '>' not supported between 'str' and 'int'One value is text, often from input() or a CSV fileConvert with float() or Fraction() first
"10" > "9" is FalseText is compared character by characterConvert both to numbers
SyntaxError at =>The equals sign is in the wrong placeGreater than or equal to is >=, sign first
A strange huge fractionFraction(0.7) was given a floatWrite Fraction("0.7") or Fraction(7, 10)
nan > 1 is False, and so is nan < 1NaN (not a number) is not comparable to anythingTest with math.isnan() first

11.5 Useful one-liners

You wantPython code
Is 3/4 greater than 0.7?Fraction(3, 4) > Fraction("0.7")
Check a chain in one go-5 < -3 < 0
The larger of two numbersmax(0.75, 0.7)
Order a list from least to greatestsorted([0.75, 0.7, 2/3, -0.5])
Greatest to leastsorted(values, reverse=True)
Compare two NumPy arraysnumpy.greater(a, b)
Print the ≥ symbolprint("≥")

📋 12. Reference Tables

12.1 Greater than and less than symbols, with their codes

SignNameUnicodeHTML codeLaTeXIn code and spreadsheets
>Greater than signU+003E&gt;>>
<Less than signU+003C&lt;<<
≥Greater than or equal to signU+2265&ge;\geq>=
≤Less than or equal to symbolU+2264&le;\leq<=
=Equals signU+003D=== in Excel, == in R and Python
≠Not equal to signU+2260&ne;\neq<> in Excel and SQL, != in R and Python
≫Much greater thanU+226B&#8811;\ggnone
≪Much less thanU+226A&#8810;\llnone
≯Not greater thanU+226F&#8815;\ngtr<=

How to use this table: copy a sign from the first column, or type the code from the column that matches where you are writing. "Not greater than" means the same as "less than or equal to".

12.2 Greater than sign on keyboard: how to type each sign

SignWindowsMacMicrosoft WordChromebookLinux
>Shift + . (full stop key)Shift + .Shift + .Shift + .Shift + .
<Shift + , (comma key)Shift + ,Shift + ,Shift + ,Shift + ,
≥Hold Alt, type 242 on the number padOption + .Type 2265, then Alt + XCtrl + Shift + U, type 2265, EnterCompose, then >, then =
≤Hold Alt, type 243 on the number padOption + ,Type 2264, then Alt + XCtrl + Shift + U, type 2264, EnterCompose, then <, then =
≠Use the Word method, or copy it from this pageOption + =Type 2260, then Alt + XCtrl + Shift + U, type 2260, EnterCompose, then /, then =

The key positions are for a US or UK keyboard layout. Alt codes need the number pad with Num Lock on. On a phone, press and hold the > or = key on the symbols page to see more signs, or copy the sign from Section 0. In Google Docs, use Insert, Special characters and search for "greater".

12.3 Benchmark fractions, decimals and percents

FractionDecimalPercentFractionDecimalPercent
1/100.110%3/50.660%
1/80.12512.5%5/80.62562.5%
1/60.1666...16.67%2/30.6666...66.67%
1/50.220%7/100.770%
1/40.2525%3/40.7575%
1/30.3333...33.33%4/50.880%
3/80.37537.5%5/60.8333...83.33%
2/50.440%7/80.87587.5%
1/20.550%9/100.990%

How to use this table: the rows run from smallest to largest down each half. To compare two benchmark values, find both and see which is lower in the table.

12.4 How to compare each type of number

You are comparingDo thisExample
Two whole numbersMore digits is bigger. With the same number of digits, compare from the left1,000,000 > 999,999
Two decimalsLine up the decimal points, add zeros to the shorter one, compare from the left0.5 = 0.50, and 0.50 > 0.45
Two fractions, same denominatorCompare the numerators5/8 > 3/8
Two fractions, same numeratorThe smaller denominator gives the bigger fraction1/3 > 1/4
Two fractions, nothing in commonCross-multiply, or use a common denominator5/8 > 7/12 because 60 > 56
A fraction and a decimalTurn the decimal into a fraction, or divide the fraction out3/4 = 0.75 > 0.7
A percent and anything elseDivide the percent by 100 first15% = 0.15 > 0.125
A positive and a negativeThe positive number is always greater0.01 > −500
Two negativesCompare without the minus signs, then turn the sign round3 < 8, so −3 > −8
A square root and a numberSquare both (for positive numbers) and compare√2 > 1.414 because 2 > 1.999396

12.5 Rules that keep or turn the sign

If a > b and you...ThenSignExample from 8 > 3
add the same number to both sidesa + c > b + cstays10 > 5
subtract the same number from both sidesa − c > b − cstays6 > 1
multiply both sides by a positive numbera × c > b × cstays16 > 6
multiply both sides by a negative numbera × c < b × cturns−16 < −6
divide both sides by a negative numbera ÷ c < b ÷ cturns−4 < −1.5
swap the two sidesb < aturns3 < 8
take reciprocals (both positive)1/a < 1/bturns1/8 < 1/3

12.6 The signs on a number line and in interval notation

StatementIn wordsCircle at 3ShadingInterval notation
x > 3x is greater than 3open (3 not included)to the right(3, ∞)
x ≥ 3x is at least 3filled (3 included)to the right[3, ∞)
x < 3x is less than 3opento the left(−∞, 3)
x ≤ 3x is at most 3filledto the left(−∞, 3]
1 < x ≤ 3x is more than 1 and at most 3open at 1, filled at 3between them(1, 3]

The line under the greater than sign and the filled circle mean the same thing: the end value itself is allowed.

📈 13. Example Results

Eight greater than sign examples, from the first one a child meets to the traps that catch older students. Each shows the working, a number line and how to write the answer.

1
TEXTBOOK CASE

Twelve apples and nine apples

Two whole numbers, the first greater than less than sign example in any textbook.

One basket holds 12 apples and another holds 9. Which sign goes between 12 and 9?

A = 12B = 9A − B = 312 > 9
StepWorkingNote
Count the digits2 digits and 1 digitMore digits means a bigger whole number
Subtract12 − 9 = 3Positive, so the first number is greater
Sign>Open side faces 12
Number line showing 12 greater than 9A number line from 0 to 15 with 9 marked in orange and 12 marked in blue to its right.03691215A = 12B = 912 > 9
12 is three places to the right of 9 on the number line, so 12 is the greater number.

What it means: the basket with 12 apples has more. The sign opens toward 12 and points at 9.

How to write it: 12 > 9, read "twelve is greater than nine".

2
EXAM CASE WITH FRACTIONS

Which is bigger, 2/3 or 3/5?

Different numerators and different denominators, so nothing can be read off directly.

A test question asks for the correct sign between 2/3 and 3/5.

LCD = 1510/159/15cross: 10 and 92/3 > 3/5
StepWorkingNote
Common denominatorLCM(3, 5) = 15The lowest number both 3 and 5 divide into
Rewrite2/3 = 10/15, 3/5 = 9/15Multiply top and bottom by the same number
Compare tops10 is more than 9Same denominator, so the tops decide
Difference1/15About 0.0667
Number line showing two thirds greater than three fifthsA number line from 0 to 1 with 3/5 marked at 0.6 in orange and 2/3 marked at about 0.667 in blue.00.20.40.60.81A = 2/3B = 3/52/3 > 3/5
2/3 (about 0.667) sits just to the right of 3/5 (0.6). The gap is 1/15.

What it means: two thirds is the larger share, by one fifteenth. Cross-multiplying gives the same answer faster: 2 × 5 = 10 and 3 × 3 = 9.

How to write it: 2/3 = 10/15 and 3/5 = 9/15, so 2/3 > 3/5.

3
DECIMALS

0.09 against 0.1

The longer decimal is not the bigger number.

A pupil says 0.09 is greater than 0.1 "because 9 is greater than 1". Is that right?

0.09 = 9/1000.1 = 10/100A − B = −1/1000.09 < 0.1
StepWorkingNote
Equal length0.09 and 0.10Add a zero so both have two decimal places
Tenths digit0 and 1The first place that differs decides it
Sign<0 tenths is less than 1 tenth
Number line showing 0.09 less than 0.1A number line from 0 to 0.2 with 0.09 marked in blue just left of 0.1 marked in orange.00.050.100.150.20A = 0.09B = 0.10.09 < 0.1
0.09 is just to the left of 0.1. Nine hundredths is one hundredth short of one tenth.

What it means: the pupil compared 9 with 1 and ignored place value. 0.1 is ten hundredths, which beats nine hundredths.

How to write it: 0.09 < 0.10, so 0.09 < 0.1.

4
REAL WORLD

Phone battery: 5/8 full or 60%?

A fraction against a percent, the mix people meet outside school.

One phone shows a battery bar that is 5/8 full. Another shows 60%. Which phone has more charge?

5/8 = 62.5%60% = 3/525/40 and 24/405/8 > 60%
StepWorkingNote
Percent to fraction60% = 60/100 = 3/5Percent means "out of 100"
Common denominator5/8 = 25/40, 3/5 = 24/40LCM(8, 5) = 40
Difference1/40 = 2.5%A small but real gap
Number line showing five eighths greater than 60 percentA number line from 0.5 to 0.7 with 60 percent marked at 0.6 in orange and 5/8 marked at 0.625 in blue.0.500.550.600.650.70A = 5/8B = 60%5/8 > 60%
Zoomed in between 0.5 and 0.7: 5/8 is 0.625, a little to the right of 0.6.

What it means: the phone at 5/8 has slightly more charge, 62.5% against 60%.

How to write it: 5/8 = 62.5% > 60%.

5
SPECIAL CASE: EQUAL

4/6 and 2/3

Two fractions that look different and are the same number.

Which sign belongs between 4/6 and 2/3?

4/6 = 2/3cross: 12 and 12A − B = 04/6 = 2/3
StepWorkingNote
Simplify4/6 = 2/3Divide top and bottom by 2
Cross-multiply4 × 3 = 12, 2 × 6 = 12Equal products mean equal fractions
Sign=≥ and ≤ are also true
Number line showing four sixths equal to two thirdsA number line from 0 to 1 with a single purple point at about 0.667 labelled both 4/6 and 2/3.00.20.40.60.81A = 4/6B = 2/34/6 = 2/3
Both fractions land on the same point, about 0.667. One dot, two names.

What it means: neither is greater. They are equivalent fractions, so the equals sign is the answer.

How to write it: 4/6 = 2/3.

6
NO ANSWER

7/0 and 3

One of the "numbers" is not a number.

A worksheet has a misprint: compare 7/0 with 3.

7 ÷ 0undefinedno sign
StepWorkingNote
Check the denominator0Division by zero is not defined
Place on the number linenoneNo number times 0 gives 7
Signcannot be writtenNot greater, not less, not equal
Number line showing 3, with 7 divided by 0 marked as undefinedThe number 3 is marked on a number line from 0 to 5. A dashed box beside the line says 7 over 0 is undefined and has no position.012345B = 37/0 ? 3   has no answerA = 7/0: undefined, no position
3 has a place on the number line. 7/0 has none, so there is nothing to compare it with.

What it means: the question has no answer. It is not "infinity is greater". An undefined expression cannot take part in a comparison.

How to write it: 7/0 is undefined, so no comparison is possible.

7
LARGE NUMBERS

6.02 × 10²³ and 6 × 10²³

Scientific notation, where the power of ten is compared first.

A chemistry student rounds a constant to 6 × 10²³. Is the fuller value 6.02 × 10²³ greater or less?

same power: 236.02 and 6gap 2 × 10²¹6.02 × 10²³ > 6 × 10²³
StepWorkingNote
Compare the powers23 and 23A higher power of ten would win outright
Compare the front numbers6.02 is more than 6Only needed because the powers match
Difference0.02 × 10²³ = 2 × 10²¹Exact, with no rounding
Number line showing 6.02 times ten to the 23 greater than 6 times ten to the 23A number line from 5.9 to 6.1 in units of ten to the power 23, with 6.00 marked in orange and 6.02 marked in blue.5.905.956.006.056.10A = 6.02B = 66.02 × 10²³ > 6 × 10²³× 10²³
The axis is in units of 10²³. 6.02 sits to the right of 6.00.

What it means: the fuller value is greater. The gap looks tiny, 0.02, but it stands for 2,000,000,000,000,000,000,000.

How to write it: 6.02 × 10²³ > 6 × 10²³.

8
TRAP CASE

−2 and −5

The obvious method, "5 is bigger than 2", gives the wrong sign.

The temperature is −2 °C in one town and −5 °C in another. Which temperature is greater?

A = −2B = −5A − B = 3−2 > −5
StepWorkingNote
Without the minus signs2 is less than 5This is the comparison that tempts people
Turn the sign round−2 is greater than −5Both are negative, so the order flips
Check by subtracting−2 − (−5) = 3Positive, so the first number is greater
Number line showing negative 2 greater than negative 5A number line from negative 6 to 1 with negative 5 marked in orange and negative 2 marked in blue to its right, closer to zero.−6−5−4−3−2−101A = −2B = −5−2 > −5
−2 is to the right of −5, closer to zero. Further right is greater, even among negative numbers.

What it means: −2 °C is the warmer, greater temperature. A bigger digit after a minus sign means a smaller number.

How to write it: −2 > −5, or the same fact flipped, −5 < −2.

✏️ 14. How to Choose the Greater Than or Less Than Sign by Hand, Step by Step

This is the pen and paper method a teacher expects to see, worked on the same example as Sections 7, 9, 10 and 11: which sign goes between 3/4 and 0.7?

14.1 The written method

  1. Write the two numbers with a gap between them. 3/4  ___  0.7.
  2. Check both numbers exist. Neither has 0 underneath a fraction line, so both are real numbers.
  3. Put them in one form. Turn the decimal into a fraction: 0.7 has one decimal place, so 0.7 = 7/10.
  4. Look at the signs. Both are positive, so their sizes must be compared.
  5. Find a common denominator. The lowest number that 4 and 10 both divide into is 20.
  6. Rewrite both fractions. 3/4 = 15/20 (multiply top and bottom by 5). 7/10 = 14/20 (multiply top and bottom by 2).
  7. Compare the numerators. 15 is more than 14, so 15/20 is the greater fraction.
  8. Write the sign with its open side toward the greater number. 3/4 > 0.7.
  9. Check. As decimals, 0.75 and 0.70: the hundredths agree with the answer. As a subtraction, 15/20 − 14/20 = 1/20, which is positive.
The quick version for an exam: cross-multiply. 3 × 10 = 30 and 7 × 4 = 28. Since 30 is more than 28, the fraction that gave 30 is greater: 3/4 > 7/10.

14.2 On a scientific calculator

No school calculator has a key that prints the greater than sign for you. Subtract instead, and read the sign of the answer.

CalculatorKeysWhat you see
Casio fx-991EX (ClassWiz)Fraction key, 3 ▼ 4 ▶ − 0.7 =1/20. Positive, so 3/4 > 0.7. Press S⇔D to see 0.05
Casio fx-570MS / fx-991MS / fx-82MS3 a b/c 4 − 0.7 =0.05. Positive, so 3/4 > 0.7
TI-84 Plus CE3 ÷ 4 2nd MATH (the TEST menu) 3 (for >) 0.7 ENTER1, which means true. A 0 would mean false

On the TI-84 TEST menu the six signs are listed in this order: =, ≠, >, ≥, <, ≤. The Casio models have an Inequality mode, but it solves inequalities with x in them and does not compare two plain numbers. Keystrokes differ a little between models and software versions, so confirm them against the maker's manual.

14.3 Practice problems with answers

Put >, < or = between each pair. Open a card to see the answer and the reason.

1.  9 ___ 6

9 > 6. 9 − 6 = 3, positive.

2.  0.3 ___ 0.30

0.3 = 0.30. A zero on the end of a decimal changes nothing. Both are 3/10.

3.  −4 ___ −9

−4 > −9. −4 is closer to zero. Difference: −4 − (−9) = 5.

4.  2/5 ___ 3/8

2/5 > 3/8. Over 40: 16/40 and 15/40. Difference 1/40.

5.  1.02 ___ 1.2

1.02 < 1.2. Write 1.20. Tenths: 0 against 2. Difference −9/50.

6.  7/9 ___ 0.77

7/9 > 0.77. Over 900: 700/900 and 693/900. Difference 7/900. Note 7/9 = 0.777...

7.  45% ___ 4/9

45% > 4/9. 45% = 9/20. Over 180: 81/180 and 80/180. Difference 1/180.

8.  −3/4 ___ −0.8

−3/4 > −0.8. Over 20: −15/20 and −16/20. −15 is closer to zero. Difference 1/20.

9.  √10 ___ 3.2

√10 < 3.2. Square both: 10 and 10.24. Since 10 is less than 10.24, the root is less.

10.  6/0 ___ 1

No sign. 6/0 is undefined, so it cannot be compared with anything.

14.4 Mistakes that lose marks

  • Judging a decimal by its length: 0.45 has more digits than 0.5, but 0.5 is greater.
  • Comparing two negative numbers by their digits: −8 is less than −3, not greater.
  • Comparing only numerators or only denominators of two fractions. 3/8 is less than 2/5 even though 3 is more than 2 and 8 is more than 5.
  • Rounding too early: 1/3 and 0.333 are not equal. 1/3 is greater.
  • Writing the sign backwards. Read your answer aloud: "three quarters is greater than 0.7" must sound true.
  • Forgetting to turn the sign when multiplying or dividing both sides by a negative number.
  • Using > when the question says "at least". "At least 18" means ≥ 18, which includes 18 itself.

🎯 15. When to Use This Method

Choosing between the greater than sign and the less than sign is the right tool whenever a question asks "which is bigger?" about two definite numbers.

Use it when:

  • ✓ You have two numbers in different forms, such as a fraction and a decimal, or a percent and a fraction.
  • ✓ The numbers are close together and you need to be certain, not roughly right.
  • ✓ Negative numbers are involved and you want to avoid the usual slip.
  • ✓ You need to put a list in order from least to greatest.
  • ✓ You want to check whether a written statement such as 5/8 ≥ 0.6 is true.

Use something else when:

  • ✗ The statement has a letter in it, such as 2x + 1 > 7. That is an inequality to solve, not two numbers to compare.
  • ✗ You want to know how many times bigger one number is. That is a ratio or a percentage change.
  • ✗ The values are measurements with error, and you want to know if the gap is real. That needs a statistical test.
  • ✗ You are comparing words or dates. Those follow alphabetical or calendar order.

Four everyday examples:

  1. Shopping: is 15% off better than 1/8 off? 15% = 0.15 and 1/8 = 0.125, so 15% > 1/8.
  2. Cooking: is a 2/3 cup measure bigger than a 3/5 cup measure? Yes, 2/3 > 3/5.
  3. Weather: is −2 °C warmer than −5 °C? Yes, −2 > −5.
  4. Rules and limits: "you must be at least 120 cm tall" is written height ≥ 120.

Decision tree for the quickest method:

Ask in this orderIf yes, use
Is one number negative and the other positive?The sign rule. The positive number is greater. Finished
Are both whole numbers?Count digits, then compare from the left
Are both decimals or percents?Place value, with the decimal points lined up
Are both fractions?Cross-multiplication
Is it a fraction against a decimal?A common denominator, or divide the fraction out
Is there a square root?Square both numbers, if both are positive
Still unsure?Subtract. The sign of the difference is the answer

🔧 16. Common Mistakes and Troubleshooting

I always mix up the greater than and less than signs

Cause: the two signs are mirror images. Fix: the open side always faces the bigger number. Or use the letter trick: the less than sign looks like a tilted L, and L stands for "less".

My answer is the wrong way round for negative numbers

Cause: you compared the digits and ignored the minus signs. Fix: for two negatives, compare without the minus signs and then turn the sign round. −8 < −3.

I thought 0.45 was bigger than 0.5

Cause: 45 is bigger than 5, but those are not the values. Fix: write 0.50 and compare the tenths first. 5 tenths beats 4 tenths.

The tool says equal but the numbers look different

Cause: they are two names for one value, such as 0.5 and 1/2, or 4/6 and 2/3. Fix: nothing is wrong. Use the equals sign.

The tool and my calculator disagree about 1/3 and 0.3333

Cause: the calculator rounded 1/3 to 0.3333. Fix: trust the exact answer. 1/3 is greater, by 1/30000.

The tool says "undefined"

Cause: a fraction has 0 underneath, or a square root has a negative number inside. Fix: correct the number. An undefined expression cannot be compared.

The tool cannot read my number

Cause: it contains a letter, a unit, a currency sign or a power other than a power of ten. Fix: type the number alone: 3/4, 0.7, -5, 15%, 2 1/3, 3x10^8, sqrt(2) or pi.

My list is in the wrong order

Cause: a number with a thousands comma, such as 1,000, was read as two numbers. Fix: in the list and batch tabs, type large numbers without commas.

Excel says TRUE when it should say FALSE

Cause: one of the cells holds text, and Excel treats any text as greater than any number. Fix: convert the cell to a number. See Section 9.3.

I cannot find the greater than or equal to sign on my keyboard

Cause: there is no key for it. Fix: Alt + 242 on Windows, Option + . on a Mac, 2265 then Alt + X in Word, or copy it from Section 0. See table 12.2.

⚖ 17. Assumptions and Limitations

Assumptions

  1. The numbers are real numbers. The signs > and < have no meaning for complex numbers such as 2 + 3i. If you type something that is not a real number, the tool says so.
  2. What you type is exact. 0.333 is treated as 333/1000, not as 1/3. To mean one third, type 1/3 or the repeating decimal 0.(3).
  3. Decimals use a full stop. 0.7 is read correctly. A decimal comma, as in 0,7, is read as a separator in list mode.
  4. A percent means "out of 100". 15% is read as 0.15. It is not 15% of the other number.
  5. The slash means division. 3/4 is three divided by four. A date such as 3/4 is not understood as a date.

Limitations

  1. Irrational numbers are compared with bounds. Square roots are compared exactly by squaring. π and e are compared with bounds that are correct to 40 decimal places, which is far more than any practical problem needs.
  2. No general expressions. The tool reads single numbers, not sums such as 1/2 + 1/3. Work the expression out first, or use the Algebra Calculator.
  3. No inequalities with letters. It will not solve 2x + 1 > 7. It compares numbers only.
  4. Powers of ten only. 3x10^8 is read, but 2^10 is not.
  5. Size limits. Lists hold up to 200 numbers and batches up to 500 lines.

🏁 18. Conclusion

The greater than sign is one of the smallest marks in mathematics, and it carries a precise claim: the number on the open side is the bigger one. Getting it right is never about the shape of the sign. It is about knowing, with certainty, which of two numbers is further to the right on the number line.

What the answer is

___ Solve a problem above to see the sign for your numbers.

For the worked example on this page the answer is 3/4 > 0.7. Over a common denominator the numbers are 15/20 and 14/20, the cross products are 30 and 28, and the difference is 1/20. Three methods, one sign.

What it tells you

___

A comparison answers "which is bigger?" and nothing more. To know how much bigger, look at the difference or the ratio, both of which are in the results table.

Watch out for

___

Three situations cause nearly every wrong sign: two negative numbers, decimals of different lengths, and fractions compared by their tops alone. In each case the cure is the same. Put both numbers in one form, then compare.

Next steps

___

Practise with the ten problems in Section 14.3, then move on to inequalities with a letter in them, where the same signs describe whole ranges of numbers. For arithmetic on the numbers themselves, the 4 Function Calculator and the Factor Calculator are the natural companions. Come back to this page whenever you need to be sure which way round to write the greater than sign.

❓ 19. Frequently Asked Questions

Q1. What is the greater than sign?

The greater than sign is >, a math symbol that shows the number on its left is larger than the number on its right. For example, 8 > 3 is read "eight is greater than three". The wide, open side of the sign faces the bigger number and the point faces the smaller number.

Q2. What does the greater than sign look like?

The greater than sign looks like an arrowhead pointing to the right: >. It is made of two short lines that meet at a point on the right and open wide on the left. On a keyboard it is on the same key as the full stop, and you type it with Shift.

Q3. Which way does the greater than sign go?

The greater than sign opens to the left and points to the right, like this: >. The open side always faces the bigger number, so the bigger number is written first: 9 > 4. If the smaller number comes first, you need the less than sign instead: 4 < 9.

Q4. What are the greater than and less than signs?

The greater than sign is > and the less than sign is <. They are the same shape facing opposite ways. 7 > 2 means 7 is bigger than 2, and 2 < 7 means 2 is smaller than 7. Both statements say the same thing, read from different sides.

Q5. What is the greater than or equal to sign?

The greater than or equal to sign is ≥, a greater than sign with a line underneath. It means the left value is bigger than the right value or the same as it. x ≥ 18 is true for 18, 19, 20 and every larger number. In code and spreadsheets it is typed as >=.

Q6. What is the greater than sign with a line under it?

A greater than sign with a line under it is the greater than or equal to sign, ≥. The line stands for "or equal to". 5 ≥ 5 is true and 6 ≥ 5 is true, but 4 ≥ 5 is false. The matching less than sign with a line underneath is ≤.

Q7. How do you type the greater than sign on a keyboard?

Hold Shift and press the full stop key to type the greater than sign, >. Hold Shift and press the comma key for the less than sign. These positions are the same on US and UK keyboards, on Windows, Mac, Chromebook and Linux.

Q8. How do you type a greater than or equal to sign on a keyboard?

On Windows, hold Alt and type 242 on the number pad to make the greater than or equal to sign. On a Mac, press Option and the full stop key. In Word, type 2265 and press Alt + X. On a Chromebook, press Ctrl + Shift + U, type 2265 and press Enter.

Q9. How do you insert the greater than or equal sign in Word?

In Word, type 2265 and then press Alt + X, and the code turns into the greater than or equal sign. You can also use Insert, Symbol, More Symbols and choose the Mathematical Operators subset. For less than or equal to, the code is 2264.

Q10. How can I copy and paste the greater than or equal to sign?

Press the Copy button under the sign in Section 0 of this page, then paste it wherever you need it. The greater than or equal to sign is the single character with Unicode number U+2265, so it pastes correctly into Word, Google Docs, email and chat apps.

Q11. How do you remember which sign is greater than and which is less than?

Remember that the open side always faces the bigger number. Many children picture an alligator's mouth that opens toward the larger meal. Another trick: the less than sign looks like a tilted letter L, and L is for "less".

Q12. How do you use the greater than sign with negative numbers?

With negative numbers, the number closer to zero is the greater one, so −3 > −8. This is the opposite of how the digits look. Any positive number is greater than any negative number, and zero is greater than every negative number.

Q13. How do you tell which fraction is greater?

Cross-multiply to tell which fraction is greater. For 5/8 and 7/12, work out 5 × 12 = 60 and 7 × 8 = 56. The fraction whose numerator gave the bigger product is greater, so 5/8 > 7/12. A common denominator gives the same answer: 15/24 and 14/24.

Q14. How do you compare decimals with the greater than sign?

Line up the decimal points and compare the digits from left to right. The first place where the digits differ decides the sign. For 0.5 and 0.45, the tenths are 5 and 4, so 0.5 > 0.45. A longer decimal is not automatically a bigger number.

Q15. How do you write greater than or equal to in Excel?

In Excel, type the greater than sign followed by an equals sign: >=. For example, =A2>=B2 returns TRUE when A2 is at least as big as B2. Excel does not accept the single ≥ character inside a formula. To display it in a cell, use =UNICHAR(8805).

Q16. How do you write greater than in R?

In R, greater than is written > and greater than or equal to is written >=. The line 3/4 > 0.7 returns TRUE. Put spaces round the less than sign when a negative number follows, because R reads the two characters of its assignment arrow as "assign", not "less than".

Q17. How do you write greater than or equal to in Python?

In Python, greater than or equal to is written >=, with the greater than sign first. For example, 5 >= 5 is True. Python can also check a chain in one line, such as 1 < 2 < 3. For exact results with fractions, use the Fraction class from the fractions module.

Q18. How do you check greater than or less than on a scientific calculator?

Subtract the second number from the first and look at the sign of the answer. A positive answer means the first number is greater, a negative answer means it is less, and zero means they are equal. On a TI-84, the TEST menu also has the greater than sign and returns 1 for true or 0 for false.

Q19. Who invented the greater than and less than signs?

The greater than and less than signs first appeared in print in 1631, in a book by the English mathematician Thomas Harriot that was published after his death. The versions with a line underneath, for "or equal to", were used by the French scientist Pierre Bouguer in 1734.

Q20. Is the bigger than sign the same as the greater than sign?

Yes, the bigger than sign and the greater than sign are the same symbol, >. In the same way, the smaller than sign is the less than sign, <. "Greater than" and "less than" are the names used in mathematics, and "more than" and "fewer than" are everyday ways of saying the same thing.

📑 20. Cite This Tool

APA 7th edition
Pushbanathan, R. (2026). Greater than sign calculator [Interactive math tool]. StatsUnlock. https://statsunlock.com/greater-than-sign/ (accessed 10 November 2026)
BibTeX
@misc{statsunlock_greater_than_sign_2026, title={Greater Than Sign Calculator}, author={Pushbanathan, Reegan}, year={2026}, note={Interactive math tool, StatsUnlock}, url={https://statsunlock.com/greater-than-sign/}}
Working sentence, filled from your answer
The values ___ and ___ were compared exactly using the StatsUnlock Greater Than Sign Calculator (2026). Result: ___.

🔗 21. Related Tools

📖 22. Glossary of Terms

TermPlain-English meaning
Ascending orderFrom least to greatest. Written with less than signs: 1 < 2 < 3.
Common denominatorA shared bottom number for two fractions. With it, the numerators alone show which fraction is greater.
Comparison signAny of >, <, ≥, ≤, = or ≠. Also called a relational symbol.
Cross-multiplicationMultiplying each numerator by the other fraction's denominator to compare two fractions quickly.
DenominatorThe bottom number of a fraction. It says how many equal parts the whole is cut into. It can never be 0.
Descending orderFrom greatest to least. Written with greater than signs: 3 > 2 > 1.
DifferenceThe result of subtracting. Here it is a − b, and its sign decides which comparison sign is correct.
Equivalent fractionsFractions with the same value, such as 4/6 and 2/3.
Greater than or equal to sign (≥)The greater than sign with a line under it. It allows the two values to be equal.
Greater than sign (>)The sign that says the left value is bigger than the right value.
InequalityA statement that uses >, <, ≥, ≤ or ≠ instead of an equals sign.
Irrational numberA number whose decimal never ends and never repeats, such as √2 or π.
Least common denominator (LCD)The smallest common denominator of two fractions. It is the lowest common multiple of the two denominators.
Less than sign (<)The sign that says the left value is smaller than the right value.
Number lineA line with numbers in order. Further to the right always means greater.
NumeratorThe top number of a fraction. It says how many parts are taken.
Place valueThe worth of a digit from its position: tens, ones, tenths, hundredths and so on.
Strict inequalityOne that does not allow equality: > or <. The forms ≥ and ≤ are called non-strict.
TrichotomyThe rule that for any two real numbers exactly one of a < b, a = b or a > b is true.
UndefinedHaving no value at all, like 5/0. An undefined expression cannot be compared.

📚 23. References

These peer-reviewed journal articles support the methods and teaching points on this page: how people compare numbers, why fractions, decimals and negative numbers cause mistakes, how students read relational symbols, and why computers need care with decimal comparisons.

  1. Bofferding, L. (2014). Negative integer understanding: Characterizing first graders' mental models. Journal for Research in Mathematics Education, 45(2), 194–245. https://doi.org/10.5951/jresematheduc.45.2.0194
  2. Bonato, M., Fabbri, S., Umiltà, C., & Zorzi, M. (2007). The mental representation of numerical fractions: Real or integer? Journal of Experimental Psychology: Human Perception and Performance, 33(6), 1410–1419. https://doi.org/10.1037/0096-1523.33.6.1410
  3. Dehaene, S., Dupoux, E., & Mehler, J. (1990). Is numerical comparison digital? Analogical and symbolic effects in two-digit number comparison. Journal of Experimental Psychology: Human Perception and Performance, 16(3), 626–641. https://doi.org/10.1037/0096-1523.16.3.626
  4. De Smedt, B., Verschaffel, L., & Ghesquière, P. (2009). The predictive value of numerical magnitude comparison for individual differences in mathematics achievement. Journal of Experimental Child Psychology, 103(4), 469–479. https://doi.org/10.1016/j.jecp.2009.01.010
  5. DeWolf, M., Grounds, M. A., Bassok, M., & Holyoak, K. J. (2014). Magnitude comparison with different types of rational numbers. Journal of Experimental Psychology: Human Perception and Performance, 40(1), 71–82. https://doi.org/10.1037/a0032916
  6. Durkin, K., & Rittle-Johnson, B. (2015). Diagnosing misconceptions: Revealing changing decimal fraction knowledge. Learning and Instruction, 37, 21–29. https://doi.org/10.1016/j.learninstruc.2014.08.003
  7. Goldberg, D. (1991). What every computer scientist should know about floating-point arithmetic. ACM Computing Surveys, 23(1), 5–48. https://doi.org/10.1145/103162.103163
  8. Holloway, I. D., & Ansari, D. (2009). Mapping numerical magnitudes onto symbols: The numerical distance effect and individual differences in children's mathematics achievement. Journal of Experimental Child Psychology, 103(1), 17–29. https://doi.org/10.1016/j.jecp.2008.04.001
  9. Kieran, C. (1981). Concepts associated with the equality symbol. Educational Studies in Mathematics, 12(3), 317–326. https://doi.org/10.1007/BF00311062
  10. Lyons, I. M., Price, G. R., Vaessen, A., Blomert, L., & Ansari, D. (2014). Numerical predictors of arithmetic success in grades 1–6. Developmental Science, 17(5), 714–726. https://doi.org/10.1111/desc.12152
  11. McNeil, N. M., & Alibali, M. W. (2005). Why won't you change your mind? Knowledge of operational patterns hinders learning and performance on equations. Child Development, 76(4), 883–899. https://doi.org/10.1111/j.1467-8624.2005.00884.x
  12. Moyer, R. S., & Landauer, T. K. (1967). Time required for judgements of numerical inequality. Nature, 215(5109), 1519–1520. https://doi.org/10.1038/2151519a0
  13. Ni, Y., & Zhou, Y.-D. (2005). Teaching and learning fraction and rational numbers: The origins and implications of whole number bias. Educational Psychologist, 40(1), 27–52. https://doi.org/10.1207/s15326985ep4001_3
  14. Rittle-Johnson, B., Siegler, R. S., & Alibali, M. W. (2001). Developing conceptual understanding and procedural skill in mathematics: An iterative process. Journal of Educational Psychology, 93(2), 346–362. https://doi.org/10.1037/0022-0663.93.2.346
  15. Schneider, M., & Siegler, R. S. (2010). Representations of the magnitudes of fractions. Journal of Experimental Psychology: Human Perception and Performance, 36(5), 1227–1238. https://doi.org/10.1037/a0018170
  16. Schneider, M., Beeres, K., Coban, L., Merz, S., Schmidt, S. S., Stricker, J., & De Smedt, B. (2017). Associations of non-symbolic and symbolic numerical magnitude processing with mathematical competence: A meta-analysis. Developmental Science, 20(3), e12372. https://doi.org/10.1111/desc.12372
  17. Siegler, R. S., Thompson, C. A., & Schneider, M. (2011). An integrated theory of whole number and fractions development. Cognitive Psychology, 62(4), 273–296. https://doi.org/10.1016/j.cogpsych.2011.03.001
  18. Tsamir, P., & Almog, N. (2001). Students' strategies and difficulties: The case of algebraic inequalities. International Journal of Mathematical Education in Science and Technology, 32(4), 513–524. https://doi.org/10.1080/00207390110038277
  19. Vaiyavutjamai, P., & Clements, M. A. (2006). Effects of classroom instruction on student performance on, and understanding of, linear equations and linear inequalities. Mathematical Thinking and Learning, 8(2), 113–147. https://doi.org/10.1207/s15327833mtl0802_2
  20. Vamvakoussi, X., & Vosniadou, S. (2004). Understanding the structure of the set of rational numbers: A conceptual change approach. Learning and Instruction, 14(5), 453–467. https://doi.org/10.1016/j.learninstruc.2004.06.013
STATS UNLOCK · statsunlock.com · Greater Than Sign Calculator
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Statistical Models

Important Plots & Charts

Calculators and Converters