Armstrong Number Checker
Test if a number is an Armstrong number.
Result
How it is calculated
An Armstrong (narcissistic) number equals the sum of its own digits, each raised to the power of the number of digits: n = d₁k + d₂k + … + dkk, where k is the digit count. The tool splits the number into digits, raises each to the power k, adds them, and reports the sum together with a yes or no verdict from comparing the sum with the original. Whole numbers from 0 to 1,000,000,000 are accepted; decimals are cut to the integer part. Every single-digit number qualifies, since d¹ = d.
Worked example
Test 153. It has k = 3 digits, so cube each: 1³ = 1, 5³ = 125, 3³ = 27. Add them: 1 + 125 + 27 = 153. The sum equals the original number, so 153 is an Armstrong number. Compare 154: 1 + 125 + 64 = 190, which differs, so it is not.
Common mistakes
- Using a fixed power of 3 for every number; the power equals the digit count, so 1634 needs the 4th power.
- Counting leading zeros as digits, such as writing 0153, which would make k = 4.
- Expecting 10 to qualify because 1 + 0 = 1; the power is 2 here, giving 1, not 10.
- Confusing Armstrong numbers with perfect numbers or palindromes; the property is about powers of digits.
- Entering a value above one billion or a negative number, which returns no result.
About this calculator
This calculator checks whether a number is an Armstrong (narcissistic) number — one equal to the sum of its own digits each raised to the power of the digit count, such as 153 = 1³+5³+3³. Numbers like 9, 153, 9474, and 9926315 are famous examples across different digit lengths.
Programming students and puzzle enthusiasts use it to explore number theory concepts and test their own code — Armstrong number checks are a classic beginner programming exercise — against a reliable reference.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
A fun way to explore is to test numbers just after a known one. After 9926315, the next Armstrong numbers are the neighbouring pair 24678050 and 24678051, while 24678052 fails with a digit-power sum of 24,678,306. Seeing the sum beside the verdict helps you debug your own code for this classic exercise. Which language did you write your checker in, and did it agree with the tool?