Enter a mod b statement(s)
Perform the modular arithmetic
7mod3%2B5mod8-32mod5
Determine 7 mod 3%2b5Define modulus:
Remainder of a ÷ b
In this case, a = 7 and b = 3%2b5
Calculate whole number part:
3%2b5 goes into 7 a total of 2 times
3%2b5 x 2 = 6
Calculate remainder part:
Remainder = a - whole number
Remainder = 7 - 6
7 mod 3%2b5 ≡
Excel or Google Sheets formula:
Excel or Google Sheets formula:=MOD(7,3%2b5)Determine -32 mod 5
Define modulus:
Remainder of a ÷ b
In this case, a = -32 and b = 5
Calculate whole number part:
5 goes into -32 a total of -7 times
5 x -7 = -35
Calculate remainder part:
Remainder = a - whole number
Remainder = -32 - -35
-32 mod 5 ≡ 3
Excel or Google Sheets formula:
Excel or Google Sheets formula:=MOD(-32,5)Simplify our modular arithmetic:
+ 3 = 3
What is the Answer?
-32 mod 5 ≡ 3
How does the Modulus Calculator work?
Free Modulus Calculator - Given 2 integers a and b, this modulo calculator determines a mod b or simplifies modular arithmetic such as 7 mod 3 + 5 mod 8 - 32 mod 5
This calculator has 1 input.
What 1 formula is used for the Modulus Calculator?
amodb = Remainder after a ÷ bFor more math formulas, check out our Formula Dossier
What 2 concepts are covered in the Modulus Calculator?
modulusthe remainder of a division, after one number is divided by another.a mod bremainderThe portion of a division operation leftover after dividing two integers
Example calculations for the Modulus Calculator
PlayTags:
Add This Calculator To Your Website
ncG1vNJzZmivp6x7rq3ToZqepJWXv6rA2GeaqKVforylwcuuqmeomKWMr8HMdm6mp5RocnOBkXtspqeUbXp0fsyom25eoKGKhK3LnKylmaSaeI67w66jrqs%3D