calculate_capital_gains
Compute capital gains tax for Indian assets including equity, mutual funds, real estate, gold, and crypto. Enter sale and purchase prices to get STCG/LTCG breakdown, tax rates, and tax liability.
Instructions
Calculate capital gains tax for various asset types (FY2025-26).
Use when computing tax liability on sale of equity, mutual funds, real estate, gold, or other capital assets.
Args: sale_price: Sale proceeds after expenses. purchase_price: Original purchase price. asset_type: Type of asset sold. holding_period_days: Days held before sale. inflation_index_purchase: Cost Inflation Index for purchase year. inflation_index_sale: Cost Inflation Index for sale year. expenses_on_sale: Expenses incurred during sale. improvements: Cost of improvements (for real estate).
Returns: Standard envelope with STCG/LTCG breakdown, tax rates, and liability.
Notes: Budget 2024 rates: STCG 20% (equity/MF), LTCG 12.5% (equity/MF threshold 100K). Real estate without indexation taxed at 20%.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_type | No | Asset type: equity, mutual_fund, real_estate, gold, debentures, crypto | equity |
| sale_price | Yes | Sale proceeds in rupees | |
| improvements | No | Cost of improvements (for real estate) | |
| purchase_price | Yes | Original purchase price in rupees | |
| expenses_on_sale | No | Brokerage, registration and other expenses on sale | |
| holding_period_days | No | Number of days held before sale | |
| inflation_index_sale | No | CII for sale year (for indexation) | |
| inflation_index_purchase | No | CII for purchase year (for indexation) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||