{
  "schemaVersion": 1,
  "slug": "net-income-calculator",
  "category": "finance",
  "kind": "implementation",
  "independentValidation": false,
  "implementationHash": "f5546d2e2ac0899944412fd47f4e2911d459fd38ab1b304f6ed6609496488266",
  "provenance": "Generated from the calculation contract used by the published page. Publication is not external validation.",
  "sourceFiles": [
    "data/calculators/net-income-calculator.json",
    "src/engine.js"
  ],
  "runtimeSource": "/sources/engine.txt",
  "runtimeHash": "5c888d8898afbdee36267bb9977829e1e2ac568f6677c8ee87469c139864645c",
  "scope": "The compute function records implemented equations, constants, lookup tables and custom rules. Inputs record defaults and allowed values; outputs record precision and units. Defaults are examples, not recommendations. General background references are not evidence for this specific algorithm.",
  "publishedFormula": {
    "formula": "N = G − G×r/100 − D",
    "vars": [
      [
        "N",
        "net annual income"
      ],
      [
        "G",
        "gross annual income"
      ],
      [
        "r",
        "tax rate, %"
      ],
      [
        "D",
        "other deductions"
      ]
    ],
    "note": "Tax = gross annual income × entered effective rate. Net = gross − tax − other deductions. Rejects deductions greater than post-tax income; tax estimates do not include jurisdiction-specific rules unless represented in the user inputs."
  },
  "externalEvidence": {
    "reviewedAt": "2026-10-12",
    "sources": [
      {
        "name": "IRS — income definitions in US context (not this model’s tax rules)",
        "url": "https://www.irs.gov/businesses/small-businesses-self-employed/what-is-taxable-and-nontaxable-income"
      }
    ],
    "basis": "Tax equals gross annual pay multiplied by your entered effective tax rate. Other deductions are then subtracted from the after-tax amount; they are not deductions from taxable income. Annual net pay is divided by 12. This is a cash-flow scenario, not a tax-bracket or payroll calculator for a specific country; obtain the effective rate and deductions from your own records.",
    "limitations": "This is a cash-flow scenario, not a tax-bracket or payroll calculator for a specific country; obtain the effective rate and deductions from your own records.",
    "implementationHash": "f5546d2e2ac0899944412fd47f4e2911d459fd38ab1b304f6ed6609496488266",
    "domain": "finance"
  },
  "contract": {
    "compute": "const tax=grossAnnual*taxRate/100;if(otherDeductions>grossAnnual-tax)return{netAnnual:null,netMonthly:null,taxPaid:null,totalDeductions:null,__error:'inputError'};const net=grossAnnual-tax-otherDeductions;return{netAnnual:net,netMonthly:net/12,taxPaid:tax,totalDeductions:tax+otherDeductions};",
    "inputs": [
      {
        "name": "grossAnnual",
        "type": "number",
        "default": 80000,
        "min": 0,
        "max": 100000000,
        "step": 1000
      },
      {
        "name": "taxRate",
        "type": "number",
        "default": 25,
        "min": 0,
        "max": 100,
        "step": 0.5,
        "slider": true
      },
      {
        "name": "otherDeductions",
        "type": "number",
        "default": 5000,
        "min": 0,
        "max": 10000000,
        "step": 100
      }
    ],
    "outputs": [
      {
        "name": "netAnnual",
        "precision": 2,
        "unit": "$"
      },
      {
        "name": "netMonthly",
        "precision": 2,
        "unit": "$"
      },
      {
        "name": "taxPaid",
        "precision": 2,
        "unit": "$"
      },
      {
        "name": "totalDeductions",
        "precision": 2,
        "unit": "$"
      }
    ],
    "interpret": null
  }
}
