4 <script src=
"tax.js"></script>
5 <script src=
"tax_ui.js"></script>
7 td { padding:
.5em; vertical-align: top}
8 textarea { height:
12em; }
12 <body onload=
"calculate()">
13 <h1>Inverse income tax tool
</h1>
14 <p>What gross salary is needed to provide a specified after-tax salary?
</p>
20 Federal deductible
<br/><input id=
"deductible_1" value=
"24000" onchange=
"calculate()" oninput=
"calculate()"/>
23 State deductible
<br/><input id=
"deductible_2" value=
"8258" onchange=
"calculate()" oninput=
"calculate()"/>
28 Federal tax table
<br/>
29 <textarea id=
"tax_table_1" onchange=
"calculate()" oninput=
"calculate()"> 0 10
35 470001 39.6</textarea>
39 <textarea id=
"tax_table_2" onchange=
"calculate()" oninput=
"calculate()"> 0 1
48 1074996 13.3</textarea>
49 <br/>(Initial table is California's)
54 Desired after-tax salary
</br>
55 <input id=
"after_tax" value=
"100000" onchange=
"calculate()" oninput=
"calculate()">
60 <p><strong><span id=
"before_tax"></span> before tax
</strong>
61 -
<span id=
"tax_1"></span> federal tax
62 -
<span id=
"tax_2"></span> state tax
63 =
<span id=
"after_tax_verification"></span> after tax.
</p>
65 <p>Privacy policy: All calculations are client-side; no figures are sent to any server.
</p>