ToolPony.comDocumentation

Factor calculator

List every positive divisor, all factor pairs, and the prime factorization.

Get started

  1. Use the example values or enter your own measurements.
  2. Calculate, then copy the result or download the available details.

Example

Input

120

Expected result

16 positive divisors, including 1 and 120

Try it

Good to know

The calculation runs in your browser. Use consistent units in fields with no explicit unit.

Calculation method

A divisor divides the input with zero remainder. Each small divisor d pairs with n/d, so searching up to √n finds every pair.

d∣n  ⟺  n mod d=0,n=d⋅(n/d)d\mid n\iff n\bmod d=0,\qquad n=d\cdot(n/d)