{
  "$comment": "Machine-readable companion to https://valem.run/calculators/india/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/india/net-salary",
  "dataUrl": "https://valem.run/calculators/india/net-salary.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "India in-hand salary model by Valem (https://valem.run/calculators/india/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/india/net-salary/verify",
  "country": "india",
  "countryName": "India",
  "formula": "net-salary",
  "formulaName": "In-hand salary",
  "title": "In Hand Salary Calculator India — new regime FY2025-26",
  "answer": "Your India in-hand salary is your annual CTC minus employee provident fund and income tax under the new regime, spread across twelve months.",
  "lang": "en",
  "currency": "INR",
  "taxYear": "FY2025-26",
  "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": "Income Tax Department — tax calculator",
      "url": "https://incometax.gov.in",
      "checked": "2026-08-02"
    },
    {
      "label": "EPFO — provident fund",
      "url": "https://www.epfindia.gov.in",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "inHandMonthly",
  "inputs": [
    {
      "name": "ctcAnnual",
      "type": "number",
      "label": "Annual CTC (INR)",
      "format": "currency",
      "minimum": 0
    },
    {
      "name": "basicPct",
      "type": "number",
      "label": "Basic as fraction of CTC (e.g. 0.40)",
      "minimum": 0,
      "maximum": 1
    }
  ],
  "outputs": [
    {
      "name": "basic",
      "type": "number",
      "formula": "$round(ctcAnnual * basicPct, 2)"
    },
    {
      "name": "employeePF",
      "type": "number",
      "label": "Employee PF (12% of basic)",
      "format": "currency",
      "formula": "$round(basic * $const.pfRate, 2)"
    },
    {
      "name": "taxable",
      "type": "number",
      "label": "Taxable income",
      "format": "currency",
      "formula": "($t := ctcAnnual - $const.standardDeduction; $round($t > 0 ? $t : 0, 2))"
    },
    {
      "name": "slabTax",
      "type": "number",
      "formula": "($x := taxable; $t := ($x > 400000 ? (($x < 800000 ? $x : 800000) - 400000) : 0) * 0.05 + ($x > 800000 ? (($x < 1200000 ? $x : 1200000) - 800000) : 0) * 0.10 + ($x > 1200000 ? (($x < 1600000 ? $x : 1600000) - 1200000) : 0) * 0.15 + ($x > 1600000 ? (($x < 2000000 ? $x : 2000000) - 1600000) : 0) * 0.20 + ($x > 2000000 ? (($x < 2400000 ? $x : 2400000) - 2000000) : 0) * 0.25 + ($x > 2400000 ? ($x - 2400000) : 0) * 0.30; $round($t, 2))"
    },
    {
      "name": "taxAfterRebate",
      "type": "number",
      "formula": "($x := taxable; $r := $x <= $const.rebateTaxableLimit ? 0 : ($x - $const.rebateTaxableLimit); $t := $x <= $const.rebateTaxableLimit ? 0 : (slabTax < $r ? slabTax : $r); $round($t, 2))"
    },
    {
      "name": "totalTax",
      "type": "number",
      "label": "Tax / year",
      "format": "currency",
      "formula": "$round(taxAfterRebate * (1 + $const.cessRate), 2)"
    },
    {
      "name": "inHandAnnual",
      "type": "number",
      "label": "In-hand / year",
      "format": "currency",
      "formula": "$round(ctcAnnual - employeePF - totalTax, 2)"
    },
    {
      "name": "inHandMonthly",
      "type": "number",
      "label": "In-hand / month",
      "format": "currency",
      "formula": "$round(inHandAnnual / 12, 2)"
    }
  ],
  "testCases": [
    {
      "description": "S1 CTC 8L, basic 40% — §87A rebate zeroes tax",
      "given": {
        "ctcAnnual": 800000,
        "basicPct": 0.4
      },
      "expect": {
        "employeePF": 38400,
        "taxable": 725000,
        "totalTax": 0,
        "inHandMonthly": 63466.67
      }
    },
    {
      "description": "S2 CTC 18L, basic 40% — above the rebate ceiling",
      "given": {
        "ctcAnnual": 1800000,
        "basicPct": 0.4
      },
      "expect": {
        "taxable": 1725000,
        "slabTax": 145000
      }
    }
  ],
  "spec": {
    "id": "net-salary-india",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "ctcAnnual": {
          "type": "number",
          "minimum": 0
        },
        "basicPct": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "basic": {
          "type": "number",
          "readOnly": true
        },
        "employeePF": {
          "type": "number",
          "readOnly": true
        },
        "taxable": {
          "type": "number",
          "readOnly": true
        },
        "slabTax": {
          "type": "number",
          "readOnly": true
        },
        "taxAfterRebate": {
          "type": "number",
          "readOnly": true
        },
        "totalTax": {
          "type": "number",
          "readOnly": true
        },
        "inHandAnnual": {
          "type": "number",
          "readOnly": true
        },
        "inHandMonthly": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "pfRate": 0.12,
      "standardDeduction": 75000,
      "rebateTaxableLimit": 1200000,
      "cessRate": 0.04
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'ctcAnnual': 800000, 'basicPct': 0.40 }"
      }
    ],
    "derivations": [
      {
        "path": "$.basic",
        "expr": "$round(ctcAnnual * basicPct, 2)"
      },
      {
        "path": "$.employeePF",
        "expr": "$round(basic * $const.pfRate, 2)"
      },
      {
        "path": "$.taxable",
        "expr": "($t := ctcAnnual - $const.standardDeduction; $round($t > 0 ? $t : 0, 2))"
      },
      {
        "path": "$.slabTax",
        "expr": "($x := taxable; $t := ($x > 400000 ? (($x < 800000 ? $x : 800000) - 400000) : 0) * 0.05 + ($x > 800000 ? (($x < 1200000 ? $x : 1200000) - 800000) : 0) * 0.10 + ($x > 1200000 ? (($x < 1600000 ? $x : 1600000) - 1200000) : 0) * 0.15 + ($x > 1600000 ? (($x < 2000000 ? $x : 2000000) - 1600000) : 0) * 0.20 + ($x > 2000000 ? (($x < 2400000 ? $x : 2400000) - 2000000) : 0) * 0.25 + ($x > 2400000 ? ($x - 2400000) : 0) * 0.30; $round($t, 2))"
      },
      {
        "path": "$.taxAfterRebate",
        "expr": "($x := taxable; $r := $x <= $const.rebateTaxableLimit ? 0 : ($x - $const.rebateTaxableLimit); $t := $x <= $const.rebateTaxableLimit ? 0 : (slabTax < $r ? slabTax : $r); $round($t, 2))"
      },
      {
        "path": "$.totalTax",
        "expr": "$round(taxAfterRebate * (1 + $const.cessRate), 2)"
      },
      {
        "path": "$.inHandAnnual",
        "expr": "$round(ctcAnnual - employeePF - totalTax, 2)"
      },
      {
        "path": "$.inHandMonthly",
        "expr": "$round(inHandAnnual / 12, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "In-hand salary",
          "layout": "vertical",
          "components": [
            {
              "id": "ctc",
              "type": "numericField",
              "label": "Annual CTC (INR)",
              "bind": "$.ctcAnnual"
            },
            {
              "id": "basicPct",
              "type": "numericField",
              "label": "Basic as fraction of CTC (e.g. 0.40)",
              "bind": "$.basicPct"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "inM",
                  "type": "statTile",
                  "label": "In-hand / month",
                  "bind": "$.inHandMonthly",
                  "format": "currency",
                  "currency": "INR"
                },
                {
                  "id": "taxY",
                  "type": "statTile",
                  "label": "Tax / year",
                  "bind": "$.totalTax",
                  "format": "currency",
                  "currency": "INR"
                }
              ]
            },
            {
              "id": "sep1",
              "type": "separatorLine"
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Annual breakdown",
              "items": [
                {
                  "label": "CTC",
                  "bind": "$.ctcAnnual",
                  "format": "currency",
                  "currency": "INR"
                },
                {
                  "label": "Employee PF (12% of basic)",
                  "bind": "$.employeePF",
                  "format": "currency",
                  "currency": "INR"
                },
                {
                  "label": "Taxable income",
                  "bind": "$.taxable",
                  "format": "currency",
                  "currency": "INR"
                },
                {
                  "label": "Income tax + cess",
                  "bind": "$.totalTax",
                  "format": "currency",
                  "currency": "INR"
                },
                {
                  "label": "In-hand / year",
                  "bind": "$.inHandAnnual",
                  "format": "currency",
                  "currency": "INR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'India FY2025-26 new regime: slabs 0/5/10/15/20/25/30%, §87A rebate to zero tax up to ₹12L taxable (with marginal relief), 4% cess, employee PF 12% of basic. Estimate, not tax advice.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Sources",
              "items": [
                {
                  "label": "Income Tax Department — tax calculator",
                  "url": "https://incometax.gov.in",
                  "date": "2026-08-02"
                },
                {
                  "label": "EPFO — provident fund",
                  "url": "https://www.epfindia.gov.in",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "S1 CTC 8L, basic 40% — §87A rebate zeroes tax",
        "given": {
          "$.ctcAnnual": 800000,
          "$.basicPct": 0.4
        },
        "expect": {
          "$.employeePF": 38400,
          "$.taxable": 725000,
          "$.totalTax": 0,
          "$.inHandMonthly": 63466.67
        }
      },
      {
        "description": "S2 CTC 18L, basic 40% — above the rebate ceiling",
        "given": {
          "$.ctcAnnual": 1800000,
          "$.basicPct": 0.4
        },
        "expect": {
          "$.taxable": 1725000,
          "$.slabTax": 145000
        }
      }
    ]
  }
}
