Gross salary is the total an employee earns for a pay period before any deductions: basic pay, allowances such as house rent allowance, overtime and any other earnings for that period. Employee deductions and income tax are taken from it to reach net pay.
In plain words
What you earned this month before anything is taken out.
Formula
Gross salary = basic + allowances + overtime + other earnings for the period
Example
For March, an employee's basic is ₹30,000, their allowances add up to ₹22,000 and they earned ₹3,000 of overtime. Their gross salary for March is ₹55,000. Deductions such as their own provident fund share, professional tax and TDS come out of this figure.
Illustrative figures, not a statutory calculation.