How Capital Gain work

A step-by-step guide to understanding our capital gains tax liability estimation process

Important Disclaimer

This tool provides tax liability estimates only and is not a tax filing tool. Your data is processed locally in your browser and never stored on our servers. Please consult a qualified tax professional for official tax filing and compliance. Tax rates may vary based on your specific financial year and circumstances.

1Upload Your Excel File

Upload your Excel file exported from your broker (e.g., Zerodha, Groww, Upstox, etc.). The file should contain a sheet with trade data. Our system automatically detects the header row by scanning the first 25 rows of your file.

✓ Broker-Agnostic: The calculator now works with CSV/Excel files from any broker. It automatically identifies the header row regardless of its position in the file.

Required Columns: Your file must contain at least these columns: Symbol (or Scrip), Entry Date, Exit Date, Buy Value, and Sell Value. Additional columns like Profit, Turnover, ISIN, etc., are optional and will be calculated if missing.

2Data Validation & Parsing

Our system dynamically detects your file structure and validates the required columns:

Core Required Columns:

  • Symbol (or Scrip) - Stock symbol/name
  • Entry Date - Date when you bought the stock
  • Exit Date - Date when you sold the stock
  • Buy Value - Total amount paid
  • Sell Value - Total amount received

Optional Columns (calculated if missing):

  • ISIN - International Securities Identification Number
  • Quantity - Number of shares
  • Profit - Calculated as (Sell Value - Buy Value)
  • Taxable Profit - Defaults to Profit if not provided
  • Turnover - Calculated as (Buy Value + Sell Value)

3Trade Classification

Each trade is automatically classified based on the holding period:

Intraday Trading

Same entry and exit date. Taxed at normal income tax rates.

Short Term Capital Gains (STCG)

Holding period ≤ 365 days. Taxed at 15% (equity) or normal rates (others).

Long Term Capital Gains (LTCG)

Holding period > 365 days. Taxed at 10% (equity) or 20% with indexation (others).

4Sample Data Processing

Here's how our system processes sample data:

SymbolEntry DateExit DateHolding DaysProfitClassification
RELIANCE2023-01-152023-01-15050Intraday
TCS2023-02-012023-08-151953,000STCG
INFY2022-01-102023-06-205265,000LTCG

5Results & Analysis

The calculator provides comprehensive analysis including:

  • Summary Cards: Total P&L, turnover, and breakdown by trade type
  • Profit Trend Chart: Visual representation of daily profit/loss over time
  • Tax Distribution: Pie chart showing taxable profit breakdown
  • Detailed Table: Sortable and filterable transaction details
  • Export Options: Download results as CSV for record keeping

Important Notes

  • This calculator is for informational purposes only and should not be considered as tax advice
  • Tax rates and rules may vary based on your specific situation and applicable laws
  • Always consult with a qualified tax professional for accurate tax planning
  • The calculator assumes standard tax rates and may not account for all exemptions or deductions
  • Data is processed locally and not stored on our servers