Narcissistic Number Checker

Check if a number equals the sum of its digits raised to the digit count.

How to use

  1. Enter your values in the fields above.
  2. Press Calculate to see your result instantly.
  3. Use the Share button to copy a link to your result.

About this calculator

A narcissistic number (also called an Armstrong number or plus perfect number) is a number that equals the sum of its own digits, each raised to the power of the digit count. For example, 153 has 3 digits, and 1³ + 5³ + 3³ = 1 + 125 + 27 = 153 — the number is rebuilt entirely from its own digits. Single-digit numbers (0-9) are trivially narcissistic since any digit to the power of 1 is itself, and beyond those the next examples are 153, 370, 371 and 407 in base 10.

These numbers are a classic topic in recreational mathematics and a favorite first coding exercise, since checking one requires nothing more than splitting a number into digits, raising each to a power and summing — a nice loop-and-modulo exercise for students learning any programming language. They have no deep number-theoretic significance but are popular in math clubs, puzzle sites and programming interview practice.

This calculator takes any whole number, breaks it into its digits, raises each to the power of the digit count, sums them, and tells you instantly whether it's a narcissistic number.

Was this helpful?

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators