{"id":121,"date":"2026-01-02T13:02:47","date_gmt":"2026-01-02T12:02:47","guid":{"rendered":"https:\/\/simulios.fr\/?page_id=121"},"modified":"2026-01-02T13:06:23","modified_gmt":"2026-01-02T12:06:23","slug":"%f0%9f%a7%be-calculateur-salaire-brut-%e2%86%92-net","status":"publish","type":"page","link":"https:\/\/simulios.fr\/?page_id=121","title":{"rendered":"\ud83e\uddfe CALCULATEUR SALAIRE BRUT \u2192 NET"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"121\" class=\"elementor elementor-121\">\n\t\t\t\t<div class=\"elementor-element elementor-element-11b4082 e-flex e-con-boxed e-con e-parent\" data-id=\"11b4082\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-95e183b elementor-widget elementor-widget-html\" data-id=\"95e183b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"salary-calculator\" style=\"max-width:800px;margin:auto;padding:20px;font-family:sans-serif;\">\n  <h2 style=\"text-align:center;color:#1e90ff;\">Calculateur Salaire Brut \u2192 Net Complet<\/h2>\n\n  <table id=\"salary-table\" style=\"width:100%;border-collapse:collapse;margin-bottom:15px;\">\n    <thead>\n      <tr style=\"background:#f0f0f0;\">\n        <th style=\"padding:10px;border:1px solid #ddd;\">Type de contrat<\/th>\n        <th style=\"padding:10px;border:1px solid #ddd;\">Salaire Brut (\u20ac)<\/th>\n        <th style=\"padding:10px;border:1px solid #ddd;\">Taux Imp\u00f4t (%)<\/th>\n        <th style=\"padding:10px;border:1px solid #ddd;\">Net Final (\u20ac)<\/th>\n        <th style=\"padding:10px;border:1px solid #ddd;\">Action<\/th>\n      <\/tr>\n    <\/thead>\n    <tbody>\n      <tr>\n        <td>\n          <select>\n            <option value=\"cd\">CDI<\/option>\n            <option value=\"cdd\">CDD<\/option>\n            <option value=\"ind\">Ind\u00e9pendant<\/option>\n            <option value=\"freelance\">Freelance<\/option>\n          <\/select>\n        <\/td>\n        <td><input type=\"number\" placeholder=\"0\" style=\"width:100%;\"><\/td>\n        <td><input type=\"number\" placeholder=\"0\" value=\"10\" style=\"width:100%;\"><\/td>\n        <td><input type=\"number\" placeholder=\"0\" style=\"width:100%;\" readonly><\/td>\n        <td><button class=\"delete-row\">Supprimer<\/button><\/td>\n      <\/tr>\n    <\/tbody>\n  <\/table>\n\n  <button id=\"add-salary-row\" style=\"margin-right:10px;padding:10px 15px;\">Ajouter une ligne<\/button>\n  <button id=\"calculate-salary\" style=\"padding:10px 15px;\">Calculer le Net<\/button>\n\n  <div id=\"salary-result\" style=\"margin-top:20px;font-size:16px;\">\n    <p>Total Brut : <span id=\"total-brut\">0\u20ac<\/span><\/p>\n    <p>Total Charges : <span id=\"total-charges\">0\u20ac<\/span><\/p>\n    <p>Total Imp\u00f4ts : <span id=\"total-taxes\">0\u20ac<\/span><\/p>\n    <p>Salaire Net Final : <span id=\"total-net\">0\u20ac<\/span><\/p>\n  <\/div>\n\n  <button id=\"copy-salary\" style=\"margin-top:10px;padding:10px 15px;\">Copier le r\u00e9sultat<\/button>\n<\/div>\n\n<script>\n  const salaryTable = document.getElementById('salary-table').getElementsByTagName('tbody')[0];\n  const addSalaryRowBtn = document.getElementById('add-salary-row');\n  const calcSalaryBtn = document.getElementById('calculate-salary');\n  const copySalaryBtn = document.getElementById('copy-salary');\n  const totalBrutEl = document.getElementById('total-brut');\n  const totalChargesEl = document.getElementById('total-charges');\n  const totalTaxesEl = document.getElementById('total-taxes');\n  const totalNetEl = document.getElementById('total-net');\n\n  \/\/ Ajouter une ligne\n  addSalaryRowBtn.onclick = () => {\n    const row = salaryTable.insertRow();\n    const cell1 = row.insertCell(0);\n    const cell2 = row.insertCell(1);\n    const cell3 = row.insertCell(2);\n    const cell4 = row.insertCell(3);\n    const cell5 = row.insertCell(4);\n\n    cell1.innerHTML = '<select><option value=\"cd\">CDI<\/option><option value=\"cdd\">CDD<\/option><option value=\"ind\">Ind\u00e9pendant<\/option><option value=\"freelance\">Freelance<\/option><\/select>';\n    cell2.innerHTML = '<input type=\"number\" placeholder=\"0\" style=\"width:100%;\">';\n    cell3.innerHTML = '<input type=\"number\" placeholder=\"0\" value=\"10\" style=\"width:100%;\">';\n    cell4.innerHTML = '<input type=\"number\" placeholder=\"0\" style=\"width:100%;\" readonly>';\n    cell5.innerHTML = '<button class=\"delete-row\">Supprimer<\/button>';\n  };\n\n  \/\/ Supprimer ligne\n  salaryTable.addEventListener('click', function(e) {\n    if(e.target && e.target.classList.contains('delete-row')) {\n      const row = e.target.closest('tr');\n      row.remove();\n    }\n  });\n\n  \/\/ Calcul des charges selon le type de contrat\n  function getChargesRate(type) {\n    switch(type) {\n      case 'cd': return 0.23; \/\/ salari\u00e9 classique\n      case 'cdd': return 0.23;\n      case 'ind': return 0.35; \/\/ ind\u00e9pendant\n      case 'freelance': return 0.30; \/\/ freelance, variable selon statut\n      default: return 0.23;\n    }\n  }\n\n  \/\/ Calcul salaire net\n  calcSalaryBtn.onclick = () => {\n    let totalBrut = 0;\n    let totalCharges = 0;\n    let totalTaxes = 0;\n    let totalNet = 0;\n\n    const rows = salaryTable.getElementsByTagName('tr');\n    for (let i = 0; i < rows.length; i++) {\n      const cells = rows[i].getElementsByTagName('td');\n      if(cells.length > 0) {\n        const type = cells[0].getElementsByTagName('select')[0].value;\n        const brut = parseFloat(cells[1].getElementsByTagName('input')[0].value) || 0;\n        const tauxImpot = parseFloat(cells[2].getElementsByTagName('input')[0].value) || 0;\n\n        const charges = brut * getChargesRate(type);\n        const netAvantImpots = brut - charges;\n        const impots = netAvantImpots * (tauxImpot \/ 100);\n        const netFinal = netAvantImpots - impots;\n\n        cells[3].getElementsByTagName('input')[0].value = netFinal.toFixed(2);\n\n        totalBrut += brut;\n        totalCharges += charges;\n        totalTaxes += impots;\n        totalNet += netFinal;\n      }\n    }\n\n    totalBrutEl.innerText = totalBrut.toFixed(2) + '\u20ac';\n    totalChargesEl.innerText = totalCharges.toFixed(2) + '\u20ac';\n    totalTaxesEl.innerText = totalTaxes.toFixed(2) + '\u20ac';\n    totalNetEl.innerText = totalNet.toFixed(2) + '\u20ac';\n  };\n\n  \/\/ Copier le r\u00e9sultat\n  copySalaryBtn.onclick = () => {\n    const text = `Salaire Brut Total: ${totalBrutEl.innerText}\nCharges Totales: ${totalChargesEl.innerText}\nImp\u00f4ts Totaux: ${totalTaxesEl.innerText}\nSalaire Net Final: ${totalNetEl.innerText}`;\n    navigator.clipboard.writeText(text).then(() => {\n      alert('R\u00e9sultat copi\u00e9 !');\n    });\n  };\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Calculateur Salaire Brut \u2192 Net Complet Type de contrat Salaire Brut (\u20ac) Taux Imp\u00f4t (%) Net Final (\u20ac) Action CDICDDInd\u00e9pendantFreelance Supprimer Ajouter une ligne Calculer le Net Total Brut : 0\u20ac Total Charges : 0\u20ac Total Imp\u00f4ts : 0\u20ac Salaire Net Final : 0\u20ac Copier le r\u00e9sultat<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-121","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/pages\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simulios.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":4,"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/pages\/121\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/simulios.fr\/index.php?rest_route=\/wp\/v2\/pages\/121\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/simulios.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}