Calculator Income Tax

Income Tax Calculator – Calculate Your Tax Liability :root { –primary-color: #004a99; –success-color: #28a745; –background-color: #f8f9fa; –text-color: #333; –border-color: #ddd; –card-background: #fff; –shadow: 0 2px 5px rgba(0,0,0,0.1); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(–background-color); color: var(–text-color); line-height: 1.6; margin: 0; padding: 0; } .container { max-width: 960px; margin: 20px auto; padding: 20px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(–border-color); } header h1 { color: var(–primary-color); margin-bottom: 10px; } .calculator-section { margin-bottom: 40px; padding: 30px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } .calculator-section h2 { color: var(–primary-color); text-align: center; margin-bottom: 25px; } .loan-calc-container { display: flex; flex-direction: column; gap: 20px; } .input-group { display: flex; flex-direction: column; gap: 8px; } .input-group label { font-weight: bold; color: var(–primary-color); } .input-group input[type="number"], .input-group input[type="text"], .input-group select { padding: 12px; border: 1px solid var(–border-color); border-radius: 5px; font-size: 1rem; transition: border-color 0.3s ease; } .input-group input:focus, .input-group select:focus { border-color: var(–primary-color); outline: none; } .input-group .helper-text { font-size: 0.85rem; color: #666; } .error-message { color: red; font-size: 0.85rem; margin-top: 5px; display: none; /* Hidden by default */ } .button-group { display: flex; gap: 15px; margin-top: 25px; justify-content: center; flex-wrap: wrap; } .btn { padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; text-transform: uppercase; } .btn-primary { background-color: var(–primary-color); color: white; } .btn-primary:hover { background-color: #003366; transform: translateY(-2px); } .btn-secondary { background-color: #6c757d; color: white; } .btn-secondary:hover { background-color: #5a6268; transform: translateY(-2px); } .btn-success { background-color: var(–success-color); color: white; } .btn-success:hover { background-color: #218838; transform: translateY(-2px); } .results-container { margin-top: 30px; padding: 25px; background-color: var(–primary-color); color: white; border-radius: 8px; text-align: center; box-shadow: inset 0 0 10px rgba(0,0,0,0.2); } .results-container h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.4rem; } .main-result { font-size: 2.5rem; font-weight: bold; margin-bottom: 15px; display: block; } .intermediate-results { display: flex; justify-content: space-around; flex-wrap: wrap; margin-bottom: 20px; gap: 15px; } .intermediate-results div { text-align: center; } .intermediate-results span { display: block; font-size: 1.2rem; font-weight: bold; } .intermediate-results p { font-size: 0.9rem; margin-bottom: 0; opacity: 0.9; } .formula-explanation { font-size: 0.9rem; margin-top: 15px; opacity: 0.8; } table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 30px; box-shadow: var(–shadow); } thead { background-color: var(–primary-color); color: white; } th, td { padding: 12px 15px; text-align: left; border: 1px solid var(–border-color); } tbody tr:nth-child(even) { background-color: #f2f2f2; } caption { font-size: 1.1rem; font-weight: bold; color: var(–primary-color); margin-bottom: 10px; text-align: left; } canvas { display: block; margin: 20px auto; max-width: 100%; border: 1px solid var(–border-color); border-radius: 5px; } .chart-container { text-align: center; margin-top: 30px; padding: 20px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } .chart-container h3 { color: var(–primary-color); margin-bottom: 15px; } .article-section { margin-top: 40px; padding: 30px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } .article-section h2, .article-section h3 { color: var(–primary-color); margin-bottom: 15px; } .article-section h2 { border-bottom: 2px solid var(–primary-color); padding-bottom: 10px; } .article-section p, .article-section ul, .article-section ol { margin-bottom: 15px; } .article-section li { margin-bottom: 8px; } .faq-item { margin-bottom: 15px; padding: 10px; border-left: 3px solid var(–primary-color); background-color: #eef7ff; } .faq-item strong { color: var(–primary-color); } .internal-links-section ul { list-style: none; padding: 0; } .internal-links-section li { margin-bottom: 10px; } .internal-links-section a { color: var(–primary-color); text-decoration: none; font-weight: bold; } .internal-links-section a:hover { text-decoration: underline; } .internal-links-section p { font-size: 0.9rem; color: #555; } @media (min-width: 768px) { .container { margin: 30px auto; padding: 30px; } .loan-calc-container { gap: 25px; } .button-group { justify-content: center; } .intermediate-results { justify-content: space-around; } }

Income Tax Calculator

Estimate your annual income tax liability accurately and efficiently.

Income Tax Calculator

Enter your total income before any deductions or taxes.
Sum of all eligible deductions (e.g., 401k, IRA, student loan interest).
Sum of all applicable tax credits (e.g., child tax credit, education credits).
Single Married Filing Jointly Married Filing Separately Head of Household Select your tax filing status.

Your Estimated Income Tax

$0
$0

Taxable Income

$0

Estimated Tax Before Credits

0.00%

Effective Tax Rate

Formula: Taxable Income = Gross Income – Deductions. Estimated Tax = Taxable Income applied to tax brackets. Final Tax = Estimated Tax Before Credits – Tax Credits.

Taxable Income vs. Estimated Tax

Visualizing the relationship between your income, deductions, and the resulting tax liability.

What is Income Tax?

Income tax is a tax imposed by governments on the financial income of individuals and corporations. It's a primary source of revenue for most nations, funding public services like infrastructure, education, healthcare, and defense. Understanding your income tax obligations is crucial for personal financial planning and compliance. This calculator income tax tool is designed to simplify that process.

Who should use it? Anyone who earns income and is subject to taxation should use an income tax calculator. This includes employees, self-employed individuals, freelancers, investors, and business owners. It's particularly useful for estimating tax burdens, planning for tax payments, and making informed financial decisions throughout the year.

Common misconceptions about income tax include believing that all income is taxed at the same rate (it's progressive), that tax credits are the same as deductions (they reduce tax dollar-for-dollar vs. taxable income), or that tax laws are static (they change frequently). This calculator income tax aims to provide a clear, albeit simplified, overview.

Income Tax Formula and Mathematical Explanation

Calculating income tax involves several steps, primarily determining your taxable income and then applying the relevant tax rates. Our calculator income tax follows a standard methodology.

Step 1: Calculate Taxable Income This is the portion of your income that is actually subject to tax.
Taxable Income = Gross Income - Total Deductions

Step 2: Determine Tax Liability Based on Brackets Taxable income is then divided into portions, each taxed at a different rate according to the progressive tax system. The rates and brackets depend on your filing status. For simplicity, our calculator uses a generalized approach.
Estimated Tax Before Credits = Tax Rate(Bracket 1) * Income in Bracket 1 + Tax Rate(Bracket 2) * Income in Bracket 2 + ...

Step 3: Apply Tax Credits Tax credits directly reduce the amount of tax you owe, dollar for dollar.
Final Income Tax = Estimated Tax Before Credits - Total Tax Credits

Step 4: Calculate Effective Tax Rate This shows the percentage of your gross income that you actually pay in taxes.
Effective Tax Rate = (Final Income Tax / Gross Income) * 100%

Variables Table

Variable Meaning Unit Typical Range
Gross Income Total income earned from all sources before any deductions. Currency (e.g., USD) $0 – $1,000,000+
Total Deductions Expenses allowed by law to reduce taxable income. Currency (e.g., USD) $0 – $50,000+
Taxable Income Income remaining after deductions, subject to tax rates. Currency (e.g., USD) $0 – $1,000,000+
Tax Credits Direct reductions to tax liability. Currency (e.g., USD) $0 – $10,000+
Final Income Tax The actual amount of tax owed after credits. Currency (e.g., USD) $0 – $500,000+
Effective Tax Rate Final tax as a percentage of gross income. Percentage (%) 0% – 50%+

Practical Examples (Real-World Use Cases)

Example 1: Single Filer with Standard Deductions

Sarah is single and earns a gross annual income of $80,000. She plans to take the standard deduction for her filing status. For the sake of this example, let's assume the standard deduction for a single filer is $13,850 and she has no tax credits.

Inputs:

  • Gross Annual Income: $80,000
  • Total Deductions: $13,850 (Standard Deduction)
  • Total Tax Credits: $0
  • Filing Status: Single

Calculation:

  • Taxable Income = $80,000 – $13,850 = $66,150
  • Estimated Tax Before Credits (using hypothetical progressive rates): Let's say this results in $10,500.
  • Final Income Tax = $10,500 – $0 = $10,500
  • Effective Tax Rate = ($10,500 / $80,000) * 100% = 13.13%

Interpretation: Sarah's estimated income tax liability is $10,500, representing about 13.13% of her gross income. This helps her budget for tax payments.

Example 2: Married Couple with Itemized Deductions and Credits

John and Jane are married and filing jointly. Their combined gross income is $150,000. They have $25,000 in itemized deductions (mortgage interest, state taxes) and qualify for a $4,000 child tax credit.

Inputs:

  • Gross Annual Income: $150,000
  • Total Deductions: $25,000 (Itemized Deductions)
  • Total Tax Credits: $4,000
  • Filing Status: Married Filing Jointly

Calculation:

  • Taxable Income = $150,000 – $25,000 = $125,000
  • Estimated Tax Before Credits (using hypothetical progressive rates): Let's say this results in $22,000.
  • Final Income Tax = $22,000 – $4,000 = $18,000
  • Effective Tax Rate = ($18,000 / $150,000) * 100% = 12.00%

Interpretation: After considering their deductions and credits, John and Jane's estimated tax is $18,000. The $4,000 tax credit significantly reduced their final tax bill. Their effective tax rate is 12%. This highlights the benefit of utilizing all available deductions and credits. For more detailed scenarios, consider exploring tax planning strategies.

How to Use This Income Tax Calculator

Using our calculator income tax is straightforward. Follow these steps to get an accurate estimate of your tax liability.

  1. Enter Gross Annual Income: Input the total amount of money you earned from all sources in the past year before any taxes or deductions are taken out. This includes salary, wages, tips, bonuses, investment income, etc.
  2. Input Total Deductions: Add up all the eligible deductions you plan to claim. This could be the standard deduction amount for your filing status or the sum of your itemized deductions (like mortgage interest, state and local taxes, charitable donations, etc.), whichever is greater.
  3. Enter Total Tax Credits: Sum up any tax credits you are eligible for. Remember, credits are more valuable than deductions as they reduce your tax bill dollar-for-dollar. Examples include child tax credits, education credits, and energy credits.
  4. Select Filing Status: Choose the status under which you will file your taxes (Single, Married Filing Jointly, etc.). This significantly impacts tax brackets and standard deduction amounts.
  5. Click 'Calculate Tax': Once all fields are populated, click the button. The calculator will instantly display your estimated taxable income, estimated tax before credits, final tax liability, and effective tax rate.

How to read results:

  • Taxable Income: The amount of your income subject to tax rates.
  • Estimated Tax Before Credits: The tax calculated based on your taxable income and the relevant tax brackets.
  • Main Result (Final Income Tax): Your net tax obligation after applying credits.
  • Effective Tax Rate: The percentage of your gross income you'll pay in taxes.

Decision-making guidance: Use these results to plan your tax payments, adjust your withholdings (W-4 form), and identify potential tax-saving opportunities. If your estimated tax is higher than expected, review your deductions and credits. If it's lower, you might be able to increase investments or savings that offer tax benefits. For complex situations, consulting a tax professional is recommended.

Key Factors That Affect Income Tax Results

Several elements influence the final income tax you owe. Understanding these can help you optimize your tax strategy.

  • Gross Income Level: Higher gross income generally leads to higher tax liability due to progressive tax brackets. This is the starting point for all calculations.
  • Deductions: The amount and type of deductions (standard vs. itemized) directly reduce your taxable income. Maximizing eligible deductions is a key tax-saving strategy. This impacts the taxable income calculation.
  • Tax Credits: Unlike deductions, credits reduce your tax bill directly. Claiming all eligible credits significantly lowers your final tax amount.
  • Filing Status: Your filing status (Single, Married Filing Jointly, etc.) determines the tax brackets, standard deduction amounts, and eligibility for certain credits, profoundly affecting your tax outcome.
  • Tax Law Changes: Tax laws, rates, brackets, and eligible deductions/credits are subject to change by legislation. What's true one year may not be the next. Staying informed is crucial.
  • Investment Income: Income from investments (dividends, capital gains) may be taxed at different rates than ordinary income, adding complexity to the calculation.
  • State and Local Taxes: While this calculator focuses on federal income tax, state and local income taxes also contribute to your overall tax burden and can sometimes be deductible.
  • Inflation: Over time, inflation can erode the value of deductions and credits if they are not indexed to inflation, effectively increasing the real tax burden.

Frequently Asked Questions (FAQ)

Q1: How accurate is this income tax calculator?

A: This calculator provides an estimate based on the inputs you provide and standard tax principles. Actual tax liability can vary due to specific tax code nuances, state taxes, and individual circumstances not captured here. It's a planning tool, not a substitute for professional tax advice or filing your official tax return.

Q2: What's the difference between a deduction and a credit?

A: Deductions reduce your taxable income, meaning less of your income is subject to tax. Credits reduce your tax bill dollar-for-dollar. For example, a $1,000 deduction saves you the amount of tax on $1,000 (e.g., $240 at a 24% rate), while a $1,000 credit saves you the full $1,000.

Q3: Can I use this calculator for past or future tax years?

A: This calculator uses current general tax principles. Tax laws, brackets, and standard deductions change annually. For past or future years, you would need a calculator specifically updated for those tax years.

Q4: What if my income is irregular?

A: If you have irregular income (e.g., freelance, seasonal work), it's best to estimate your total annual income as accurately as possible. You might also consider quarterly estimated tax payments to avoid penalties. Our self-employment tax calculator may be helpful.

Q5: How do I find out my exact standard deduction amount?

A: Standard deduction amounts are set by the IRS annually and vary by filing status. You can find the current year's amounts on the IRS website or by consulting tax resources.

Q6: What are some common tax credits I might be eligible for?

A: Common credits include the Child Tax Credit, Earned Income Tax Credit (EITC), education credits (like the American Opportunity Tax Credit), retirement savings contributions credit, and energy credits for home improvements. Eligibility rules apply to each.

Q7: Should I always itemize deductions?

A: Not necessarily. You should itemize only if your total itemized deductions exceed the standard deduction amount for your filing status. Many taxpayers find the standard deduction simpler and more beneficial.

Q8: What happens if I don't pay enough income tax throughout the year?

A: You may face penalties and interest charges from the IRS if you don't pay enough tax by the deadline, either through withholding or estimated tax payments. This calculator helps estimate your liability to prevent underpayment.

Related Tools and Internal Resources

var grossIncomeInput = document.getElementById('grossIncome'); var deductionsInput = document.getElementById('deductions'); var taxCreditsInput = document.getElementById('taxCredits'); var filingStatusSelect = document.getElementById('filingStatus'); var resultsContainer = document.getElementById('resultsContainer'); var mainResultSpan = document.getElementById('mainResult'); var taxableIncomeSpan = document.getElementById('taxableIncome'); var estimatedTaxSpan = document.getElementById('estimatedTax'); var effectiveTaxRateSpan = document.getElementById('effectiveTaxRate'); var grossIncomeError = document.getElementById('grossIncomeError'); var deductionsError = document.getElementById('deductionsError'); var taxCreditsError = document.getElementById('taxCreditsError'); var chart; var chartContext = document.getElementById('taxChart').getContext('2d'); // Hypothetical Tax Brackets and Rates (Example – these change annually and by jurisdiction) // These are simplified for demonstration purposes. Real tax calculations are more complex. var taxBrackets = { single: [ { limit: 11000, rate: 0.10 }, { limit: 44725, rate: 0.12 }, { limit: 95375, rate: 0.22 }, { limit: 182100, rate: 0.24 }, { limit: 231250, rate: 0.32 }, { limit: 578125, rate: 0.35 }, { limit: Infinity, rate: 0.37 } ], married_filing_jointly: [ { limit: 22000, rate: 0.10 }, { limit: 89450, rate: 0.12 }, { limit: 190750, rate: 0.22 }, { limit: 364200, rate: 0.24 }, { limit: 462500, rate: 0.32 }, { limit: 693750, rate: 0.35 }, { limit: Infinity, rate: 0.37 } ], married_filing_separately: [ { limit: 11000, rate: 0.10 }, { limit: 44725, rate: 0.12 }, { limit: 95375, rate: 0.22 }, { limit: 182100, rate: 0.24 }, { limit: 231250, rate: 0.32 }, { limit: 578125, rate: 0.35 }, { limit: Infinity, rate: 0.37 } ], head_of_household: [ { limit: 15700, rate: 0.10 }, { limit: 59850, rate: 0.12 }, { limit: 95350, rate: 0.22 }, { limit: 182100, rate: 0.24 }, { limit: 231250, rate: 0.32 }, { limit: 578125, rate: 0.35 }, { limit: Infinity, rate: 0.37 } ] }; // Standard Deductions (Example – these change annually) var standardDeductions = { single: 13850, married_filing_jointly: 27700, married_filing_separately: 13850, head_of_household: 20800 }; function validateInput(value, errorElement, fieldName, allowEmpty = false, allowNegative = false, maxValue = Infinity) { var error = "; if (!allowEmpty && (value === null || value === ")) { error = fieldName + ' is required.'; } else if (value !== " && isNaN(value)) { error = fieldName + ' must be a number.'; } else if (!allowNegative && value maxValue) { error = fieldName + ' cannot exceed ' + maxValue.toLocaleString() + '.'; } if (errorElement) { errorElement.innerText = error; errorElement.style.display = error ? 'block' : 'none'; } return !error; } function calculateTax() { var grossIncome = parseFloat(grossIncomeInput.value); var deductions = parseFloat(deductionsInput.value); var taxCredits = parseFloat(taxCreditsInput.value); var filingStatus = filingStatusSelect.value; var isGrossIncomeValid = validateInput(grossIncome, grossIncomeError, 'Gross Income'); var isDeductionsValid = validateInput(deductions, deductionsError, 'Deductions', true, true); var isTaxCreditsValid = validateInput(taxCredits, taxCreditsError, 'Tax Credits', true, true); if (!isGrossIncomeValid || !isDeductionsValid || !isTaxCreditsValid) { resultsContainer.style.display = 'none'; return; } var standardDeduction = standardDeductions[filingStatus] || 0; var actualDeductions = Math.max(deductions, standardDeduction); var taxableIncome = grossIncome – actualDeductions; if (taxableIncome < 0) taxableIncome = 0; var brackets = taxBrackets[filingStatus] || taxBrackets.single; var estimatedTaxBeforeCredits = 0; var remainingTaxableIncome = taxableIncome; for (var i = 0; i < brackets.length; i++) { var bracket = brackets[i]; var incomeInBracket = 0; if (remainingTaxableIncome 0 ? brackets[i-1].limit : 0); incomeInBracket = Math.min(remainingTaxableIncome, bracketLimitAmount); } estimatedTaxBeforeCredits += incomeInBracket * bracket.rate; remainingTaxableIncome -= incomeInBracket; } var finalTax = estimatedTaxBeforeCredits – taxCredits; if (finalTax 0) ? (finalTax / grossIncome) * 100 : 0; mainResultSpan.innerText = '$' + finalTax.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }); taxableIncomeSpan.innerText = '$' + taxableIncome.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }); estimatedTaxSpan.innerText = '$' + estimatedTaxBeforeCredits.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }); effectiveTaxRateSpan.innerText = effectiveTaxRate.toFixed(2) + '%'; resultsContainer.style.display = 'block'; updateChart(grossIncome, taxableIncome, finalTax); } function resetCalculator() { grossIncomeInput.value = "; deductionsInput.value = '0'; taxCreditsInput.value = '0'; filingStatusSelect.value = 'single'; resultsContainer.style.display = 'none'; grossIncomeError.innerText = "; deductionsError.innerText = "; taxCreditsError.innerText = "; grossIncomeError.style.display = 'none'; deductionsError.style.display = 'none'; taxCreditsError.style.display = 'none'; if (chart) { chart.destroy(); } // Reset chart to default state if needed updateChart(0, 0, 0); } function copyResults() { var grossIncome = grossIncomeInput.value || 'N/A'; var deductions = deductionsInput.value || 'N/A'; var taxCredits = taxCreditsInput.value || 'N/A'; var filingStatus = filingStatusSelect.options[filingStatusSelect.selectedIndex].text; var resultText = "— Income Tax Calculation Results —\n\n"; resultText += "Inputs:\n"; resultText += " Gross Annual Income: $" + (grossIncome !== 'N/A' ? parseFloat(grossIncome).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) : 'N/A') + "\n"; resultText += " Total Deductions: $" + (deductions !== 'N/A' ? parseFloat(deductions).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) : 'N/A') + "\n"; resultText += " Total Tax Credits: $" + (taxCredits !== 'N/A' ? parseFloat(taxCredits).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) : 'N/A') + "\n"; resultText += " Filing Status: " + filingStatus + "\n\n"; resultText += "Results:\n"; resultText += " Taxable Income: " + taxableIncomeSpan.innerText + "\n"; resultText += " Estimated Tax Before Credits: " + estimatedTaxSpan.innerText + "\n"; resultText += " Final Income Tax: " + mainResultSpan.innerText + "\n"; resultText += " Effective Tax Rate: " + effectiveTaxRateSpan.innerText + "\n\n"; resultText += "Assumptions:\n"; resultText += " – Uses simplified federal tax brackets and standard deduction amounts.\n"; resultText += " – Does not include state or local taxes.\n"; resultText += " – Tax laws and rates are subject to change.\n"; try { navigator.clipboard.writeText(resultText).then(function() { alert('Results copied to clipboard!'); }, function(err) { console.error('Could not copy text: ', err); alert('Failed to copy results. Please copy manually.'); }); } catch (e) { console.error('Clipboard API not available: ', e); alert('Clipboard API not available. Please copy manually.'); } } function updateChart(grossIncome, taxableIncome, finalTax) { if (chart) { chart.destroy(); } var labels = ['Gross Income', 'Taxable Income', 'Final Tax Owed']; var dataValues = [grossIncome, taxableIncome, finalTax]; var backgroundColors = ['rgba(0, 74, 153, 0.6)', 'rgba(40, 167, 69, 0.6)', 'rgba(255, 193, 7, 0.6)']; var borderColors = ['rgba(0, 74, 153, 1)', 'rgba(40, 167, 69, 1)', 'rgba(255, 193, 7, 1)']; // Ensure data is not negative for chart display dataValues[0] = Math.max(0, dataValues[0]); dataValues[1] = Math.max(0, dataValues[1]); dataValues[2] = Math.max(0, dataValues[2]); chart = new Chart(chartContext, { type: 'bar', data: { labels: labels, datasets: [{ label: 'Financial Metrics', data: dataValues, backgroundColor: backgroundColors, borderColor: borderColors, borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, ticks: { callback: function(value) { return '$' + value.toLocaleString(); } } } }, plugins: { legend: { display: false // Hide legend as labels are clear }, title: { display: true, text: 'Income vs. Tax Liability Breakdown' } } } }); } // Initial calculation on load if inputs have default values document.addEventListener('DOMContentLoaded', function() { // Trigger initial calculation if default values are present and sensible if (grossIncomeInput.value || deductionsInput.value || taxCreditsInput.value) { calculateTax(); } else { // Set default chart state if no initial calculation updateChart(0, 0, 0); } // Add event listeners for real-time updates var inputs = document.querySelectorAll('.loan-calc-container input, .loan-calc-container select'); inputs.forEach(function(input) { input.addEventListener('input', calculateTax); }); });

Leave a Comment