The Hidden Math Behind Your Bank Card: The Luhn Algorithm Explained Every time you type a card number online, something checks it before your bank even sees it. That something is a 65-year-old math formula. Here is how it works. May 21, 2026 11 min