The law says a minimum percentage of your ‘qualifying earnings’ must be paid into your workplace pension scheme.
‘Qualifying earnings’ are either:
the amount you earn before tax between £5,824 and £42,385 a year
your entire salary or wages before tax
Your employer chooses how to work out your qualifying earnings.