Skip to content
MathAnvil

Modular Arithmetic Worksheets

Free printable modular arithmetic worksheets with step-by-step answer keys. Every worksheet is uniquely generated so students never see the same problems twice. Topics covered range from simple a mod n at the easy level through to linear congruence ax ≑ b (mod n), gcd(a, n) = 1 at the advanced level.

LK20.13

Difficulty Levels

Beginner

Concepts
Simple a mod n
Number Range
a < 50, n < 10
Steps
3 steps
Example
47 mod 6

Easy

Concepts
Congruence check a ≑ b (mod n)
Number Range
a, b < 60, n ≀ 12
Steps
3 steps
Example
Is 17 ≑ 5 (mod 6)?

Medium

Concepts
Modular addition / multiplication: (a + b) mod n, (a Γ— b) mod n
Number Range
a, b ≀ 30, n ≀ 15
Steps
3 steps
Example
(5 Γ— 7) mod 9

Hard

Concepts
Linear congruence ax ≑ b (mod n), gcd(a, n) = 1
Number Range
a ≀ 9, n ≀ 13
Steps
3 steps
Example
Solve 3x ≑ 5 (mod 7)

Grade Availability

Modular Arithmetic worksheets are available for Grade 13. Problems are automatically adjusted to match grade-level expectations in number range, complexity, and notation.

Try a Sample Problem

Try it right now

Practice online β†’ Interactive modular arithmetic problems with instant feedback.