Calculate percentage in Power Automate Microsoft Flow. I will take an example of 180/200*100. 180 is 90% of 200. So, I should get 90 as the answer using the flow.
I have created an Instant flow with manual trigger. I now add Compose
action to do my calculation. We will use expression to write our formula.
The below formula I use to calculate the percentage. I have hard-coded the numbers. It is advised to use variables instead of numbers.
mul(div(float('180'),float('200')),float('100'))
If you use the below formula without float
, then your output will be 0. Therefore, float is required. The div
function do not take the decimal value after point.
mul(div(180, 200), 100)
Using variables, the complete flow is shown below.

Expression:
mul(div(float(variables('dividend')),float(variables('divisor'))),float(variables('multiplicand')))
Output:

Leave a Reply