Skip to main content
Reviewed for accuracy by Manoj Kumar, Mathematics Educator

Eulers Totient Function Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: phi(n) = n * Product of (1 - 1/p) for each prime factor p of n

Your Result

Worked example โ€” phi(36) = 12 | 12 integers from 1 to 36 are coprime to 36 | Totient ratio: 1/3

Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy