Download index.html from bardachtech/coaching-client-capacity: direct link, hf CLI and curl.
- Browser
- Download file 15.2 kB
-
https://huggingface.co/spaces/bardachtech/coaching-client-capacity/resolve/main/index.html
- Command line
-
hf download hf://spaces/bardachtech/coaching-client-capacity/index.html
-
curl -L -o index.html https://huggingface.co/spaces/bardachtech/coaching-client-capacity/resolve/main/index.html
15.2 kB
| <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Online Coach Client Capacity Calculator: hours and income</title> | |
| <meta name="description" content="Enter your clients, minutes per weekly check-in, admin time, hours available and monthly fee to see weekly hours, your client limit and revenue per hour. Runs in your browser; nothing is stored or sent."> | |
| <style>/* Free-tools pages in the Bardach Technologies brand (main site v6 "Swiss light", bardach-technologies.com): one typeface (Helvetica Neue via local(), else the main site's self-hosted Inter), black/grey/rule grey on white, hairline rules instead of cards, light only like the main site. Header/footer markup: incubator/brandframe.py. __ACCENT__ / __ACCENT_DARK__ stay as placeholders (product colours are not used: Swiss index, no brand colours). */ | |
| @font-face{font-family:"BT Neue";font-weight:300;src:local("HelveticaNeue-Light"),local("Helvetica Neue Light")} | |
| @font-face{font-family:"BT Neue";font-weight:400;src:local("HelveticaNeue"),local("Helvetica Neue")} | |
| @font-face{font-family:"BT Neue";font-weight:500;src:local("HelveticaNeue-Medium"),local("Helvetica Neue Medium")} | |
| :root{color-scheme:light;--black:rgb(20,20,23);--grey:rgb(110,110,115);--light:rgb(168,168,173);--rule:rgb(219,219,222);--wash:rgb(244,244,245);--white:#fff;--ok:rgb(46,132,84);--fix:rgb(196,54,45);--product-accent:__ACCENT__;--product-accent-dark:__ACCENT_DARK__; | |
| --bg:var(--white);--surface:var(--white);--surface-2:var(--wash);--text:var(--black);--text-2:var(--black);--text-3:var(--grey);--line:var(--rule);--accent:var(--black);--on-accent:var(--white);--note-bg:var(--wash);--note-text:var(--grey);--r:0px; | |
| --font:"BT Neue","BT Inter","Helvetica Neue",Helvetica,Arial,sans-serif;--font-num:var(--font); | |
| --t-label:.8125rem;--t-small:.9375rem;--t-body:1.0625rem;--t-lead:clamp(1.1875rem,1.05rem + .6vw,1.5rem);--t-h2:clamp(1.5rem,1.15rem + 1.5vw,2.25rem);--t-h1:clamp(2.25rem,1.3rem + 3.6vw,4.25rem); | |
| --fs-small:var(--t-small);--s-2:.5rem;--s-3:.75rem;--s-4:1rem;--s-6:1.5rem;--s-8:clamp(3rem,2rem + 3vw,4.5rem); | |
| --gut:clamp(12px,1.4vw,20px);--m:clamp(16px,4.4vw,64px);--max:1360px;--col:52rem;--duration:240ms;--ease:cubic-bezier(.16,1,.3,1)} | |
| *,*::before,*::after{box-sizing:border-box} | |
| html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--white)} | |
| body{margin:0;background:var(--white);color:var(--black);font-family:var(--font);font-weight:400;font-size:var(--t-body);line-height:1.45;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-kerning:normal;overflow-x:clip} | |
| img,svg{display:block;max-width:100%} | |
| strong,b{font-weight:500} | |
| a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:var(--light)} | |
| a:hover{text-decoration-color:var(--black)} | |
| :focus-visible{outline:2px solid var(--black);outline-offset:3px} | |
| ::selection{background:var(--black);color:var(--white)} | |
| .wrap{width:100%;max-width:calc(var(--max) + 2 * var(--m));margin-inline:auto;padding-inline:max(var(--m),env(safe-area-inset-left,0px)) max(var(--m),env(safe-area-inset-right,0px))} | |
| main .wrap>*,main.wrap>*{max-width:var(--col)} | |
| .skip{position:absolute;left:var(--m);top:-100px;z-index:100;background:var(--black);color:var(--white);padding:10px 14px;font-size:var(--t-small);text-decoration:none}.skip:focus{top:12px} | |
| .note,.test-note{background:var(--white);border-bottom:1px solid var(--rule);color:var(--grey);font-size:var(--t-label);line-height:1.45;padding:10px 0} | |
| .note strong,.test-note strong{color:var(--black)} | |
| main .wrap>.note{background:none;padding:0;margin:0 0 var(--s-4)} | |
| .site-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut);align-items:center;padding-block:26px} | |
| .brand{grid-column:1/7;width:fit-content;color:var(--black);text-decoration:none} | |
| .brand svg{height:26px;width:auto} | |
| .site-head__title{display:none;margin:0;font-size:var(--t-label);color:var(--grey)} | |
| .nav{grid-column:7/13;justify-self:end;display:flex;gap:clamp(14px,2.4vw,32px);font-size:var(--t-small)} | |
| .nav a{text-decoration:none;color:var(--grey);padding-block:6px;border-bottom:1px solid transparent;transition:color var(--duration) ease,border-color var(--duration) ease} | |
| .nav a:hover{color:var(--black)}.nav a[aria-current="page"]{color:var(--black);border-bottom-color:var(--black)} | |
| @media (min-width:900px){.brand{grid-column:1/5}.site-head__title{display:block;grid-column:5/9}.nav{grid-column:9/13}} | |
| @media (max-width:400px){.brand svg{height:22px}.nav{gap:12px}} | |
| main{padding-top:clamp(2rem,1rem + 4vw,5rem)} | |
| .eyebrow{margin:0 0 14px;font-size:var(--t-label);color:var(--grey);font-weight:400;letter-spacing:.01em;line-height:1.4} | |
| h1{margin:0 0 clamp(18px,2vw,26px);font-size:var(--t-h1);font-weight:300;line-height:1.04;letter-spacing:-.022em} | |
| h2{margin:var(--s-8) 0 var(--s-4);padding-top:12px;border-top:1px solid var(--rule);font-size:var(--t-h2);font-weight:300;line-height:1.1;letter-spacing:-.012em} | |
| h3{font-weight:500;font-size:1.1875rem;line-height:1.3} | |
| p{margin:0 0 var(--s-3)} | |
| .answer{margin:0 0 var(--s-4);padding-bottom:clamp(22px,2.4vw,32px);border-bottom:1px solid var(--black);font-size:var(--t-lead);font-weight:300;line-height:1.35} | |
| .updated{margin:0 0 var(--s-6);font-size:var(--t-label);color:var(--grey)} | |
| .calc{background:var(--white);border-top:1px solid var(--rule);border-bottom:1px solid var(--black);padding:var(--s-6) 0} | |
| .calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr));gap:var(--s-4) var(--gut)} | |
| .calc label{display:grid;gap:6px;font-size:var(--t-label);font-weight:400;color:var(--grey)} | |
| .calc input,.calc select{width:100%;min-height:44px;padding:8px 10px;font:inherit;font-size:var(--t-body);color:var(--black);background:var(--white);border:1px solid var(--rule);border-radius:0} | |
| .calc input:hover{border-color:var(--light)}.calc input:focus-visible{outline:2px solid var(--black);outline-offset:0;border-color:var(--black)} | |
| .calc-note{margin:var(--s-3) 0 0;font-size:var(--t-label);color:var(--grey)} | |
| .table-scroll{overflow-x:auto;margin-top:var(--s-4)} | |
| .calc-table{border-collapse:collapse;width:100%;min-width:36rem;font-size:var(--t-small)} | |
| .calc-table caption{text-align:left;font-weight:500;padding-bottom:var(--s-2)} | |
| .calc-table th{text-align:left;font-weight:400;font-size:var(--t-label);color:var(--grey);padding:6px;border-bottom:1px solid var(--black)} | |
| .calc-table td{padding:4px 6px}.calc-table input{min-height:40px;padding:6px 8px;font-size:var(--t-small)} | |
| .calc-table output{font-variant-numeric:tabular-nums;white-space:nowrap} | |
| .result{margin-top:var(--s-6)} | |
| .result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr));gap:var(--s-4) var(--gut);margin:0} | |
| .result-grid div{border-top:1px solid var(--rule);padding:var(--s-3) 0 0} | |
| .result-grid dt{font-size:var(--t-label);color:var(--grey)} | |
| .result-grid dd{margin:0;font-weight:300;font-size:1.5rem;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.01em} | |
| .result-grid .result-main{grid-column:1/-1;background:var(--black);color:var(--white);border-top:0;padding:var(--s-4)} | |
| .result-grid .result-main dt{color:inherit;opacity:.75}.result-grid .result-main dd{font-size:clamp(2rem,1.5rem + 2vw,3rem)} | |
| .result-grid dd span{font-weight:400;font-size:var(--t-small);margin-left:.35em} | |
| .result-error{color:var(--fix);font-weight:500} | |
| .howto p{margin:0 0 var(--s-3);max-width:68ch} | |
| .howto ul,.doc ul,.opt ul{padding-left:1.2rem} | |
| details{border-top:1px solid var(--rule);padding:var(--s-3) 0}details:last-of-type{border-bottom:1px solid var(--rule)} | |
| summary{cursor:pointer;font-weight:500;min-height:28px}details p{margin:var(--s-2) 0 0;color:var(--grey)} | |
| .more,.exits{margin-top:var(--s-8)} | |
| .exits ul{display:grid;grid-template-columns:1fr 1fr;gap:0 var(--s-6);list-style:none;padding:0;margin:0} | |
| .exits li{border-top:1px solid var(--black)} | |
| .exits a{display:block;padding:16px 0;text-decoration:none;color:var(--black)} | |
| .exits a strong{font-weight:500}.exits a:hover strong{text-decoration:underline;text-underline-offset:.18em} | |
| .exits small{display:block;margin-top:2px;font-size:var(--t-small);color:var(--grey)} | |
| .exits h2{margin-top:0;border-top:0;padding-top:0} | |
| .exits-dl{margin:0 0 var(--s-4)} | |
| @media(max-width:600px){.exits ul{grid-template-columns:1fr}} | |
| .more ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--black)} | |
| .more li{border-bottom:1px solid var(--rule)}.more li:last-child{border-bottom-color:var(--black)} | |
| .more a{display:block;padding:16px 0;text-decoration:none;color:var(--black)} | |
| .more a strong{font-weight:500}.more a:hover strong{text-decoration:underline;text-underline-offset:.18em} | |
| .more small{display:block;margin-top:2px;font-size:var(--t-small);color:var(--grey)} | |
| .more h2{margin-top:0;border-top:0;padding-top:0}.more+.more,.exits{margin-top:var(--s-8)} | |
| .product-line{margin:var(--s-8) 0 0;padding-top:var(--s-4);border-top:1px solid var(--black);font-size:var(--t-small)} | |
| .product-line a{font-weight:500} | |
| .site-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px 24px;margin-top:clamp(4.5rem,3rem + 6vw,9rem);padding-block:22px 30px;border-top:1px solid var(--black);font-size:var(--t-label);color:var(--grey)} | |
| .site-foot__nav{display:flex;flex-wrap:wrap;gap:6px 22px} | |
| .site-foot__nav a{text-decoration:none;padding-block:4px}.site-foot__nav a:hover{color:var(--black);text-decoration:underline} | |
| .site-foot__note{flex-basis:100%;margin:0} | |
| @media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important}} | |
| @media print{.note,.test-note,.site-head,.site-foot,.product-line,.more,.exits{display:none}} | |
| .scen-table{min-width:40rem}.scen-table th[scope=row]{color:var(--black)}.scen-table td,.scen-table th{border-bottom:1px solid var(--rule);vertical-align:top}.method{font-size:var(--t-label);color:var(--grey)} | |
| .embed-box{margin:var(--s-6) 0}.embed-box textarea{width:100%;font:var(--t-label)/1.4 ui-monospace,Menlo,Consolas,monospace;background:var(--wash);color:var(--black);border:1px solid var(--rule);border-radius:0;padding:var(--s-2)} | |
| .embed-copy{font:inherit;font-weight:500;font-size:var(--t-small);background:var(--black);color:var(--white);border:0;border-radius:0;min-height:44px;padding:var(--s-2) var(--s-4);cursor:pointer} | |
| @media print{.embed-box{display:none}} | |
| .doc{padding-bottom:var(--s-4)}.doc h1{font-size:clamp(2rem,1.3rem + 2.6vw,3.25rem)}.doc hr{border:0;border-top:1px solid var(--rule);margin:var(--s-8) 0 var(--s-4)}.doc hr+p{font-size:var(--t-label);color:var(--grey)} | |
| .embed-credit{margin:var(--s-4) 0 0;font-size:var(--t-label);color:var(--grey)} | |
| .wrap h1{margin:var(--s-4) 0 var(--s-2);line-height:1.2}footer{margin:var(--s-8) 0;color:var(--text-2)}</style></head> | |
| <body><main class="wrap"> | |
| <h1>Online coaching client capacity and income calculator</h1> | |
| <p>Type your numbers; the result updates as you type. It runs in your browser: nothing is sent or saved.</p> | |
| <form class="calc" id="calc" novalidate aria-describedby="calc-note"> | |
| <div class="calc-grid"> | |
| <label>Active clients<input name="clients" type="number" inputmode="numeric" min="0" step="1" value="25" required></label> | |
| <label>Minutes per weekly check-in review and reply<input name="checkin" type="number" inputmode="decimal" min="0" step="1" value="20" required></label> | |
| <label>Other admin minutes per client a week<input name="admin" type="number" inputmode="decimal" min="0" step="1" value="10" required></label> | |
| <label>Hours a week you have for client work<input name="hours" type="number" inputmode="decimal" min="0.5" step="0.5" value="15" required></label> | |
| <label>Monthly fee per client ($)<input name="fee" type="number" inputmode="decimal" min="0" step="10" value="200" required></label> | |
| </div> | |
| <p class="calc-note" id="calc-note">Replace the filled-in numbers with your own; results update as you type.</p> | |
| </form> | |
| <div class="result" aria-live="polite"> | |
| <dl class="result-grid"> | |
| <div class="result-main"><dt>Hours a week on check-ins and admin</dt><dd><output id="r-h">12.5</output></dd></div> | |
| <div><dt>Client limit at your hours</dt><dd><output id="r-max">30</output></dd></div> | |
| <div><dt>Share of your hours used</dt><dd><output id="r-u">83.3%</output></dd></div> | |
| <div><dt>Monthly revenue</dt><dd><output id="r-rev">$5,000.00</output></dd></div> | |
| <div><dt>Revenue per hour of client work</dt><dd><output id="r-ph">$92.31</output></dd></div> | |
| <div><dt>Monthly revenue at the client limit</dt><dd><output id="r-cap">$6,000.00</output></dd></div> | |
| </dl> | |
| <p class="result-error" id="r-err" hidden>Check the inputs: minutes per client and hours available above 0, no negative numbers.</p> | |
| </div> | |
| <script> | |
| /*calc:begin*/ | |
| function calc(v) { | |
| var per = v.checkin + v.admin; | |
| if (!(v.clients >= 0 && v.checkin >= 0 && v.admin >= 0 && v.fee >= 0 && per > 0 && v.hours > 0)) return null; | |
| var weekly = v.clients * per / 60, monthly = weekly * 52 / 12; | |
| var limit = Math.floor(Math.round(v.hours * 60 / per * 1e9) / 1e9), revenue = v.clients * v.fee; | |
| return { weekly_hours: weekly, max_clients: limit, utilization: weekly / v.hours * 100, monthly_revenue: revenue, | |
| monthly_hours: monthly, per_hour: monthly > 0 ? revenue / monthly : null, capacity_revenue: limit * v.fee }; | |
| } | |
| /*calc:end*/ | |
| (function () { | |
| var f = document.getElementById("calc"); | |
| var usd = function (x) { return (x < 0 ? "-$" : "$") + Math.abs(x).toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 }); }; | |
| function num(n) { var x = parseFloat(f.elements[n].value); return isNaN(x) ? NaN : x; } | |
| function set(id, t) { document.getElementById(id).value = t; } | |
| function show() { | |
| var r = calc({ clients: num("clients"), checkin: num("checkin"), admin: num("admin"), hours: num("hours"), fee: num("fee") }); | |
| document.getElementById("r-err").hidden = !!r; | |
| if (!r) return; | |
| set("r-h", String(Math.round(r.weekly_hours * 100) / 100)); | |
| set("r-max", String(r.max_clients)); | |
| set("r-u", r.utilization.toFixed(1) + "%"); | |
| set("r-rev", usd(r.monthly_revenue)); | |
| set("r-ph", r.per_hour === null ? "n/a" : usd(r.per_hour)); | |
| set("r-cap", usd(r.capacity_revenue)); | |
| } | |
| f.addEventListener("input", show); | |
| f.addEventListener("submit", function (e) { e.preventDefault(); }); | |
| show(); | |
| })(); | |
| </script> | |
| <h2>The formula</h2> | |
| <p>Hours a week = clients × (check-in minutes + admin minutes per client) ÷ 60, and your client limit = hours available × 60 ÷ minutes per client, rounded down. For example, 25 clients at 20 minutes of check-in and 10 minutes of admin each take 12.5 hours a week; with 15 hours available the limit is 30 clients. At $200 a month each, 25 clients bring $5,000 a month, which is $92.31 per hour of client work, and 30 clients would bring $6,000.</p> | |
| <footer><p>This is our own free tool, made by Bardach Technologies. The full version with explanations and examples: | |
| <a href="https://tools.bardach-technologies.com/tool/online-coach-client-capacity-calculator?utm_source=hf-space">tools.bardach-technologies.com</a>.</p></footer> | |
| </main></body></html> | |