Formula for account status %

Hello,
does anybody know the formula to calculate the account status % for the CFD?
Thanks!!

See https://helpcentre.trading212.com/hc/en-us/articles/360007119457-What-does-the-account-status-show-

Thanks, however in the post the account status percentages are not calculated and furthermore the post doesn’t provide any formula on how to calculate them.
I also found this other post:

but in my opinion the calculation of the % are not general and in any case there are no formulas.
Can anybody else help on this?