/** * Unified Salary and CTC Calculator Script * Version: 2.5.0 * Last Updated: 2025-11-29 * * Refactored version using unified data-calc attributes * * Changes from v1.7.8: * - Replaced all ID selectors with data-calc attributes * - Added health insurance toggle (include/exclude ₹10,000 annually) * - Added life insurance toggle (include/exclude ₹10,000 annually) * - Changed view toggle from radio buttons to select dropdown * - Added share URL functionality * - Reversed EPF checkbox logic (checked = add EPF above gross) * - Simplified exchange rate display (removed timestamp) * - Added CTA section hide on calculation * - Replaced style.display with classList for CSS control * - Added accordion toggles for Earnings and Deductions sections * * DATA ATTRIBUTES REFERENCE: * * INPUTS: * - data-calc="input-gross-salary" : Salary input field * - data-calc="input-currency" : Input currency select * - data-calc="output-currency" : Output currency select * - data-calc="input-epf" : EPF checkbox * - data-calc="input-health-insurance" : Health insurance checkbox * - data-calc="input-life-insurance" : Life insurance checkbox * - data-calc="input-warning" : Warning text element * * CONTROLS: * - data-calc="select-view" : View select (annually/monthly) * - data-calc="action-calculate" : Calculate button * - data-calc="action-share" : Share URL button * * CONTAINERS: * - data-calc="container-output" : Results container * - data-calc="container-rates" : Exchange rates display * - data-calc="container-cta" : CTA section (hidden after calculation) * * TOGGLES (Accordions): * - data-calc="toggle-earnings" : Earnings toggle button * - data-calc="toggle-earnings-content" : Earnings content container * - data-calc="toggle-earnings-icon" : Earnings toggle icon (SVG) * - data-calc="toggle-deductions" : Deductions toggle button * - data-calc="toggle-deductions-content": Deductions content container * - data-calc="toggle-deductions-icon" : Deductions toggle icon (SVG) * * EMPLOYEE EARNINGS: * - data-calc="earning-basic" : Basic salary * - data-calc="earning-hra" : HRA * - data-calc="earning-lta" : LTA * - data-calc="earning-special" : Special allowance * - data-calc="earning-flexible" : Flexible benefits (FBP) * - data-calc="earning-employerPF" : Employer PF * - data-calc="earning-gross" : Gross salary * * EMPLOYEE DEDUCTIONS: * - data-calc="deduction-profTax" : Professional tax * - data-calc="deduction-pf" : Employee PF * - data-calc="deduction-employerPf" : Employer PF * - data-calc="deduction-nps" : NPS contribution * - data-calc="deduction-incomeTax" : Income tax * - data-calc="deduction-flexible" : Flexible deduction * - data-calc="deduction-total" : Total deductions * * EMPLOYER COSTS: * - data-calc="employer-gross" : Gross salary * - data-calc="employer-epf" : EPF contribution * - data-calc="employer-health" : Health insurance * - data-calc="employer-life" : Life insurance * - data-calc="employer-fee" : Wisemonk fee * - data-calc="employer-total" : Total employer cost * * PROVISION COSTS: * - data-calc="provision-leave" : Leave encashment * - data-calc="provision-gratuity" : Gratuity * - data-calc="provision-total" : Total provisions * * NET CALCULATION: * - data-calc="net-salary" : Net salary * * LABELS: * - data-calc="label-employerGross" : Employer gross label * - data-calc="label-gross" : Employee gross label * - data-calc="label-deductions" : Deductions label * - data-calc="label-netPay" : Net pay label * - data-calc="label-totalCost" : Total cost label * * CURRENCY: * - data-calc="currency-symbol" : Currency symbol (multiple instances) * * CSS CLASSES: * - .is-hidden : Hide elements * - .is-open : Open state for accordions */
Back to Tools

Employee cost calculator

Hiring in India? The Employee Cost Calculator provides accurate expense estimates.

Amount you pay
Gross annual salary of employee
0
INR
Employer PF contribution
0
INR
Health insurance cost
0
INR
Life insurance cost
0
INR
Wisemonk Fee
0
INR
Total annual cost
0
INR
Additional Employer Provisions
Earned leave encashment
0
INR
Employer gratuity contribution
0
INR
Total provision cost
0
INR
Amount employee gets
Gross annual salary
0
INR
Deductions
0
INR
Net annual pay
0
INR

Analyze employment costs

Make informed hiring decisions based on employment costs, including taxes, fees,contributions, benefits and more, with Wisemonk’s cost calculator tool.

Calculate cost

Your India Growth Journey Starts Here

Let's find, pay, and manage your India team.