Skip to main content
Glama

China Salary and Income Tax Calculator

Net salary in China (2026)

net_salary
Read-onlyIdempotent

Take-home pay for an employee in China from a gross yearly salary in CNY, with 2026 rules: every tax and contribution itemised with its local name, the effective and marginal rate, employer cost and the step-by-step workings. Covers: Comprehensive income IIT with the ¥60,000 standard deduction; Contribution bases for Shanghai, Beijing, Shenzhen and Guangzhou, housing fund 5-12%; Special additional deductions: children, elderly care, rent or mortgage, education; Year-end bonus taxed separately or together, with the difference; Tax-exempt allowances for foreign nationals.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gross_annual": "<gross_annual>"
    },
    "name": "net_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity: shanghai = Shanghai; beijing = Beijing; shenzhen = Shenzhen; guangzhou = Guangzhou. Default shanghai.
elderlyNoSupporting parents aged 60+: none = No; only = Yes, only child (¥3,000/month); shared = Yes, shared with siblings (¥1,500/month). Default none.
si_baseNoContribution base on your payslip (a month). Employers often use a base different from your pay. Leave at 0 to use your pay within the city limits. (¥ / month). Default 0.
childrenNoNumber of dependent children. Default 0.
educationNoContinuing education (¥400/month) Default false.
no_socialNoNot enrolled in social insurance and housing fund. Some foreign nationals are exempt, for example under a social security agreement. Check your payslip. Default false.
extra_fundNoSupplementary housing fund rate. Only if your employer runs one; the employer pays the same. (%). Default 0.
fx_per_eurNoExchange rate: 1 euro = this many CNY, for the euro amounts. Default 7.6 (indicative).
housing_dedNoHousing deduction: none = None; tier1 = Rent, tier-1 city (¥1,500/month); tier2 = Rent, large city (¥1,100/month); tier3 = Rent, other city (¥800/month); mortgage = First-home mortgage interest (¥1,000/month). Default none.
bonus_annualNoYearly bonus in CNY. Default 0.
gross_annualYesGross yearly salary in CNY, without bonus
housing_fundNoHousing fund rate (%). Default 7.
bonus_separateNoTax the year-end bonus separately. Uses the bonus amount field above. Separate taxation is usually cheaper at moderate incomes. Default true.
expat_allowancesNoTax-free expat allowances. Foreign nationals: housing, language training and children's school fees paid against receipts. (¥ / year). Default 0.
other_deductionsNoOther deductions (a year). Amounts you have worked out yourself, such as serious illness costs or donations. (¥ / year). Default 0.
personal_pensionNoPersonal pension contribution (a year). Your own payments into a personal pension account: deductible up to ¥12,000 a year. (¥ / year). Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / extra_fund
      Added value: +{
      +  "description": "Supplementary housing fund rate. Only if your employer runs one; the employer pays the same. (%). Default 0.",
      +  "maximum": 8,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / no_social
      Added value: +{
      +  "description": "Not enrolled in social insurance and housing fund. Some foreign nationals are exempt, for example under a social security agreement. Check your payslip. Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / other_deductions
      Added value: +{
      +  "description": "Other deductions (a year). Amounts you have worked out yourself, such as serious illness costs or donations. (¥ / year). Default 0.",
      +  "maximum": 2000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / personal_pension
      Added value: +{
      +  "description": "Personal pension contribution (a year). Your own payments into a personal pension account: deductible up to ¥12,000 a year. (¥ / year). Default 0.",
      +  "maximum": 12000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / si_base
      Added value: +{
      +  "description": "Contribution base on your payslip (a month). Employers often use a base different from your pay. Leave at 0 to use your pay within the city limits. (¥ / month). Default 0.",
      +  "maximum": 200000,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing what the response contains: every tax and contribution itemised with its local name, effective and marginal rates, employer cost, and step-by-step workings — important because there is no output schema. It stops short of stating whether results are indicative estimates or how defaults (e.g. Shanghai) affect output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the opening clause, followed by a compact enumerated coverage list rather than prose sprawl. Slightly dense, but for a 16-parameter tax calculator with no output schema every listed item is carrying information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 16 parameters, no output schema and a highly regulated domain, the definition covers computation scope, output contents and the main tax regimes (comprehensive income, bonus, expat allowances). The remaining gap is minor: no statement about precision/indicative nature or jurisdictional caveats.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with units, ranges, defaults and enum meanings already documented per parameter, so the schema does the heavy lifting. The description groups the parameters conceptually (contribution bases, 5-12% housing fund, special additional deductions, separate bonus taxation) but adds no syntax or interpretation beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific computation: take-home pay for a China employee derived from a gross yearly CNY salary under 2026 rules. The phrase 'from a gross yearly salary' implicitly separates it from the inverse sibling gross_for_target_net, and the enumerated coverage (IIT, contribution bases, special deductions, bonus treatment) pins the scope tightly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Covers:' list effectively defines the domain, so an agent can infer this is the tool for a full China net-pay breakdown. However, it never names an alternative or states a when-not condition — nothing tells the agent to prefer gross_for_target_net when the desired net is the input, or employer_cost when the employer perspective is wanted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources