Turn ax² + bx + c into vertex form a(x − h)² + k with every step shown — vertex, axis of symmetry, min/max, and solved by completing the square — browser-only
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Accepts integers, decimals (0.5), fractions (1/2), negatives (−3).
- 1Start from a x² + b x + c with a=1, b=6, c=5.
- 2The x² coefficient is already 1, so look at x² + 6x.
- 3Take half of the x-coefficient and square it: (3)² = 9. Add and subtract it inside.
- 4The first three terms fold into a perfect square: (x + 3)².
- 5Collect the leftover constant. The result is a(x − h)² + k = (x + 3)² − 4, with h=-3 and k=-4.
Set (x + 3)² − 4 = 0, then isolate the square: (x − -3)² = 4.
Take the square root of both sides (it is positive), giving two real solutions:
What this tool does
Free completing the square calculator that rewrites any quadratic ax² + bx + c as vertex form a(x − h)² + k and shows every line of the derivation. Enter the three coefficients and the tool factors a out of the first two terms, halves the x-coefficient and squares it, folds the perfect-square trinomial into (x − h)², and collects the leftover constant into k. It reports the vertex (h, k), the axis of symmetry x = h, whether the parabola opens up or down, and the resulting minimum or maximum value. From the vertex form it then solves the equation by completing the square rather than the quadratic formula, handling two real roots, a repeated root, and complex conjugate roots. One click copies the vertex form, and the a/b/c values live in the URL so a shared link reopens the exact same worked example. Everything runs in your browser with no upload.
Tool details
- Input
- Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Completing the Square Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Quadratic Equation Solver Quadratic equation solver — ax² + bx + c = 0, discriminant analysis, real + complex roots, vertex/intercepts, parabola visualization. Open
- 2 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
- 3 Percentage Calculator 5 common percentage calculations — "x% of y", "x is what% of y", percentage change, increase/decrease — instant, browser-only Open
Real-world use cases
Find the vertex of a parabola for graphing homework
Your assignment hands you x² − 4x + 3 and asks for the vertex and axis of symmetry before sketching. Type the coefficients, read the vertex (2, −1) and axis x = 2 straight off the vertex form (x − 2)² − 1, and you have the two anchor points the graph needs. The step list shows exactly how half of −4 became the +2 inside the square, so you can reproduce the work by hand on the test.
Solve a quadratic the way the textbook chapter requires
Some chapters insist you solve by completing the square, not the formula, and grade the method. Enter x² + 6x + 5, follow the five steps to (x + 3)² − 4, then watch the tool isolate the square and take the root to land x = −5 and x = −1. You hand in the exact method the rubric wants, with no algebra slips.
Get the minimum or maximum of a quadratic model
A profit or trajectory model like −x² + 4x − 1 has a maximum you need for the answer. The tool reports a < 0, opens downward, and the k value 3 is the maximum, reached at x = 2. No calculus, no guessing where the peak is — completing the square gives the turning point directly.
Teach the derivation with a clean worked example
Prepping a lesson on perfect-square trinomials, you want an example where every line is visible. Plug in any coefficients and the numbered steps spell out factoring a out, halving the middle term, and folding the square. Copy the vertex form into your slides and share the URL so students reopen the identical example at home.
Common pitfalls
Forgetting to factor a out first when a ≠ 1. For 2x² + 8x + 3 you must pull the 2 out of the x-terms before halving, otherwise you halve 8 instead of 4 and the square comes out wrong. The vertex form is 2(x + 2)² − 5, not 2(x + 4)² + something.
Adding the squared term without subtracting it back. Completing the square adds (b/2)² inside, so you must subtract the same amount to keep the expression equal. Skipping the subtraction silently changes the constant and shifts k.
Getting the sign of h backwards. In a(x − h)² + k the vertex is at +h, so (x + 3)² puts the vertex at x = −3, not +3. The bracket sign and the vertex sign are always opposite.
Privacy
Every step — factoring, halving, folding the square, the vertex, the min/max and the solved roots — is plain JavaScript running in your browser tab. The coefficients you type never leave the page and nothing is logged. The one caveat: a, b and c are stored in the URL query string so a shared link reopens the same example, which means a "share link" pasted into chat records those three numbers in the recipient server's access log. For private work, use the copy button and paste the vertex form text instead of sharing the URL.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- Anagram Solver Check if two words are anagrams, rearrange a set of letters into every ordering, and read the sorted letter fingerprint, all in your browser
- Angle Converter Degrees, radians, gradians, turns, arcminutes, arcseconds and NATO mils, all from one input, copyable, browser-only