-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmargin.html
More file actions
141 lines (131 loc) · 6.08 KB
/
margin.html
File metadata and controls
141 lines (131 loc) · 6.08 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Calculate cannabis retail profit per unit, total profit, gross margin percentage, and markup percentage from cost, retail price, and quantity.">
<title>Cannabis Retail Margin and Markup Calculator | 420Calc</title>
<link rel="canonical" href="https://420calc.com/margin.html">
<meta property="og:title" content="Cannabis Retail Margin and Markup Calculator | 420Calc">
<meta property="og:description" content="Calculate cannabis retail profit per unit, total profit, gross margin percentage, and markup percentage from cost, retail price, and quantity.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://420calc.com/margin.html">
<meta property="og:image" content="https://420calc.com/assets/logo.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Cannabis Retail Margin and Markup Calculator | 420Calc">
<meta name="twitter:description" content="Calculate cannabis retail profit per unit, total profit, gross margin percentage, and markup percentage from cost, retail price, and quantity.">
<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="margin">
<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" aria-current="page">Margin</a>
<a href="edibles.html">Edibles</a>
<a href="units.html">Units</a>
<a href="spend.html">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">Margin Calculator</h1>
<p>Check unit profit, total profit, gross margin, and markup from cost, retail price, and quantity.</p>
</section>
<section class="calculator-shell" aria-label="Margin calculator">
<div class="panel">
<div class="panel-header">
<h2>Inputs</h2>
</div>
<form class="calc-form" id="margin-form">
<div class="field">
<label for="margin-cost">Cost</label>
<div class="input-wrap prefix">
<span class="input-prefix" aria-hidden="true">$</span>
<input id="margin-cost" name="margin-cost" type="number" inputmode="decimal" min="0" step="0.01" value="18">
</div>
</div>
<div class="field">
<label for="margin-retail-price">Retail price</label>
<div class="input-wrap prefix">
<span class="input-prefix" aria-hidden="true">$</span>
<input id="margin-retail-price" name="margin-retail-price" type="number" inputmode="decimal" min="0" step="0.01" value="35">
</div>
</div>
<div class="field">
<label for="margin-quantity">Quantity</label>
<input id="margin-quantity" name="margin-quantity" type="number" inputmode="numeric" min="0" step="1" value="24">
</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="margin-results">
<div class="panel-header">
<h2>Results</h2>
</div>
<div class="results">
<div class="result-hero" data-copy-row>
<span data-label>Total profit</span>
<strong id="margin-total-profit" data-value>$0.00</strong>
<p>Profit per unit multiplied by quantity.</p>
</div>
<div class="result-grid">
<div class="result-item" data-copy-row>
<span data-label>Profit per unit</span>
<strong id="margin-profit-unit" data-value>$0.00</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Gross margin percentage</span>
<strong id="margin-gross-margin" data-value>0.0%</strong>
</div>
<div class="result-item" data-copy-row>
<span data-label>Markup percentage</span>
<strong id="margin-markup" data-value>0.0%</strong>
</div>
</div>
</div>
</div>
</section>
<details class="formula-panel">
<summary>Formula & Assumptions</summary>
<div class="formula-content">
<p>This calculator treats cost and retail price as per-unit values and multiplies profit by quantity.</p>
<ul>
<li>Profit per unit = retail price - cost</li>
<li>Total profit = profit per unit x quantity</li>
<li>Gross margin = profit per unit / retail price</li>
<li>Markup = profit per unit / cost</li>
</ul>
</div>
</details>
</main>
<footer class="site-footer">
<div class="footer-inner">
<span>© 2007-2026 Washed Limited Co.</span>
<span>420Calc margin 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>