▶
You →
Build a real-time Indian salary calculator. New and old tax regimes. No server. Completely private.
← Claude
I'll draft the core tax logic for FY 2026-27. You review the slab boundaries and edge cases before we ship.
taxCalculator.js
// New Regime Tax — FY 2026-27
function
calcNewRegime
(income) {
const
slabs = [
[
0
,
400000
,
0
],
[
400000
,
800000
,
0.05
],
[
800000
,
1200000
,
0.10
],
];
let
tax =
0
;
for
(
const
[lo, hi, rate]
of
slabs) {
if
(income <= lo)
break
;
}
return
tax;
}
Human in the Loop
○
Verify tax slab boundaries
○
Test EPF & edge case handling
○
UI review & requirement changes
Real-Time Calculation
Annual CTC
₹
12,00,000
Income Tax (New)
− ₹
0
EPF Deduction
− ₹
72,000
In-Hand
₹
11,28,000
🚀
Deployed.
Built alongside Claude.
Tested & finalised by a human.
▶
0:00 / 0:30