-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net Investment Income Tax (NIIT) logic #873
Comments
On Wed, 24 Aug 2016, Martin Holmer wrote:
In the sas calculator there is also a zero constraint on the Medicare tax c85190 = e00300+e00600+max(0,c01000)+max(0,e02000-e26270-e85180+e85070+e85080);
This is same. The sas code is probably the source of this notion. Because this part of the code has never been compared to actual returns, dan
|
Dan @feenberg said:
There is some other evidence that is consistent with your notion that the current logic is wrong.
Does that make sense? If this change is made, the validation tests against Internet TAXSIM will fail because Internet TAXSIM appears to have the same NIIT logic as in the taxcalc.sas program. @MattHJensen @feenberg @Amy-Xu @GoFroggyRun @zrisher @codykallen |
After looking at the instructions for Form 8960, I do not see anything to indicate that And thus the follow code-line change
makes sense to me. |
Sean Wang (@GoFroggyRun), Thanks for your feedback on NIIT logic. |
After reviewing the NIIT logic, I have some questions. In a development branch I'm working on, the calculation of the NIIT is as follows:
The above code produces exactly the same results as the code on the master branch.
I have two questions about the above calculation of net investment income (NII):
(1) Why is it that
e02000 - e26270
, which is Schedule E income less partnership and S corporation net income, cannot be negative in the calculation of NII? Looking at Form 8960 and its instructions, I haven't found anything to indicate that a Schedule E loss cannot be used to offset other NII. Have I missed something in the thirty pages of instructions?(2) Why is it that
c01000
, which capital gains limited to a loss of at most $3000 per Schedule D, cannot be negative in the calculation of NII? Looking at Form 8960 and its instructions, I haven't found anything to indicate that a combined short-term and long-term capital loss (as limited by Schedule D) cannot be used to offset other NII. Again, have I missed something?@MattHJensen @feenberg @Amy-Xu @GoFroggyRun @zrisher @codykallen
The text was updated successfully, but these errors were encountered: