Rational or Irrational Calculator
Enter a number to find out whether it is rational.
Fractions, decimals, sqrt(…), pi and e, with + - * / and brackets.
Result
You entered
Simplified
Show the work
Exact value of the number
First write the number exactly: keep fractions as fractions, change decimals to fractions, and simplify every square root by taking out perfect-square factors. Then like terms can be combined and any roots that cancel disappear.
The square root of a non-square is irrational
After simplifying, the number still contains , and has no square factor left to take out, so it is not a perfect square. Roots of different such whole numbers cannot cancel each other or combine into a fraction, so the number cannot be written as a ratio of two integers.
Result
So the number is irrational.
Worked examples
Exact value of the number, The square root of a non-square is irrational
Exact value of the number, A rational number is a ratio of integers
Exact value of the number, A rational number is a ratio of integers
Exact value of the number, Pi is transcendental
Exact value of the number, A rational number is a ratio of integers
Exact value of the number, The square root of a non-square is irrational
Exact value of the number, A rational number is a ratio of integers