How down payment is calculated
Down payment = price × target percentage. Cash target = down payment + closing-cost allowance. Additional savings = the positive difference between that target and savings allocated to the purchase.
Worked example
A $400,000 home at 20% down requires $80,000. A 3% closing allowance adds $12,000; with $50,000 saved, the remaining target is $42,000.