Rational or Irrational Calculator

Classify integers, fractions, repeating decimals, roots, constants, and common exact trigonometric expressions as rational, irrational, or nonreal.

Result
—

How to calculate

Use exact fractions for rational arithmetic. A real root of a reduced fraction is rational only when the numerator and denominator are perfect powers of the root index. Known constants and rational-angle trigonometric cases are classified symbolically.

Worked example

Use Number or expression sqrt(2). The result is Irrational.

Input and result notes

Examples include 0.1(6), -2/7, pi, sqrt(2), root(3, -8), and sin(pi/6). Use parentheses around root arguments. Trigonometric arguments must be rational multiples of π.

OpenStax radicals and rational exponents

Omni rational and irrational number examples

Related calculators