Read the output as a remainder class. A result of 2 means that the original power differs from 2 by an exact multiple of the divisor. It does not mean that the power equals 2, nor does it give the quotient. When the divisor is 1, the only possible remainder is 0.
For hand checking, try a smaller exponent or build a short list of repeating residues. Modular powers often repeat, although the cycle depends on the base and modulus. A zero result means the divisor divides the power exactly. It does not necessarily mean the base itself is zero.
This calculator is suitable for arithmetic study and verification. Security systems use carefully chosen large values and reviewed libraries; a small web calculation should not be used to design or assess a cryptographic system.
The input bounds are tied to the implementation’s native integer arithmetic. On this 64-bit installation, the product of two residues below 10⁹ stays below 10¹⁸ and fits the integer range. This is still a bounded arithmetic tool, not an arbitrary-length integer or cryptographic key calculator.
Negative bases need particular care in hand checks. For example, (−4)³ = −64 is congruent to 2 modulo 11 because −64 = −6 × 11 + 2. A programming language’s signed remainder may print a negative number unless you normalize it to the nonnegative range used here.