Custom Layout Designer - Add a field with a fixed percentage of a different field

Dear everyone, 

I hope you are fine. And hopefully someone can help me :) 

I made a custom document functioning as a payment request (on basis of a quote) in Sage One/Accounting, but I would like to add one field - a field, that shows "Remaining Balance" (I always take a fixed downpayment of 50%) - so how can I add a field that shows 50% of the total amount? 

Thank you very much! 

With best regards 

Nick A.