-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path401k.html
226 lines (216 loc) · 5.29 KB
/
401k.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JERQFZR6JP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-JERQFZR6JP');
</script>
<meta charset="utf-8" />
<link
href="https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700"
rel="stylesheet"
/>
<title>401(k) Match Calculator</title>
<link rel="stylesheet" href="assets/css/401k.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="assets/js/401k.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>401(k) Match Calculator</h1>
<form>
<div class="box">
<h2>Annual salary</h2>
<div class="net_gross">
$<input
id="annual_gross"
type="text"
placeholder="0"
onkeyup="calculateMatches()"
/>
</div>
<div class="custom-select">
<select
id="paychecks"
onkeyup="calculateMatches()"
onclick="calculateMatches()"
>
<option value="52">Weekly</option>
<option value="26">Bi-weekly</option>
<option value="24" selected>Semi-monthly</option>
<option value="12">Monthly</option>
</select>
Pay Frequency
</div>
</div>
<div class="box">
<h2>Bonus</h2>
<div class="net_gross">
<input
id="bonus_percentage"
type="number"
min="0"
max="100"
placeholder="0"
onkeyup="calculateMatches()"
/>% of Salary
</div>
<div class="net_gross">
<input
id="bonus_payout"
type="number"
min="0"
max="100"
placeholder="0"
onkeyup="calculateMatches()"
/>% Expected Payout
</div>
</div>
<div class="box">
<h2>Company Matching</h2>
<div class="net_gross">
<input
id="company_cap"
type="number"
min="0"
max="100"
placeholder="0"
onkeyup="calculateMatches()"
/>% Match
</div>
</div>
</form>
<h1>Compensation</h1>
<form>
<div class="box">
<h2>Total Income</h2>
<div class="net_gross">
$<input id="final_annual_gross" readonly /> gross salary
</div>
<div class="net_gross">
$<input id="final_bonus" readonly /> gross bonus
</div>
<div class="net_gross">
$<input id="final_matching" readonly /> employer contributions
</div>
<div class="net_gross">
$<input id="final_total" readonly /> total income
</div>
</div>
</form>
<h1>401(k) Match Suggestions</h1>
<form>
<div class="box">
<h2>Maximize Match</h2>
<h3>Set bonus match to:</h3>
<div class="net_gross">
<input
id="bonus_match1"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
<h3>Set salary match between:</h3>
<div class="net_gross">
<input
id="min_match"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
and
<div class="net_gross">
<input
id="max_match1"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
</div>
<div class="box">
<h2>Maximize Match and Max-Out Contribution</h2>
<h3>Set bonus contribution to:</h3>
<div class="net_gross">
<input
id="bonus_match2"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
<h3>Set contribution to:</h3>
<div class="net_gross">
<input
id="max_match2"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
<h3>Set contribution of final paycheck to at least:</h3>
<div class="net_gross">
<input
id="final_max_match"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
</div>
<div class="box">
<h2>
Maximize Match, Max-Out Contribution, and Be Flexible in case of Raises
</h2>
<h3>Set bonus contribution to:</h3>
<div class="net_gross">
<input
id="bonus_match3"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
<h3>Set contribution to:</h3>
<div class="net_gross">
<input
id="min_raise_match"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
<h3>Set contribution of final paycheck to:</h3>
<div class="net_gross">
<input
id="final_raise_max_match"
type="number"
min="0"
max="100"
placeholder="0"
readonly
/>%
</div>
</div>
</form>
</body>