How should an employer work out the salary owed to an employee upon termination of employment?

The contract of employment will usually set out the amount payable. If not, the amount payable should be calculated as follows: if the employee is paid weekly or monthly and the employment terminates part way through that pay period, the amount to be paid is a pro rated proportion of the pay for that period on the basis that pay is deemed to accrue from day to day.