Social security contributions are calculated as a percentage of the employee’s gross salary. Both employers and employees share these contributions, with employers typically contributing a larger portion. The exact rates vary based on the specific social security programs in place and the employee’s earnings.