Percentage calculation


I wonder, how OctoPrint is calculating the percentage for the print because it displays 4 different values for the same print:

Cura and the status "window" are nearly in sync (showing 30/31% finished) . connected clients (Octomon and Home Assistant) are also in sync, but show a different value (about 11%), the "printer Display"-plugin is at 24% and the Plugin for the progress bar (DisplayLayerProgress Plugin) is at 28%.

I would have expected that all showing the same value?!?