Skip to calculator

Modular Arithmetic

Compute a mod n — the remainder when a is divided by n.

Made with instacalc
The calculator that shows your work.

Remix "Modular Arithmetic" into your own editable copy. Tweak it, share it, make it yours.

Explore 1,000+ examples