Integer Calculator
Perform all operations on integers — add, subtract, multiply, divide, GCD, LCM, modulo, power, factorial and absolute value. Full step-by-step solution and number line visual included.
Integer Operations — Complete Guide
Integers (ℤ) are whole numbers including positives, negatives, and zero. This calculator handles all 10 fundamental integer operations with full step-by-step explanations.
aⁿ (Power) | GCD(a,b) | LCM(a,b) | n! (Factorial) | |n| (Absolute Value)
Rules for Integer Operations
- Adding same signs: Add absolute values, keep the sign → (−3) + (−5) = −8
- Adding different signs: Subtract, keep sign of larger absolute value → (−8) + 3 = −5
- Multiplying/Dividing: Same signs → positive. Different signs → negative → (−4) × (−5) = +20
- Modulo: Remainder after division → 17 mod 5 = 2 (because 17 = 3×5 + 2)
- GCD: Largest number that divides both → GCD(12,8) = 4
- LCM: Smallest number divisible by both → LCM(4,6) = 12
Sign Rules for Multiplication & Division
Integer Operations — Quick Examples
17 mod 5 = 2 | 2¹⁰ = 1,024 | GCD(48,18) = 6 | LCM(4,6) = 12
5! = 120 | |−7| = 7
Integers vs Other Number Types
- Integers (ℤ): ..., −3, −2, −1, 0, 1, 2, 3 — no fractions or decimals
- Natural numbers (ℕ): 1, 2, 3, ... — positive integers only
- Whole numbers (𝕎): 0, 1, 2, 3, ... — non-negative integers
- Rational numbers (ℚ): Include fractions like ½ — integers are a subset
Related Calculators
Also check our Prime Factorization Calculator, GCF & LCM Calculator, Long Division Calculator, Quadratic Equation Calculator, and all Math Calculators on CalcVelo.
Frequently Asked Questions
CalcVelo Integer Calculator — Free math tool. Perform all integer operations: addition, subtraction, multiplication, division, modulo, power, GCD, LCM, factorial, and absolute value. Positive and negative integers supported with step-by-step solutions.
Frequently Asked Questions
What integer is equal to -8 – (-22)?
14. Subtracting a negative number is the same as adding: -8 – (-22) = -8 + 22 = 14.
What is -20 + 32?
12. The numbers have different signs, so subtract the smaller absolute value from the larger and keep the sign of the larger number: 32 – 20 = 12.
How do you subtract negative integers?
Change the subtraction to addition and flip the sign of the second number: a – (-b) = a + b. Example: 5 – (-3) = 5 + 3 = 8. Two negatives in a row become a plus.
Also check our 4 Function Calculator