Skip to content
FiftyCalc Free calculators for all 50 states

Domain and Range Calculator

Test cases replayed : 6 of 6 match · Methodology · No outside source listed

Pick a parent function and enter the stretch a, the horizontal shift h and the vertical shift k. The calculator writes the domain and the range of y = a · f(x − h) + k in interval notation.

Result

Sample figures

Domain—

Range —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Domain and Range Calculator

Function y =: choose one of the 6 options in the list. Prefilled example: a(x − h)² + k (parabola).

a, vertical stretch (negative flips it): enter a number. Prefilled example: 1.

h, horizontal shift: enter a number. Prefilled example: 2.

k, vertical shift: enter a number. Prefilled example: -3.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Function y =: choose one of the 6 options in the list.
  2. a, vertical stretch (negative flips it): enter a number.
  3. h, horizontal shift: enter a number.
  4. k, vertical shift: enter a number.
  5. Read the result: Domain; the panel also shows Range.

How this calculator works

Domain: the x-values where the formula is defined. A square root needs x − h ≥ 0, so x ≥ h; a reciprocal cannot divide by zero, so x ≠ h; a logarithm needs x − h > 0. Parabolas, absolute values and exponentials accept every real x.

Range: the y-values the function reaches. The parent function's range is stretched by a and moved up by k: x², |x| and √x give [0, ∞), so a > 0 gives [k, ∞) and a < 0 gives (−∞, k]; 1/x never equals 0, so y ≠ k; e^x is always positive, so y > k when a > 0 and y < k when a < 0; ln x reaches every real number.

With a = 0 the function is the constant k, and its range is the single value k. Square brackets include the endpoint, parentheses exclude it, and ∪ joins two intervals.

Worked example

Function y =a(x − h)² + k (parabola)
a, vertical stretch (negative flips it)1
h, horizontal shift2
k, vertical shift-3
Domain(−∞, ∞)
Range[-3, ∞)

Frequently asked questions

What is the domain and range of y = (x − 2)² − 3?

Domain (−∞, ∞): any x can be squared. Range [−3, ∞): the vertex (2, −3) is the lowest point because a = 1 is positive.

Why does the horizontal shift not change the range of a parabola?

Moving the graph left or right does not change how high or low it goes; only a and k do.

How do I write all real numbers in interval notation?

(−∞, ∞). Infinity always takes a parenthesis because it is never reached.

Related calculators