The salary of an employee depends upon their salary rate, i.e., piece rate, daily rate, or monthly base rate. Mostly, companies are adopting a monthly wage rate system. It can be calculated as Monthly wage rate * number of days worked / total number of days in that month.
For example, if an employee joins on the 16th of January at a gross salary of 10,000, then their salary will be:
= 10,000 * 16 / 31
= 5,161 Rs.
In the same way, we can calculate the salary for others.