4 <script src=
"tax.js"></script>
5 <script src=
"tax_ui.js"></script>
7 td { padding:
.5em; vertical-align: top}
8 textarea { height:
12em; }
10 .output { padding:
1em; background-color: #eee; border: thin solid #
888; width: max-content; }
11 .privacy_policy { margin-top:
5em; }
14 <body onload=
"calculate()">
15 <h1>Inverse income tax tool
</h1>
16 <p>What before-tax salary is needed to provide a specified after-tax salary?
</p>
22 Federal deductible
<br/><input id=
"deductible_1" value=
"24000" onchange=
"calculate()" oninput=
"calculate()"/>
25 State deductible
<br/><input id=
"deductible_2" value=
"8258" onchange=
"calculate()" oninput=
"calculate()"/>
30 Federal tax table
<br/>
31 <textarea id=
"tax_table_1" onchange=
"calculate()" oninput=
"calculate()"> 0 10
37 470001 39.6</textarea>
41 <textarea id=
"tax_table_2" onchange=
"calculate()" oninput=
"calculate()"> 0 1
50 1074996 13.3</textarea>
51 <br/>(Initial table is California's)
56 Desired after-tax salary
</br>
57 <input id=
"after_tax" value=
"100000" onchange=
"calculate()" oninput=
"calculate()">
63 <strong><span id=
"before_tax"></span> before tax
</strong>
64 -
<span id=
"tax_1"></span> federal tax
65 -
<span id=
"tax_2"></span> state tax
66 =
<span id=
"after_tax_verification"></span> after tax.
69 <p class=
"privacy_policy">Privacy policy: All calculations are client-side; no figures are sent to any server.
</p>