Salary Calculator by Hour

Hourly Salary Calculator: Calculate Your Annual Income :root { –primary-color: #004a99; –success-color: #28a745; –background-color: #f8f9fa; –text-color: #333; –border-color: #ddd; –card-background: #fff; –shadow: 0 2px 4px rgba(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: 1000px; 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="range"], .input-group select { padding: 12px; border: 1px solid var(–border-color); border-radius: 5px; font-size: 1rem; box-sizing: border-box; width: 100%; } .input-group input[type="number"]:focus, .input-group select:focus { outline: none; border-color: var(–primary-color); box-shadow: 0 0 0 2px rgba(0, 74, 153, .2); } .input-group .helper-text { font-size: 0.85rem; color: #666; } .error-message { color: #dc3545; font-size: 0.85rem; margin-top: 5px; display: none; /* Hidden by default */ } .error-message.visible { display: block; } .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(-1px); } .btn-secondary { background-color: #6c757d; color: white; } .btn-secondary:hover { background-color: #5a6268; transform: translateY(-1px); } .btn-success { background-color: var(–success-color); color: white; } .btn-success:hover { background-color: #218838; transform: translateY(-1px); } .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,.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; padding: 10px; background-color: rgba(255,255,255,.15); border-radius: 5px; } .intermediate-results { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; } .intermediate-results div { text-align: center; padding: 10px; } .intermediate-results span { display: block; font-weight: bold; font-size: 1.3rem; } .formula-explanation { font-size: 0.9rem; color: rgba(255,255,255,.8); margin-top: 15px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 15px; } table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 30px; box-shadow: var(–shadow); } th, td { padding: 12px 15px; text-align: left; border: 1px solid var(–border-color); } thead { background-color: var(–primary-color); color: white; } 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-legend { text-align: center; margin-top: 10px; font-size: 0.9rem; color: #555; } .chart-legend span { display: inline-block; margin: 0 10px; } .chart-legend .color-box { display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: middle; border-radius: 3px; } .article-content { margin-top: 40px; padding: 30px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } .article-content h2, .article-content h3 { color: var(–primary-color); margin-top: 30px; margin-bottom: 15px; } .article-content h2 { border-bottom: 2px solid var(–primary-color); padding-bottom: 8px; } .article-content p, .article-content ul, .article-content ol { margin-bottom: 15px; } .article-content ul, .article-content ol { padding-left: 25px; } .article-content li { margin-bottom: 8px; } .article-content strong { color: var(–primary-color); } .faq-item { margin-bottom: 20px; padding: 15px; background-color: var(–background-color); border-radius: 5px; border-left: 4px solid var(–primary-color); } .faq-item h3 { margin-top: 0; margin-bottom: 8px; color: var(–primary-color); cursor: pointer; font-size: 1.1rem; } .faq-item p { margin-bottom: 0; display: none; /* Hidden by default */ } .faq-item.open p { display: block; } .internal-links ul { list-style: none; padding: 0; } .internal-links li { margin-bottom: 15px; } .internal-links a { color: var(–primary-color); text-decoration: none; font-weight: bold; } .internal-links a:hover { text-decoration: underline; } .internal-links p { font-size: 0.9rem; color: #555; } @media (min-width: 768px) { .container { padding: 30px; } .loan-calc-container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; } .input-group { width: calc(50% – 10px); /* Two columns on larger screens */ } .input-group.full-width { width: 100%; } .button-group { justify-content: flex-start; } .results-container { text-align: left; } .intermediate-results { justify-content: space-between; } } @media (min-width: 992px) { .input-group { width: calc(50% – 10px); /* Maintain two columns */ } }

Hourly Salary Calculator

Your essential tool for understanding your annual income from an hourly wage.

Calculate Your Annual Salary

Enter your gross pay per hour.
Standard work week is 40 hours.
Typically 52 weeks in a year.
Include federal, state, and local taxes.

Your Estimated Annual Income

$0.00
Gross Annual Salary
$0.00
Total Annual Taxes
$0.00
Net Annual Salary
$0.00
Formula Used:
Gross Annual Salary = Hourly Rate * Hours Per Week * Weeks Per Year
Total Annual Taxes = Gross Annual Salary * (Tax Rate / 100)
Net Annual Salary = Gross Annual Salary – Total Annual Taxes

Income Breakdown Table

Metric Value
Hourly Rate $0.00
Hours Per Week 0
Weeks Per Year 0
Estimated Tax Rate 0%
Gross Annual Salary $0.00
Total Annual Taxes $0.00
Net Annual Salary $0.00
Key Assumptions: Gross Salary Taxes Net Salary

Annual Income Visualization

What is an Hourly Salary Calculator?

An hourly salary calculator is a straightforward financial tool designed to convert an individual's hourly wage into their estimated annual income. It takes into account the number of hours worked per week and the number of weeks worked per year, along with an estimated tax rate, to provide a comprehensive view of potential earnings. This calculator is invaluable for anyone paid by the hour, helping them budget, plan for financial goals, and understand their overall compensation.

Who should use it? Anyone earning an hourly wage, including part-time workers, full-time employees, freelancers, and contract workers. It's particularly useful for those new to hourly pay, individuals seeking to negotiate a raise, or anyone wanting to project their yearly earnings more accurately. It helps bridge the gap between immediate hourly pay and long-term financial planning.

Common misconceptions often revolve around the simplicity of the calculation. Many forget to factor in overtime pay, unpaid leave, or the varying impact of taxes and deductions. This tool aims to provide a more realistic estimate by including these crucial elements, moving beyond a simple multiplication of hours and rate.

Hourly Salary Calculator Formula and Mathematical Explanation

The core of the hourly salary calculator lies in a series of simple yet powerful formulas. These formulas break down the calculation into manageable steps, ensuring accuracy and clarity.

Step 1: Calculate Gross Weekly Salary

This is the first step in determining your total annual earnings before any deductions. It's a direct multiplication of your hourly rate by the number of hours you work in a week.

Gross Weekly Salary = Hourly Rate × Hours Per Week

Step 2: Calculate Gross Annual Salary

Once you have your weekly earnings, you can project your annual income by multiplying the gross weekly salary by the number of weeks you work in a year.

Gross Annual Salary = Gross Weekly Salary × Weeks Per Year

Alternatively, combining steps 1 and 2:

Gross Annual Salary = Hourly Rate × Hours Per Week × Weeks Per Year

Step 3: Calculate Total Annual Taxes

Taxes are a significant factor in take-home pay. This step estimates the total amount of taxes withheld or owed based on your gross annual salary and your estimated tax rate.

Total Annual Taxes = Gross Annual Salary × (Tax Rate / 100)

Step 4: Calculate Net Annual Salary (Take-Home Pay)

This is the final figure representing the amount of money you can expect to receive after taxes are deducted. It's your actual disposable income.

Net Annual Salary = Gross Annual Salary - Total Annual Taxes

Variable Explanations

Variable Meaning Unit Typical Range
Hourly Rate The amount earned for each hour of work. USD ($) $15 – $100+
Hours Per Week The average number of hours worked each week. Hours 20 – 60 (40 is standard)
Weeks Per Year The total number of weeks worked annually. Weeks 1 – 52 (52 is standard)
Tax Rate The percentage of income paid in taxes (federal, state, local). % 10% – 40%+
Gross Annual Salary Total income before taxes and deductions. USD ($) Calculated
Total Annual Taxes Estimated total tax amount deducted from gross salary. USD ($) Calculated
Net Annual Salary Income remaining after taxes (take-home pay). USD ($) Calculated

Practical Examples (Real-World Use Cases)

Let's illustrate how the hourly salary calculator works with practical scenarios:

Example 1: Full-Time Retail Associate

Sarah works as a retail associate and earns $18 per hour. She works a consistent 40 hours per week and gets paid for 52 weeks a year. Her estimated tax rate, considering federal, state, and local taxes, is 22%.

  • Inputs:
  • Hourly Rate: $18.00
  • Hours Per Week: 40
  • Weeks Per Year: 52
  • Estimated Tax Rate: 22%
  • Calculations:
  • Gross Annual Salary = $18.00/hr * 40 hrs/wk * 52 wks/yr = $37,440
  • Total Annual Taxes = $37,440 * (22 / 100) = $8,236.80
  • Net Annual Salary = $37,440 – $8,236.80 = $29,203.20

Financial Interpretation: Sarah can expect to earn approximately $37,440 before taxes. After an estimated $8,236.80 in taxes, her take-home pay will be around $29,203.20 annually. This information helps her budget for rent, savings, and other expenses.

Example 2: Part-Time Skilled Tradesperson

Mike is a skilled tradesperson working part-time. He earns $45 per hour and typically works 25 hours per week. He plans to work for 48 weeks this year, taking a couple of weeks off unpaid. His combined tax rate is estimated at 28%.

  • Inputs:
  • Hourly Rate: $45.00
  • Hours Per Week: 25
  • Weeks Per Year: 48
  • Estimated Tax Rate: 28%
  • Calculations:
  • Gross Annual Salary = $45.00/hr * 25 hrs/wk * 48 wks/yr = $54,000
  • Total Annual Taxes = $54,000 * (28 / 100) = $15,120
  • Net Annual Salary = $54,000 – $15,120 = $38,880

Financial Interpretation: Mike's projected gross income for the year is $54,000. After accounting for taxes, his net income is estimated at $38,880. This allows him to assess if his part-time earnings meet his financial goals for the year and plan his savings accordingly.

How to Use This Hourly Salary Calculator

Using this hourly salary calculator is simple and intuitive. Follow these steps to get your personalized income estimate:

  1. Enter Your Hourly Rate: Input the amount you earn for each hour worked into the "Hourly Rate ($)" field. Ensure this is your gross rate before any deductions.
  2. Specify Hours Per Week: Enter the average number of hours you work each week in the "Hours Per Week" field. If your hours vary, use a realistic average.
  3. Input Weeks Per Year: Fill in the "Weeks Per Year" field with the number of weeks you expect to work annually. Use 52 for full-time employment without significant unpaid leave.
  4. Estimate Your Tax Rate: In the "Estimated Tax Rate (%)" field, enter the combined percentage of federal, state, and local taxes you anticipate paying. If unsure, a common estimate is 20-30%, but consult tax resources for accuracy.
  5. Click 'Calculate': Once all fields are populated, click the "Calculate" button.

How to Read Results

The calculator will display your results prominently:

  • Main Result (Net Annual Salary): This is your estimated take-home pay after taxes, shown in a large, highlighted font.
  • Intermediate Values: You'll see your Gross Annual Salary (before taxes) and Total Annual Taxes deducted.
  • Income Breakdown Table: A detailed table summarizes all input values and calculated results for easy reference.
  • Annual Income Visualization: A chart provides a visual representation of how your gross salary is split between taxes and net pay.

Decision-Making Guidance

Use these results to make informed financial decisions. Compare your net annual salary against your living expenses and financial goals. If the projected income falls short, consider options like negotiating a higher hourly rate, seeking overtime opportunities, increasing your hours, or exploring additional income streams. Understanding your earning potential is the first step toward achieving financial stability.

Key Factors That Affect Hourly Salary Results

While the hourly salary calculator provides a solid estimate, several factors can influence your actual earnings:

  1. Overtime Pay: Many jobs offer higher rates (e.g., 1.5x or 2x) for hours worked beyond a standard 40-hour week. This calculator assumes standard pay unless you manually adjust 'Hours Per Week' to reflect average overtime.
  2. Bonuses and Commissions: Performance-based bonuses or sales commissions are typically not included in standard hourly calculations. These can significantly increase total annual compensation.
  3. Unpaid Leave/Absences: If you take unpaid time off (vacation, sick leave), your actual working weeks per year will be less than 52, reducing your gross and net income.
  4. Deductions Beyond Taxes: Health insurance premiums, retirement contributions (401k, IRA), union dues, and other voluntary or mandatory deductions reduce your take-home pay further than just taxes.
  5. Varying Tax Laws: Tax rates can change based on location (state, city), filing status (single, married), dependents, and specific tax credits or deductions you qualify for. The estimated rate is a simplification.
  6. Inflation and Cost of Living: While not directly affecting the calculation, inflation impacts the purchasing power of your net salary. High cost-of-living areas may require a higher net income to maintain the same standard of living.
  7. Shift Differentials: Some employers offer higher hourly rates for working less desirable shifts (e.g., night shifts, weekends). This can increase your average hourly rate.
  8. Gig Work and Multiple Jobs: If you have multiple hourly jobs or engage in gig work, you'll need to calculate each stream separately and sum them for a total annual income estimate.

Frequently Asked Questions (FAQ)

What is the difference between gross and net annual salary?

Gross annual salary is your total income earned before any deductions, including taxes, insurance premiums, and retirement contributions. Net annual salary, often called take-home pay, is the amount you actually receive after all deductions have been made.

How accurate is the estimated tax rate?

The estimated tax rate is a simplification. Actual tax liability depends on numerous factors like your filing status, dependents, deductions, credits, and state/local tax laws. For precise figures, consult a tax professional or use official tax calculators.

What if I work overtime?

If you regularly work overtime, you can adjust the 'Hours Per Week' input to reflect your average weekly hours including overtime. However, for more precision, calculate your standard pay and overtime pay separately and sum them.

Does this calculator include deductions like health insurance?

No, this calculator primarily focuses on gross salary and estimated taxes. Deductions for health insurance, retirement plans (like 401k), and other benefits will further reduce your net pay. You would need to subtract these separately.

Can I use this for bi-weekly or monthly paychecks?

While the calculator provides an annual figure, you can derive your net pay per paycheck. Divide the Net Annual Salary by the number of pay periods in a year (e.g., 26 for bi-weekly, 12 for monthly). Remember this is an estimate after taxes only.

What if my hours vary significantly week to week?

If your hours fluctuate greatly, try to calculate an average number of hours worked per week over a recent period (e.g., 3 months) to get a more representative estimate. Alternatively, use the calculator multiple times with different hour inputs to see a range of potential earnings.

How do I handle different tax brackets?

This calculator uses a flat estimated tax rate for simplicity. Progressive tax systems mean different portions of your income are taxed at different rates. For a more detailed calculation considering tax brackets, specialized tax software or a professional is recommended.

Is the 'Weeks Per Year' input for paid or worked weeks?

It represents the number of weeks for which you are earning income. If you take unpaid leave, you should reduce this number accordingly. Paid time off (like vacation days) is usually included in your salary calculation if you are paid for those days.

© 2023 Your Financial Tools. All rights reserved.

var hourlyRateInput = document.getElementById('hourlyRate'); var hoursPerWeekInput = document.getElementById('hoursPerWeek'); var weeksPerYearInput = document.getElementById('weeksPerYear'); var taxRateInput = document.getElementById('taxRate'); var resultsContainer = document.getElementById('results-container'); var mainResultSpan = document.getElementById('mainResult'); var grossAnnualSalarySpan = document.getElementById('grossAnnualSalary'); var totalAnnualTaxesSpan = document.getElementById('totalAnnualTaxes'); var netAnnualSalarySpan = document.getElementById('netAnnualSalary'); var tableHourlyRate = document.getElementById('tableHourlyRate'); var tableHoursPerWeek = document.getElementById('tableHoursPerWeek'); var tableWeeksPerYear = document.getElementById('tableWeeksPerYear'); var tableTaxRate = document.getElementById('tableTaxRate'); var tableGrossAnnualSalary = document.getElementById('tableGrossAnnualSalary'); var tableTotalAnnualTaxes = document.getElementById('tableTotalAnnualTaxes'); var tableNetAnnualSalary = document.getElementById('tableNetAnnualSalary'); var incomeChart; var chartContext; function formatCurrency(amount) { return "$" + amount.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,'); } function formatPercent(amount) { return amount.toFixed(2) + "%"; } function validateInput(inputElement, errorElement, min, max) { var value = parseFloat(inputElement.value); var errorDiv = document.getElementById(errorElement); errorDiv.classList.remove('visible'); errorDiv.textContent = "; if (isNaN(value)) { errorDiv.textContent = 'Please enter a valid number.'; errorDiv.classList.add('visible'); return false; } if (value max) { errorDiv.textContent = 'Value is too high.'; errorDiv.classList.add('visible'); return false; } return true; } function calculateSalary() { var hourlyRate = parseFloat(hourlyRateInput.value); var hoursPerWeek = parseFloat(hoursPerWeekInput.value); var weeksPerYear = parseFloat(weeksPerYearInput.value); var taxRate = parseFloat(taxRateInput.value); var validHourlyRate = validateInput(hourlyRateInput, 'hourlyRateError', 0); var validHoursPerWeek = validateInput(hoursPerWeekInput, 'hoursPerWeekError', 0, 168); var validWeeksPerYear = validateInput(weeksPerYearInput, 'weeksPerYearError', 0, 52); var validTaxRate = validateInput(taxRateInput, 'taxRateError', 0, 100); if (!validHourlyRate || !validHoursPerWeek || !validWeeksPerYear || !validTaxRate) { resultsContainer.style.display = 'none'; return; } var grossAnnualSalary = hourlyRate * hoursPerWeek * weeksPerYear; var totalAnnualTaxes = grossAnnualSalary * (taxRate / 100); var netAnnualSalary = grossAnnualSalary – totalAnnualTaxes; mainResultSpan.textContent = formatCurrency(netAnnualSalary); grossAnnualSalarySpan.textContent = formatCurrency(grossAnnualSalary); totalAnnualTaxesSpan.textContent = formatCurrency(totalAnnualTaxes); netAnnualSalarySpan.textContent = formatCurrency(netAnnualSalary); tableHourlyRate.textContent = formatCurrency(hourlyRate); tableHoursPerWeek.textContent = hoursPerWeek.toFixed(1); tableWeeksPerYear.textContent = weeksPerYear.toFixed(0); tableTaxRate.textContent = formatPercent(taxRate); tableGrossAnnualSalary.textContent = formatCurrency(grossAnnualSalary); tableTotalAnnualTaxes.textContent = formatCurrency(totalAnnualTaxes); tableNetAnnualSalary.textContent = formatCurrency(netAnnualSalary); resultsContainer.style.display = 'block'; updateChart(grossAnnualSalary, totalAnnualTaxes, netAnnualSalary); } function resetCalculator() { hourlyRateInput.value = '25.00'; hoursPerWeekInput.value = '40'; weeksPerYearInput.value = '52'; taxRateInput.value = '20'; document.getElementById('hourlyRateError').textContent = "; document.getElementById('hourlyRateError').classList.remove('visible'); document.getElementById('hoursPerWeekError').textContent = "; document.getElementById('hoursPerWeekError').classList.remove('visible'); document.getElementById('weeksPerYearError').textContent = "; document.getElementById('weeksPerYearError').classList.remove('visible'); document.getElementById('taxRateError').textContent = "; document.getElementById('taxRateError').classList.remove('visible'); resultsContainer.style.display = 'none'; if (incomeChart) { incomeChart.destroy(); } } function copyResults() { var hourlyRate = parseFloat(hourlyRateInput.value); var hoursPerWeek = parseFloat(hoursPerWeekInput.value); var weeksPerYear = parseFloat(weeksPerYearInput.value); var taxRate = parseFloat(taxRateInput.value); var grossAnnualSalary = hourlyRate * hoursPerWeek * weeksPerYear; var totalAnnualTaxes = grossAnnualSalary * (taxRate / 100); var netAnnualSalary = grossAnnualSalary – totalAnnualTaxes; var resultText = "— Hourly Salary Calculation Results —\n\n"; resultText += "Key Assumptions:\n"; resultText += "Hourly Rate: " + formatCurrency(hourlyRate) + "\n"; resultText += "Hours Per Week: " + hoursPerWeek.toFixed(1) + "\n"; resultText += "Weeks Per Year: " + weeksPerYear.toFixed(0) + "\n"; resultText += "Estimated Tax Rate: " + formatPercent(taxRate) + "\n\n"; resultText += "Calculated Results:\n"; resultText += "Gross Annual Salary: " + formatCurrency(grossAnnualSalary) + "\n"; resultText += "Total Annual Taxes: " + formatCurrency(totalAnnualTaxes) + "\n"; resultText += "Net Annual Salary (Take-Home Pay): " + formatCurrency(netAnnualSalary) + "\n"; var textArea = document.createElement("textarea"); textArea.value = resultText; document.body.appendChild(textArea); textArea.select(); try { document.execCommand("copy"); alert("Results copied to clipboard!"); } catch (err) { console.error("Unable to copy results.", err); alert("Failed to copy results. Please copy manually."); } textArea.remove(); } function initChart() { chartContext = document.getElementById('incomeChart').getContext('2d'); incomeChart = new Chart(chartContext, { type: 'bar', data: { labels: ['Gross Salary', 'Taxes', 'Net Salary'], datasets: [{ label: 'Income Distribution', data: [0, 0, 0], backgroundColor: [ 'rgba(0, 74, 153, 0.7)', // Primary Blue for Gross 'rgba(108, 117, 125, 0.7)', // Secondary Gray for Taxes 'rgba(40, 167, 69, 0.7)' // Success Green for Net ], borderColor: [ 'rgba(0, 74, 153, 1)', 'rgba(108, 117, 125, 1)', 'rgba(40, 167, 69, 1)' ], borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, ticks: { callback: function(value) { if (value % 10000 === 0) { return formatCurrency(value); } return "; } } } }, plugins: { legend: { display: false // Legend is handled by text below chart }, tooltip: { callbacks: { label: function(context) { var label = context.dataset.label || "; if (label) { label += ': '; } if (context.parsed.y !== null) { label += formatCurrency(context.parsed.y); } return label; } } } } } }); } function updateChart(gross, taxes, net) { if (!incomeChart) { initChart(); } incomeChart.data.datasets[0].data = [gross, taxes, net]; incomeChart.update(); } function toggleFaq(element) { var parent = element.parentElement; parent.classList.toggle('open'); } // Initial calculation on load document.addEventListener('DOMContentLoaded', function() { calculateSalary(); initChart(); // Initialize chart structure even if data is zero }); // Add event listeners for real-time updates hourlyRateInput.addEventListener('input', calculateSalary); hoursPerWeekInput.addEventListener('input', calculateSalary); weeksPerYearInput.addEventListener('input', calculateSalary); taxRateInput.addEventListener('input', calculateSalary);

Leave a Comment