How the France salaire net calculator is verified

Inputs

InputFieldType
Salaire brut annuel (EUR)grossAnnualnumber
Parts fiscales (1 = célibataire)partsnumber

The formula

Each derived value below is computed by the Valem engine from the expression shown, in this order. Nothing else runs — there is no hidden code path.

Derived valueFieldFormula (JSONata)
CSG + CRDScsgCrds$round(grossAnnual * $const.csgCrdsBase * $const.csgCrdsRate, 2)
Cotisations retraitesocialOther$round(grossAnnual * $const.socialRate, 2)
Total ContribtotalContrib$round(csgCrds + socialOther, 2)
Net avant impôt / annetAvantImpot$round(grossAnnual - totalContrib, 2)
Taxable IRtaxableIR$round(netAvantImpot * (1 - $const.abatement), 2)
Impôt sur le revenuincomeTax($q := taxableIR / parts; $t := $q <= 11497 ? 0 : $q <= 29315 ? ($q - 11497) * 0.11 : $q <= 83823 ? ($q - 29315) * 0.30 + 1959.98 : $q <= 180294 ? ($q - 83823) * 0.41 + 18312.38 : ($q - 180294) * 0.45 + 57865.49; $round($t * parts, 2))
Net après impôt / annetApresImpot$round(netAvantImpot - incomeTax, 2)
Net MonthlynetMonthly$round(netApresImpot / 12, 2)

Rates and thresholds

The expressions above read these as $const. They are the figures the annual refresh replaces, so they live as data rather than being written into the formulas — which is what makes a year-on-year change a one-line diff instead of an edit to arithmetic.

ConstantValue
csgCrdsRate0.097
csgCrdsBase0.9825
socialRate0.1131
abatement0.1

Test vectors (2)

Every case is executed against this model on each build, by the Java engine and independently by a JavaScript one. A mismatch of a single cent fails the build, so the page cannot ship advertising a figure the model no longer produces.

Case 1 — S1 30,000 EUR non-cadre single (1 part)

given grossAnnual30000
given parts1
expect csgCrds2859.08
expect socialOther3393
expect totalContrib6252.08
expect netAvantImpot23747.92
expect taxableIR21373.13

Case 2 — S2 45,000 EUR married with 2 children (3 parts) — quotient lowers tax

given grossAnnual45000
given parts3
expect csgCrds4288.61
expect socialOther5089.5

Sources

Check it yourself — and reuse it

The whole model as JSON — inputs, outputs, formulas, vectors and sources in one re-runnable document.

This model is published under CC BY 4.0: use it, adapt it, build on it, with attribution. The licence covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds are law, and nobody licenses those; the sources above are where they come from.

← Back to the France salaire net calculator

Built with Valem — a live, verifiable calculator you can fork and embed.