Skip to content
ToolUlkaa Tool
All tools

Mathematics

Percentage CalculatorFraction CalculatorEquation SolverTensorMatrix CalculatorUnit ConverterNumber Base ConverterDerivative CalculatorIntegral CalculatorLimit CalculatorAlgebra CalculatorQuadratic Formula CalculatorFactoring CalculatorLogarithm CalculatorSquare Root CalculatorLong Division CalculatorSignificant Figures CalculatorLCM and GCF CalculatorPrime Factorization CalculatorTriangle CalculatorPythagorean Theorem CalculatorSlope CalculatorArea CalculatorVolume CalculatorScientific CalculatorGraphing Calculator

Categories

AcademicTextMathematicsStatisticsMachine LearningAIData ScienceFile
All tools
Mathematics

Perfect Square Trinomial Calculator

Type a trinomial and see whether it is a perfect square.

Factor a
4x2+12x+94x^{2}+12x+94x2+12x+9
Try:

Factored form

(2x+3)2\left(2x+3\right)^{2}(2x+3)2

Factoring, step by step

  1. 1Perfect square trinomial
    4x2+12x+94x^{2}+12x+94x2+12x+9
    ↓
    (2x+3)2\left(2x+3\right)^{2}(2x+3)2

    a^2 + 2ab + b^2 = (a + b)^2

Check by expanding

(2x+3)2=4x2+12x+9\left(2x+3\right)^{2} = 4x^{2}+12x+9(2x+3)2=4x2+12x+9
  1. Tools
  2. Mathematics
  3. Factoring Calculator
  4. Perfect Square Trinomial Calculator

About Perfect Square Trinomial Calculator

This calculator recognises perfect square trinomials, a² + 2ab + b² and a² - 2ab + b², and writes them as (a + b)² or (a - b)². It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.

A trinomial is a perfect square when its first and last terms are perfect squares and the middle term is twice the product of their roots. The page opens on 4x² + 12x + 9: the roots are 2x and 3, and 2 × 2x × 3 = 12x, so it equals (2x + 3)².

Algebraically this is the same as a quadratic whose discriminant is zero: it has one repeated root.

How to use Perfect Square Trinomial Calculator

  1. 1Pick Polynomial or Whole number.
  2. 2For a polynomial, type it using ^ for powers, for example x^3 + x^2 + 2x + 2, or use the keypad.
  3. 3Read the factored form at the top. It updates as you type.
  4. 4Open the steps to see each method applied, and the expansion check underneath.
  5. 5For a whole number, read the factor pairs, the full list of factors and the prime factorization.

Features

  • Greatest common factor taken out first, including numbers and powers of x.
  • Difference of squares, sum of cubes and difference of cubes recognised by pattern.
  • Perfect square trinomials and general trinomials through the rational root theorem.
  • Factoring by grouping for four-term polynomials.
  • Repeated application, so x⁴ - 16 splits into (x - 2)(x + 2)(x² + 4).
  • An expansion check that multiplies the factors back out.
  • Whole-number mode with factor pairs, all factors and the prime factorization.
  • Math keypad and live preview, usable on a phone.

Perfect squares

Check that the middle term is twice the product of the two roots.

a² + 2ab + b² = (a + b)²
a² - 2ab + b² = (a - b)²

Worked examples

  • 4x² + 12x + 9 → gives (2x + 3)^2

    2 × (2x) × 3 = 12x.

  • x² - 2x + 1 → gives (x - 1)^2

    2 × x × 1 = 2x.

Privacy: how it works

  • Everything is calculated by code running in your browser tab. The expressions you enter are not sent to Ulkaa or to any other server, and there is nothing to sign in to.

Tips

  • Always take out the greatest common factor first. It often turns a hard trinomial into an easy one.
  • Multiply your factors back out to check them. The calculator does this for you under the steps.
  • If a quadratic is irreducible over the rationals, its discriminant is not a perfect square. Try the quadratic formula calculator for its exact roots.

Frequently asked questions

Is it really free?

Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.

Do I need an account?

No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.

Does it run in my browser?

Yes. Expressions are processed by code running in your browser tab, on your own device.

Is my data uploaded?

No. Expressions are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.

How can I tell a trinomial is a perfect square?

The first and last terms are squares and the middle term is twice the product of their square roots. Equivalently, the discriminant b² - 4ac is zero.

What if the middle term has the wrong size?

Then it is not a perfect square, and the calculator uses another method, such as the rational root theorem, to factor it.

More Factoring Calculator pages

  • Factoring CalculatorType a polynomial to factor it with every step, or switch to a whole number for its factor pairs.
  • Factor Trinomials CalculatorType a trinomial and get its two factors with the working.
  • Difference of Squares CalculatorType an expression like 4x² - 25 and see it factored as a difference of squares.
  • Sum and Difference of Cubes CalculatorType a cubic like 27x³ + 8 and see it factored with the cube formulas.
  • Factor by Grouping CalculatorType a four-term polynomial and see it factored by grouping.
  • GCF of a Polynomial CalculatorType a polynomial and see its greatest common factor taken out.
  • Factor Pairs CalculatorEnter a whole number to get all its factor pairs and factors.

Ulkaa Apps

  • Ulkaa
  • Calendar
  • Task
  • Note
  • Disk
  • Call
  • Contact
  • Mail
  • Finance
  • Health
  • Office
  • Work
  • Workspace
  • Halum
  • Jaal
  • Islam
  • Game
  • Weather
  • Campus
  • News
  • Developer
  • Help
  • Account
About·Privacy·Terms·© 2026 Ulkaa

What is Ulkaa Tool?

Ulkaa Tool is a free collection of fast, privacy-friendly online tools from Ulkaa Network. Calculate your GPA and CGPA, edit rich text, count words and characters, replace text and more — all in your browser.

Every tool runs entirely in your browser — no sign-up, and your data never leaves your device.

Academic

  • GPA Calculator
  • CGPA Calculator
  • Citation Generator
  • Quiz Maker

Text

  • Rich Text Editor
  • Word Counter
  • Character Counter
  • Text Replacement

Ulkaa

  • Ulkaa
  • Ulkaa News
  • Ulkaa Campus
  • Ulkaa Tool
  • Ulkaa Game
  • Ulkaa Weather
  • Ulkaa Islam

Company

  • About Ulkaa
  • Careers
  • Support
  • Help
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

© 2015-26, Ulkaa. All rights reserved.
Facebook PageLinkedIn CompanyX (Twitter) ProfileInstagram ProfileGitHub Account