How the Bangladesh ব্যবসার আয়কর (business income tax) calculator is verified

Inputs

InputFieldType
Gross receipts for the year (BDT)annualTurnovernumber
Allowable business expenses (BDT)annualExpensesnumber
Your tax-free threshold grouptaxpayerCategorystring
Children or dependants with a disabilitydisabledChildrennumber
First return (new taxpayer: minimum tax ৳1,000)newTaxpayerboolean
All of it is ICT or freelancing income received by bank transfer (Sixth Schedule para 21, to 30 June 2027)ictExemptboolean

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)
Business income (receipts − expenses)taxableIncome$round($max([0, $n(annualTurnover) - $n(annualExpenses)]), 2)
Tax-free thresholdtaxFreeThreshold($c := taxpayerCategory; $c = 'womanOrSenior' ? $const.taxFreeWomanSenior : ($c = 'disabledOrThirdGender' ? $const.taxFreeDisabledThirdGender : ($c = 'warWounded' ? $const.taxFreeWarWounded : $const.taxFreeGeneral))) + $n(disabledChildren) * $const.disabledChildAddOn
Tax at the Schedule 2 ratesslabTaxictExempt ? 0 : ($t := taxFreeThreshold; $w1 := $t + $const.bandWidth1; $w2 := $w1 + $const.bandWidth2; $w3 := $w2 + $const.bandWidth3; $w4 := $w3 + $const.bandWidth4; $round($bandedCharge(taxableIncome, [{"upTo": $t, "rate": $const.rate0}, {"upTo": $w1, "rate": $const.rate1}, {"upTo": $w2, "rate": $const.rate2}, {"upTo": $w3, "rate": $const.rate3}, {"upTo": $w4, "rate": $const.rate4}, {"upTo": null, "rate": $const.rate5}]), 2))
Turnover tax: 1% of receiptsturnoverTaxictExempt ? 0 : $round($n(annualTurnover) * $const.turnoverTaxRate, 2)
Regular TaxregularTax(ictExempt or taxableIncome <= taxFreeThreshold) ? 0 : $round($max([slabTax, newTaxpayer ? $const.minimumTaxNewTaxpayer : $const.minimumTax]), 2)
Income taxincomeTax$round($max([regularTax, turnoverTax]), 2)
Turnover tax above the ordinary tax, carried forwardturnoverTaxCarryForward$round($max([0, turnoverTax - regularTax]), 2)
Profit after tax (৳0 at a loss)netIncome$round($max([0, taxableIncome - incomeTax]), 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
taxFreeGeneral400000
taxFreeWomanSenior450000
taxFreeDisabledThirdGender525000
taxFreeWarWounded550000
bandWidth1300000
bandWidth2400000
bandWidth3500000
bandWidth42000000
rate00
rate10.1
rate20.15
rate30.2
rate40.25
rate50.3
minimumTax5000
minimumTaxNewTaxpayer1000
disabledChildAddOn50000
turnoverTaxRate0.01

Test vectors (11)

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 lakh receipts, ৳18 lakh expenses: ৳12 lakh profit, tax ৳30,000 + ৳60,000 + ৳20,000

given annualTurnover3000000
given annualExpenses1800000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect taxableIncome1200000
expect slabTax110000
expect turnoverTax30000
expect incomeTax110000
expect netIncome1090000

Case 2 — S2 thin margin: ৳1 crore receipts, ৳5 lakh profit, turnover tax ৳1,00,000 exceeds ৳10,000

given annualTurnover10000000
given annualExpenses9500000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect slabTax10000
expect turnoverTax100000
expect incomeTax100000
expect turnoverTaxCarryForward90000
expect netIncome400000

Case 3 — S3 profit below the threshold: turnover tax ৳10,000 still due

given annualTurnover1000000
given annualExpenses700000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect taxableIncome300000
expect slabTax0
expect regularTax0
expect incomeTax10000
expect turnoverTaxCarryForward10000

Case 4 — S4 a loss: turnover tax applies regardless; profit after tax floored at 0

given annualTurnover2000000
given annualExpenses2500000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect taxableIncome0
expect incomeTax20000
expect netIncome0

Case 5 — S5 ৳4,20,000 profit on ৳4,50,000 receipts: ৳2,000 lifted to the ৳5,000 minimum

given annualTurnover450000
given annualExpenses30000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect slabTax2000
expect turnoverTax4500
expect incomeTax5000

Case 6 — S6 same as a new taxpayer: turnover tax ৳4,500 exceeds the ৳2,000 and the ৳1,000 minimum

given annualTurnover450000
given annualExpenses30000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayeryes
given ictExemptno
expect incomeTax4500

Case 7 — S7 woman or 65+: threshold ৳4,50,000, tax ৳1,00,000

given annualTurnover3000000
given annualExpenses1800000
given taxpayerCategorywomanOrSenior
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect taxFreeThreshold450000
expect incomeTax100000

Case 8 — S8 ৳1 crore profit: ৳6,90,000 + 30% of ৳64,00,000

given annualTurnover50000000
given annualExpenses40000000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect slabTax2610000
expect incomeTax2610000
expect netIncome7390000

Case 9 — S9 ICT or freelancing income received by bank transfer: exempt, no turnover tax (para 21)

given annualTurnover3000000
given annualExpenses1800000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptyes
expect slabTax0
expect turnoverTax0
expect incomeTax0
expect netIncome1200000

Case 10 — S10 two disabled children: threshold ৳5,00,000, tax ৳30,000 + ৳60,000

given annualTurnover3000000
given annualExpenses1800000
given taxpayerCategorygeneral
given disabledChildren2
given newTaxpayerno
given ictExemptno
expect taxFreeThreshold500000
expect incomeTax90000

Case 11 — S11 default: the ordinary tax exceeds the turnover tax, nothing carried forward

given annualTurnover3000000
given annualExpenses1800000
given taxpayerCategorygeneral
given disabledChildren0
given newTaxpayerno
given ictExemptno
expect regularTax110000
expect turnoverTaxCarryForward0

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 Bangladesh ব্যবসার আয়কর (business income tax) calculator

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