{
  "$comment": "Machine-readable companion to https://valem.run/calculators/romania/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/romania/net-salary",
  "dataUrl": "https://valem.run/calculators/romania/net-salary.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Romania salariu net model by Valem (https://valem.run/calculators/romania/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/romania/net-salary/verify",
  "country": "romania",
  "countryName": "Romania",
  "formula": "net-salary",
  "formulaName": "Salariu net",
  "title": "Calculator Salariu Net — Romania take-home pay",
  "answer": "Your Romanian net salary is gross minus CAS (25%) and CASS (10%) contributions and a flat 10% income tax on what remains.",
  "lang": "en",
  "currency": "RON",
  "taxYear": "2025",
  "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": "ANAF",
      "url": "https://www.anaf.ro",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "netMonthly",
  "inputs": [
    {
      "name": "grossMonthly",
      "type": "number",
      "label": "Salariu brut / lună (RON)",
      "format": "currency",
      "minimum": 0
    }
  ],
  "outputs": [
    {
      "name": "cas",
      "type": "number",
      "label": "CAS (25%)",
      "format": "currency",
      "formula": "$round(grossMonthly * $const.casRate, 2)"
    },
    {
      "name": "cass",
      "type": "number",
      "label": "CASS (10%)",
      "format": "currency",
      "formula": "$round(grossMonthly * $const.cassRate, 2)"
    },
    {
      "name": "taxBase",
      "type": "number",
      "formula": "$round(grossMonthly - cas - cass, 2)"
    },
    {
      "name": "tax",
      "type": "number",
      "label": "Impozit (10%)",
      "format": "currency",
      "formula": "$round(taxBase * $const.taxRate, 2)"
    },
    {
      "name": "netMonthly",
      "type": "number",
      "label": "Net / lună",
      "format": "currency",
      "formula": "$round(grossMonthly - cas - cass - tax, 2)"
    }
  ],
  "testCases": [
    {
      "description": "S1 6,000 RON single",
      "given": {
        "grossMonthly": 6000
      },
      "expect": {
        "cas": 1500,
        "cass": 600,
        "taxBase": 3900,
        "tax": 390,
        "netMonthly": 3510
      }
    },
    {
      "description": "S3 15,000 RON",
      "given": {
        "grossMonthly": 15000
      },
      "expect": {
        "cas": 3750,
        "cass": 1500,
        "tax": 975,
        "netMonthly": 8775
      }
    }
  ],
  "spec": {
    "id": "net-salary-romania",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "grossMonthly": {
          "type": "number",
          "minimum": 0
        },
        "cas": {
          "type": "number",
          "readOnly": true
        },
        "cass": {
          "type": "number",
          "readOnly": true
        },
        "taxBase": {
          "type": "number",
          "readOnly": true
        },
        "tax": {
          "type": "number",
          "readOnly": true
        },
        "netMonthly": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "casRate": 0.25,
      "cassRate": 0.1,
      "taxRate": 0.1
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'grossMonthly': 6000 }"
      }
    ],
    "derivations": [
      {
        "path": "$.cas",
        "expr": "$round(grossMonthly * $const.casRate, 2)"
      },
      {
        "path": "$.cass",
        "expr": "$round(grossMonthly * $const.cassRate, 2)"
      },
      {
        "path": "$.taxBase",
        "expr": "$round(grossMonthly - cas - cass, 2)"
      },
      {
        "path": "$.tax",
        "expr": "$round(taxBase * $const.taxRate, 2)"
      },
      {
        "path": "$.netMonthly",
        "expr": "$round(grossMonthly - cas - cass - tax, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Salariu net",
          "layout": "vertical",
          "components": [
            {
              "id": "gross",
              "type": "numericField",
              "label": "Salariu brut / lună (RON)",
              "bind": "$.grossMonthly"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "netM",
                  "type": "statTile",
                  "label": "Net / lună",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "RON"
                }
              ]
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Detaliere",
              "items": [
                {
                  "label": "Brut",
                  "bind": "$.grossMonthly",
                  "format": "currency",
                  "currency": "RON"
                },
                {
                  "label": "CAS (25%)",
                  "bind": "$.cas",
                  "format": "currency",
                  "currency": "RON"
                },
                {
                  "label": "CASS (10%)",
                  "bind": "$.cass",
                  "format": "currency",
                  "currency": "RON"
                },
                {
                  "label": "Impozit (10%)",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "RON"
                },
                {
                  "label": "Net",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "RON"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'România 2025: CAS 25% + CASS 10% (suportate de angajat), apoi impozit 10% pe rest. Deducerea personală este degresivă și se anulează peste un anumit venit. Estimare, nu consultanță fiscală.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Surse",
              "items": [
                {
                  "label": "ANAF",
                  "url": "https://www.anaf.ro",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "S1 6,000 RON single",
        "given": {
          "$.grossMonthly": 6000
        },
        "expect": {
          "$.cas": 1500,
          "$.cass": 600,
          "$.taxBase": 3900,
          "$.tax": 390,
          "$.netMonthly": 3510
        }
      },
      {
        "description": "S3 15,000 RON",
        "given": {
          "$.grossMonthly": 15000
        },
        "expect": {
          "$.cas": 3750,
          "$.cass": 1500,
          "$.tax": 975,
          "$.netMonthly": 8775
        }
      }
    ]
  }
}
