Skip to content
ihateDesmos

Quadratic function grapher

Type a quadratic function in any form to graph it. You get the parabola with its vertex and intercepts marked, the same function in standard, vertex and factored form, and a table of values for drawing it by hand.

−2−1123456−2246810121416Vertex (2, −1)(0, 3)(1, 0)(3, 0)
The graph of y = x² − 4x + 3, with its axis of symmetry dashed.
Vertex
(2, −1)
Standard form
y = x² − 4x + 3
Vertex form
y = (x − 2)² − 1
Factored form
y = (x − 1)(x − 3)
Opens
Upward
Axis of symmetry
x = 2
x-intercepts
(1, 0) and (3, 0)
y-intercept
(0, 3)
Minimum value
−1
Domain
All real numbers
Range
y ≥ −1
Discriminant
4
Points on the parabola, centred on the vertex
xy
−18
03
10
2−1
30
43
58
How to draw it by hand
  1. Since a = 1 is positive, it opens upward.
  2. Find the vertex: x = −b ÷ (2a) = −(−4) ÷ (2 × 1) = 2, then y = −1. Plot (2, −1).
  3. Draw the axis of symmetry, the vertical line x = 2.
  4. Plot the y-intercept, (0, 3), and its mirror image across the axis.
  5. Plot the x-intercepts: (1, 0) and (3, 0).
  6. Use the table for a few more points, then join them with a smooth curve.
Open in the graphing calculator →

How to graph a quadratic function here

  1. 1
    Type your function in any form: x^2 - 4x + 3, 2(x - 1)^2 + 3 or (x - 1)(x - 3).
  2. 2
    Read the graph, with its key points marked.
  3. 3
    Use the table and steps to draw it by hand, or download the graph for your work.

Three forms of the same function

A quadratic function can be written in three ways. Each one shows something different at a glance, and this tool converts between them.

FormShapeWhat it shows
Standardy = ax² + bx + cThe y-intercept, c
Vertexy = a(x − h)² + kThe vertex, (h, k)
Factoredy = a(x − r₁)(x − r₂)The x-intercepts, r₁ and r₂

Every form has the same a. It sets the direction and width of the parabola: positive opens up, negative opens down, and a larger size makes it narrower.

Worked example

To graph y = x² − 4x + 3 by hand:

  1. Since a = 1 is positive, the parabola opens upward.
  2. The vertex is at x = −b/(2a) = 4/2 = 2. Then y = 4 − 8 + 3 = −1, so the vertex is (2, −1).
  3. The axis of symmetry is the vertical line x = 2.
  4. The y-intercept is (0, 3). Its mirror image across the axis is (4, 3).
  5. Factoring gives (x − 1)(x − 3), so the x-intercepts are (1, 0) and (3, 0).
  6. Join the points with a smooth curve.

Our guide on how to graph a parabola covers this method in more detail.

How many times does it cross the x-axis?

The discriminant, b² − 4ac, tells you before you draw anything. If it’s positive, the parabola crosses the x-axis twice. If it’s zero, the vertex just touches the axis. If it’s negative, the parabola misses the axis completely, and there are no real solutions. To find those solutions exactly, use the quadratic formula calculator.

Which tool do you need?

Frequently asked questions

What does the graph of a quadratic function look like?
A U-shaped curve called a parabola. It opens upward if the coefficient of x² is positive and downward if it’s negative.
How do I find the vertex?
In y = ax² + bx + c, the vertex is at x = −b/(2a). Put that x back in to get y. In vertex form, y = a(x − h)² + k, the vertex is (h, k).
How do I find the x-intercepts?
Set y = 0 and solve, by factoring or with the quadratic formula. In factored form, y = a(x − r₁)(x − r₂), they are x = r₁ and x = r₂.
What are the domain and range?
The domain is all real numbers. The range starts at the vertex: y ≥ k if the parabola opens up, and y ≤ k if it opens down.
Why is there no factored form?
If the discriminant is negative, there are no real x-intercepts. If it’s positive but not a perfect square, the roots are irrational, so they’re shown as exact surds instead of factors.
Can I download the graph?
Yes, as an SVG or PNG, using the buttons under the graph.

Related tools and guides

Drag the parabola yourself

In the calculator, sliders for a, h and k show exactly what each number does.

Open the calculator