Lease Buyout Cost Calculator
Enter Your Lease Details
Estimated Buyout Cost
Enter your lease details to see the estimated cost.
Customize Fees & Taxes
| Item | Value |
|---|
Please enter valid numbers in all fields.
'; return; } let breakdown = {}; // Core Costs breakdown['Residual Value'] = residualValue; const totalRemainingPayments = remainingPayments * monthlyPayment; if (totalRemainingPayments > 0) { breakdown['Remaining Lease Payments'] = totalRemainingPayments; } const subtotal = residualValue + totalRemainingPayments; // Fees & Taxes if (configData.purchaseOptionFee > 0) { breakdown['Purchase Option Fee'] = configData.purchaseOptionFee; } const salesTax = subtotal * (configData.salesTaxRate / 100); breakdown[`Sales Tax (${configData.salesTaxRate}%)`] = salesTax; if (configData.titleRegistrationFee > 0) { breakdown['Title & Registration Fees'] = configData.titleRegistrationFee; } const totalCost = subtotal + configData.purchaseOptionFee + salesTax + configData.titleRegistrationFee; renderResults(totalCost, breakdown); } function renderResults(total, breakdown) { let breakdownHTML = '- ';
for (const [key, value] of Object.entries(breakdown)) {
breakdownHTML += `
- ${key}$${value.toFixed(2)} `; } breakdownHTML += '
Total Estimated Buyout Price
$${total.toFixed(2)}
