New Mexico Payroll Calculator
Use this calculator to estimate your net pay per pay period in New Mexico, taking into account federal and state taxes, as well as FICA deductions. This tool provides an estimate and should not be considered financial or tax advice.
Payroll Summary per Pay Period
Enter your details and click "Calculate Net Pay" to see your estimated payroll summary.
.payroll-calculator-container {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f9f9f9;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
max-width: 700px;
margin: 20px auto;
border: 1px solid #e0e0e0;
}
.payroll-calculator-container h2 {
color: #2c3e50;
text-align: center;
margin-bottom: 20px;
font-size: 1.8em;
}
.payroll-calculator-container h3 {
color: #34495e;
margin-top: 25px;
margin-bottom: 15px;
border-bottom: 1px solid #eee;
padding-bottom: 5px;
font-size: 1.3em;
}
.payroll-calculator-container p {
color: #555;
line-height: 1.6;
margin-bottom: 15px;
}
.calculator-form .form-group {
margin-bottom: 15px;
display: flex;
flex-direction: column;
}
.calculator-form label {
margin-bottom: 7px;
font-weight: bold;
color: #333;
font-size: 0.95em;
}
.calculator-form input[type="number"],
.calculator-form select {
padding: 10px 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1em;
width: 100%;
box-sizing: border-box;
transition: border-color 0.3s ease;
}
.calculator-form input[type="number"]:focus,
.calculator-form select:focus {
border-color: #007bff;
outline: none;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}
.payroll-calculator-container button {
background-color: #28a745;
color: white;
padding: 12px 25px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.1em;
margin-top: 20px;
width: 100%;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.payroll-calculator-container button:hover {
background-color: #218838;
transform: translateY(-2px);
}
.calculator-results {
background-color: #e9f7ef;
border: 1px solid #d4edda;
border-radius: 8px;
padding: 20px;
margin-top: 30px;
}
.calculator-results h3 {
color: #155724;
text-align: center;
margin-bottom: 15px;
font-size: 1.5em;
}
.calculator-results #result p {
margin-bottom: 8px;
font-size: 1.05em;
color: #333;
}
.calculator-results #result strong {
color: #000;
}
.calculator-results #result .net-pay {
font-size: 1.4em;
color: #007bff;
font-weight: bold;
text-align: center;
margin-top: 20px;
}
function calculatePayroll() {
// Input values
var grossPay = parseFloat(document.getElementById('grossPay').value);
var payFrequency = parseInt(document.getElementById('payFrequency').value);
var federalFilingStatus = document.getElementById('federalFilingStatus').value;
var federalDependents = parseInt(document.getElementById('federalDependents').value);
var otherFederalIncome = parseFloat(document.getElementById('otherFederalIncome').value);
var federalDeductions = parseFloat(document.getElementById('federalDeductions').value);
var extraFederalWithholding = parseFloat(document.getElementById('extraFederalWithholding').value);
var nmFilingStatus = document.getElementById('nmFilingStatus').value;
var nmAllowances = parseInt(document.getElementById('nmAllowances').value);
var extraNmWithholding = parseFloat(document.getElementById('extraNmWithholding').value);
var preTaxDeductions = parseFloat(document.getElementById('preTaxDeductions').value);
var postTaxDeductions = parseFloat(document.getElementById('postTaxDeductions').value);
// Validate inputs
if (isNaN(grossPay) || grossPay < 0) {
document.getElementById('result').innerHTML = 'Please enter a valid Gross Pay per Pay Period.';
return;
}
if (isNaN(federalDependents) || federalDependents < 0) federalDependents = 0;
if (isNaN(otherFederalIncome) || otherFederalIncome < 0) otherFederalIncome = 0;
if (isNaN(federalDeductions) || federalDeductions < 0) federalDeductions = 0;
if (isNaN(extraFederalWithholding) || extraFederalWithholding < 0) extraFederalWithholding = 0;
if (isNaN(nmAllowances) || nmAllowances < 0) nmAllowances = 0;
if (isNaN(extraNmWithholding) || extraNmWithholding < 0) extraNmWithholding = 0;
if (isNaN(preTaxDeductions) || preTaxDeductions < 0) preTaxDeductions = 0;
if (isNaN(postTaxDeductions) || postTaxDeductions < 0) postTaxDeductions = 0;
// Annualize values
var annualGrossPay = grossPay * payFrequency;
var annualPreTaxDeductions = preTaxDeductions * payFrequency;
// Taxable Gross for FICA
var ficaTaxableGross = grossPay;
// Taxable Gross for Federal & State Income Tax
var federalTaxableGross = grossPay – preTaxDeductions;
var nmTaxableGross = grossPay – preTaxDeductions;
// — FICA Taxes —
var socialSecurityTax = 0;
var medicareTax = 0;
var additionalMedicareTax = 0;
var socialSecurityLimit = 168600; // 2024 limit
var annualFicaTaxableGross = ficaTaxableGross * payFrequency;
if (annualFicaTaxableGross <= socialSecurityLimit) {
socialSecurityTax = ficaTaxableGross * 0.062;
} else {
// If annual gross exceeds limit, calculate based on remaining limit for this period
var cumulativeGross = annualFicaTaxableGross – ficaTaxableGross; // Gross before this period
if (cumulativeGross additionalMedicareThreshold) {
// This is a simplified approach for additional Medicare.
// A more accurate calculation would track cumulative gross.
// For a per-period calculator, we apply it if the annualized gross exceeds the threshold.
var taxableForAdditionalMedicare = Math.max(0, annualFicaTaxableGross – additionalMedicareThreshold);
additionalMedicareTax = (taxableForAdditionalMedicare / payFrequency) * 0.009;
}
var totalFicaTax = socialSecurityTax + medicareTax + additionalMedicareTax;
// — Federal Income Tax (FIT) —
var annualFederalTaxableIncome = (federalTaxableGross * payFrequency) + otherFederalIncome;
var standardDeduction = (federalFilingStatus === 'single') ? 14600 : 29200; // 2024 standard deduction
var dependentCredit = federalDependents * 2000; // Child tax credit, simplified for withholding
var otherCredits = 0; // Not directly calculable from W-4 inputs here
// W-4 Step 4b – Deductions
annualFederalTaxableIncome = Math.max(0, annualFederalTaxableIncome – standardDeduction – federalDeductions);
var federalTax = 0;
if (annualFederalTaxableIncome > 0) {
if (federalFilingStatus === 'single') {
if (annualFederalTaxableIncome <= 11600) federalTax = annualFederalTaxableIncome * 0.10;
else if (annualFederalTaxableIncome <= 47150) federalTax = 1160 + (annualFederalTaxableIncome – 11600) * 0.12;
else if (annualFederalTaxableIncome <= 100525) federalTax = 5426 + (annualFederalTaxableIncome – 47150) * 0.22;
else if (annualFederalTaxableIncome <= 191950) federalTax = 17167.50 + (annualFederalTaxableIncome – 100525) * 0.24;
else if (annualFederalTaxableIncome <= 243725) federalTax = 39115.50 + (annualFederalTaxableIncome – 191950) * 0.32;
else if (annualFederalTaxableIncome <= 609350) federalTax = 55679.50 + (annualFederalTaxableIncome – 243725) * 0.35;
else federalTax = 183647 + (annualFederalTaxableIncome – 609350) * 0.37;
} else { // Married Filing Jointly
if (annualFederalTaxableIncome <= 23200) federalTax = annualFederalTaxableIncome * 0.10;
else if (annualFederalTaxableIncome <= 94300) federalTax = 2320 + (annualFederalTaxableIncome – 23200) * 0.12;
else if (annualFederalTaxableIncome <= 201050) federalTax = 10852 + (annualFederalTaxableIncome – 94300) * 0.22;
else if (annualFederalTaxableIncome <= 383900) federalTax = 34337 + (annualFederalTaxableIncome – 201050) * 0.24;
else if (annualFederalTaxableIncome <= 487450) federalTax = 78221 + (annualFederalTaxableIncome – 383900) * 0.32;
else if (annualFederalTaxableIncome 0) {
if (annualNmTaxableIncome <= 5500) nmStateTax = 0; // 0% bracket
else if (annualNmTaxableIncome <= 11000) nmStateTax = (annualNmTaxableIncome – 5500) * 0.017;
else if (annualNmTaxableIncome <= 16000) nmStateTax = 93.50 + (annualNmTaxableIncome – 11000) * 0.032;
else if (annualNmTaxableIncome <= 24000) nmStateTax = 253.50 + (annualNmTaxableIncome – 16000) * 0.047;
else if (annualNmTaxableIncome <= 32000) nmStateTax = 629.50 + (annualNmTaxableIncome – 24000) * 0.049;
else if (annualNmTaxableIncome <= 54000) nmStateTax = 1021.50 + (annualNmTaxableIncome – 32000) * 0.059;
else if (annualNmTaxableIncome <= 80000) nmStateTax = 2319.50 + (annualNmTaxableIncome – 54000) * 0.064;
else if (annualNmTaxableIncome <= 100000) nmStateTax = 4007.50 + (annualNmTaxableIncome – 80000) * 0.065;
else if (annualNmTaxableIncome <= 200000) nmStateTax = 5307.50 + (annualNmTaxableIncome – 100000) * 0.069;
else nmStateTax = 12207.50 + (annualNmTaxableIncome – 200000) * 0.076;
}
var nmWithholding = (nmStateTax / payFrequency) + extraNmWithholding;
nmWithholding = Math.max(0, nmWithholding); // Ensure it's not negative
// — Total Deductions —
var totalDeductions = totalFicaTax + federalWithholding + nmWithholding + preTaxDeductions + postTaxDeductions;
// — Net Pay —
var netPay = grossPay – totalDeductions;
// Display results
var resultsHtml = '
Estimated Paycheck Breakdown
';
resultsHtml += '
Gross Pay: $' + grossPay.toFixed(2) + ";
resultsHtml += '
Pre-Tax Deductions: $' + preTaxDeductions.toFixed(2) + ";
resultsHtml += '
— Taxes —';
resultsHtml += 'Federal Income Tax: $' + federalWithholding.toFixed(2) + ";
resultsHtml += 'Social Security Tax: $' + socialSecurityTax.toFixed(2) + ";
resultsHtml += 'Medicare Tax: $' + medicareTax.toFixed(2) + ";
if (additionalMedicareTax > 0) {
resultsHtml += 'Additional Medicare Tax: $' + additionalMedicareTax.toFixed(2) + ";
}
resultsHtml += 'New Mexico State Tax: $' + nmWithholding.toFixed(2) + ";
resultsHtml += '
Total Tax Withholding: $' + (federalWithholding + totalFicaTax + nmWithholding).toFixed(2) + ";
resultsHtml += '
— Other Deductions —';
resultsHtml += 'Post-Tax Deductions: $' + postTaxDeductions.toFixed(2) + ";
resultsHtml += '
Total Deductions: $' + totalDeductions.toFixed(2) + ";
resultsHtml += '
Net Pay: $' + netPay.toFixed(2) + ";
document.getElementById('result').innerHTML = resultsHtml;
}
Understanding Your New Mexico Paycheck
A New Mexico payroll calculator helps employees and employers estimate the take-home pay after various deductions are applied to an employee's gross wages. Understanding these deductions is crucial for financial planning and compliance.
Gross Pay
Gross pay is the total amount of money an employee earns before any deductions are taken out. This can be based on an hourly wage multiplied by hours worked, a fixed salary, commissions, bonuses, or other forms of compensation.
Federal Income Tax (FIT)
Federal income tax is withheld from an employee's paycheck and sent to the IRS. The amount withheld depends on several factors, including the employee's filing status (Single, Married Filing Jointly), the number of dependents claimed on their W-4 form, any additional income, and specified deductions. The calculator uses current federal tax brackets and standard deduction amounts to estimate this withholding.
FICA Taxes (Social Security and Medicare)
FICA stands for the Federal Insurance Contributions Act, which funds Social Security and Medicare. These are mandatory federal taxes:
- Social Security: Employees pay 6.2% of their gross wages up to an annual wage base limit ($168,600 for 2024). Employers also pay an equal amount.
- Medicare: Employees pay 1.45% of all gross wages, with no wage base limit. Employers also pay an equal amount. An additional Medicare tax of 0.9% applies to wages exceeding certain thresholds ($200,000 for single filers, $250,000 for married filing jointly).
New Mexico State Income Tax (NM SIT)
New Mexico imposes a progressive state income tax on its residents' earnings. The amount withheld depends on your New Mexico filing status (Single, Married Filing Jointly), the number of allowances claimed, and your taxable income. The calculator applies New Mexico's state tax brackets and standard deductions to estimate this amount.
Pre-Tax Deductions
These are deductions taken from your gross pay before federal and state income taxes are calculated. Common examples include contributions to a 401(k) or 403(b) retirement plan, health insurance premiums, and Flexible Spending Account (FSA) contributions. Pre-tax deductions reduce your taxable income, leading to lower income tax liabilities.
Post-Tax Deductions
Post-tax deductions are taken from your pay after all applicable taxes have been calculated and withheld. Examples include Roth 401(k) contributions, garnishments, union dues, or certain charitable contributions. These deductions do not reduce your taxable income.
Net Pay
Net pay, also known as take-home pay, is the amount of money an employee receives after all federal, state, and local taxes, as well as any other deductions, have been subtracted from their gross pay.
Example Calculation:
Let's consider an example for a bi-weekly paid employee in New Mexico:
- Gross Pay per Pay Period: $2,000
- Pay Frequency: Bi-weekly (26 pay periods/year)
- Federal Filing Status: Single
- Federal Dependents: 0
- New Mexico Filing Status: Single
- New Mexico Allowances: 0
- Pre-Tax Deductions: $100 (e.g., 401k contribution)
- Post-Tax Deductions: $20 (e.g., Roth 401k)
Based on these inputs, the calculator would estimate:
- Gross Pay: $2,000.00
- Pre-Tax Deductions: $100.00
- Federal Income Tax: ~$160.00 – $180.00 (varies slightly based on exact bracket calculation)
- Social Security Tax: $124.00 (6.2% of $2,000)
- Medicare Tax: $29.00 (1.45% of $2,000)
- New Mexico State Tax: ~$40.00 – $50.00 (varies based on exact bracket calculation)
- Post-Tax Deductions: $20.00
- Estimated Net Pay: ~$1,440.00 – $1,460.00
(Note: The exact tax amounts will be calculated by the tool based on current tax laws and specific inputs.)