Estimate Your Federal Income Tax, Social Security, Medicare, and State Taxes
Your Paycheck Details
Enter your total salary before taxes.
Weekly (52 pay periods per year)
Bi-Weekly (26 pay periods per year)
Semi-Monthly (24 pay periods per year)
Monthly (12 pay periods per year)
How often do you receive your paycheck?
Typically based on your W-4 form. More allowances mean less tax withheld.
Extra amount to withhold per paycheck.
Enter your state's income tax rate (e.g., 5 for 5%). Enter 0 if your state has no income tax.
e.g., 401(k) contributions, health insurance premiums.
Your Estimated Net Pay
Estimated Net Pay Per Paycheck
$0.00
Gross Pay Per Paycheck
$0.00
Total Estimated Taxes Per Paycheck
$0.00
Estimated Take-Home Pay Per Paycheck
$0.00
Estimated Federal Income Tax Per Paycheck
$0.00
Estimated Social Security Tax Per Paycheck
$0.00
Estimated Medicare Tax Per Paycheck
$0.00
Estimated State Tax Per Paycheck
$0.00
How it works: Your gross pay per paycheck is calculated based on your annual salary and pay frequency. Pre-tax deductions reduce your taxable income. Federal income tax is estimated using a simplified percentage based on allowances (this is an approximation; actual withholding depends on IRS tax tables and your specific W-4). Social Security tax is 6.2% up to the annual limit. Medicare tax is 1.45% with no limit. State tax is calculated based on your state's tax rate applied to your taxable income. Net pay is gross pay minus all taxes and after pre-tax deductions.
Annual Tax Breakdown Summary
Estimated Annual Deductions and Net Pay
Category
Amount
Gross Annual Income
$0.00
Pre-Tax Deductions
$0.00
Taxable Income (Federal)
$0.00
Estimated Federal Income Tax
$0.00
Social Security Tax
$0.00
Medicare Tax
$0.00
State Income Tax
$0.00
Total Estimated Taxes
$0.00
Net Annual Income (Take-Home)
$0.00
Distribution of Taxes Per Paycheck
What is a Paycheck Tax Calculator 2025?
A 2025 paycheck tax calculator is an essential online tool designed to help individuals estimate the amount of taxes that will be deducted from their gross earnings on each paycheck. In 2025, understanding these deductions is crucial for effective personal financial planning. This type of calculator breaks down how your salary is reduced by various taxes, including federal income tax, Social Security tax, Medicare tax, and state income taxes, ultimately showing you your estimated net pay – the amount you actually take home. It allows for quick estimations without needing to manually sift through complex tax forms or IRS publications.
Who should use it? Anyone who receives a regular paycheck can benefit from a 2025 paycheck tax calculator. This includes full-time employees, part-time workers, freelancers who have taxes withheld, and individuals with multiple income sources. It's particularly useful for those who want to:
Budget more accurately by knowing their consistent take-home pay.
Plan for large purchases or savings goals.
Understand the impact of tax law changes for the upcoming year.
Verify the accuracy of their employer's payroll withholdings.
Adjust their W-4 withholdings for more or less tax taken out.
Common misconceptions about paycheck taxes include believing that the amount withheld is always the exact amount of tax owed for the year, or that tax calculators provide definitive figures rather than estimates. The actual tax liability is determined when you file your annual tax return, and withholdings are an estimate designed to get you close, avoiding large penalties or refunds.
2025 Paycheck Tax Calculator Formula and Mathematical Explanation
The 2025 paycheck tax calculator uses a series of calculations to estimate deductions. While precise federal income tax withholding is complex and based on IRS tables and taxpayer-specific W-4 information, a simplified approach is often used for estimation tools. Here's a general breakdown:
1. Calculate Gross Pay Per Paycheck:
Gross Pay Per Paycheck = Annual Gross Salary / Number of Pay Periods Per Year
2. Calculate Annual Pre-Tax Deductions:
This is usually a direct input, representing contributions to retirement plans (like 401k), health insurance premiums, etc., that are deducted before taxes are calculated.
Note: This is a simplified view. Actual taxable income can be affected by various deductions and credits not typically included in a basic paycheck calculator.
4. Estimate Federal Income Tax Withholding:
This is the most complex part. A basic calculator might use a flat percentage or a simplified calculation based on allowances. A more robust calculator would simulate the progressive tax brackets. For simplicity here, we'll approximate:
Estimated Federal Tax Per Paycheck = (Taxable Income (Federal) / Number of Pay Periods Per Year) * Estimated Federal Tax Rate
The "Estimated Federal Tax Rate" is where allowances and tax brackets come into play. For a calculator like this, we might use a simplified effective tax rate derived from 2025 tax brackets and allowances, or a placeholder percentage that adjusts based on allowances. A very basic approach might be:
Estimated Federal Tax Per Paycheck = (Gross Pay Per Paycheck - (Annual Pre-Tax Deductions / Number of Pay Periods Per Year)) * Effective Tax Rate Approximation
Actual withholding is determined by IRS Publication 15-T.
5. Calculate Social Security Tax:
For 2025, the Social Security tax rate is 6.2% on earnings up to the annual wage base limit (which is $168,600 for 2024 and expected to be around $170,000-$175,000 for 2025). We'll use an estimated 2025 limit.
Social Security Tax Per Paycheck = MIN(Gross Pay Per Paycheck, Annual SS Limit / Number of Pay Periods Per Year) * 0.062
6. Calculate Medicare Tax:
The Medicare tax rate is 1.45% on all earnings, with no wage limit. Additional Medicare Tax applies for higher earners, but is typically not handled by basic paycheck calculators.
Medicare Tax Per Paycheck = Gross Pay Per Paycheck * 0.0145
7. Calculate State Income Tax:
This depends heavily on the state. For states with flat tax rates:
State Taxable Income = Gross Pay Per Paycheck - (Annual Pre-Tax Deductions / Number of Pay Periods Per Year)
State Tax Per Paycheck = State Taxable Income * (State Tax Rate / 100)
Note: Some states have progressive rates, exemptions, or no income tax.
8. Calculate Total Taxes Per Paycheck:
Total Taxes Per Paycheck = Federal Tax + Social Security Tax + Medicare Tax + State Tax
9. Calculate Net Pay Per Paycheck:
Net Pay Per Paycheck = Gross Pay Per Paycheck - Total Taxes Per Paycheck - Annual Pre-Tax Deductions / Number of Pay Periods Per Year
(Or more simply: Net Pay = Gross Pay – Total Taxes – Pre-Tax Deductions Amount Per Paycheck)
Number of dependents/deductions claimed on W-4, affecting withholding.
Integer
0+ (Lower means more tax withheld)
Additional Federal Tax
Extra amount voluntarily withheld per paycheck.
Currency ($)
$0+
State Tax Rate
Percentage of income paid as state income tax.
Percentage (%)
0% – 13%+ (Varies widely by state)
Pre-Tax Deductions
Deductions reducing taxable income (e.g., 401k, health insurance).
Currency ($) Annually
$0 – $20,000+
SS Tax Rate
Social Security tax rate.
Percentage (%)
6.2% (for 2025, up to limit)
SS Wage Limit
Maximum income subject to Social Security tax.
Currency ($) Annually
~$170,000 – $175,000 (estimated for 2025)
Medicare Tax Rate
Medicare tax rate.
Percentage (%)
1.45% (no limit)
Practical Examples (Real-World Use Cases)
Let's illustrate the 2025 paycheck tax calculator with two distinct scenarios:
Example 1: Single Individual with Standard Deductions
Scenario: Sarah is single, earning $70,000 annually. She is paid bi-weekly (26 periods/year). She contributes $300 per month ($3,600 annually) to her 401(k) and pays $1,200 annually for health insurance premiums (both pre-tax). Her state has a flat income tax of 5%. She claims 2 allowances on her W-4.
Inputs for Calculator:
Annual Gross Salary: $70,000
Pay Frequency: Bi-Weekly (26)
Federal Allowances: 2
Additional Federal Tax: $0
State Tax Rate: 5.0%
Pre-Tax Deductions (Annual): $4,800 ($3,600 401k + $1,200 health insurance)
Estimated Outputs (Per Paycheck):
Gross Pay: $70,000 / 26 = $2,692.31
Pre-Tax Deductions Per Paycheck: $4,800 / 26 = $184.62
Taxable Income Per Paycheck (Federal/State): $2,692.31 – $184.62 = $2,507.69
Estimated Federal Tax (simplified approximation): ~$250 – $300 (highly variable)
Social Security Tax: $2,692.31 * 0.062 = $166.92 (assuming below SS limit)
Financial Interpretation: Sarah takes home approximately $1,881 to $1,936 every two weeks after taxes and pre-tax deductions. This allows her to budget effectively for rent, living expenses, and savings goals, knowing her consistent income stream.
Example 2: Married Couple, Higher Income with More Deductions
Scenario: The Johnsons are married filing jointly. Combined annual gross salary is $150,000. They are paid semi-monthly (24 periods/year). They have $10,000 annually in 401(k) contributions and $4,000 in health insurance premiums (pre-tax). Their state has no income tax (0%). They claim 4 allowances on their W-4.
Inputs for Calculator:
Annual Gross Salary: $150,000
Pay Frequency: Semi-Monthly (24)
Federal Allowances: 4
Additional Federal Tax: $0
State Tax Rate: 0.0%
Pre-Tax Deductions (Annual): $14,000 ($10,000 401k + $4,000 health insurance)
Estimated Outputs (Per Paycheck):
Gross Pay: $150,000 / 24 = $6,250.00
Pre-Tax Deductions Per Paycheck: $14,000 / 24 = $583.33
Taxable Income Per Paycheck (Federal): $6,250.00 – $583.33 = $5,666.67
Estimated Federal Tax (simplified approximation): ~$600 – $750 (highly variable)
Social Security Tax: $6,250.00 * 0.062 = $387.50 (assuming below SS limit)
Financial Interpretation: The Johnsons have a combined take-home pay of approximately $4,438 to $4,588 twice a month. This significantly impacts their household budget, influencing decisions on mortgage payments, discretionary spending, and long-term savings like college funds for children.
How to Use This 2025 Paycheck Tax Calculator
Using the 2025 paycheck tax calculator is straightforward. Follow these steps to get an accurate estimate of your take-home pay:
Enter Annual Gross Salary: Input your total expected earnings before any deductions for the year 2025.
Select Pay Frequency: Choose how often you receive your paychecks (e.g., weekly, bi-weekly, monthly). This is crucial for calculating per-paycheck amounts.
Input Federal Allowances: Enter the number of allowances you claim on your Form W-4. Generally, more allowances mean less tax withheld per paycheck. Consult your W-4 for specifics.
Add Additional Federal Tax (Optional): If you choose to have extra federal tax withheld, enter that amount here.
Enter State Tax Rate: Input your state's income tax rate as a percentage. If your state has no income tax, enter 0.
Specify Pre-Tax Deductions: Sum up all your annual deductions that are taken out before taxes (e.g., 401(k) contributions, health insurance premiums) and enter the total annual amount.
Click "Calculate Taxes": The calculator will process your inputs and display the estimated results.
How to Read Results:
The calculator provides several key figures:
Estimated Net Pay Per Paycheck: This is your main takeaway – the approximate amount you'll receive after all taxes and pre-tax deductions.
Gross Pay Per Paycheck: Your earnings before any deductions for the specific pay period.
Total Estimated Taxes Per Paycheck: The sum of all federal income tax, Social Security, Medicare, and state taxes withheld.
Estimated Take-Home Pay Per Paycheck: This is essentially the Net Pay figure.
Breakdowns for Federal Tax, Social Security, Medicare, and State Tax show the individual impact of each tax type.
The Annual Tax Breakdown Summary provides an annual perspective, useful for tax planning.
The chart visually represents the distribution of taxes taken from each paycheck.
Decision-Making Guidance:
Use these results to make informed financial decisions. If your estimated net pay is lower than expected, you might need to review your W-4 allowances, adjust pre-tax contributions (understanding the trade-offs), or revise your budget. If you consistently receive a large tax refund, consider increasing your allowances or adjusting withholdings to have more cash available throughout the year. Conversely, if you owe a lot at tax time, consider increasing withholdings or making estimated tax payments.
Key Factors That Affect 2025 Paycheck Tax Results
Several factors significantly influence the accuracy of your 2025 paycheck tax calculator results and your actual take-home pay:
Annual Gross Salary: This is the primary driver. Higher salaries generally mean higher tax amounts, though progressive tax brackets mean the *percentage* of tax increases with income.
Pay Frequency: While the total annual tax remains the same, the amount withheld per paycheck changes based on frequency. More frequent paychecks result in smaller deductions per paycheck. This impacts cash flow management.
W-4 Allowances (Federal Income Tax Withholding): Claiming more allowances reduces the amount of federal income tax withheld. This can increase your take-home pay now but may lead to owing more tax or getting a smaller refund later. The accuracy of your W-4 is critical for correct withholding.
State Income Tax Rates: States vary dramatically. Some have high flat or progressive rates (e.g., California, New York), while others have low rates (e.g., Arizona, Indiana) or no state income tax at all (e.g., Texas, Florida, Washington). This is a major determinant of your overall tax burden.
Pre-Tax Deductions (e.g., 401(k), Health Insurance): Contributions to accounts like 401(k)s, traditional IRAs, HSAs, and premiums for employer-sponsored health insurance reduce your taxable income. More pre-tax deductions mean lower income tax liability, increasing your net pay. Understanding the difference between pre-tax and post-tax deductions is vital.
Additional Withholding: Voluntarily choosing to withhold extra federal tax ensures you don't owe at tax time, particularly useful if you have irregular income or other tax obligations. Conversely, opting for less withholding (via allowances) increases current cash flow.
Filing Status: Your tax filing status (Single, Married Filing Separately, Married Filing Jointly, Head of Household) directly impacts federal income tax brackets and standard deductions, thus affecting withholding calculations. This calculator simplifies this aspect.
Tax Law Changes: Tax laws, including contribution limits for retirement plans, tax brackets, and standard deduction amounts, are subject to change annually. This calculator uses estimated 2025 figures where applicable, but official IRS figures may differ slightly. The Social Security wage base limit, for instance, is adjusted yearly.
Frequently Asked Questions (FAQ)
Q1: Is the result from this 2025 paycheck tax calculator my exact tax liability?
A1: No, this calculator provides an estimate. Your actual tax liability is determined when you file your annual tax return. The amount withheld is an estimate designed to approximate your final tax bill.
Q2: What is the difference between Social Security tax and Medicare tax?
A2: Social Security tax (OASDI) funds retirement, disability, and survivor benefits. It has a wage base limit. Medicare tax funds hospital insurance and has no wage limit. Both are FICA taxes.
Q3: How do federal allowances (W-4) affect my paycheck?
A3: Each allowance you claim reduces the amount of federal income tax your employer withholds. More allowances mean less tax withheld now, potentially increasing your take-home pay but possibly resulting in owing taxes later. Fewer allowances mean more tax withheld now, likely leading to a refund.
Q4: Can I adjust my W-4 to have more or less tax withheld?
A4: Yes. You can adjust your W-4 with your employer at any time to change the number of allowances claimed or specify additional withholding amounts to better match your expected tax liability.
Q5: What if my state has no income tax?
A5: If your state does not have an income tax, simply enter '0' for the State Tax Rate. Your paycheck will not be subject to state income tax withholding.
Q6: How do 401(k) contributions affect my net pay?
A6: Traditional 401(k) contributions are usually pre-tax, meaning they reduce your taxable income. This lowers your income tax liability (both federal and state, if applicable), increasing your net pay compared to if you had not contributed.
Q7: Will the 2025 tax brackets be different from 2024?
A7: Yes, the IRS typically adjusts tax brackets, standard deductions, and other tax parameters annually for inflation. While this calculator uses estimated 2025 figures, the official 2025 tax brackets will be finalized by the IRS later.
Q8: What does "take-home pay" mean?
A8: Take-home pay, also known as net pay, is the amount of money you receive after all deductions and taxes have been taken out of your gross salary. It's the actual money available for spending, saving, or investing.
Get an estimate of your future Social Security retirement benefits.
// — Global Variables —
var annualSalaryInput = document.getElementById('annualSalary');
var payFrequencyInput = document.getElementById('payFrequency');
var federalAllowancesInput = document.getElementById('federalAllowances');
var additionalFederalTaxInput = document.getElementById('additionalFederalTax');
var stateTaxRateInput = document.getElementById('stateTaxRate');
var preTaxDeductionsInput = document.getElementById('preTaxDeductions');
var netPayResultDisplay = document.getElementById('netPayResult');
var grossPayResultDisplay = document.getElementById('grossPayResult');
var totalTaxResultDisplay = document.getElementById('totalTaxResult');
var takeHomePayResultDisplay = document.getElementById('takeHomePayResult');
var federalTaxResultDisplay = document.getElementById('federalTaxResult');
var ssTaxResultDisplay = document.getElementById('ssTaxResult');
var medicareTaxResultDisplay = document.getElementById('medicareTaxResult');
var stateTaxResultDisplay = document.getElementById('stateTaxResult');
var annualSalaryError = document.getElementById('annualSalaryError');
var federalAllowancesError = document.getElementById('federalAllowancesError');
var additionalFederalTaxError = document.getElementById('additionalFederalTaxError');
var stateTaxRateError = document.getElementById('stateTaxRateError');
var preTaxDeductionsError = document.getElementById('preTaxDeductionsError');
var taxBreakdownTableBody = document.getElementById('taxBreakdownTableBody');
var taxDistributionChart;
var chartData = {
labels: ['Federal Tax', 'Social Security', 'Medicare', 'State Tax'],
datasets: [{
label: 'Tax Amount Per Paycheck',
data: [0, 0, 0, 0],
backgroundColor: [
'rgba(54, 162, 235, 0.7)', // Federal Tax
'rgba(255, 99, 132, 0.7)', // Social Security
'rgba(75, 192, 192, 0.7)', // Medicare
'rgba(153, 102, 255, 0.7)' // State Tax
],
borderColor: [
'rgba(54, 162, 235, 1)',
'rgba(255, 99, 132, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)'
],
borderWidth: 1
}]
};
// — Constants for 2025 (Estimates) —
// Using estimated values for 2025. Official IRS figures may vary.
var ESTIMATED_SS_WAGE_LIMIT_2025 = 174900; // Example estimate
var SS_TAX_RATE = 0.062;
var MEDICARE_TAX_RATE = 0.0145;
// Federal income tax rates are progressive and depend on filing status,
// which is simplified here. A flat-rate approximation is used for simplicity,
// or a more complex simulation might be needed.
// For a basic calculator, we often use a placeholder effective rate or
// rely on simple allowance-based adjustments.
// Let's use a simplified calculation that roughly approximates withholding.
// This part is highly simplified and may not reflect exact IRS tables.
// A common approach is to estimate an average federal withholding rate.
var APPROX_FEDERAL_WITHHOLDING_RATE_PER_ALLOWANCE = 0.015; // Adjusts based on allowances
// — Helper Functions —
function formatCurrency(amount) {
return "$" + amount.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
}
function clearError(errorElement) {
if (errorElement) {
errorElement.style.display = 'none';
errorElement.textContent = ";
}
}
function showError(errorElement, message) {
if (errorElement) {
errorElement.textContent = message;
errorElement.style.display = 'block';
}
}
function validateInput(inputElement, errorElement, min, max, name) {
var value = parseFloat(inputElement.value);
var errorMessage = ";
if (isNaN(value)) {
errorMessage = 'Please enter a valid number.';
} else if (value max) {
errorMessage = name + ' cannot be greater than ' + max.toFixed(2) + '.';
}
if (errorMessage) {
showError(errorElement, errorMessage);
inputElement.classList.add('error');
return false;
} else {
clearError(errorElement);
inputElement.classList.remove('error');
return true;
}
}
// — Calculations —
function calculateTaxes() {
// Clear previous errors
clearError(annualSalaryError); clearError(federalAllowancesError);
clearError(additionalFederalTaxError); clearError(stateTaxRateError);
clearError(preTaxDeductionsError);
// Get input values
var annualSalary = parseFloat(annualSalaryInput.value);
var payFrequency = parseInt(payFrequencyInput.value);
var federalAllowances = parseInt(federalAllowancesInput.value);
var additionalFederalTax = parseFloat(additionalFederalTaxInput.value);
var stateTaxRate = parseFloat(stateTaxRateInput.value);
var preTaxDeductionsAnnual = parseFloat(preTaxDeductionsInput.value);
// — Input Validation —
var isValid = true;
if (!validateInput(annualSalaryInput, annualSalaryError, 0, Infinity, 'Annual Salary')) isValid = false;
if (!validateInput(federalAllowancesInput, federalAllowancesError, 0, 10, 'Federal Allowances')) isValid = false; // Max 10 is a reasonable UI limit
if (!validateInput(additionalFederalTaxInput, additionalFederalTaxError, 0, Infinity, 'Additional Federal Tax')) isValid = false;
if (!validateInput(stateTaxRateInput, stateTaxRateError, 0, 20, 'State Tax Rate')) isValid = false; // Max 20% is generous
if (!validateInput(preTaxDeductionsInput, preTaxDeductionsError, 0, annualSalary, 'Pre-Tax Deductions')) isValid = false;
if (!isValid) {
console.log("Validation failed.");
return; // Stop calculation if validation fails
}
// — Calculations —
var grossPayPerPaycheck = annualSalary / payFrequency;
var preTaxDeductionsPerPaycheck = preTaxDeductionsAnnual / payFrequency;
var taxableIncomeFederal = annualSalary – preTaxDeductionsAnnual;
var taxableIncomeFederalPerPaycheck = taxableIncomeFederal / payFrequency;
var taxableIncomeState = annualSalary – preTaxDeductionsAnnual; // Simplified: assuming state taxes on same base
var taxableIncomeStatePerPaycheck = taxableIncomeState / payFrequency;
// Federal Income Tax Estimation (Simplified)
// This is a major simplification. Actual withholding uses tax tables (IRS Pub 15-T).
// We'll approximate based on income and allowances.
// For simplicity, let's use a percentage of taxable income, adjusted by allowances.
// This is NOT precise.
var estimatedFederalTaxRate = 0.15; // Base rate, adjust based on allowances
// A very rough adjustment: lower rate for more allowances, higher for fewer.
// This logic is highly heuristic and needs proper IRS table simulation for accuracy.
var allowanceAdjustment = federalAllowances * APPROX_FEDERAL_WITHHOLDING_RATE_PER_ALLOWANCE;
var effectiveFederalRate = Math.max(0.01, estimatedFederalRate – allowanceAdjustment); // Ensure rate doesn't go too low
var estimatedFederalTaxPerPaycheck = taxableIncomeFederalPerPaycheck * effectiveFederalRate;
// Add any additional withholding requested
estimatedFederalTaxPerPaycheck += (additionalFederalTax / payFrequency);
// Ensure federal tax doesn't exceed taxable income per paycheck
estimatedFederalTaxPerPaycheck = Math.min(estimatedFederalTaxPerPaycheck, taxableIncomeFederalPerPaycheck);
// Social Security Tax
var ssWageBaseLimitPerPaycheck = ESTIMATED_SS_WAGE_LIMIT_2025 / payFrequency;
var ssTaxableIncomePerPaycheck = Math.min(grossPayPerPaycheck, ssWageBaseLimitPerPaycheck);
var socialSecurityTaxPerPaycheck = ssTaxableIncomePerPaycheck * SS_TAX_RATE;
// Medicare Tax
var medicareTaxPerPaycheck = grossPayPerPaycheck * MEDICARE_TAX_RATE;
// State Tax
var stateTaxPerPaycheck = taxableIncomeStatePerPaycheck * (stateTaxRate / 100);
stateTaxPerPaycheck = Math.max(0, stateTaxPerPaycheck); // Ensure non-negative
// Total Taxes and Net Pay
var totalTaxesPerPaycheck = estimatedFederalTaxPerPaycheck + socialSecurityTaxPerPaycheck + medicareTaxPerPaycheck + stateTaxPerPaycheck;
var netPayPerPaycheck = grossPayPerPaycheck – totalTaxesPerPaycheck – preTaxDeductionsPerPaycheck;
var takeHomePayPerPaycheck = netPayPerPaycheck; // In this model, net pay IS take home pay after all deductions
// Annual Calculations for Table
var grossAnnualIncome = annualSalary;
var totalAnnualPreTaxDeductions = preTaxDeductionsAnnual;
var totalAnnualTaxableIncomeFederal = annualSalary – totalAnnualPreTaxDeductions;
var totalAnnualFederalTax = estimatedFederalTaxPerPaycheck * payFrequency;
var totalAnnualSS = socialSecurityTaxPerPaycheck * payFrequency;
var totalAnnualMedicare = medicareTaxPerPaycheck * payFrequency;
var totalAnnualStateTax = stateTaxPerPaycheck * payFrequency;
var totalAnnualTaxes = totalAnnualFederalTax + totalAnnualSS + totalAnnualMedicare + totalAnnualStateTax;
var netAnnualIncome = grossAnnualIncome – totalAnnualTaxes – totalAnnualPreTaxDeductions;
// — Update Results Display —
netPayResultDisplay.textContent = formatCurrency(netPayPerPaycheck);
grossPayResultDisplay.textContent = formatCurrency(grossPayPerPaycheck);
totalTaxResultDisplay.textContent = formatCurrency(totalTaxesPerPaycheck);
takeHomePayResultDisplay.textContent = formatCurrency(takeHomePayPerPaycheck);
federalTaxResultDisplay.textContent = formatCurrency(estimatedFederalTaxPerPaycheck);
ssTaxResultDisplay.textContent = formatCurrency(socialSecurityTaxPerPaycheck);
medicareTaxResultDisplay.textContent = formatCurrency(medicareTaxPerPaycheck);
stateTaxResultDisplay.textContent = formatCurrency(stateTaxPerPaycheck);
// — Update Annual Table —
taxBreakdownTableBody.innerHTML = `