HomeMath & AlgebraCube Calculator
Math & Algebra

Cube Calculator

Cube numbers with x³ = x × x × x, including negative, zero and decimal inputs, with two-decimal output, worked examples and cited limits.

cube-calculator
Cube

The Cube Calculator raises a finite real number x to the third power and evaluates x³ = x × x × x. Enter a finite real number. Negative, zero and decimal inputs are supported; results are rounded to two decimal places. Select Calculate after entering or changing the number.

The default input 5 returns 125.00. A negative input of −2 returns −8.00, zero returns 0.00, and 1.5 returns 3.38 because the exact result 3.375 is rounded for display.

How to Use the Cube Calculator

  1. Enter a finite positive, negative, zero or decimal number.
  2. Select Calculate.
  3. Read the cubed value shown to two decimal places.

Changing the input clears the earlier result until you calculate again. Blank, nonnumeric and non-finite entries are rejected with an accessible field error. The calculator does not impose a positive-only rule or an arbitrary maximum on the input.

Cube Formula and Worked Examples

x³ = x × x × x

The exponent 3 means that the base is used as a factor three times. The OpenStax Prealgebra explanation of exponential notation identifies as “a cubed.” This is a deterministic arithmetic operation, not an estimate or prediction.

For 4, the calculation is 4 × 4 × 4 = 64, so the widget displays 64.00. For −3, three negative factors give −27, so the widget displays −27.00. Cubing preserves the sign of a real input, while zero cubed remains zero.

For a physical cube with nonnegative side length s, its volume is V = s³ in cubic units. The Cube Root Calculator performs the inverse operation when you need to recover a side length from a nonnegative cube volume.

Input Limits, Rounding and Related Calculators

The widget uses standard browser floating-point numbers. MDN’s Number.MAX_VALUE reference documents the largest positive finite JavaScript number. A finite input can still be too large to cube: 1 × 10¹⁰³ is finite, but its cube exceeds the finite range. The widget then clears the result to an em dash and displays an accessible calculation error instead of showing Infinity.

At the other end, MDN’s Number.MIN_VALUE reference documents the smallest positive representable value. Cubing an extremely small magnitude can underflow to zero; less extreme nonzero results can still appear as 0.00 after two-decimal formatting. Display rounding does not add precision.

Use the Exponential Calculator for powers other than three. Use the Average Calculator when you need an arithmetic mean rather than a power.

Frequently asked questions

What does it mean to cube a number?

Cubing x means evaluating x³ = x × x × x. For example, 3³ is 27.

What is the cube of zero?

Zero cubed is zero because 0 × 0 × 0 = 0. The calculator displays 0.00.

Can I cube a negative number?

Yes. A finite negative input produces a negative cube. For example, (−2)³ = −8.

How is cubing used for volume?

For a physical cube with nonnegative side length s, the volume is V = s³ in cubic units. Keep the input units consistent with the desired volume unit.

How are decimal results rounded?

The widget displays two decimal places using browser floating-point arithmetic. For example, 1.5³ is exactly 3.375 and displays as 3.38.

What happens if the cube is outside the finite browser range?

A large finite input can produce a non-finite cube. The widget clears the result to an em dash and displays an accessible calculation error instead of showing Infinity.

How can I check a cube result?

Multiply the input by itself three times and compare that value with the unrounded cube. The displayed value may differ slightly because it is rounded to two decimal places.