{
  "$comment": "Machine-readable companion to https://valem.run/calculators/chile/net-salary. Formula, inputs, outputs, engine-verified test vectors, cited sources and the re-runnable Valem ModelSpec behind the page.",
  "url": "https://valem.run/calculators/chile/net-salary",
  "dataUrl": "https://valem.run/calculators/chile/net-salary.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Chile sueldo líquido model by Valem (https://valem.run/calculators/chile/net-salary), CC BY 4.0.",
    "note": "Covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds themselves are law and are not licensed by anyone; the cited sources are where they come from."
  },
  "verificationUrl": "https://valem.run/calculators/chile/net-salary/verify",
  "country": "chile",
  "countryName": "Chile",
  "formula": "net-salary",
  "formulaName": "Sueldo líquido",
  "title": "Calculadora Sueldo Líquido — Chile net pay",
  "answer": "Your Chilean net pay is gross minus pension, health and unemployment contributions and the Impuesto Unico de Segunda Categoria.",
  "lang": "en",
  "currency": "CLP",
  "taxYear": "2026",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 2 self-test cases (below, and re-runnable against the spec). That asserts internal consistency, NOT that the formula matches current law — the cited sources are the evidence for that, and carry the date each was last checked.",
    "selfTestCases": 2,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "SII — segunda categoría",
      "url": "https://www.sii.cl",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "netMonthly",
  "inputs": [
    {
      "name": "grossMonthly",
      "type": "number",
      "label": "Sueldo bruto / mes (CLP)",
      "format": "currency",
      "minimum": 0
    }
  ],
  "outputs": [
    {
      "name": "contributions",
      "type": "number",
      "label": "Cotizaciones (~18,6%)",
      "format": "currency",
      "formula": "$round((grossMonthly < $const.contribCap ? grossMonthly : $const.contribCap) * $const.contribRate, 2)"
    },
    {
      "name": "taxable",
      "type": "number",
      "label": "Base tributable",
      "format": "currency",
      "formula": "$round(grossMonthly - contributions, 2)"
    },
    {
      "name": "tax",
      "type": "number",
      "label": "Impuesto Único",
      "format": "currency",
      "formula": "($t := taxable; $round((($t > 877500 ? (($t < 1950000 ? $t : 1950000) - 877500) : 0) * 0.04) + (($t > 1950000 ? (($t < 3250000 ? $t : 3250000) - 1950000) : 0) * 0.08) + (($t > 3250000 ? (($t < 4550000 ? $t : 4550000) - 3250000) : 0) * 0.135) + (($t > 4550000 ? (($t < 5850000 ? $t : 5850000) - 4550000) : 0) * 0.23) + (($t > 5850000 ? (($t < 7800000 ? $t : 7800000) - 5850000) : 0) * 0.304) + (($t > 7800000 ? ($t - 7800000) : 0) * 0.35), 2))"
    },
    {
      "name": "netMonthly",
      "type": "number",
      "label": "Líquido / mes",
      "format": "currency",
      "formula": "$round(grossMonthly - contributions - tax, 2)"
    }
  ],
  "testCases": [
    {
      "description": "S1 1,000,000 CLP — below the tax threshold",
      "given": {
        "grossMonthly": 1000000
      },
      "expect": {
        "contributions": 186000,
        "taxable": 814000,
        "tax": 0,
        "netMonthly": 814000
      }
    },
    {
      "description": "S2 2,500,000 CLP",
      "given": {
        "grossMonthly": 2500000
      },
      "expect": {
        "contributions": 465000,
        "taxable": 2035000,
        "tax": 49700,
        "netMonthly": 1985300
      }
    }
  ],
  "spec": {
    "id": "net-salary-chile",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "grossMonthly": {
          "type": "number",
          "minimum": 0
        },
        "contributions": {
          "type": "number",
          "readOnly": true
        },
        "taxable": {
          "type": "number",
          "readOnly": true
        },
        "tax": {
          "type": "number",
          "readOnly": true
        },
        "netMonthly": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "contribRate": 0.186,
      "contribCap": 3600000
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'grossMonthly': 1000000 }"
      }
    ],
    "derivations": [
      {
        "path": "$.contributions",
        "expr": "$round((grossMonthly < $const.contribCap ? grossMonthly : $const.contribCap) * $const.contribRate, 2)"
      },
      {
        "path": "$.taxable",
        "expr": "$round(grossMonthly - contributions, 2)"
      },
      {
        "path": "$.tax",
        "expr": "($t := taxable; $round((($t > 877500 ? (($t < 1950000 ? $t : 1950000) - 877500) : 0) * 0.04) + (($t > 1950000 ? (($t < 3250000 ? $t : 3250000) - 1950000) : 0) * 0.08) + (($t > 3250000 ? (($t < 4550000 ? $t : 4550000) - 3250000) : 0) * 0.135) + (($t > 4550000 ? (($t < 5850000 ? $t : 5850000) - 4550000) : 0) * 0.23) + (($t > 5850000 ? (($t < 7800000 ? $t : 7800000) - 5850000) : 0) * 0.304) + (($t > 7800000 ? ($t - 7800000) : 0) * 0.35), 2))"
      },
      {
        "path": "$.netMonthly",
        "expr": "$round(grossMonthly - contributions - tax, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Sueldo líquido",
          "layout": "vertical",
          "components": [
            {
              "id": "gross",
              "type": "numericField",
              "label": "Sueldo bruto / mes (CLP)",
              "bind": "$.grossMonthly"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "netM",
                  "type": "statTile",
                  "label": "Líquido / mes",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "CLP"
                }
              ]
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Detalle",
              "items": [
                {
                  "label": "Bruto",
                  "bind": "$.grossMonthly",
                  "format": "currency",
                  "currency": "CLP"
                },
                {
                  "label": "Cotizaciones (~18,6%)",
                  "bind": "$.contributions",
                  "format": "currency",
                  "currency": "CLP"
                },
                {
                  "label": "Base tributable",
                  "bind": "$.taxable",
                  "format": "currency",
                  "currency": "CLP"
                },
                {
                  "label": "Impuesto Único",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "CLP"
                },
                {
                  "label": "Líquido",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "CLP"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'Chile 2025: AFP 10% + comisión + salud 7% + cesantía 0,6% (~18,6%) sobre base tope, luego Impuesto Único de Segunda Categoría por tramos en UTM. Estimación, no es asesoría tributaria. El tope imponible subió a 90,0 UF (unos 3.600.000 CLP) desde las remuneraciones de febrero de 2026; el de cesantía es 135,2 UF. Al estar fijado en UF, el monto en pesos cambia cada mes.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Fuentes",
              "items": [
                {
                  "label": "SII — segunda categoría",
                  "url": "https://www.sii.cl",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "S1 1,000,000 CLP — below the tax threshold",
        "given": {
          "$.grossMonthly": 1000000
        },
        "expect": {
          "$.contributions": 186000,
          "$.taxable": 814000,
          "$.tax": 0,
          "$.netMonthly": 814000
        }
      },
      {
        "description": "S2 2,500,000 CLP",
        "given": {
          "$.grossMonthly": 2500000
        },
        "expect": {
          "$.contributions": 465000,
          "$.taxable": 2035000,
          "$.tax": 49700,
          "$.netMonthly": 1985300
        }
      }
    ]
  }
}
