Diamond Problem Calculator

Diamond Problem Calculator

Find two numbers that multiply to the product and add to the sum.

Last updated: June 2026 | By Patchworkr Team

Diamond puzzle

Build the pair

Equation
x² - (7)x + (12) = 0
Result
Two real solutions found.
4 and 3
Left
4
Right
3

How it works

The two numbers are the roots of x² - (sum)x + product = 0.

If the discriminant is negative, there are no real numbers that satisfy both conditions.

Example

Product 12, Sum 7 -> 3 and 4

The pair multiplies to 12 and adds to 7.

Related Tools