Factoring Calculator

This calculator finds all the factors of a whole number, lists its factor pairs, tells you whether it is prime, and gives its prime factorisation. Factors, also called divisors, are the whole numbers that divide evenly into a number with no remainder, and finding them is a basic but constant task in mathematics, from simplifying fractions and finding common denominators to solving problems in number theory and cryptography. Doing it by hand means testing divisors one by one, which is slow and easy to get wrong, especially for larger numbers where it is hard to be sure you have found them all. This tool does it instantly and completely. You enter a whole number and the calculator lists every factor in order, pairs them up into the factor pairs that multiply to give the number, states whether the number is prime, which means it has exactly two factors, one and itself, and shows the prime factorisation, the unique way of writing the number as a product of prime numbers. The prime factorisation is particularly useful, since it underlies the highest common factor and lowest common multiple and much of number theory. The results update as you type. Use it to check homework, to simplify fractions, to find common factors and multiples, or to explore which numbers are prime. The calculator handles reasonably large numbers efficiently; very large numbers are limited to keep it fast and the output readable. The results are exact for whole-number inputs.

12
number of factors
Prime?No
Prime factorisation2² × 3 × 5
-

Factors are whole numbers that divide evenly with no remainder. A prime has exactly two factors. Large numbers are capped for speed.

How it works

The calculator tests each whole number up to the square root of your number; where it divides evenly, both it and the matching co-factor are factors. These are sorted into the full list and into factor pairs. A number is prime if it has exactly two factors. The prime factorisation repeatedly divides by the smallest prime until only primes remain.

Worked example

For 60, the factors are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 and 60, twelve in all, so it is not prime. The factor pairs are 1 by 60, 2 by 30, 3 by 20, 4 by 15, 5 by 12 and 6 by 10. The prime factorisation is 2 squared times 3 times 5.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.