Maths

Number Theory
calculators.

These tools explore the properties of whole numbers. They cover primes and prime factorization, GCD and LCM, modular arithmetic and the Chinese remainder theorem, and Euler's totient. They also cover famous sequences such as Fibonacci, Catalan and Collatz, plus factorials, continued fractions, Roman numerals and exact math on very large numbers.

16 tools · Updated November 10, 2026

Showing 16 tools

Which one do I need?

  1. Prime Number CheckerI want to know if a number is prime
  2. Prime Factorization CalculatorI want a number broken down into its prime factors
  3. GCD & LCM CalculatorI need the greatest common divisor or least common multiple of several numbers
  4. Modular Arithmetic CalculatorI need a modular inverse or a large power mod n
  5. Chinese Remainder Theorem CalculatorI have several congruences and want the number that satisfies all of them
  6. Big Number CalculatorI need an exact result with hundreds of digits
  7. Roman Numeral ConverterI want to convert between Roman numerals and ordinary numbers
  8. Fibonacci CalculatorI want a specific Fibonacci number or to check if a number is in the sequence

Primes, factors and divisors

Every whole number greater than 1 is either prime or a product of primes in exactly one way, apart from order. This is the fundamental theorem of arithmetic, and it is why prime factorization is so useful. Once you know the factors, the GCD, the LCM and the number of divisors follow directly. The Prime Factorization Calculator shows the factor tree. The GCD and LCM Calculator works with up to ten numbers.

For a plain yes or no, the Prime Number Checker is faster. Euler's totient φ(n) counts the numbers below n that share no factor with it. The Perfect Number Checker tests whether a number equals the sum of its proper divisors, as 6 = 1 + 2 + 3 does.

Modular arithmetic and cryptography

Modular arithmetic works with remainders, like hours on a clock. It is the basis of check digits, hash functions and public-key cryptography. The Modular Arithmetic Calculator computes modular inverses and fast modular powers. These are the core steps of RSA.

The Chinese remainder theorem deals with a set of congruences, or remainder conditions. If the moduli are pairwise coprime, the set has exactly one solution modulo their product. Use the Chinese Remainder Theorem Calculator for scheduling and puzzle problems. A typical one reads 'leaves remainder 2 when divided by 3 and remainder 3 when divided by 5'.

Sequences, big numbers and representations

Integer sequences turn up all over mathematics. Fibonacci numbers appear in growth patterns, and Catalan numbers count bracket arrangements and tree shapes. The Collatz sequence is the subject of a famous unsolved problem. Factorials grow faster than any exponential and reach 3,628,800 at 10!. Ordinary floating-point arithmetic keeps only about 15 to 17 significant digits. Once results go past that, use the Big Number Calculator.

Continued fractions give the best rational approximations to a number, such as 355/113 for π. The Roman Numeral Converter and Digital Root Calculator handle two older ways of writing numbers. They still turn up in dates, clocks and divisibility checks.

Questions people ask

No. A prime has exactly two distinct positive divisors, 1 and itself, and 1 has only one. Excluding 1 also keeps prime factorization unique, which is why mathematicians settled on this definition.

Other maths topics