Cube Calculator
Calculate x cubed (x³) for any integer, negative, or decimal number, with full step-by-step working and the sign rule for negative numbers explained.
What cubing means
Cubing a number means multiplying it by itself three times:
For example, . The small raised "3" is an exponent — cubing is the same as raising a number to the power of 3.
Why it's called "cubing": the volume connection
The name comes from geometry. A cube with side length has volume — every edge is the same length, so the volume calculation is literally "the side length, cubed." A storage box that is meters on each side has a volume of cubic meters.
The sign rule: cubing a negative number
Cubing behaves differently from squaring because 3 is an odd exponent. With squaring, the two negative signs always cancel. With cubing, there's a third factor left over that flips the result back to negative:
The first two factors multiply to a positive (a negative times a negative), but that is then multiplied by the third , flipping the sign back to negative. So , staying negative — the opposite of , which stays positive.
This calculator always reads a negative number typed into the field as the whole value being cubed. Entering computes , the same way a graphing calculator treats a parenthesized negative base.
Cubing always keeps the sign of x
For any real number :
If , then . If , then . And . This is different from squaring, where the result is always non-negative regardless of x's sign — cubing is the simplest example of an odd power, and every odd power preserves sign the same way.
Decimal cubes, computed exactly
The number being cubed doesn't need to be a whole number: . This calculator computes decimal cubes with exact decimal arithmetic (not floating-point multiplication), so a value like comes out exactly , rather than showing tiny binary-rounding artifacts.
The inverse: cube root
Cubing and taking a cube root undo each other. If , then . Unlike square roots, cube roots don't have this ambiguity problem: because cubing preserves sign, every real number has exactly one real cube root — means , and means . For the reverse operation — finding from — use the Cube Root calculator.
Worked examples
Example 1 — positive integer: .
Example 2 — negative integer: — negative, because cubing is an odd power.
Example 3 — decimal: .
Example 4 — zero: .
Where cubing shows up
Cubing appears throughout math and science: the volume formulas for cubes and spheres (), density calculations (mass per cubic unit), and cubic equations in algebra. Cubing is the special case of the Exponents calculator where the exponent is fixed at 3 — squaring (exponent 2) is the other common special case, with its own dedicated Square calculator.
Frequently asked questions
- What does cubing a number mean?
- Cubing a number means multiplying it by itself three times: . For example, . The small "3" is an exponent, so "cubed" is another way of saying "raised to the power of 3."
- Is a negative number cubed positive or negative?
- Always negative (unless the number is zero). Cubing is an odd power, so the sign does not cancel: . Two of the three negative factors cancel each other, but the third one carries through, so every negative number cubed stays negative — unlike squaring, where the result is always non-negative.
- What is the difference between negative 3 cubed and negative-3 in parentheses cubed?
- For cubing, they give the same result — unlike squaring. (no parentheses) means "negate the result of ," giving . means "cube the number ," which also gives , since an odd power of a negative number is itself negative. This calculator treats a negative number typed into the input as the whole base, so entering computes .
- Why does a negative number cubed stay negative?
- Because cubing multiplies three copies of the same sign together, and three negatives multiply to a negative. A negative times a negative is positive (), but that positive result times the third negative factor flips back to negative (). This is true for any odd power of a negative number — it always stays negative.
- Can you cube a decimal number?
- Yes. The same rule applies: multiply the decimal by itself three times. For example, . This calculator computes decimal cubes exactly, using exact decimal arithmetic rather than floating-point multiplication, so results come out precise instead of showing tiny rounding artifacts.
- What is the inverse of cubing?
- The inverse of cubing is taking the cube root. If , then . Unlike square roots, every real number — positive, negative, or zero — has exactly one real cube root, because cubing preserves sign: a positive number cubes to a positive value, and a negative number cubes to a negative value, so there is no ambiguity to resolve.
- How is cubing used to calculate volume?
- The volume of a cube with side length is , because a cube has equal width, depth, and height, so volume = width × depth × height = . This is where the name "cubing" comes from: multiplying a number by itself three times is exactly the calculation you do to find the volume of a cube.