Diamond Problem Calculator

Created by Hanna Pamuła, PhD candidate
Reviewed by Dominik Czernia, PhD candidate and Jack Bowater
Last updated: Sep 16, 2020

Welcome to our diamond problem calculator, also known as a diamond problem solver. This intuitive tool allows you to enter any two numbers and the two others will appear. We've also prepared a compendium that answers all your burning questions about this topic.

Let's start by introducing what a diamond problem is and continue smoothly to some how to do diamond problems of various types tips. Are you ready?

What is a diamond problem? Diamond math problems

Despite what you might think, the diamond problem doesn't have a lot in common with gemstones💎 or diamond rings💍. It is more closely related to what is often called a diamond in math ♦️ or cards🃏 - the rhombus, a quadrilateral shape. The diamond problem is a type of exercise that happens in a diamond shape 💠 - which we can also represent as a cross with 4 sections.

Diamond problems: common shapes of a task

So, what is the diamond problem in math? It's where you fill in all four fields, related by some mathematical operation. The pattern of the numbers is constant:

  • On the left and right side of the diamond, you have two numbers, sometimes called factors;
  • In the top part you can find their product; and
  • In the bottom section - their sum.

Solving the diamond problem means that you know only two numbers out of four, and you need to find the missing ones. And that's all!

factor A


Cross with factors A on the left, B on the right, product in the top, and sum in the bottom

factor B

There are three main types of diamond problems, and the diamond problem calculator can deal with all of them. If you're wondering how to do diamond problems in each of these cases, scroll down to the next sections.

How to do diamond problems? Case 1: Given two factors

This is the easiest case: you have two numbers, A and B, and you need to find the sum and product of them. For example, let's say that we want to solve the diamond problem for factors 13 and 4:


Cross with factors 13 on the left, and 4 on the right


  1. Calculate the product = 13 * 4 = 52, and write the number on top.
  2. Find the sum = 13 + 4 = 17, and input the value into the bottom part of the diamond.



Cross with factors 13 on the left, 4 on the right, product 52 in the top, and sum 17 in the bottom



You might meet this type of a diamond math problem in the first lesson about the diamonds - when your teacher first introduces the concept.

Case 2: Given one factor, and the product or sum

Let's have a look at a slightly more complicated case, where you have one of the basic numbers, and a product or a sum. The first thing to do is to find the other factor. Transform your equation is such a way to solve for the unknown value:

a) When you're given one factor and the sum, you can find a second factor by a simple subtraction:

Cross with factor 6, and sum 11 in the bottom



factor A + factor B = sum

factor B = sum - factor A, so factor B = 11 - 6 = 5

With both factors in hand, simply multiply them to get the last number: product = 5 * 6 = 30



Cross with factors 5 on the left, 6 on the right, product 30 in the top, and sum 11 in the bottom



b) If you know one factor and the product, divide the product by the factor to find the second product:



Cross with factors 9 on the left, and product 63 in the top

factor A * factor B = product

factor B = product / factor A, so factor B = 63 / 9 = 7

Then find the last missing element: sum = factor A + factor B = 9 + 7 = 16



Cross with factors 9 on the left, 7 on the right, product 63 in the top, and sum 16 in the bottom



Remember you can always quickly solve these diamonds or verify your answers with our diamond problem calculator.

Case 3: Given product and sum, while searching for factors

Now we're coming to the last issue and the most common diamond problem: the case where you know the sum and the product of the two numbers, but you don't actually know the numbers themselves.

This type of diamond math problem is helpful when you're learning about factoring a quadratic equation. Why?

Let's say that we have a quadratic equation:

x² + 7x + 12

We would like to factor this equation, meaning that we'd like to present it in a form:

(x + ...)(x + ...)

How to find these numbers - the roots of the quadratic equation? You know that their product must be equal to 12, and that their sum is equal to 7. And that's exactly what you're trying to find out in the diamond problem! 🙂 You can rewrite this question in the form of a diamond:



Cross with question marks on the left and right,product 12 in the top, and sum 7 in the bottom



How to solve such a problem?

  1. Start with the top number - the product of two numbers. Write down all possible pairs of numbers that give this as their product. You can use, e.g., prime factorization if it's a more complicated case. In our example, the product is equal to 12 - which two integer numbers could be multiplied together? The order of the factors doesn't matter, as multiplication (and addition) are commutative:

12 = 1 * 12

12 = 2 * 6

12 = 3 * 4

Don't forget the negative numbers:

12 = -1 * -12

12 = -2 * -6

12 = -3 * -4

  1. Sum these two numbers, and check which combination gives the desired sum of 7:

1 + 12 = 13 ❌

2 + 6 = 8 ❌

3 + 4 = 7 ✔️

And here it is! We can stop here, as we've found the two numbers which meet the condition 🎉

Sometimes it's very easy to guess the solution, as there are not many options. We're sure that you'll solve this a diamond problem in no time!


Cross with question marks on the left and right,product 7 in the top, and sum 8 in the bottom



If not, enter the numbers into our diamond problem solver. That wasn't so difficult, was it? 🤦

How to use diamond problem calculator

It's really easy, believe us!

All you need to do is to input any two numbers and the diamond problem solver will find out the other two. What's more, the tool displays the solution in a diamond form. What more could you wish for? 😎

Please notice that in some specific cases you'll need to hit the refresh button ⟳ to use the calculator again 👍

Hanna Pamuła, PhD candidate

A cross with A on the left, B on the right, sum in the bottom, and product in the top

Factor A
Factor B
Check out 35 similar algebra calculators 🔡
Absolute value equationAbsolute value inequalitiesAdding and subtracting polynomials… 32 more
People also viewed…

Area of crescent

This calculator helps you to find the area for crescents and lunes. These shapes consists of two circular arcs and are determined based on their radii and the distance between the circle centers.

Flat vs. round Earth

Omni's not-flat Earth calculator helps you perform three experiments that prove the world is round.

Pizza size

This calculator will help you make the most delicious choice when ordering pizza.

Sin triangle

The sine triangle calculator is a tool that will help you determine the sine of any angle given in degrees, radians, or pi radians.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background