Perfect Square and Cube Calculator

Enter a whole number to test it.

A whole number of up to 30 digits.

Try

Result

You entered2727

27 is a perfect cube (33) but not a perfect square\displaystyle 27\text{ is}\text{ a perfect cube }\left(3^{3}\right)\text{ but not a perfect square}

Nearest squares

25,  36\displaystyle 25,\; 36

Nearest cubes

27,  64\displaystyle 27,\; 64
Show the work
  1. Perfect square test

    A perfect square is a whole number that is the square of a whole number. 2727 lies strictly between two consecutive squares, so no whole number squares to it.

    Using n=k2n = k^2

    52=25<27<36=625^{2} \mathrel{=} 25 < 27 < 36 \mathrel{=} 6^{2}
  2. Perfect cube test

    A perfect cube is a whole number that is the cube of a whole number. The whole-number cube root of 2727 is 33, and cubing it gives back 2727, so it is a perfect cube.

    Using n=k3n = k^3

    273=333=27\begin{gathered} \sqrt[3]{27} = 3 \\ 3^{3} = 27 \end{gathered}
  3. Result

    27 is a perfect cube (3^3) but not a perfect square.

Worked examples