How the basic salary of an employee is calculated and does it changes every month?

How the basic salary of an employee is calculated and does it changes every month?