Completing the Square Calculator & Graphing Tool


Completing the Square Calculator & Graphing Tool

Enter the coefficients of your quadratic equation ax² + bx + c to convert it to vertex form and visualize the parabola.



The coefficient of the x² term. This value cannot be zero.

Coefficient ‘a’ cannot be zero.



The coefficient of the x term. This value is unitless.


The constant term. This value is unitless.


Parabola Graph

Visual representation of the quadratic function and its vertex.

Calculation Steps

Step Description Result
1 Start with the standard form
2 Factor out ‘a’ from the first two terms
3 Find (b/2a)², the value to complete the square
4 Add and subtract the value inside the parenthesis
5 Factor the perfect square trinomial
6 Simplify to get the final vertex form

What is Completing the Square?

Completing the square is a fundamental algebraic technique used to convert a quadratic equation from its standard form, ax² + bx + c, into vertex form, a(x - h)² + k. This conversion is incredibly useful because the vertex form directly reveals the vertex of the parabola at the point (h, k). While a completing the square using a graphing calculator can automate finding the vertex, understanding the manual process is crucial for grasping the underlying concepts of quadratic functions.

This method is not just for solving equations; it’s a cornerstone for graphing parabolas, deriving the quadratic formula, and is applied in higher-level mathematics like calculus. Anyone studying algebra, from high school students to engineers, will find this technique essential. A common misunderstanding is that it only works for simple equations, but it can be applied to any quadratic polynomial.

The Formula for Completing the Square

The goal is to transform y = ax² + bx + c into y = a(x - h)² + k. The key variables are h and k, which define the vertex. They are calculated from the original coefficients a, b, and c.

The formulas for h and k are:

  • h = -b / (2a)
  • k = c - b² / (4a) or by substituting h back into the original equation: k = a(h)² + b(h) + c
Variable Explanations
Variable Meaning Unit Typical Range
a The coefficient of the x² term. Unitless Any non-zero number. If a > 0, the parabola opens upwards. If a < 0, it opens downwards.
b The coefficient of the x term. Unitless Any real number. Affects the position of the vertex.
c The constant term, or y-intercept. Unitless Any real number. It is the point where the graph crosses the y-axis.
(h, k) The vertex of the parabola. Unitless Coordinates Any point on the Cartesian plane.

Practical Examples

Example 1: Simple Parabola

Consider the equation y = x² + 8x + 10.

  • Inputs: a = 1, b = 8, c = 10
  • Units: These are unitless coefficients.
  • Calculation:
    • h = -8 / (2 * 1) = -4
    • k = 1(-4)² + 8(-4) + 10 = 16 – 32 + 10 = -6
  • Results: The vertex form is y = (x + 4)² - 6, and the vertex is at (-4, -6). For more complex problems, a quadratic formula calculator can be useful.

Example 2: Stretched Parabola

Consider the equation y = 2x² - 12x + 22.

  • Inputs: a = 2, b = -12, c = 22
  • Units: Unitless.
  • Calculation:
    • h = -(-12) / (2 * 2) = 12 / 4 = 3
    • k = 2(3)² – 12(3) + 22 = 18 – 36 + 22 = 4
  • Results: The vertex form is y = 2(x - 3)² + 4, and the vertex is at (3, 4). The factor ‘a=2’ makes the parabola narrower.

How to Use This Completing the Square Calculator

Using this completing the square using a graphing calculator tool is straightforward:

  1. Enter Coefficients: Input the values for a, b, and c from your quadratic equation ax² + bx + c into the designated fields.
  2. Check for Units: For standard algebraic problems, these inputs are unitless. The calculator assumes this default.
  3. Interpret Results: The calculator will instantly display the primary result in vertex form a(x - h)² + k. It also shows the intermediate values for h and k and the final vertex coordinates.
  4. Analyze the Graph: The dynamically generated chart plots the parabola and marks the vertex, giving you a clear visual understanding of the function’s behavior. Learning how to find the vertex is a key part of algebra, much like using a vertex calculator.

Key Factors That Affect the Parabola

  • The ‘a’ Coefficient: Determines the direction and width of the parabola. A positive ‘a’ opens upwards, a negative ‘a’ opens downwards. A larger absolute value of ‘a’ makes the parabola narrower.
  • The ‘b’ Coefficient: Influences the horizontal position of the vertex. Changing ‘b’ shifts the parabola left or right.
  • The ‘c’ Coefficient: This is the y-intercept. It shifts the entire parabola vertically without changing its shape.
  • The Discriminant (b² – 4ac): While not directly used in completing the square, it tells you how many real roots the equation has. You can explore this with our discriminant calculator.
  • Vertex (h, k): This is the single most important point, representing the minimum (if a>0) or maximum (if a<0) value of the function.
  • Axis of Symmetry: A vertical line x = h that divides the parabola into two mirror images.

Frequently Asked Questions (FAQ)

What happens if ‘a’ is negative?
The process is the same, but the parabola will open downwards, and the vertex (h, k) will represent the maximum point of the function.
Are the input values unitless?
Yes, for standard quadratic equations, the coefficients a, b, and c are abstract, unitless numbers.
Can I use this calculator if ‘b’ or ‘c’ is zero?
Absolutely. If b = 0, the vertex lies on the y-axis (h=0). If c = 0, the parabola passes through the origin (0,0).
How is this different from using the quadratic formula?
The quadratic formula solves for the roots (x-intercepts) of the equation. Completing the square rewrites the equation into vertex form, which is used for graphing and finding the vertex. In fact, the quadratic formula can be derived by completing the square. Check out a factoring calculator for another related method.
What does ‘completing the square using a graphing calculator’ mean in practice?
Modern graphing calculators (like the TI-84) have functions to find the minimum or maximum of a graphed function, which effectively gives you the vertex. This online tool combines that graphing capability with the symbolic algebraic result.
Is the vertex always the minimum point?
No. The vertex is the minimum point only when the parabola opens upwards (a > 0). If it opens downwards (a < 0), the vertex is the maximum point.
What if the inputs are not valid numbers?
The calculator includes validation and will show an error if the inputs are not numerical or if ‘a’ is set to zero, as that would not be a quadratic equation.
How do I interpret the graph?
The graph shows the curve of your equation. The red dot indicates the vertex (h, k), which is the turning point of the parabola. The axes help you see the position and orientation of the curve.

© 2026 Your Company Name. All Rights Reserved. For educational purposes only.



Leave a Reply

Your email address will not be published. Required fields are marked *