Prime factorisation, primality test, GCD and LCM of numbers
Prime, GCD & LCM Calculator is a free online browser-based utility designed to prime factorisation, primality test, gcd and lcm of numbers. All computations, processing, and rendering happen completely inside your browser client, ensuring your data is kept secure and private.
Divide the number by the smallest prime that fits, repeat with the quotient, and continue until you reach 1. Enter 360 and the tool shows 360 = 2 cubed x 3 squared x 5. It also tells you whether the number is prime and how many divisors it has.
A prime has exactly two divisors: 1 and itself. Enter the number and the "Is it prime?" box shows Yes or No; a prime factorisation with a single prime raised to the power 1 means it is prime. For example, 97 is prime and 91 (7 x 13) is not.
The greatest common divisor is the largest number that divides all of them, found with the Euclidean algorithm. For 48, 180 and 36 the GCD is 12. Enter two or more positive whole numbers, separated by commas or spaces, in the GCD and LCM card.
The LCM is the smallest number that all of them divide into. For two numbers it is a x b / GCD. For 48, 180 and 36 the LCM is 720. If the result is too large to be exact, the tool shows Too large.
Add 1 to each prime exponent and multiply the results. Since 360 = 2^3 x 3^2 x 5^1, divisors = (3 + 1)(2 + 1)(1 + 1) = 24. The tool shows this count for the number you factorise.
It works on whole numbers from 2 up to 9,007,199,254,740,991 (2^53 - 1), the largest integer a browser can represent exactly. Numbers with very large prime factors can take a little longer to factorise. Decimals, negatives and 0 or 1 are not accepted.
No. Toolskyt operates under a zero-server policy. All calculations, data formatting, and file exports are executed locally on your machine.
No, this tool is 100% free. There are no limits, sign-ups, subscriptions, or hidden charges required.