Calculate the remainder of division (a mod b). Shows quotient, remainder, full division expression, and negative dividend semantics. Everything runs locally in your browser — nothing is uploaded.
Calculate the factorial of any number (n!). Handles large numbers and shows the full multiplication sequence. Everything runs locally in your browser — nothing is uploaded.
Calculate the slope, equation, and intercept of a line from two points. Shows the full line equation in y = mx + b form. Everything runs locally in your browser — nothing is uploaded.
Convert fractions to decimal numbers. Shows the step-by-step division process. Everything runs locally in your browser — nothing is uploaded.
Calculate net salary after taxes — enter gross salary, deductions, and tax brackets to see your take-home pay with a full breakdown.
Calculate the Compound Annual Growth Rate (CAGR) for investments. Shows year-by-year growth breakdown. Everything runs locally in your browser — nothing is uploaded.
Modulo (mod) returns the remainder after division. For example, 17 mod 5 = 2 because 17 = 5 × 3 + 2. It's used in cryptography, hash functions, clock arithmetic, and array indexing.
JavaScript's % truncates the quotient toward zero, so -7 % 3 = -1. Python floors toward negative infinity, so -7 % 3 = 2. Both are valid — they just define 'remainder' differently. This tool shows both results when they differ.
It shows the complete division expression: dividend ÷ divisor = decimal, the integer quotient, and the remainder calculation (dividend − divisor × quotient = remainder). This helps verify the result step by step.
Common uses: checking if a number is even/odd (n % 2), cycling through array indices (i % length), implementing hash tables, clock arithmetic (hours % 12), and modular exponentiation in cryptography.
Greatest Common Factor Calculator
Calculate the GCF/GCD of two or more numbers. Shows the prime factorization method step by step. Everything runs locally in your browser — nothing is uploaded.
Rounding Calculator
Round numbers using 5 modes: round half up, banker's rounding, floor, ceil, and truncate. Shows step-by-step explanation with the digit being rounded. Everything runs locally in your browser — nothing is uploaded.