Percentage based is fine as long as you are contributing less than the $19,500 max. But you don’t want to use a percentage and max your contribution before the end of the year. Otherwise you will forfeit the employer match on the remaining pay checks. Always hit max on the last paycheck of the year.