Domain and Range Calculator
Type a function of x, or a set of ordered pairs, and this domain and range calculator finds the domain and the range right away, explains every step and shows both on a graph.
On this page, you will be able to
- Find the domain and range of any function you type, like (x + 2)/(x² − 9) or √4 − x²
- Build a function from a type (linear, quadratic, square root, rational…) and see how its numbers change the range
- Find the domain and range of a set of ordered pairs, and see if it is a function
- See the answer in interval notation and in words, with the steps and a graph
- Find the domain and range with a table of values that shows what happens to y near the excluded x-values and far out
Find the Domain and Range
The answer appears while you type. Use ^ for powers (x^2), sqrt(x) for square roots and / for fractions.
What You Can Type
| To get | Type |
|---|---|
| x², x³ | x^2, x^3 |
| x + 2x − 3 | (x+2)/(x-3) |
| √x − 1 | sqrt(x-1) |
| 3√x | cbrt(x) or x^(1/3) |
| |x − 2| | |x-2| or abs(x-2) |
| ln x, log x | ln(x), log(x) |
| ex, 2x | e^x, 2^x |
| sin x, cos x, π | sin(x), cos(x), pi |
You can leave out the times sign: 2x, 3(x − 1) and 2sqrt(x) all work. For ordered pairs, choose Ordered pairs and type them like (1, 2), (3, 4), (5, 6).
The calculator works with real numbers only. A number marked ≈ is an estimate read from the graph, rounded to 4 decimal places. All other answers are exact.
Domain and Range Examples
- The denominator x − 2 cannot be 0, so x ≠ 2. Domain: (−∞, 2) ∪ (2, +∞).
- The fraction 1x − 2 can be any number except 0, so f(x) can be any number except 0 + 3 = 3.
- On the graph, y = 3 is a horizontal asymptote: the graph gets close to it but never touches it.
Domain: (−∞, 2) ∪ (2, +∞). Range: (−∞, 3) ∪ (3, +∞).
- The number under the square root must be 0 or more: 4 − x2 ≥ 0, so x2 ≤ 4 and −2 ≤ x ≤ 2.
- The smallest output is f(2) = √0 = 0. The largest is f(0) = √4 = 2.
- The graph is the top half of a circle with radius 2.
Domain: [−2, 2]. Range: [0, 2].
- A polynomial has no denominator and no square root, so the domain is all real numbers.
- The parabola opens up (a = 1 > 0), so the range starts at the vertex. The vertex is at x = −b2a = 42 = 2.
- f(2) = 4 − 8 + 1 = −3, so every output is −3 or more.
Domain: (−∞, +∞). Range: [−3, +∞).
How to Find the Domain and Range by Hand
The domain is the set of x-values you can put into the function. The range is the set of y-values that come out. The lessons on the domain of a function and the range of a function explain both with more examples.
- A denominator cannot be 0: leave out the x-values that make it 0.
- The number under a square root must be 0 or more.
- The number inside a logarithm must be more than 0.
- If none of these appear, the domain is all real numbers.
- Find the lowest and highest points of the graph, such as the vertex of a parabola or the corner of an absolute value graph.
- Look at the ends of the domain: does the graph stop at a point, or keep going up or down?
- Look for horizontal asymptotes: values the graph gets close to but never reaches are left out.
Thinking the range of every rational function is all real numbers. For f(x) = 1x, y = 0 never comes out, so the range is (−∞, 0) ∪ (0, +∞).
What are the domain and range of f(x) = |x| + 5?
Show answer
Domain (−∞, +∞), range [5, +∞). Every x works, and |x| is 0 or more, so f(x) is 5 or more.
Where Am I in Math? Free Level Test
Find your level from whole numbers to Algebra 2. Free printable PDF with answer key. What is in the test?