How the India section 44ada calculator is verified

Inputs

InputFieldType
Annual gross receipts (INR)grossReceiptsnumber

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)
Presumptive income (50%)presumptiveIncome$round(grossReceipts * $const.presumptiveShare, 2)
Slab TaxslabTax($t := presumptiveIncome; $round($const.r2 * $max([0, $min([$t, $const.b2]) - $const.b1]) + $const.r3 * $max([0, $min([$t, $const.b3]) - $const.b2]) + $const.r4 * $max([0, $min([$t, $const.b4]) - $const.b3]) + $const.r5 * $max([0, $min([$t, $const.b5]) - $const.b4]) + $const.r6 * $max([0, $min([$t, $const.b6]) - $const.b5]) + $const.r7 * $max([0, $t - $const.b6]), 2))
Section 87A rebaterebate$round(presumptiveIncome <= $const.rebateLimit ? $min([slabTax, $const.rebateMax]) : 0, 2)
Tax + 4% cesstotalTax$round(($slabTax := slabTax - rebate; $slabTax + $slabTax * $const.cessRate), 2)
Receipts after taxnetIncome$round($max([0, grossReceipts - totalTax]), 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
presumptiveShare0.5
rebateLimit1200000
rebateMax60000
cessRate0.04
b1400000
b2800000
b31200000
b41600000
b52000000
b62400000
r20.05
r30.1
r40.15
r50.2
r60.25
r70.3

Test vectors (3)

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 — 30,00,000 INR gross receipts — a typical full-time consultant

given grossReceipts3000000
expect presumptiveIncome1500000
expect slabTax105000
expect rebate0
expect totalTax109200
expect netIncome2890800

Case 2 — 20,00,000 INR — the presumptive income lands inside the 87A rebate

given grossReceipts2000000
expect presumptiveIncome1000000
expect slabTax40000
expect rebate40000
expect totalTax0
expect netIncome2000000

Case 3 — 70,00,000 INR — near the top of the scheme

given grossReceipts7000000
expect presumptiveIncome3500000
expect slabTax630000
expect rebate0
expect totalTax655200
expect netIncome6344800

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 India section 44ada calculator

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