Back to Free Tools
FREE TOOLS
Modular Arithmetic Calculator
Normalize signed integers and inspect exact sum, difference, product and congruence modulo a positive integer.
Explicit text fields
modular-arithmetic.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Enter the admitted input and explicit options described below.
- Select Inspect modular arithmetic and inspect the stated conventions.
- Download the complete result and any companion report.
Examples
-7 modulo 5 has residue 3 and Euclidean quotient −2.
Limitations
- At most 100decimal digits/128 raw units per selected integer, 1024 combined input bytes, 512 intermediate digits and 64 KiB report; 30 seconds.
- Positive modulus at least 1; all residues are in[0, m). No floating-point remainder, enumeration, modular exponentiation or inverse mode.
Related tools
No items found.