Mod calculator
Powers, inverses and orders modulo .
For checking your work after you’ve tried it yourself.
Step 1: Pick a mode
Pick a mode
Power, Inverse or Order.
Step 2: Fill in the numbers
Fill in the numbers
a, then k or m as asked.
Step 3: Press Calculate
Press Calculate
Compare, then open Do it by hand.
What it does.
Works with remainders. Power finds the remainder of divided by , even for huge . Inverse finds with . Order finds the smallest with .
When it helps.
Checking a remainder you found by repeated squaring, or an inverse before you use it.
What it won’t do.
It uses one modulus at a time and doesn't solve equations. Moduli go up to .
Example.
, so .