Enter the coefficients of a quadratic ax² + bx + c to complete the square: get vertex form a(x−h)²+k, the vertex point, and the real roots.
Quick Facts
Vertex formula
ax² + bx + c = a(x − h)² + k
Where h = −b / (2a) and k = c − b² / (4a).
Solving for roots
x = h ± √(−k / a)
Real roots exist only when −k/a is zero or positive.
Results
Calculated
Vertex form
—
a(x − h)² + k
Vertex point
—
(h, k) — min or max of the parabola
Discriminant-based check
—
−k/a determines real roots
Real roots
—
Solutions to ax² + bx + c = 0
Add this calculator to your website
How to use this calculator
Enter the three coefficients of a quadratic in standard form, ax² + bx + c, then click Calculate. The calculator completes the square to rewrite the expression in vertex form a(x − h)² + k, reports the vertex point, and solves for the real roots (where the parabola crosses the x-axis), if any exist. Click Clear to reset all fields and start a new calculation.
The completing-the-square method
Starting from ax² + bx + c, factor a out of the first two terms, then add and subtract the square that makes the bracket a perfect square trinomial:
ax² + bx + c = a(x² + (b/a)x) + c = a(x + b/(2a))² + c − b²/(4a)
This gives vertex form a(x − h)² + k with h = −b / (2a) and k = c − b² / (4a). The point (h, k) is the vertex of the parabola — its minimum when a > 0, or its maximum when a < 0.
Interpreting the results
Vertex form and Vertex point describe the shape and turning point of the parabola directly. The discriminant-based check shows the value of −k/a: when it is zero or positive, the equation ax² + bx + c = 0 has real solutions, found with x = h ± √(−k/a); when it is negative, the square root of a negative number is required, so there are no real roots — only complex ones. Real roots lists those solutions, or reports a double root when −k/a = 0, or "No real roots" when −k/a < 0.
Frequently Asked Questions
What is completing the square?
Completing the square rewrites a quadratic ax² + bx + c in vertex form a(x − h)² + k, where h = −b/(2a) and k = c − b²/(4a). This form immediately shows the parabola's vertex (h, k) and makes it easy to solve for the roots without factoring.
What is vertex form and why does it matter?
Vertex form a(x − h)² + k directly identifies the vertex (h, k) of the parabola, which is its minimum point when a is positive or its maximum point when a is negative. It also makes solving the equation and sketching the graph much simpler than standard form.
How do I find the roots by completing the square?
Once you have a(x − h)² + k = 0, isolate the squared term: (x − h)² = −k/a. If −k/a is zero or positive, take the square root of both sides to get x = h ± √(−k/a). If −k/a is negative, the equation has no real roots, only complex ones.
What happens if a equals zero?
If a = 0 the expression has no x² term, so it is not a quadratic and completing the square does not apply. Coefficient a must be nonzero for this calculator to produce a vertex form.
Practical Guide for Completing the Square Calculator - Free Online Math Tool
Completing the Square Calculator - Free Online Math Tool is most useful when the inputs reflect the situation you are actually planning around, not a best-case estimate. Treat the result as a decision aid: it gives you a structured way to compare assumptions, spot outliers, and decide what to verify next. For Math work, the most important review lens is formula choice, units, rounding, weighting, and the exact meaning of each input.
Start with a baseline run using values you can defend. Then change one assumption at a time and watch which output moves the most. If one input dominates the result, spend your verification time there first. If several inputs have similar influence, use a conservative scenario and an optimistic scenario to create a practical range instead of relying on a single exact number.
Before acting on the result, verify the result with a manual calculation or a second method when the output affects grades, budgets, or engineering work. This is especially important when the calculator supports a purchase, project plan, performance target, or operational decision. The calculator can make the math consistent, but the quality of the conclusion still depends on current data, clear units, and assumptions that match your real constraints.
When the output looks surprising, slow down and inspect each input in order. A small change in one high-leverage field can move the final number more than several low-leverage fields combined. For Completing the Square Calculator - Free Online Math Tool, that means you should first confirm the value with the greatest scale, then confirm the value with the greatest uncertainty, then rerun the calculator with conservative and optimistic assumptions. This sequence turns the calculator from a single answer into a practical decision range.
Review Checklist
Confirm every input uses the unit and time period requested by the calculator.
Run a low, expected, and high scenario so the answer has a useful range.
Check whether rounding or a missing decimal place changes the decision.
Update the calculation after each new value is known or whenever the formula structure changes.