
Indian Tax Calc
India tax calc: income, STCG/LTCG, advance tax, TDS (FY 2025-26)
Install
npx skills add taracodlabs/aiden --skill indian-tax-calc -g -a claude-code -y- Repository
- taracodlabs/aiden868
- Category
- Engineering
- Updated
- 16d ago
- License
- Apache-2.0
- Context cost
- Lightabout 1,159 tokens
- Runs scripts
- No, instructions only
What it does
India tax calc: income, STCG/LTCG, advance tax, TDS (FY 2025-26)
Indian Tax Calculator
Calculate Indian income tax liability, STCG/LTCG on equity and F&O trades, advance tax installments, and TDS for FY 2025-26, under both old and new tax regimes.
When to Use
- User asks "how much tax do I owe on my salary / income?"
- User wants to calculate STCG or LTCG on stock or mutual fund gains
- User asks about tax on F&O profits
- User wants to compare old regime vs new regime tax
- User needs advance tax calculation or TDS estimation
How to Use
New regime tax slab (FY 2025-26)
function Get-TaxNewRegime {
param([double]$Income)
# FY 2025-26 new regime slabs (post Budget 2025)
$slabs = @(
@{UpTo=400000; Rate=0},
@{UpTo=800000; Rate=0.05},
@{UpTo=1200000; Rate=0.10},
@{UpTo=1600000; Rate=0.15},
@{UpTo=2000000; Rate=0.20},
@{UpTo=2400000; Rate=0.25},
@{UpTo=[double]::MaxValue; Rate=0.30}
)
$tax = 0; $prev = 0
foreach ($slab in $slabs) {
if ($Income -le $prev) { break }
$taxable = [math]::Min($Income, $slab.UpTo) - $prev
$tax += $taxable * $slab.Rate
$prev = $slab.UpTo
}
# Rebate u/s 87A: nil tax if income <= 12,00,000
if ($Income -le 1200000) { $tax = 0 }
$cess = $tax * 0.04
return [PSCustomObject]@{ Tax=$tax; Cess=$cess; Total=[math]::Round($tax+$cess,2) }
}
Get-TaxNewRegime -Income 1500000
