-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdab.html
More file actions
153 lines (142 loc) · 6.45 KB
/
Copy pathdab.html
File metadata and controls
153 lines (142 loc) · 6.45 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
<!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 dab THC milligrams from concentrate weight, THC percentage, number of dabs, and optional loss percentage.">
<title>Dab MG Calculator | 420Calc</title>
<link rel="canonical" href="https://420calc.com/dab.html">
<meta property="og:title" content="Dab MG Calculator | 420Calc">
<meta property="og:description" content="Estimate dab THC milligrams from concentrate weight, THC percentage, number of dabs, and optional loss percentage.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://420calc.com/dab.html">
<meta property="og:image" content="https://420calc.com/assets/logo.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Dab MG Calculator | 420Calc">
<meta name="twitter:description" content="Estimate dab THC milligrams from concentrate weight, THC percentage, number of dabs, and optional loss percentage.">
<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="dab">
<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">Spend</a>
<a href="dab.html" aria-current="page">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">Dab MG Calculator</h1>
<p>Estimate total THC, available THC after loss, milligrams per dab, and grams per dab.</p>
</section>
<section class="calculator-shell" aria-label="Dab milligram calculator">
<div class="panel">
<div class="panel-header">
<h2>Inputs</h2>
</div>
<form class="calc-form" id="dab-form">
<div class="field">
<label for="dab-weight">Concentrate weight</label>
<div class="input-wrap suffix">
<input id="dab-weight" name="dab-weight" type="number" inputmode="decimal" min="0" step="0.01" value="1">
<span class="input-suffix" aria-hidden="true">g</span>
</div>
</div>
<div class="field">
<label for="dab-thc">THC percentage</label>
<div class="input-wrap suffix">
<input id="dab-thc" name="dab-thc" type="number" inputmode="decimal" min="0" max="100" step="0.1" value="78">
<span class="input-suffix" aria-hidden="true">%</span>
</div>
</div>
<div class="field">
<label for="dab-count">Number of dabs</label>
<input id="dab-count" name="dab-count" type="number" inputmode="numeric" min="0" step="1" value="12">
</div>
<div class="field">
<label for="dab-loss">Loss percentage</label>
<div class="input-wrap suffix">
<input id="dab-loss" name="dab-loss" type="number" inputmode="decimal" min="0" max="100" step="0.1" value="0">
<span class="input-suffix" aria-hidden="true">%</span>
</div>
</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="dab-results">
<div class="panel-header">
<h2>Results</h2>
</div>
<div class="results">
<div class="result-hero" data-copy-row>
<span data-label>Estimated potency note</span>
<strong id="dab-note" class="rating" data-value>Moderate dab</strong>
<p>Based on estimated THC milligrams per dab.</p>
</div>
<div class="result-grid">
<div class="result-item" data-copy-row>
<span data-label>Total THC mg before loss</span>
<strong id="dab-before-loss" data-value>0mg</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Total THC mg after loss</span>
<strong id="dab-after-loss" data-value>0mg</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>mg THC per dab</span>
<strong id="dab-per-dab" data-value>0mg</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Grams per dab</span>
<strong id="dab-grams-dab" data-value>0g</strong>
</div>
</div>
</div>
</div>
</section>
<details class="formula-panel">
<summary>Formula & Assumptions</summary>
<div class="formula-content">
<p>THC milligrams are estimated from concentrate mass and THC percentage.</p>
<ul>
<li>mg THC = grams x 1000 x THC decimal</li>
<li>Loss percentage reduces the available THC estimate</li>
<li>mg THC per dab = total THC mg after loss / number of dabs</li>
<li>Grams per dab = concentrate grams / number of dabs</li>
</ul>
</div>
</details>
</main>
<footer class="site-footer">
<div class="footer-inner">
<span>© 2007-2026 Washed Limited Co.</span>
<span>420Calc dab potency 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>