Your 401K contributions are not taxed by federal but are by the state of PA. PA does not give you a deduction when you are making the contributions, but when you withdraw them, you can deduct your basis (contributions) from your taxable withdrawal. But, that is why your box 18 equals box 1 plus box 12D.
PA tax rate is 3.07%. You had the exact right amount withheld. If, your only incomes were 2 W-2's with identical amounts, you need to double check your entries. The $1,367.06 they withheld is the correct amount based on the numbers you entered.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"