compute a salary threshold