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.
A rational number is a ratio of integers
Nothing irrational is left: every root simplified to a whole number or cancelled. The value is the fraction , a ratio of two integers.
Using
Result
So the number is rational, equal to 4.
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