Basic Calculator
Basic Calculator: Evaluate an arithmetic expression with parentheses, powers and supported mathematical functions.
Modulo Calculator: Find the signed remainder after dividing one value by another.
Find the signed remainder after dividing one value by another.
Example: Using First value = 12; Second value = 4, the result is 0.
How it is calculated: The result uses the JavaScript remainder convention: a − trunc(a/b) × b; its sign follows the dividend. This tool requires a positive divisor.
This page uses a signed remainder convention. It subtracts an integer quotient truncated toward zero, which can differ from the nonnegative modulo convention used in some textbooks or languages.
-7 divided by 3 has a truncated quotient of -2 and remainder -1 in this tool.
Guidance updated . Methods and corrections
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.