# Difference of Cubes Calculator

When an integer is multiplied by itself three times, the product formed is called as cube number. For example, 8 is a common number formed by multiplying the integer 2, three times. (2x2x2 = 8). This calculator is used to find the difference of two cubes. Enter the value of A and B, so that the calculator will find the cube of A, B and find the difference of two cubes.

When an integer is multiplied by itself three times, the product formed is called as cube number. For example, 8 is a common number formed by multiplying the integer 2, three times. (2x2x2 = 8). This calculator is used to find the difference of two cubes. Enter the value of A and B, so that the calculator will find the cube of A, B and find the difference of two cubes.

Code to add this calci to your website

#### Formula:

C = (A^{3} - B^{3}) = (A - B) * (A^{2} + A*B + B^{2})
**Where,**
C = Difference of Two Cubes
A, B = Input Values
### Example

#### Difference of Cubes

If A = 5, B = 2, then

A^{3} = 125

B^{3} = 8

A^{3} - B^{3} = (A - B) * (A2 + A*B + B2)

A^{3} - B^{3} = (5-2) * (25+10+4)

A^{3} - B^{3} = (3*39)

A^{3} - B^{3} =117 .