/** * 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 */
Zurück zu Tools

Kostenrechner für Mitarbeiter

Stellen Sie in Indien ein? Der Mitarbeiterkostenrechner liefert genaue Kostenschätzungen.

Analysieren Sie die Beschäftigungskosten

Treffen Sie mit dem Kostenrechner-Tool von Wisemonk fundierte Einstellungsentscheidungen auf der Grundlage der Beschäftigungskosten, einschließlich Steuern, Gebühren, Beiträgen, Leistungen und mehr.

Kosten berechnen

Ihre Wachstumsreise nach Indien beginnt hier

Lass uns dein Team in Indien finden, bezahlen und verwalten.