A portion of my income had social security and medicare taxes withheld but not federal income taxes. In order to determine if I need to make an estimated payment to avoid underpayment penalties I am trying to figure out how exactly the 90% safe harbor number is calculated - i.e., do I need to pay 90% of the federal income tax I will owe or is it 90% of the total federal tax I will owe (including social security and medicare)?
Unless you are self-employed or have some other reason that you would owe Social Security or Medicare taxes (or the equivalent self-employment tax) with your tax return, you will not owe either of these taxes with your tax return. The amount of Social Security and Medicare taxes withheld may or may not be a factor in determining your balance due because in some situations more of these taxes can be withheld from your pay than you actually owe and the excess will end up as a credit toward your income tax liability. For many people, though, the tax liability and balance due determined on their tax return will not involve anything to do with Social Security and Medicare taxes.
Satisfying the 90% rule simply means that the balance due is no more than 10% of the tax liability determined on your tax return.
The 90% "rule" encompasses all of the federal taxes you owe.
Unless you are self-employed or have some other reason that you would owe Social Security or Medicare taxes (or the equivalent self-employment tax) with your tax return, you will not owe either of these taxes with your tax return. The amount of Social Security and Medicare taxes withheld may or may not be a factor in determining your balance due because in some situations more of these taxes can be withheld from your pay than you actually owe and the excess will end up as a credit toward your income tax liability. For many people, though, the tax liability and balance due determined on their tax return will not involve anything to do with Social Security and Medicare taxes.
Satisfying the 90% rule simply means that the balance due is no more than 10% of the tax liability determined on your tax return.