Traditional or Roth your contribution amount will be contribution percentage x gross pay. If you are contributing to a traditional 401K then your taxable income is gross pay less your 401K contribution where as if you are contributing to a ROTH 401K then your taxable income is equal to your gross pay (I am ignoring other pre-tax deductions such as healthcare, HSA, etc).