Skip to content

Commit

Permalink
modify base for top CG rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Metz committed Oct 27, 2020
1 parent 32c0f6d commit ffc2057
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion taxcalc/calcfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,9 @@ def GainsTax(e00650, c01000, c23650, p23250, e01100, e58990, e00200,
dwks30 = dwks22 + dwks28
dwks31 = dwks21 - dwks30
dwks32 = CG_rt3 * dwks31
hi_base = max(0., dwks31 - CG_brk3[MARS - 1])
# compute total taxable CG for additional top bracket
cg_all = dwks20 + dwks28 + dwks31
hi_base = max(0., cg_all - CG_brk3[MARS - 1])
hi_incremental_rate = CG_rt4 - CG_rt3
highest_rate_incremental_tax = hi_incremental_rate * hi_base
# break in worksheet lines
Expand Down

0 comments on commit ffc2057

Please sign in to comment.