Create formulas


How can I create formulas in Bubble such as:

In a given app I create inputs like width and height. So I want to calculate perimeter using the formula: 2*(width + height) so that result may be displayed in an input. I tried to insert it in initial content but it did not work.

Best regards,