Kaprekar's Routine Calculator
See how many steps a number takes to reach 6174.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
This calculator runs Kaprekar's routine on a 4-digit number: arrange its digits in descending and ascending order, subtract the smaller from the larger, and repeat — a process that reaches the constant 6174 (Kaprekar's constant) within at most 7 iterations for any 4-digit number with at least two different digits.
Recreational mathematicians and students use it to explore this quirky self-referential property discovered by D. R. Kaprekar in 1949, watching how quickly any starting number converges. Enter a 4-digit number to see each step of the routine and how many iterations it takes to reach 6174.
Was this helpful?
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
No calculators found
Comments (0)