Searching High and Low for that Best Loan! 1-888-822-0844

Inputs:

Outputs:

Section 179 Deduction:

Bonus Depreciation Deduction:

Normal 1st Year Depreciation:

Total First Year Deduction:

Cash Savings on your Purchase:

Lowered Cost of Equipment:

function calculate() { // Fetch input values var equipmentCost = parseFloat(document.getElementById('equipment-cost').value); var taxBracket = parseFloat(document.getElementById('tax-bracket').value); // Perform calculations (adjust these calculations based on your specific Section 179 rules) var section179Deduction = calculateSection179Deduction(equipmentCost, taxBracket); var bonusDepreciationDeduction = calculateBonusDepreciation(equipmentCost); var normalDepreciation = calculateNormalDepreciation(equipmentCost); var totalDeduction = section179Deduction + bonusDepreciationDeduction + normalDepreciation; var cashSavings = totalDeduction * (taxBracket / 100); // Assuming tax savings based on tax bracket var loweredCost = equipmentCost - cashSavings; // Update output elements document.getElementById('section179').textContent = section179Deduction.toFixed(2); document.getElementById('bonus-depreciation').textContent = bonusDepreciationDeduction.toFixed(2); document.getElementById('normal-depreciation').textContent = normalDepreciation.toFixed(2); document.getElementById('total-deduction').textContent = totalDeduction.toFixed(2); document.getElementById('cash-savings').textContent = cashSavings.toFixed(2); document.getElementById('lowered-cost').textContent = loweredCost.toFixed(2); } function calculateSection179Deduction(cost, taxBracket) { // Implement Section 179 deduction calculation logic here // Example: For simplicity, let's assume 50% deduction for cost < 100,000 and 30% otherwise if (cost < 100000) { return cost * 0.5; } else { return cost * 0.3; } } function calculateBonusDepreciation(cost) { // Implement bonus depreciation calculation logic here // Example: Let's assume 60% for 2024 return cost * 0.6; } function calculateNormalDepreciation(cost) { // Implement normal depreciation calculation logic here // Example: Let's assume 10% of cost return cost * 0.1; }