Full mesh formula

How to count how much connections we need to build a full mesh ?

x = n*(n-1)/2

  • x – number of connections
  • n – number of devices

example for 5 devices:
we need:
5*(5-1)/2 = 5*4/2 = 20/2 = 10
connections to build a full mesh beetween them.