Number of polygon diagonals

n(n − 3)/2.

Input data

Results

Enter data and click Calculate.

How the results are calculated