China Social Insurance & Housing Fund Calculator

Start with Shanghai reference rates, then estimate monthly employee and employer social-insurance and housing-fund contributions using editable local bases and rates.

The page starts with Shanghai employee reference rates verified on 25 July 2026. Replace the bases and rates with the figures on your local payslip. All amounts are in renminbi. Results follow the formula and inputs shown on the page; match filing, lending and retirement decisions to the relevant official record.

Shanghai reference: employee pension 8%, medical 2%, unemployment 0.5% and housing fund 7%; employer pension 16%, medical 9%, unemployment 0.5%, class-one work injury 0.2% and housing fund 7%. Employer medical includes maternity insurance.

Employee rates (%)
Employer rates (%)
Employee monthly contributions
Salary after contributions, before income tax
Employer monthly contributions
Employer salary and contribution cost

Assumptions and sources: The Shanghai HRSS and medical-insurance references remain within their current effective periods. The 7% housing-fund value is a continuity scenario within the last published 5%–7% range, but that annual table ended on 30 June 2026. Replace it with the current payslip or employer setting until the next table is published.

Calculation basis

Market
China mainland
Last updated
Next review
When a cited national rule, reference rate or pension formula changes

How this calculator works

The page pre-fills Shanghai employee and employer reference rates and provides separate monthly bases for social insurance and housing fund. Replace them with the effective inputs for another city when needed.

Calculation method

The five social-insurance categories use social-insurance base × entered rate. Housing-fund contributions use housing-fund base × rate. Employee contributions reduce pre-tax pay; employer contributions add to employer cost.

Check before using the estimate

For the Shanghai reference, adjust the bases to the annual wage bounds that apply to the salary. For another city, replace the local parameters. Check supplementary schemes and local additions against the relevant local records.

Worked example

Defaults: monthly salary ¥15,000, social base ¥15,000, housing-fund base ¥15,000, Shanghai reference rates.

ItemRateCalculationEmployeeEmployer
Pension8% / 16%¥15,000 × rate¥1,200¥2,400
Medical (incl. maternity)2% / 9%¥15,000 × rate¥300¥1,350
Unemployment0.5% / 0.5%¥15,000 × rate¥75¥75
Injury0% / 0.2%¥15,000 × rate¥0¥30
Housing fund7% / 7%¥15,000 × rate¥1,050¥1,050
Total¥2,625¥4,905

Pay after employee contributions ¥12,375, salary plus employer cost ¥19,905.

Input variations

ChangeEmployee totalEmployer totalComparison
Social base ¥15,000 → ¥10,000¥1,750¥5,450At the base floor
Housing fund 7% → 5%¥2,325¥4,605Each side −¥300
Injury 0.2% → 0.5% (class-3 industry)¥2,625¥4,950Employer +¥45
Social base ¥30,000 (above cap)By inputBy inputUser must adjust to the cap

Contribution bases are capped at locally announced annual bounds; this tool uses the entered value, so the user must adjust manually.

Differences from official documents

Differences from actual social-insurance agency contributions arise because: contribution bases are capped at locally announced annual bounds, while this tool uses the user-entered value and the user must adjust manually; injury rates are industry-tiered (0.2%–1.9%), with Shanghai using class-1 0.2%; medical includes maternity in Shanghai (9% already includes maternity), while other cities may list separately; housing-fund contribution ratios are local and annual, and the editable 7% continuity scenario must be replaced with the current payslip or employer setting; supplementary medical, occupational annuity, enterprise annuity are not mandatory and not included; flexible-employment workers pay only pension and medical, which this tool does not support.

Thresholds and limits

Each rate 0%–50% (editable); monthly salary ¥0–¥10,000,000; social and housing-fund bases each ¥0–¥10,000,000; Shanghai reference rates verified on 2026-07-25; the 7% housing-fund continuity scenario comes from the last published 5%–7% table, whose period ended 30 June 2026, and must be replaced until the next table is published; injury 0.2% is the class-1 industry reference; medical 9% includes maternity. Each locality publishes annual base bounds; adjust to the standard for the salary’s year.

Documents to check

Shanghai HRSS / local HRSS social-insurance base notice; local medical-insurance administration rate notice; local housing-fund management centre contribution ratio and base notice; injury determination requires industry category proof (per GB/T 4754 industry classification); monthly payslips (verify actual deductions); social-insurance app or HRSS agency-printed contribution detail; housing-fund account statement; labour contract (confirm employment relationship, salary base).

Check city rates, contribution bases and salary separately

Shanghai is a dated starting reference, not a national rule.

Salary need not equal either contribution base

Local floors, ceilings and reporting rules can make social-insurance and housing-fund bases differ.

Employee deductions and employer cost answer different questions

Industry injury tiers, merged medical/maternity treatment and supplementary items require local replacement.

Primary source

Shanghai Human Resources and Social Security Bureau: employer contribution rates

Frequently asked questions

Where do the default rates come from?

The reference uses Shanghai’s published rates: employee pension 8%, medical 2%, unemployment 0.5% and housing fund 7%; employer pension 16%, medical 9%, unemployment 0.5%, class-one injury 0.2% and housing fund 7%. Sources and review dates are shown and every value is editable.

How should I enter injury and maternity rates?

The Shanghai reference uses 0.2% employer injury for a class-one industry and 0% for the employee. The 9% employer medical rate includes maternity, so maternity is set to 0. Replace these for another industry or city.

Can this feed the income-tax calculator?

Multiply the employee monthly total by actual contribution months for the annual input, but official records control the filing.

Which thresholds can change the result?

Each rate 0%–50% (editable); monthly salary ¥0–¥10,000,000; social and housing-fund bases each ¥0–¥10,000,000; Shanghai reference rates verified on 2026-07-25; the 7% housing-fund continuity scenario comes from the last published 5%–7% table, whose period ended 30 June 2026, and must be replaced until the next table is published; injury 0.2% is the class-1 industry reference; medical 9% includes maternity. Each locality publishes annual base bounds; adjust to the standard for the salary’s year.

Why can the result differ from official documents?

Differences from actual social-insurance agency contributions arise because: contribution bases are capped at locally announced annual bounds, while this tool uses the user-entered value and the user must adjust manually; injury rates are industry-tiered (0.2%–1.9%), with Shanghai using class-1 0.2%; medical includes maternity in Shanghai (9% already includes maternity), while other cities may list separately; housing-fund contribution ratios are local and annual, and the editable 7% continuity scenario must be replaced with the current payslip or employer setting; supplementary medical, occupational annuity, enterprise annuity are not mandatory and not included; flexible-employment workers pay only pension and medical, which this tool does not support.

Which records should I prepare before using the result?

Shanghai HRSS / local HRSS social-insurance base notice; local medical-insurance administration rate notice; local housing-fund management centre contribution ratio and base notice; injury determination requires industry category proof (per GB/T 4754 industry classification); monthly payslips (verify actual deductions); social-insurance app or HRSS agency-printed contribution detail; housing-fund account statement; labour contract (confirm employment relationship, salary base).

Important: All figures are for educational purposes only and do not constitute financial advice. Always consult a qualified professional.