Parabola Calculator
- The vertex sits at x = −b ÷ (2a) = -1.00, and substituting back gives y = -4.00 — the vertex is (-1.00, -4.00).
- The discriminant b² − 4ac = 16.00, so the x-intercepts are 1.00 and -3.00; the y-intercept is -3.00.
- The focus is (-1.00, -3.75) and the directrix is y = -4.25, each 1 ÷ (4a) from the vertex.
A parabola calculator takes a standard quadratic equation in the form y = ax^2 + bx + c and returns the key geometric features you need. It locates the vertex at x = -b / (2a), then substitutes back to find the y-coordinate. The focus sits 1 / (4a) above the vertex inside the curve, and the directrix rests the same distance below it at y = vertex y - 1 / (4a). The discriminant b^2 - 4ac decides the roots: a positive value gives two x-intercepts, zero gives one repeated root, and negative gives none. For instance, y = x^2 + 2x - 3 yields vertex (-1.00, -4.00), roots 1.00 and -3.00, focus (-1.00, -3.75), and directrix y = -4.25. A larger |a| makes a narrower parabola and pulls the focus closer to the vertex.
This method is the accepted standard because each value follows directly from the coefficients of the equation, with no estimation involved. The vertex formula comes from completing the square, and the focus and directrix distances derive from the definition of a parabola. This page shows the formula, step-by-step workings, worked examples, and sources so you can trace every result back to its origin.
Worked examples
The textbook parabola
Primary result: (-1.00, -4.00) — the vertex of x² + 2x − 3, with roots at 1.00 and −3.00 either side of it. (1 · 2 · -3)
| Vertex | (-1.00, -4.00) |
| Axis of symmetry | x = -1.00 |
| Y-intercept | -3.00 |
| Discriminant | 16.00 |
| Real roots (x-intercepts) | 1.00 and -3.00 |
| Focus | (-1.00, -3.75) |
| Directrix | y = -4.25 |
| Opens | Upward |
A narrower, shifted curve
Primary result: (2.00, -7.00) — a = 4 squeezes the parabola and pushes the focus to within 0.06 of the vertex. (4 · -16 · 9)
| Vertex | (2.00, -7.00) |
| Axis of symmetry | x = 2.00 |
| Y-intercept | 9.00 |
| Discriminant | 112.00 |
| Real roots (x-intercepts) | 3.32 and 0.68 |
| Focus | (2.00, -6.94) |
| Directrix | y = -7.06 |
| Opens | Upward |
Opening downward
Primary result: (2.00, 9.00) — the vertex is a maximum, with roots at −1.00 and 5.00. (-1 · 4 · 5)
| Vertex | (2.00, 9.00) |
| Axis of symmetry | x = 2.00 |
| Y-intercept | 5.00 |
| Discriminant | 36.00 |
| Real roots (x-intercepts) | -1.00 and 5.00 |
| Focus | (2.00, 8.75) |
| Directrix | y = 9.25 |
| Opens | Downward |
The anatomy of a parabola
Every parabola is built from four features: the vertex, the axis of symmetry, the focus, and the directrix. For a quadratic written as y = ax^2 + bx + c, the vertex sits at x = -b / (2a); substituting back gives its y-coordinate. The axis of symmetry is the vertical line passing through that vertex, splitting the curve into two mirror-image halves. When the coefficient a is positive the vertex marks the lowest point, and when a is negative it marks the highest point, so the graph opens upward or downward accordingly.
The focus and directrix work as a pair to define the curve's shape. The focus is 1 / (4a) above the vertex (inside the curve) and the directrix the same distance below it, at y = vertex y - 1 / (4a). Every point on the parabola sits at an equal distance from the focus and the directrix. A larger |a| makes a narrower parabola and pulls the focus closer to the vertex, while a smaller |a| spreads the curve wider and pushes the focus farther from the vertex.
The discriminant b^2 - 4ac decides the roots: positive gives two x-intercepts, zero one repeated root, negative none. A parabola calculator uses these relationships to report every feature at once. Take y = x^2 + 2x - 3: it has vertex (-1.00, -4.00), discriminant 16.00, roots 1.00 and -3.00, focus (-1.00, -3.75) and directrix y = -4.25. A steeper example, y = 4x^2 - 16x + 9, has vertex (2.00, -7.00), roots 3.32 and 0.68, focus (2.00, -6.94) and directrix y = -7.06 — note how the larger |a| brings the focus and directrix much nearer to the vertex.
When a is negative the same anatomy applies, but the curve flips. The equation y = -x^2 + 4x + 5 opens downward with vertex (2.00, 9.00) as a maximum and roots -1.00 and 5.00. In every case the four features — vertex, axis, focus, and directrix — fully describe the graph and let you sketch or analyze it without plotting dozens of points by hand.
Finding the vertex
For a parabola written in standard form as y = ax^2 + bx + c, the vertex always sits at x = -b / (2a). This single formula gives you the axis of symmetry, which is the vertical line that splits the parabola into two mirror-image halves. Once you have that x-coordinate, you plug it back into the original equation to find the matching y-coordinate. Together, those two numbers pin down the exact turning point of the curve.
A parabola calculator runs this two-step process automatically, but the arithmetic is simple enough to check by hand. Take y = x^2 + 2x - 3 as an example. Here a = 1 and b = 2, so x = -2 / (2 times 1), which equals -1. Substitute -1 back into the equation: y = (-1)^2 + 2(-1) - 3, or 1 - 2 - 3, giving -4. The vertex is therefore (-1.00, -4.00). This same equation has a discriminant of 16.00 and roots at 1.00 and -3.00, confirming the parabola crosses the x-axis on both sides of the vertex.
The same method works for any coefficients, including larger values. For y = 4x^2 - 16x + 9, a = 4 and b = -16, so x = 16 / 8, which equals 2. Plugging 2 back into the equation gives y = 4(4) - 32 + 9, or 16 - 32 + 9, producing -7. The vertex is (2.00, -7.00). When the leading coefficient is negative, the shape flips. The equation y = -x^2 + 4x + 5 opens downward, so its vertex at (2.00, 9.00) represents a maximum rather than a minimum. Its roots sit at -1.00 and 5.00.
The vertex also anchors the focus and directrix. The focus sits 1 / (4a) above the vertex inside the curve, while the directrix lies the same distance below it at y = vertex y - 1 / (4a). In the first example, 1 / (4a) equals 0.25, so the focus is (-1.00, -3.75) and the directrix is y = -4.25. A larger absolute value of a makes a narrower parabola and pulls the focus closer to the vertex, which is why y = 4x^2 - 16x + 9 has a focus at (2.00, -6.94) and a directrix at y = -7.06, only 0.06 units away.
Worked examples
The table below shows three verified parabolas that a parabola calculator can handle: a standard curve, a narrower one with a = 4, and one that opens downward. For y = ax^2 + bx + c, the vertex sits at x = -b / (2a); substituting back gives its y-coordinate. The focus is 1 / (4a) above the vertex (inside the curve) and the directrix the same distance below it, at y = vertex y - 1 / (4a).
The discriminant b^2 - 4ac decides the roots: positive gives two x-intercepts, zero one repeated root, negative none. A larger |a| makes a narrower parabola and pulls the focus closer to the vertex. When the leading coefficient is negative, the vertex becomes a maximum rather than a minimum.
| Equation | Vertex | Discrimant | Roots | Focus | Directrix |
|---|---|---|---|---|---|
| y = x^2 + 2x - 3 | (-1.00, -4.00) | 16.00 | 1.00 and -3.00 | (-1.00, -3.75) | y = -4.25 |
| y = 4x^2 - 16x + 9 | (2.00, -7.00) | — | 3.32 and 0.68 | (2.00, -6.94) | y = -7.06 |
| y = -x^2 + 4x + 5 | (2.00, 9.00) | — | -1.00 and 5.00 | — | — |
Roots and the discriminant
The discriminant, written as b^2 - 4ac, tells you what kind of roots a parabola has before you solve anything. A positive discriminant means the curve crosses the x-axis at two distinct points, giving two real roots. A discriminant of exactly zero means the vertex sits directly on the x-axis, producing one repeated root. A negative discriminant means the parabola never touches the x-axis, so there are no real roots at all.
When you enter y = x^2 + 2x - 3 into a parabola calculator, the discriminant comes out to 16.00. Because that value is positive, the curve has two real roots: 1.00 and -3.00. The vertex sits at (-1.00, -4.00), and since the parabola opens upward, the roots fall on either side of the vertex along the x-axis. The focus rests at (-1.00, -3.75), which is 0.25 units above the vertex, and the directrix lies the same distance below at y = -4.25.
A second example, y = 4x^2 - 16x + 9, also produces a positive discriminant of 112.00. Here the roots are 3.32 and 0.68, both real and distinct. The vertex lands at (2.00, -7.00), with the focus just above it at (2.00, -6.94) and the directrix just below at y = -7.06. Because the leading coefficient is larger in absolute value, the parabola is narrower than the first example, and the focus sits closer to the vertex.
The third verified case, y = -x^2 + 4x + 5, opens downward because the leading coefficient is negative. Its discriminant is 36.00, again positive, so the curve crosses the x-axis twice at roots -1.00 and 5.00. The vertex at (2.00, 9.00) acts as a maximum point rather than a minimum, since the parabola opens downward. Even though the direction flips, the discriminant still follows the same rule: positive means two real roots, zero means one, and negative means none.
- Positive discriminant: two distinct x-intercepts
- Zero discriminant: one repeated root at the vertex
- Negative discriminant: no real roots
- Larger absolute value of a: narrower parabola and focus closer to the vertex
Focus and directrix
Every parabola has two partners that define its shape: a focus and a directrix. For the standard form y = ax^2 + bx + c, the vertex sits at x = -b / (2a); substituting back gives its y-coordinate. The focus is 1 / (4a) above the vertex, inside the curve, and the directrix sits the same distance below it, at y = vertex y - 1 / (4a). A parabola calculator uses these relationships to report both points instantly, saving you the algebra.
This pairing is what makes satellite dishes and headlights work. When incoming signals hit a curved dish, they bounce off the surface and converge at the focus. Headlights reverse the process: a bulb placed at the focus sends light outward in a beam. The 1 / (4a) offset controls how tight that beam is. A larger |a| makes a narrower parabola and pulls the focus closer to the vertex, concentrating the signal or light. A smaller |a| spreads the focus farther from the vertex, producing a wider curve.
You can see the offset at work in real equations. The parabola y = x^2 + 2x - 3 has vertex (-1.00, -4.00), focus (-1.00, -3.75), and directrix y = -4.25. Here a = 1, so the focus sits 0.25 units above the vertex. Compare that with y = 4x^2 - 16x + 9, which has vertex (2.00, -7.00), focus (2.00, -6.94), and directrix y = -7.06. Because a = 4, the offset shrinks to 0.06 units, and the focus hugs the vertex much more tightly.
When the parabola opens downward, the same logic applies in the opposite direction. Take y = -x^2 + 4x + 5, which opens downward with vertex (2.00, 9.00) as a maximum. The negative a value places the focus below the vertex and the directrix above it. The distance is still 1 / (4a), but the sign flips the positions. The discriminant b^2 - 4ac still governs the roots in every case: positive gives two x-intercepts, zero one repeated root, and negative none.
Vertex form
The vertex form of a parabola rewrites the standard equation y = ax^2 + bx + c as y = a(x - h)^2 + k, where (h, k) is the vertex. This format lets you read the graph's turning point straight off the equation without extra steps. To convert, first find the vertex. For any equation in standard form, the vertex sits at x = -b / (2a); substituting back gives its y-coordinate. Once you have that point, plug h and k into the template and keep the same a value from the original equation.
The sign of a controls which way the parabola opens. A positive a opens upward, so the vertex marks the minimum. A negative a opens downward, and the vertex becomes the maximum. Take y = -x^2 + 4x + 5: it opens downward with vertex (2.00, 9.00) as a maximum and roots -1.00 and 5.00. The size of a matters too. A larger |a| makes a narrower parabola and pulls the focus closer to the vertex, while a value closer to zero widens the curve.
Vertex form also makes the focus and directrix easy to locate. The focus is 1 / (4a) above the vertex, inside the curve, and the directrix sits the same distance below it, at y = vertex y - 1 / (4a). Using the verified example y = x^2 + 2x - 3, which has vertex (-1.00, -4.00), discriminant 16.00, and roots 1.00 and -3.00, the focus lands at (-1.00, -3.75) and the directrix at y = -4.25. Another verified case, y = 4x^2 - 16x + 9, has vertex (2.00, -7.00), roots 3.32 and 0.68, focus (2.00, -6.94), and directrix y = -7.06. Because a equals 4 here, the larger |a| makes a narrower parabola and pulls the focus closer to the vertex, which is why the focus sits only 0.06 units above it.
A parabola calculator handles these conversions automatically, but knowing how vertex form works helps you check results and spot errors. The discriminant b^2 - 4ac decides the roots: positive gives two x-intercepts, zero one repeated root, and negative none. In the first example, the discriminant is 16.00, which is positive, so the parabola crosses the x-axis twice at 1.00 and -3.00. Reading the vertex, direction, and intercepts from one equation gives you a full picture of the graph before you plot a single point.
FAQs
How do I find the vertex of a parabola?
Use the formula x = -b / (2a), then substitute that x-value back into the original equation to find the y-coordinate. For example, with the equation x^2 + 2x - 3, the formula gives x = -1. Substituting back yields y = -4, so the vertex is (-1.00, -4.00).
What is the focus of a parabola?
The focus is a point located 1 / (4a) inside the curve from the vertex. In the first verified case, this places the focus at (-1.00, -3.75). Every point on the parabola is the same distance from the focus as it is from the directrix line.
What is the directrix?
The directrix is the line y = vertex y - 1 / (4a). Every point on a parabola is equidistant from the focus and this line. The focus sits inside the curve while the directrix lies outside it, and together they define the parabola's shape.
How do I know if a parabola opens up or down?
Check the sign of a. When a is positive, the parabola opens upward and the vertex is a minimum. When a is negative, it opens downward. In the verified -x^2 + 4x + 5 case, the negative a means the parabola opens downward.
When does a parabola have no roots?
A parabola has no roots when the discriminant b^2 - 4ac is negative. This means the curve never crosses the x-axis, so there are no real solutions. The parabola sits entirely above or below the x-axis depending on whether a is positive or negative.
What does a larger a do?
A larger value of a narrows the parabola and moves the focus closer to the vertex. In the second verified case, when a = 4, the focus sits just 0.06 away from the vertex. A smaller a widens the parabola and pushes the focus farther from the vertex.