-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspend.html
More file actions
173 lines (162 loc) · 7.46 KB
/
Copy pathspend.html
File metadata and controls
173 lines (162 loc) · 7.46 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Estimate cannabis daily, weekly, monthly, and yearly spend, grams per year, and cost per gram from purchase habits.">
<title>Yearly Cannabis Spend Calculator | 420Calc</title>
<link rel="canonical" href="https://420calc.com/spend.html">
<meta property="og:title" content="Yearly Cannabis Spend Calculator | 420Calc">
<meta property="og:description" content="Estimate cannabis daily, weekly, monthly, and yearly spend, grams per year, and cost per gram from purchase habits.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://420calc.com/spend.html">
<meta property="og:image" content="https://420calc.com/assets/logo.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Yearly Cannabis Spend Calculator | 420Calc">
<meta name="twitter:description" content="Estimate cannabis daily, weekly, monthly, and yearly spend, grams per year, and cost per gram from purchase habits.">
<meta name="twitter:image" content="https://420calc.com/assets/logo.png">
<link rel="apple-touch-icon" href="icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="css/styles.css">
</head>
<body data-page="spend">
<header class="site-header">
<nav class="nav" aria-label="Primary navigation">
<a href="index.html" class="nav-brand">
<img src="img/logo.png" alt="420Calc logo" class="nav-logo">
<span>420Calc</span>
</a>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="bulk.html">Bulk</a>
<a href="ipr.html">Infused</a>
<a href="margin.html">Margin</a>
<a href="edibles.html">Edibles</a>
<a href="units.html">Units</a>
<a href="spend.html" aria-current="page">Spend</a>
<a href="dab.html">Dab</a>
<a href="rating.html">Rating</a>
</div>
</nav>
</header>
<main class="page">
<section class="page-title" aria-labelledby="page-title">
<h1 id="page-title">Yearly Spend Calculator</h1>
<p>Normalize purchase habits into daily, weekly, monthly, yearly, grams-per-year, and cost-per-gram estimates.</p>
</section>
<section class="calculator-shell" aria-label="Yearly spend calculator">
<div class="panel">
<div class="panel-header">
<h2>Inputs</h2>
</div>
<form class="calc-form" id="spend-form">
<div class="field">
<label for="spend-amount">Spend amount</label>
<div class="input-wrap prefix">
<span class="input-prefix" aria-hidden="true">$</span>
<input id="spend-amount" name="spend-amount" type="number" inputmode="decimal" min="0" step="0.01" value="60">
</div>
</div>
<div class="field">
<label for="spend-frequency">Spend frequency</label>
<select id="spend-frequency" name="spend-frequency">
<option value="daily">Daily</option>
<option value="weekly" selected>Weekly</option>
<option value="biweekly">Biweekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
</select>
</div>
<div class="field">
<label for="spend-grams">Average grams per purchase</label>
<div class="input-wrap suffix">
<input id="spend-grams" name="spend-grams" type="number" inputmode="decimal" min="0" step="0.01" value="7">
<span class="input-suffix" aria-hidden="true">g</span>
</div>
</div>
<div class="field">
<label for="purchase-frequency">Purchase frequency</label>
<select id="purchase-frequency" name="purchase-frequency">
<option value="daily">Daily</option>
<option value="weekly" selected>Weekly</option>
<option value="biweekly">Biweekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
</select>
</div>
<div class="form-actions">
<button class="button secondary" id="reset-results" type="button">Reset</button>
<button class="button" id="copy-results" type="button">Copy Results</button>
</div>
</form>
</div>
<div class="panel" id="spend-results">
<div class="panel-header">
<h2>Results</h2>
</div>
<div class="results">
<div class="result-hero" data-copy-row>
<span data-label>Yearly spend note</span>
<strong id="spend-note" class="rating" data-value>Moderate yearly spend</strong>
<p>Based on normalized estimated yearly spend.</p>
</div>
<div class="result-grid">
<div class="result-item" data-copy-row>
<span data-label>Estimated daily spend</span>
<strong id="spend-daily" data-value>$0.00</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Estimated weekly spend</span>
<strong id="spend-weekly" data-value>$0.00</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Estimated monthly spend</span>
<strong id="spend-monthly" data-value>$0.00</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Estimated yearly spend</span>
<strong id="spend-yearly" data-value>$0.00</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Estimated grams per year</span>
<strong id="spend-grams-year" data-value>0g</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Estimated cost per gram</span>
<strong id="spend-cost-gram" data-value>$0.00</strong>
</div>
</div>
</div>
</div>
</section>
<details class="formula-panel">
<summary>Formula & Assumptions</summary>
<div class="formula-content">
<p>All spend and gram inputs are normalized to a daily estimate, then expanded back into weekly, monthly, and yearly estimates.</p>
<ul>
<li>Daily = amount</li>
<li>Weekly = amount x 52 / 365</li>
<li>Biweekly = amount x 26 / 365</li>
<li>Monthly = amount x 12 / 365</li>
<li>Yearly = amount / 365</li>
<li>Yearly spend = daily spend x 365</li>
<li>Cost per gram = yearly spend / estimated grams per year</li>
</ul>
</div>
</details>
</main>
<footer class="site-footer">
<div class="footer-inner">
<span>© 2007-2026 Washed Limited Co.</span>
<span>420Calc spend planning desk.</span>
<span class="disclaimer">Calculations are estimates only and are not legal, tax, regulatory, labeling, or compliance advice.</span>
</div>
</footer>
<script src="js/utils.js"></script>
<script src="js/calculators.js"></script>
<script src="js/app.js"></script>
</body>
</html>