modular arithmetic is useful in many fields, and its applications include rsa algorithm in cryptography, primality testing in computer science, and 12-tone arithmetic in music. it is often used in calculating checksums and check digits.