{# Year-end tax projection card. Shows placeholder if tax config absent. #}
{% if has_tax_config and projection %}
Year-end tax projection
Dec 31, {{ projection.year }}
{# Display the headline as the sum of the rounded components so the user never sees "$50 + $15 = $64". Python's `{:,.0f}` uses banker's rounding, which can split rounding direction between fed/state/total when each component lands on .5. Round each to int first, then sum, then format. #} {% set _fed_d = (projection.federal_tax|float)|round(0, 'common')|int %} {% set _state_d = (projection.state_tax|float)|round(0, 'common')|int %}
${{ "{:,d}".format(_fed_d + _state_d) }}
Federal ${{ "{:,d}".format(_fed_d) }} · State ${{ "{:,d}".format(_state_d) }}
{% if projection.bracket_warnings %}
{% for w in projection.bracket_warnings %}
{{ w }}
{% endfor %}
{% endif %}
Estimate only — single marginal rate, no NIIT.
{% else %}
Year-end tax projection
Tell net-alpha your filing status and tax rates and it'll project this year's tax bill from your realized gains. Use the form below to set your rates.
{% endif %}