compare_lease_vs_purchase
Calculates and compares the total cost of leasing versus purchasing a vehicle over the same time period, based on user-supplied vehicle price, down payment, loan/lease terms, and residual value. Pure calculation using user inputs — no external data is accessed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| downPayment | Yes | Upfront payment amount for purchase in USD. | |
| moneyFactor | Yes | The money factor for the lease (similar to interest rate). | |
| interestRate | Yes | Annual interest rate for purchase loan (e.g., 5 for 5%). | |
| salesTaxRate | Yes | Sales tax rate as a percentage (e.g., 7.5 for 7.5%). | |
| purchasePrice | Yes | Total price of the vehicle for purchase in USD. | |
| acquisitionFee | No | Fee charged by the lessor to initiate the lease in USD. | |
| securityDeposit | No | Refundable deposit paid at the start of the lease in USD. | |
| loanTermInMonths | Yes | Loan duration in months for purchase. | |
| leaseTermInMonths | Yes | Lease duration in months. | |
| monthlyLeasePayment | Yes | Monthly payment for the lease in USD. | |
| residualValuePercentage | Yes | Estimated value of the vehicle at the end of the lease, as a percentage of MSRP. | |
| expectedOwnershipInMonths | Yes | How long you plan to keep the vehicle, in months. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comparison | Yes | ||
| leaseAnalysis | Yes | ||
| purchaseAnalysis | Yes |