Logo

MonoCalc

/

Armstrong Number Checker

Math
Any whole number from 0 up to 100 digits, entered in decimal.

Try:

Digit values above 9 use the letters A to Z. Any base from 2 to 36.
Applies to the density figure in range mode, 0 to 10.

Armstrong test in base 10 (decimal)

153 is an Armstrong number

Armstrong number3 digitspower sum 153

Digit-power breakdown

1³ = 15³ = 1253³ = 27

1³ + 5³ + 3³ = 1 + 125 + 27 = 153

Value

153

Digits in base 10

153

Each raised to the power 3.

Sum of digit powers

153

Equal to the value.

Difference

0

Power sum matches exactly.

The digit powers add up
153 has 3 digits, so each digit is raised to the power 3. The powers sum to 153, which equals the original number — 153 is an Armstrong number.

The same value tested in bases 2 to 16

1 of 15 bases qualify
BaseDigitsPower sumArmstrong
2100110014No
31220065No
4212134No
5110383No
641392No
7306243No
823136No
9180513No
10153153Yes
1112A1009No
12109730No
13BA221No
14AD269No
15A3109No
1699162No

About This Tool

Armstrong Number Checker – Digit Powers, Bases and Range Scans

An Armstrong number is a whole number that equals the sum of its own digits, each raised to the power of how many digits the number has. The classic example is 153: it has three digits, and 1³ + 5³ + 3³ = 1 + 125 + 27 = 153. Because the exponent is the digit count, three-digit numbers cube their digits, four-digit numbers raise them to the fourth power, and so on. The same idea travels under several names — narcissistic number, plus perfect digital invariant and pluperfect digital invariant — but the definition never changes. This checker verifies any number instantly and shows the full digit-power calculation so you can see exactly why it passes or fails.

How the Check Works

The tool writes your number out as a digit string, counts the digits to fix the exponent, raises each digit to that power, and adds the results. It then compares the total with the original number: an exact match means the value is an Armstrong number, and any gap is reported as a signed difference so you can tell whether the power sum overshoots or falls short. For 123 the sum is 1³ + 2³ + 3³ = 36, which is 87 short of 123, so 123 is not an Armstrong number. All arithmetic runs on BigInt values rather than floating point, so even the 39-digit champion stays exact instead of drifting once it passes 2^53.

Single-Digit and Multi-Digit Cases

Every single-digit number is trivially an Armstrong number, because a one-digit value has an exponent of 1 and n¹ = n. That is why a scan starting at 1 always lists 1 through 9 before the first interesting hit. Beyond the single digits, the base-10 Armstrong numbers are surprisingly sparse: 153, 370, 371 and 407 are the only three-digit ones, followed by four-digit values such as 1634, 8208 and 9474. The tool handles large multi-digit numbers too — enter 9926315 or 146511208 to watch the seven- and nine-digit cases resolve.

Finding Armstrong Numbers in a Range

Switch to range mode to list every Armstrong number between two bounds, a common classroom and lab exercise. Scanning 1 to 10,000 returns the nine single-digit values plus 153, 370, 371, 407, 1634, 8208 and 9474. Each value in the range is written out, its digits are raised to the digit count and summed, and matches are collected. A guard rail caps a single scan at one million consecutive values so the browser never freezes, and a warning appears before a wide scan on a slower device. Results can be copied, downloaded as text, or exported as CSV with the number, digit count and digit-power sum.

Why the base-10 list is finite
A number with d digits can be at most d × 9^d once every digit is raised to the power d. As d grows, that ceiling eventually rises more slowly than the smallest d-digit number itself, so past 39 digits no Armstrong number can exist. There are exactly 88 of them in base 10.

Armstrong Numbers in Other Bases

Being narcissistic is a property of the written form, so it depends on the base. This checker accepts any base from 2 to 36, using the letters A to Z for digit values above 9 exactly as hexadecimal does. The optional base scan lays out bases 2 through 16 side by side for a single value, making it easy to spot numbers that satisfy the digit-power rule in several bases at once or in none beyond the trivial single-digit cases. Every base has its own family of narcissistic numbers, and the general definition — sum of digits raised to the digit count — is identical in each.

Why It Matters

Armstrong numbers are a staple of introductory programming, appearing in coding exercises and technical interviews because they combine digit extraction, exponentiation and a comparison in a few lines of logic. Working through the breakdown here makes the underlying algorithm concrete: split into digits, count them, raise and sum, then compare. Whether you need a quick yes-or-no answer, a full step-by-step explanation for a homework problem, or a complete list across a range, this tool covers each use without a single manual calculation.

Frequently Asked Questions

Is the Armstrong Number Checker free?

Yes, Armstrong Number Checker is totally free :)

Can I use the Armstrong Number Checker offline?

Yes, you can install the webapp as PWA.

Is it safe to use Armstrong Number Checker?

Yes, any data related to Armstrong Number Checker only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

How does this Armstrong number checker work?

It writes your number out as a digit string, counts the digits, raises every digit to the power of that count, and adds the results. If the total equals the original number the value is an Armstrong number; otherwise the tool shows the sum and how far it falls short or over. The same digit-power method drives the range scan and the base-by-base comparison.

What is an Armstrong number?

An Armstrong number equals the sum of its own digits each raised to the power of the number of digits. 153 has three digits and 1³ + 5³ + 3³ = 153, so it qualifies. The idea also goes by narcissistic number, plus perfect digital invariant, and pluperfect digital invariant — all the same definition.

Are all single-digit numbers Armstrong numbers?

Yes. A one-digit number n has exactly one digit, so the exponent is 1 and n¹ = n. Every value from 0 to 9 is therefore trivially an Armstrong number, which is why a range scan starting at 1 always lists 1 through 9 before the first multi-digit hit.

How many Armstrong numbers are there in base 10?

There are exactly 88 Armstrong numbers in base 10, and the list is finite because a d-digit number cannot exceed d × 9^d, which eventually grows slower than the number itself. The largest is 115132219018763992565095597973971522401, a 39-digit value beyond which no more can exist.

Can a number be an Armstrong number in one base but not another?

Yes. The property depends on the digit string, and that string changes with the base. This tool lets you pick any base from 2 to 36 and can scan bases 2 through 16 at once, so you can find values that are narcissistic in several bases or in none beyond the trivial single-digit cases.

How large a number can I check?

Single checks accept values up to 100 digits and run on BigInt arithmetic, so nothing is lost to floating-point rounding even for the 39-digit champion. Range scans walk through at most one million consecutive values at a time with bounds up to 10^15, which keeps a scan responsive on a phone.