','\
Down payment (amount), when percent mode is used: \\( DP_{amt} = P \\times \\dfrac{DP\\%}{100} \\) Loan amount: \\( L = P - DP_{amt} \\) LTV: \\( LTV\\% = \\dfrac{L}{P} \\times 100 \\) Monthly P&I (amortized): \\( M = L \\cdot \\dfrac{i(1+i)^n}{(1+i)^n - 1} \\), where \\( i = APR/12 \\), \\( n = 12 \\cdot years \\) Closing costs estimate: \\( C = P \\times \\dfrac{c}{100} \\) Cash to close (excl. credits/prepaids): \\( Cash = DP_{amt} + C \\) Months to save: \\( months = \\left\\lceil \\max\\left(0, \\dfrac{DP_{amt} - S_{current}}{S_{monthly}} \\right) \\right\\rceil \\)